/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Dark theme colors - Cool Dark (Blue-tinted) */
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --bg-card: #1e293b;

    /* Accent colors - Aqua/Cyan & Coral */
    --accent-primary: #06b6d4;
    /* Cyan 500 */
    --accent-secondary: #0891b2;
    /* Cyan 600 */
    --accent-tertiary: #22d3ee;
    /* Cyan 400 */
    --accent-highlight: #f43f5e;
    /* Rose/Coral for contrast */

    /* Text colors */
    --text-primary: #ffffff;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;

    /* Border colors */
    --border-color: #334155;
    --border-accent: #475569;

    /* Gradients - Aqua/Cyan focused */
    --gradient-primary: linear-gradient(135deg, #06b6d4 0%, #0891b2 50%, #22d3ee 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --gradient-hero: radial-gradient(ellipse at top, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(244, 63, 94, 0.1) 0%, transparent 50%);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Border radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1.25rem;
    --radius-xl: 2rem;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(6, 182, 212, 0.1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    padding: var(--spacing-sm) 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    font-size: 2rem;
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-large {
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-block;
    cursor: pointer;
    border: none;
    font-size: 0.9375rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: 0 4px 14px rgba(6, 182, 212, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(6, 182, 212, 0.5), 0 0 40px rgba(8, 145, 178, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-accent);
}

.btn-secondary:hover {
    border-color: var(--accent-primary);
    background: rgba(6, 182, 212, 0.1);
}

.btn-large {
    padding: 0.875rem 2rem;
    font-size: 1.0625rem;
}

/* Hero Section */
.hero {
    padding: calc(var(--spacing-xl) + 4rem) 0 var(--spacing-xl);
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
}

/* Coral Reef Background SVG */
.hero-coral-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
    z-index: 0;
    pointer-events: none;
}

/* Animations for sea fans */
@keyframes sway-gently {

    0%,
    100% {
        transform: rotate(-1deg) skewX(-2deg);
    }

    50% {
        transform: rotate(1.5deg) skewX(1deg);
    }
}

@keyframes sway-delayed {

    0%,
    100% {
        transform: rotate(1deg) skewX(1deg);
    }

    50% {
        transform: rotate(-2deg) skewX(-2deg);
    }
}

@keyframes bubbles-rise {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 0.7;
    }

    50% {
        transform: translateY(-200px) translateX(-10px);
    }

    90% {
        opacity: 0.7;
    }

    100% {
        transform: translateY(-400px) translateX(5px);
        opacity: 0;
    }
}

.fan-anim-1 {
    transform-origin: bottom center;
    animation: sway-gently 5s ease-in-out infinite;
}

.fan-anim-2 {
    transform-origin: bottom center;
    animation: sway-delayed 6s ease-in-out infinite;
}

.bubble-1 {
    animation: bubbles-rise 4s linear infinite;
}

.bubble-2 {
    animation: bubbles-rise 5s linear infinite 1s;
}

.bubble-3 {
    animation: bubbles-rise 6s linear infinite 2.5s;
}

.bubble-4 {
    animation: bubbles-rise 4.5s linear infinite 0.5s;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px;
    height: 100%;
    background: radial-gradient(ellipse 80% 60% at 50% 20%, rgba(6, 182, 212, 0.15) 0%, transparent 60%);
    filter: blur(100px);
    z-index: 1;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(244, 63, 94, 0.1) 0%, transparent 70%);
    filter: blur(100px);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto var(--spacing-lg);
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 2rem;
    color: var(--accent-primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.03em;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto var(--spacing-md);
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* Terminal */
.terminal {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.92);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid rgba(6, 182, 212, 0.5);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(6, 182, 212, 0.4),
        0 0 40px rgba(6, 182, 212, 0.25);
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
}

.terminal-header {
    background: rgba(15, 30, 50, 0.7);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    border-bottom: 1px solid rgba(6, 182, 212, 0.3);
}

.terminal-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.btn-circle.red {
    background: #ef4444;
}

.btn-circle.yellow {
    background: #eab308;
}

.btn-circle.green {
    background: #22c55e;
}

.terminal-title {
    color: var(--text-muted);
    font-size: 0.875rem;
    flex: 1;
    text-align: center;
}

.terminal-body {
    padding: 1.5rem;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9375rem;
}

.terminal-line {
    margin-bottom: 1rem;
}

.prompt {
    color: var(--accent-primary);
    margin-right: 0.5rem;
}

.command {
    color: var(--text-primary);
}

.terminal-output {
    margin-top: 1rem;
}

.output-line {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.robot {
    font-size: 1.125rem;
}

.analyzing {
    color: var(--accent-tertiary);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.highlight {
    color: var(--accent-tertiary);
    font-weight: 600;
}

.recommendation {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.label {
    color: var(--text-primary);
    font-weight: 600;
}

.code {
    color: #22c55e;
    display: block;
    margin-top: 0.5rem;
}

.time {
    margin-top: 1rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Architecture Diagram */
.architecture-diagram {
    max-width: 1200px;
    margin: var(--spacing-xl) auto;
    text-align: center;
}

.architecture-diagram h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.diagram-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-lg);
}

/* New Flow Container */
.mcp-flow-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-sm);
    margin: var(--spacing-md) 0;
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.mcp-flow-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.flow-column {
    z-index: 1;
    flex: 1;
    display: flex;
    justify-content: center;
}

.flow-column-stacked {
    flex-direction: column;
    gap: var(--spacing-sm);
}

.flow-node {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm);
    min-width: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.flow-node::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-md);
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.flow-node:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    border-color: rgba(6, 182, 212, 0.5);
}

