/* Design System & Core Tokens */
:root {
    --bg-color: #030712;
    --bg-surface: #0b0f19;
    --bg-card: rgba(17, 24, 39, 0.6);
    --border-color: rgba(31, 41, 55, 0.7);
    --border-hover: rgba(99, 102, 241, 0.4);
    
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    --color-indigo: #6366f1;
    --color-violet: #8b5cf6;
    --color-emerald: #10b981;
    --color-rose: #f43f5e;
    --color-amber: #f59e0b;
    
    --gradient-hero: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    --gradient-glow: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(3, 7, 18, 0) 70%);
}

* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography Extensions */
h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
}

p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

/* Scrollbar Style */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: #1f2937;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-indigo);
}

/* Common Buttons & Custom Links */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.25rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-indigo);
    color: #ffffff;
    box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    background-color: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(99, 102, 241, 0.4);
}

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

.btn-secondary:hover {
    background-color: rgba(31, 41, 55, 0.5);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 0.85rem 1.75rem;
    font-size: 0.95rem;
    border-radius: 1rem;
}

.w-full {
    width: 100%;
}

/* Navbar Style */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background-color: rgba(3, 7, 18, 0.65);
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--text-primary);
}

.logo-icon {
    width: 20px;
    height: 20px;
    color: var(--color-indigo);
    animation: pulse 2.5s infinite ease-in-out;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--color-indigo);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
}

/* Hero Section Style */
.hero {
    position: relative;
    padding-top: 8rem;
    padding-bottom: 6rem;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translate(-50%, 0);
    width: 80%;
    height: 60%;
    background: var(--gradient-glow);
    z-index: -1;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tagline-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    background-color: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-indigo);
    animation: flash 1.5s infinite;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 850;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

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

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 750;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

/* Glassmorphism Graphic Mockup */
.hero-visual {
    position: relative;
}

.glass-mockup {
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.4s ease;
}

.glass-mockup:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
}