.node-client:hover {
    border-color: rgba(34, 197, 94, 0.5);
}

.node-server:hover {
    border-color: rgba(6, 182, 212, 0.5);
}

.node-agent:hover {
    border-color: rgba(244, 63, 94, 0.5);
}

/* Coral CLI Node */
.node-coral-cli {
    background: rgba(251, 146, 60, 0.05);
}

.node-coral-cli:hover {
    border-color: rgba(251, 146, 60, 0.5);
    box-shadow: 0 10px 20px rgba(251, 146, 60, 0.15);
}

.icon-coral {
    background: rgba(251, 146, 60, 0.1);
    border-color: rgba(251, 146, 60, 0.2);
}

/* Application Node */
.node-app {
    background: rgba(59, 130, 246, 0.05);
}

.node-app:hover {
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.15);
}

.icon-app {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
}

.node-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.flow-node h4 {
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.node-detail {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

/* Detailed Node Styles */
.flow-node-detailed {
    min-width: 260px;
    align-items: flex-start;
    text-align: left;
}

.flow-node-detailed h4 {
    align-self: center;
    margin-bottom: 0.75rem;
}

.flow-node-detailed .node-icon-wrapper {
    align-self: center;
}

.node-features {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 0.5rem;
    margin-top: 0.25rem;
}

.node-features li {
    font-size: 0.75rem;
    color: var(--text-secondary);
    padding: 0.2rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.node-features li::before {
    content: '•';
    color: var(--accent-primary);
    font-weight: bold;
}

/* Proxy Node */
.node-proxy {
    background: rgba(8, 145, 178, 0.05);
}

.node-proxy:hover {
    border-color: rgba(8, 145, 178, 0.5);
    box-shadow: 0 10px 20px rgba(8, 145, 178, 0.15);
}

.icon-proxy {
    background: rgba(8, 145, 178, 0.1);
    border-color: rgba(8, 145, 178, 0.2);
}

/* Flow Arrow */
.flow-arrow {
    flex: 0.5;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    margin: 0 -5px;
}

.arrow-line {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    margin-bottom: 0.25rem;
    overflow: hidden;
}

.arrow-packet {
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    animation: flowPacket 2s infinite linear;
}

.packet-reverse {
    animation: flowPacketReverse 2s infinite linear;
    background: linear-gradient(90deg, transparent, var(--accent-tertiary), transparent);
}

@keyframes flowPacket {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(250%);
    }
}

@keyframes flowPacketReverse {
    0% {
        transform: translateX(250%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.arrow-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .mcp-flow-container {
        flex-direction: column;
        gap: var(--spacing-lg);
    }

    .flow-arrow {
        transform: rotate(90deg);
        width: 100px;
        margin: 0;
    }

    .arrow-label {
        transform: rotate(-90deg);
        margin-top: 1rem;
    }
}

/* Live Debugging Example */
.live-debug-example {
    max-width: 900px;
    margin: var(--spacing-xl) auto 0;
    text-align: center;
}

.live-debug-example h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.example-subtitle {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    margin-bottom: var(--spacing-md);
}

.terminal-advanced {
    margin-top: var(--spacing-md);
    border: 2px solid var(--accent-primary);
    box-shadow: 0 0 40px rgba(6, 182, 212, 0.3);
}

.terminal-advanced .terminal-header {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(8, 145, 178, 0.2));
    border-bottom: 1px solid var(--accent-primary);
}

.output-line.indent {
    padding-left: 1.5rem;
}

.output-line.indent2 {
    padding-left: 2rem;
}

.output-line.indent3 {
    padding-left: 3rem;
}

.output-line.indent4 {
    padding-left: 4rem;
}

.output-line.success {
    color: #22c55e;
}

.output-line.blank {
    margin-bottom: 0.25rem;
}

.example-note {
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(6, 182, 212, 0.1);
    border-left: 4px solid var(--accent-primary);
    border-radius: var(--radius-md);
    text-align: left;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.example-note strong {
    color: var(--text-primary);
}

/* Stats Section */
.stats-section {
    padding: var(--spacing-lg) 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-md);
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

.stat-card {
    text-align: center;
    padding: var(--spacing-md);
}

.stat-value {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xs);
    line-height: 1;
    padding-right: 0.1em;
    /* Prevent gradient clipping */
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    font-weight: 500;
}

/* Problem/Solution Section */
.problem-solution {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-header h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.pain-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.pain-point {
    background: var(--bg-card);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.pain-point:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
}

.pain-icon {
    font-size: 1.5rem;
    margin-right: 0.5rem;
    flex-shrink: 0;
    filter: none !important;
    -webkit-filter: none !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
    color: initial !important;
    display: inline-block;
}

.pain-point h3 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xs);
    display: flex;
    align-items: center;
}

.pain-point p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.solution-banner {
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-lg);
    background: linear-gradient(145deg, rgba(20, 20, 30, 0.6), rgba(30, 30, 40, 0.6));
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 40px rgba(6, 182, 212, 0.1);
    position: relative;
    overflow: hidden;
}

.solution-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.5), transparent);
}

.solution-eyebrow {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-primary);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.solution-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
    font-weight: 800;
}

.solution-subtitle {
    color: var(--text-secondary);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Features Section */
.features {
    padding: var(--spacing-xl) 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
}

.feature-grid-compact {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-sm);
    max-width: 900px;
    margin: var(--spacing-xl) auto 0;
}

.feature-grid-compact .feature-card {
    padding: var(--spacing-sm) var(--spacing-md);
}

.feature-grid-compact .feature-icon {
    font-size: 1.5rem;
}

.feature-grid-compact h3 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.feature-grid-compact .feature-title {
    font-size: 0.9rem;
}

.feature-grid-compact p {
    font-size: 0.8rem;
    line-height: 1.4;
}

.feature-card {
    background: var(--bg-card);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(6, 182, 212, 0.3), 0 0 0 1px rgba(6, 182, 212, 0.2);
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.05) 0%, rgba(8, 145, 178, 0.05) 100%);
}

.feature-icon {
    font-size: 1.8rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
    filter: none !important;
    -webkit-filter: none !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
    color: initial !important;
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    background: none;
}

.feature-title {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

.feature-card ul {
    list-style: none;
}

.feature-card li {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9375rem;
}

.feature-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
}

.feature-card li strong {
    color: var(--text-primary);
}

/* Differentiators Section */
.differentiators {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
}

.diff-card {
    background: var(--bg-card);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.diff-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s;
}

.diff-card:hover::before {
    opacity: 1;
}

.diff-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(6, 182, 212, 0.25);
}

.diff-number {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    line-height: 1;
    margin-bottom: var(--spacing-sm);
}

.diff-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.diff-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* How It Works Section */
.how-it-works {
    padding: var(--spacing-xl) 0;
}

/* Flow Timeline */
.flow-timeline {
    max-width: 900px;
    margin: 0 auto var(--spacing-xl);
}

.flow-step {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.flow-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(6, 182, 212, 0.4);
}

.flow-content {
    flex: 1;
}

.flow-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.flow-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    font-size: 1.0625rem;
}

/* Flow Pillars (4-column grid) */
.flow-pillars {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.pillar-item {
    background: var(--bg-card);
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    position: relative;
}

.pillar-item:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(6, 182, 212, 0.2);
}

.pillar-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    background: var(--bg-tertiary);
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.pillar-item.level-0 .pillar-badge {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.1));
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.pillar-item.level-1 .pillar-badge {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(6, 182, 212, 0.1));
    color: var(--accent-tertiary);
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.pillar-item.level-2 .pillar-badge {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(6, 182, 212, 0.1));
    color: var(--accent-primary);
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.pillar-item.level-3 .pillar-badge {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.2), rgba(244, 63, 94, 0.1));
    color: var(--accent-highlight);
    border: 1px solid rgba(244, 63, 94, 0.3);
}