.mockup-header {
    background-color: rgba(3, 7, 18, 0.4);
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.mockup-dots {
    display: flex;
    gap: 0.35rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot.red { background-color: var(--color-rose); }
.dot.yellow { background-color: var(--color-amber); }
.dot.green { background-color: var(--color-emerald); }

.mockup-tab {
    margin: 0 auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    color: var(--text-muted);
    background-color: rgba(3, 7, 18, 0.6);
    padding: 0.15rem 0.75rem;
    border-radius: 4px;
}

.mockup-body {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-img {
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Trust Ticker Style */
.ticker-section {
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background-color: rgba(11, 15, 25, 0.3);
}

.ticker-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.ticker-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.ticker-items {
    display: flex;
    align-items: center;
    gap: 3.5rem;
    overflow: hidden;
}

.ticker-item-logo {
    font-weight: 800;
    font-size: 0.95rem;
    color: #4b5563;
    letter-spacing: 0.1em;
}

/* Section Header Styles */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3.5rem auto;
}

.section-tag {
    color: var(--color-indigo);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1rem;
}

/* Features Pillar Tabs Section */
.features-section {
    padding: 6rem 0;
}

.features-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    border-radius: 0.85rem;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.tab-btn:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.tab-btn.active {
    background-color: var(--color-indigo);
    color: #ffffff;
    border-color: var(--color-indigo);
    box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.35);
}

.tab-icon {
    width: 14px;
    height: 14px;
}

.tab-content-container {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    overflow: hidden;
}

.tab-content {
    display: none;
    padding: 3.5rem;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.tab-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tab-text h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.tab-text p {
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.feature-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.feature-bullets li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-emerald);
    font-weight: bold;
}

/* Tab Graphic Layout Mockups */
.tab-graphic {
    background-color: rgba(3, 7, 18, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.graphic-node-canvas {
    display: flex;
    align-items: center;
    gap: 3rem;
    position: relative;
}

.node {
    background-color: #0f172a;
    border: 1px solid #334155;
    border-radius: 0.75rem;
    padding: 1rem;
    min-width: 140px;
    position: relative;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
}

.node-title {
    font-size: 0.65rem;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 0.35rem;
    display: flex;
    justify-content: space-between;
}

.node-tag {
    color: var(--color-indigo);
    font-weight: bold;
}

.node-body {
    font-size: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
}

.port {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #38bdf8;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.port-right {
    right: -3px;
}

.port-left {
    left: -3px;
}

.node-connection {
    width: 80px;
    height: 40px;
}

.conn-line {
    width: 100%;
    height: 100%;
}

/* Metrics Graphic */
.backtest-report-graphic {
    width: 80%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.metrics-row {
    display: flex;
    gap: 1rem;
}

.mini-card {
    flex: 1;
    background-color: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    display: flex;
    flex-direction: column;
}

.mini-card .lbl {
    font-size: 0.6rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.mini-card .val {
    font-size: 0.9rem;
    font-weight: 700;
}

.text-green { color: var(--color-emerald); }
.text-red { color: var(--color-rose); }

.mini-chart {
    height: 80px;
    width: 100%;
}

.svg-curve {
    width: 100%;
    height: 100%;
}

/* Live monitor desk graphic */
.live-desk-graphic {
    width: 85%;
    background-color: #090d16;
    border: 1px solid #1e293b;
    border-radius: 0.75rem;
    overflow: hidden;
}

.live-status-header {
    background-color: rgba(3, 7, 18, 0.6);
    padding: 0.5rem 0.75rem;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
}

.live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-emerald);
    display: inline-block;
    margin-right: 0.25rem;
    animation: flash 1.5s infinite;
}

.broker-badge {
    background-color: rgba(16, 185, 129, 0.15);
    color: var(--color-emerald);
    padding: 0.15rem 0.5rem;
    border-radius: 9999px;
}

.live-orders-box {
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.live-order-row {
    background-color: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 0.35rem;
    padding: 0.4rem 0.6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.7rem;
    font-weight: 500;
}

.side {
    font-weight: bold;
    padding: 0.1rem 0.35rem;
    border-radius: 3px;
    font-size: 0.6rem;
}

.side.buy { background-color: rgba(16, 185, 129, 0.1); color: var(--color-emerald); }
.side.sell { background-color: rgba(244, 63, 94, 0.1); color: var(--color-rose); }
.symbol { color: var(--text-primary); font-weight: 600; }
.price { font-family: 'JetBrains Mono', monospace; }

/* Interactive Simulator Widget */
.simulator-section {
    padding: 6rem 0;
    background-color: rgba(11, 15, 25, 0.2);
}

.simulator-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    overflow: hidden;
}

.sim-controls {
    padding: 3rem;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.control-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.control-group select {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.65rem;
    border-radius: 0.75rem;
    font-family: inherit;
    font-size: 0.85rem;
    outline: none;
    cursor: pointer;
}

.control-group select:focus {
    border-color: var(--color-indigo);
}

.sim-display {
    padding: 3rem;
    background-color: rgba(3, 7, 18, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.sim-placeholder-state {
    text-align: center;
    max-width: 320px;
    color: var(--text-secondary);
}

.placeholder-icon {
    width: 48px;
    height: 48px;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.sim-placeholder-state p {
    font-size: 0.85rem;
}

/* Spinner & Running state */
.sim-running-state {
    text-align: center;
    width: 80%;
}

.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(99, 102, 241, 0.1);
    border-top: 3px solid var(--color-indigo);
    border-radius: 50%;
    margin: 0 auto 1rem auto;
    animation: rotate 1s infinite linear;
}

.sim-running-state p {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.progress-bar-container {
    width: 100%;
    height: 6px;
    background-color: #1f2937;
    border-radius: 9999px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--gradient-hero);
    border-radius: 9999px;
    transition: width 0.1s ease;
}

/* Results Display */
.sim-results-state {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    animation: fadeIn 0.4s ease;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.result-metric {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 0.75rem;
    border-radius: 0.75rem;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.result-metric .lbl {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.result-metric .val {
    font-size: 1.15rem;
    font-weight: 750;
    margin-top: 0.25rem;
}

.results-chart {
    height: 120px;
    width: 100%;
    border: 1px solid var(--border-color);
    background-color: rgba(3, 7, 18, 0.5);
    border-radius: 0.75rem;
    padding: 0.5rem;
}

.svg-results-curve {
    width: 100%;
    height: 100%;
}

.hidden {
    display: none !important;
}

/* Pricing Section Styles */
.pricing-section {
    padding: 6rem 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

.price-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 2.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.price-card:hover {
    transform: translateY(-5px);
}

.price-card.popular {
    border-color: var(--color-indigo);
    box-shadow: 0 20px 40px -15px rgba(99, 102, 241, 0.15);
    background-color: rgba(11, 15, 25, 0.85);
}

.popular-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background-color: var(--color-indigo);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
}

.price-plan {
    font-size: 1.25rem;
    font-weight: 750;
    margin-bottom: 0.5rem;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 850;
    margin-bottom: 1rem;
}

.price-period {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: normal;
}

.price-desc {
    font-size: 0.85rem;
    margin-bottom: 2rem;
    flex-shrink: 0;
}

.price-divider {
    border: 0;
    height: 1px;
    background-color: var(--border-color);
    margin: 0 0 2rem 0;
}

.price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    flex-grow: 1;
}

.price-features li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.25rem;
}

.price-features li::before {
    content: "•";
    color: var(--color-indigo);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* FAQ Section Styles */
.faq-section {
    padding: 6rem 0;
    background-color: rgba(11, 15, 25, 0.1);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-primary);
    padding: 1.5rem;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    padding: 0 1.5rem;
}

.faq-answer p {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    transition: max-height 0.4s ease;
}

.faq-icon {
    font-size: 1.25rem;
    color: var(--text-muted);
    transition: transform 0.2s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--color-indigo);
}

/* Footer Section Styles */
footer {
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 3rem 0;
    background-color: #020617;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    font-size: 0.85rem;
    margin-top: 1rem;
    max-width: 320px;
}

.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-links-col h4 {
    font-size: 0.85rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.footer-links-col a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.footer-links-col a:hover {
    color: var(--color-indigo);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
}

.disclaimer {
    max-width: 800px;
    line-height: 1.5;
}

/* Animation Declarations */
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .navbar {
        padding: 0.5rem 0;
    }
    
    .nav-links {
        display: none; /* Controlled by mobile script */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-color);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 10px 15px -3px rgba(0,0,0,0.5);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .tab-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .simulator-card {
        grid-template-columns: 1fr;
    }
    
    .sim-controls {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 2rem;
    }
    
    .sim-display {
        padding: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* Interactive SVG Flow editor mockup styles */
.mockup-svg {
    background-image: radial-gradient(rgba(31, 41, 55, 0.4) 1px, transparent 1px);
    background-size: 15px 15px;
    background-color: #030712;
    border-radius: 0.75rem;
    box-shadow: inset 0 0 20px 0 rgba(0,0,0,0.8);
    display: block;
}

.flow-wire {
    stroke-linecap: round;
}

.wire-active {
    stroke-dasharray: 8 4;
    animation: flowDash 30s linear infinite;
}

.wire-active-green {
    stroke-dasharray: 6 3;
    animation: flowDash 20s linear infinite;
}

@keyframes flowDash {
    from { stroke-dashoffset: 1000; }
    to { stroke-dashoffset: 0; }
}

.svg-node {
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease;
}
.svg-node:hover {
    transform: scale(1.02);
}