.pillar-icon {
    font-size: 1.25rem;
    margin-right: 0.5rem;
    flex-shrink: 0;
    filter: none !important;
    -webkit-filter: none !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
    color: initial !important;
    display: inline-block;
}

.pillar-item h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
}

.pillar-item p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Flow Features */
.flow-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: var(--spacing-md);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.feature-bullet {
    color: var(--accent-primary);
    font-weight: 700;
    flex-shrink: 0;
}

.feature-item strong {
    color: var(--text-primary);
}

/* Flow Connector */
.flow-connector {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin: var(--spacing-md) 0 var(--spacing-md) 28px;
}

.connector-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent-primary), var(--accent-secondary));
    position: relative;
}

.connector-line::after {
    content: '↓';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--accent-primary);
    font-size: 1.25rem;
}

.connector-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-style: italic;
    margin-left: var(--spacing-sm);
}

/* Architecture Summary */
.arch-summary {
    margin-top: var(--spacing-xl);
    text-align: center;
}

.arch-summary h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
}

.arch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.arch-tier {
    background: var(--bg-card);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.arch-tier:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(6, 182, 212, 0.2);
}

.tier-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.arch-tier h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.arch-tier p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.arch-note {
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.9375rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Get Started Section */
.get-started {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.get-started::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(6, 182, 212, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.install-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

@media (max-width: 768px) {
    .install-steps {
        grid-template-columns: 1fr;
    }
}

.step {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    display: flex;
    gap: var(--spacing-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    align-items: flex-start;
    backdrop-filter: blur(10px);
}

.step:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 4px;
    /* Align with title */
    transition: all 0.3s;
}

.step:hover .step-number {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

.step-content {
    flex: 1;
    min-width: 0;
}

.step-content h3 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
}

.code-block {
    background: #0f172a;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.875rem;
    position: relative;
    overflow-x: auto;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.code-block code {
    color: var(--accent-tertiary);
    line-height: 1.6;
    display: block;
    white-space: pre-wrap;
    /* Allow wrapping if needed */
}

/* Hover effect for code block to hint interactivity */
.step:hover .code-block {
    border-color: rgba(6, 182, 212, 0.2);
    background: #0b1120;
}

.cta-banner {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 150%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 0;
}

.cta-banner>* {
    position: relative;
    z-index: 1;
}

.cta-banner h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.cta-banner p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    padding: var(--spacing-md) 0;
    border-top: 1px solid var(--border-color);
    background: #020617;
    /* Slate 950 - Darker than main bg */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
}

.footer-left {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.875rem;
    white-space: nowrap;
}

.footer-nav {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    justify-content: center;
    flex: 1;
}

.footer-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.2s;
    white-space: nowrap;
}

.footer-nav a:hover {
    color: var(--text-primary);
}

.footer-right {
    white-space: nowrap;
}

.footer-right p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Early Access Section */
/* Early Access Section - Deep Sea Style */
.early-access {
    padding: var(--spacing-xl) 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

/* Ambient background glow */
.early-access::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at center, rgba(6, 182, 212, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.early-access-content {
    max-width: 700px;
    margin: 0 auto;
    padding: var(--spacing-lg);
    /* Glassmorphism deep sea */
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: var(--radius-lg);
    text-align: center;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 0 40px rgba(6, 182, 212, 0.1), inset 0 0 20px rgba(6, 182, 212, 0.05);
    position: relative;
    z-index: 1;
    animation: bio-pulse 4s ease-in-out infinite alternate;
}

@keyframes bio-pulse {
    0% {
        box-shadow: 0 0 40px rgba(6, 182, 212, 0.1), inset 0 0 20px rgba(6, 182, 212, 0.05);
        border-color: rgba(34, 211, 238, 0.2);
    }

    100% {
        box-shadow: 0 0 60px rgba(34, 211, 238, 0.2), inset 0 0 30px rgba(34, 211, 238, 0.1);
        border-color: rgba(34, 211, 238, 0.5);
    }
}

.early-access h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    /* Gradient Text: Coral to Cyan */
    background: linear-gradient(135deg, #f43f5e, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

/* Emoji reset */
.early-access h2::before {
    content: '🚧';
    font-size: 1.5rem;
    -webkit-text-fill-color: initial;
    filter: drop-shadow(0 0 15px rgba(244, 63, 94, 0.4));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.early-access p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    font-size: 1.0625rem;
}

.early-access-cta {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.early-access .btn-primary {
    background: linear-gradient(90deg, #0891b2, #06b6d4);
    border: none;
    color: #fff;
    padding: 0.875rem 2.5rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
    transition: all 0.3s ease;
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
}

.early-access .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

.early-access .btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.6);
    filter: brightness(1.1);
}

.early-access .btn-primary:hover::before {
    left: 100%;
}

/* Responsive Design */
@media (max-width: 968px) {
    .flow-pillars {
        grid-template-columns: 1fr;
    }

    .arch-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }

    .footer-nav {
        justify-content: flex-start;
        gap: var(--spacing-sm);
    }

    .nav-links {
        gap: var(--spacing-sm);
    }
}

@media (max-width: 640px) {
    .hero {
        padding: calc(var(--spacing-lg) + 3rem) 0 var(--spacing-lg);
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .terminal-body {
        font-size: 0.8125rem;
        padding: 1rem;
    }

    .feature-grid,
    .diff-grid,
    .pain-points,
    .install-steps {
        grid-template-columns: 1fr;
    }

    .flow-step {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .flow-number {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }

    .flow-content h3 {
        font-size: 1.5rem;
    }

    .flow-connector {
        margin-left: 24px;
    }

    .connector-line {
        height: 30px;
    }

    .footer-nav {
        font-size: 0.875rem;
    }

    .nav-links {
        display: none;
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: rgba(6, 182, 212, 0.3);
    color: var(--text-primary);
}

/* Architecture Page */
.architecture-page {
    min-height: 100vh;
    padding: calc(80px + var(--spacing-xl)) 0 var(--spacing-xl);
}

.architecture-page h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.arch-cta {
    text-align: center;
    margin: var(--spacing-lg) 0;
}

.arch-components {
    margin-top: var(--spacing-xl);
}

.arch-components h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: var(--spacing-lg);
}

.arch-features {
    margin-top: var(--spacing-xl);
}

.arch-features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: var(--spacing-lg);
}

.feature-list {
    display: grid;
    gap: var(--spacing-md);
    max-width: 900px;
    margin: 0 auto;
}

.feature-item-large {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: all 0.3s;
}

.feature-item-large:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.feature-item-large h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.feature-item-large p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.back-link {
    text-align: center;
    margin-top: var(--spacing-xl);
}

/* Bidirectional Arrow */
.diagram-arrow-bidirectional {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: var(--spacing-sm) 0;
}

.arrow-up {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.arrow-down {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.arrow-line-up {
    width: 2px;
    height: 30px;
    background: linear-gradient(0deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
}

.arrow-line-down {
    width: 2px;
    height: 30px;
    background: linear-gradient(180deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
}

.arrow-head-up {
    font-size: 1.2rem;
    color: var(--accent-primary);
    line-height: 1;
}

.arrow-head-down {
    font-size: 1.2rem;
    color: var(--accent-primary);
    line-height: 1;
}

.arrow-label-bidirectional {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    text-align: center;
    margin: 0.5rem 0;
}

/* Vertical Flow Layout */
.mcp-flow-vertical {
    flex-direction: column;
    max-width: 600px;
    gap: 0;
}

.mcp-flow-vertical .flow-column {
    width: 100%;
    z-index: 2;
}

.mcp-flow-vertical .flow-column-stacked {
    flex-direction: row;
    justify-content: center;
}

.mcp-flow-vertical .flow-node {
    width: 100%;
    max-width: 400px;
}

.mcp-flow-vertical .flow-node-detailed {
    max-width: 500px;
}

/* Vertical Arrow */
.mcp-flow-vertical .flow-arrow {
    display: flex;
    flex: 0 0 auto;
    /* Prevent collapsing */
    flex-direction: row;
    width: 100%;
    height: 80px;
    min-height: 80px;
    /* Force height */
    justify-content: center;
    align-items: center;
    /* Vertically center label */
    margin: 0;
    position: relative;
    z-index: 1;
    opacity: 1;
    /* Ensure visibility */
    visibility: visible;
}

.mcp-flow-vertical .arrow-line {
    width: 2px;
    height: 100%;
    margin-bottom: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.3);
    /* Increased visibility */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.mcp-flow-vertical .arrow-packet {
    width: 100%;
    height: 40%;
    top: -40%;
    left: 0;
    background: linear-gradient(180deg, transparent, var(--accent-primary), transparent);
    animation: flowPacketVertical 2s infinite linear;
}

.mcp-flow-vertical .packet-reverse {
    animation: flowPacketVerticalReverse 2s infinite linear;
    background: linear-gradient(180deg, transparent, var(--accent-tertiary), transparent);
}

@keyframes flowPacketVertical {
    0% {
        top: -100%;
    }

    100% {
        top: 200%;
    }
}

@keyframes flowPacketVerticalReverse {
    0% {
        top: 200%;
    }

    100% {
        top: -100%;
    }
}

.mcp-flow-vertical .arrow-label {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-primary);
    /* Hide line behind text */
    padding: 0 0.5rem;
    /* Add padding for background */
    border-radius: 0;
    backdrop-filter: none;
    z-index: 2;
    border: none;
    font-size: 0.75rem;
    /* Slightly smaller to match index */
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: center;
}

/* Parallel Flow Section */
.flow-parallel-section {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
    gap: var(--spacing-md);
    position: relative;
}

.flow-path-main {
    flex: 2;
    display: flex;
    justify-content: center;
}

.flow-path-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.arrow-long {
    height: 160px !important;
    /* Double standard height */
}

.arrow-short {
    height: 40px !important;
    min-height: 40px !important;
}

.node-discovery-micro {
    width: auto !important;
    padding: var(--spacing-xs) var(--spacing-sm) !important;
    background: linear-gradient(145deg, rgba(20, 20, 30, 0.9), rgba(30, 30, 40, 0.9)) !important;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    min-width: 100px;
    margin: 0 !important;
}

.node-discovery-micro .node-icon-wrapper {
    width: 28px;
    height: 28px;
    font-size: 1rem;
    margin-bottom: 0;
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    color: #ffd700;
}

.node-discovery-micro h4 {
    font-size: 0.8rem;
    margin: 0;
    color: var(--text-primary);
}

/* Community & Open Source CTA */
.community-cta {
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl) var(--spacing-md);
    margin-top: var(--spacing-xl);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.4), rgba(30, 41, 59, 0.4));
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.community-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% -20%, rgba(6, 182, 212, 0.1), transparent 70%);
    pointer-events: none;
}

.community-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.community-badges {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.badge {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

.community-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.community-cta p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-lg);
}

.community-actions {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.community-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 200px;
}

.community-btn:hover {
    transform: translateY(-2px);
    background: rgba(30, 41, 59, 0.8);
}

.primary-btn {
    border-color: rgba(6, 182, 212, 0.3);
    background: rgba(6, 182, 212, 0.05);
}

.primary-btn:hover {
    border-color: rgba(6, 182, 212, 0.6);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.15);
}

.btn-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-title {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
}

.btn-sub {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.community-btn:hover .btn-sub {
    color: var(--accent-primary);
}

@media (max-width: 768px) {
    .community-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .community-btn {
        justify-content: center;
    }
}

/* Action Grid */
.action-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--spacing-md);
    max-width: 1000px;
    margin: 0 auto;
}

.action-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 180px;
    position: relative;
    overflow: hidden;
}

.primary-card {
    background: rgba(6, 182, 212, 0.1);
    border-color: rgba(6, 182, 212, 0.3);
}

.action-card:hover {
    transform: translateY(-4px);
    border-color: rgba(6, 182, 212, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.primary-card:hover {
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.2);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.card-content h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.card-link-text {
    color: var(--text-muted);
    font-size: 0.875rem;
    transition: color 0.2s;
}

.action-card:hover .card-link-text {
    color: var(--accent-primary);
}

.card-arrow {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: var(--text-muted);
    font-size: 1.25rem;
    transition: transform 0.3s;
}

.action-card:hover .card-arrow {
    transform: translate(4px, -4px);
    color: var(--accent-primary);
}

/* Copy Command Styling */
.copy-command {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(6, 182, 212, 0.2);
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.copy-command code {
    flex: 1;
    font-family: 'Monaco', monospace;
    font-size: 0.875rem;
    color: var(--accent-tertiary);
}

.copy-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s;
}

.copy-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .action-grid {
        grid-template-columns: 1fr;
    }

    .deep-dive-header h2 {
        font-size: 2rem;
    }

    .deep-dive-cta {
        padding: var(--spacing-lg) var(--spacing-sm);
    }
}