/* ============================================================================
   SynapseBridge — gainpublications.com / synapsebridge.net
   Dark with orange accent. Built for clarity, density, and trust.
   ============================================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    /* Orange — the only "loud" color, reserved for CTAs and key marks */
    --accent: #FE992D;
    --accent-hover: #FFAB52;
    --accent-dim: rgba(254, 153, 45, 0.15);
    --accent-glow: rgba(254, 153, 45, 0.35);

    /* Dark surfaces */
    --bg: #0a0a0f;
    --bg-elev-1: #11111a;
    --bg-elev-2: #181822;
    --bg-elev-3: #20202c;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);

    /* Text */
    --text: #e8e8ee;
    --text-muted: #9da0aa;
    --text-dim: #6b6e78;

    /* Status colors (used sparingly) */
    --success: #10b981;
    --warning: #f59e0b;

    /* Layout */
    --container: 1180px;
    --radius: 10px;
    --radius-sm: 6px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

section { padding: 100px 0; }

/* ----- Typography ----- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 3.5vw, 2.75rem); margin-bottom: 0.5rem; }
h3 { font-size: 1.35rem; }

p { color: var(--text-muted); }

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover { color: var(--accent-hover); }

code, pre, .mono {
    font-family: 'JetBrains Mono', 'Consolas', 'Courier New', monospace;
    font-size: 0.9em;
}
code {
    background: var(--bg-elev-2);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid var(--border);
    color: var(--accent);
}

.accent { color: var(--accent); }
.muted  { color: var(--text-muted); }

.section-title {
    text-align: center;
    margin-bottom: 1rem;
}
.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto 4rem;
}

/* ----- Buttons ----- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
}
.btn-primary {
    background: var(--accent);
    color: #0a0a0f;
}
.btn-primary:hover {
    background: var(--accent-hover);
    color: #0a0a0f;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px var(--accent-glow);
}
.btn-secondary {
    background: transparent;
    color: var(--text);
    border-color: var(--border-strong);
}
.btn-secondary:hover {
    background: var(--bg-elev-2);
    border-color: var(--accent);
    color: var(--accent);
}
.btn-large {
    padding: 16px 32px;
    font-size: 1.05rem;
}
.btn-disabled {
    background: var(--bg-elev-2);
    color: var(--text-dim);
    cursor: not-allowed;
    border-color: var(--border);
}
.btn-disabled:hover {
    background: var(--bg-elev-2);
    color: var(--text-dim);
    transform: none;
    box-shadow: none;
}

/* ----- Navigation ----- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text);
}
.nav-brand img {
    width: 32px;
    height: 32px;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}
.nav-menu a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}
.nav-menu a:hover { color: var(--text); }
.nav-menu .btn { padding: 8px 18px; font-size: 0.9rem; }

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    padding: 8px;
}
.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    margin: 4px 0;
    transition: all 0.3s ease;
}

/* ----- Hero ----- */
.hero {
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-dim) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}
.hero-eyebrow {
    display: inline-block;
    padding: 6px 14px;
    background: var(--accent-dim);
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}
.hero h1 { margin-bottom: 24px; }
.hero h1 .accent-line {
    display: block;
    color: var(--accent);
}
.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.5;
}
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin: 48px 0;
    flex-wrap: wrap;
}
.stat {
    text-align: center;
}
.stat-number {
    display: block;
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-screenshot {
    margin-top: 80px;
    position: relative;
    z-index: 1;
}
.hero-screenshot img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border-strong);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 0 1px var(--border);
}

/* ----- Features grid ----- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 48px;
}
.feature-card {
    background: var(--bg-elev-1);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all 0.2s ease;
}
.feature-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-2px);
}
.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-dim);
    color: var(--accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.feature-card h3 { margin-bottom: 12px; }
.feature-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}
.feature-card .feature-detail {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* ----- Three-pillar "Why" section ----- */
.pillars {
    background: var(--bg-elev-1);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 48px;
}
.pillar {
    text-align: center;
}
.pillar-num {
    display: inline-block;
    width: 56px;
    height: 56px;
    background: var(--accent);
    color: var(--bg);
    border-radius: 50%;
    line-height: 56px;
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.pillar h3 { margin-bottom: 12px; }

/* ----- Screenshot showcase ----- */
.showcase {
    padding: 80px 0;
}
.showcase-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}
.showcase-row:last-child { margin-bottom: 0; }
.showcase-row.reverse {
    direction: rtl;
}
.showcase-row.reverse > * { direction: ltr; }
.showcase-text h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
}
.showcase-text p {
    margin-bottom: 16px;
    line-height: 1.7;
}
.showcase-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border-strong);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}
.showcase-tag {
    display: inline-block;
    padding: 4px 10px;
    background: var(--accent-dim);
    color: var(--accent);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

/* ----- Pricing table ----- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 48px;
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}
.price-card {
    background: var(--bg-elev-1);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    position: relative;
    transition: all 0.2s ease;
}
.price-card.featured {
    border-color: var(--accent);
    background: linear-gradient(180deg, rgba(254, 153, 45, 0.04) 0%, var(--bg-elev-1) 60%);
}
.price-card.featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--bg);
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}
.price-tier {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}
.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
    margin-bottom: 4px;
}
.price-amount .currency {
    font-size: 1.25rem;
    vertical-align: top;
    margin-right: 2px;
    color: var(--text-muted);
    font-weight: 600;
}
.price-period {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}
.price-features {
    list-style: none;
    text-align: left;
    margin: 24px 0;
}
.price-features li {
    padding: 8px 0;
    color: var(--text-muted);
    font-size: 0.92rem;
    display: flex;
    gap: 10px;
}
.price-features li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
}
.price-features li.dim {
    color: var(--text-dim);
}
.price-features li.dim::before {
    content: '—';
    color: var(--text-dim);
}
.price-card .btn { width: 100%; justify-content: center; }
.price-note {
    text-align: center;
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-top: 32px;
}

/* ----- "What you don't need" counter-section ----- */
.counter {
    background: var(--bg-elev-1);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    text-align: center;
}
.counter-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    max-width: 900px;
    margin: 40px auto 0;
    list-style: none;
}
.counter-list li {
    padding: 20px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-weight: 600;
    color: var(--text);
    text-decoration: line-through;
    text-decoration-color: var(--accent);
    text-decoration-thickness: 2px;
}

/* ----- System requirements ----- */
.specs {
    max-width: 800px;
    margin: 48px auto 0;
}
.spec-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}
.spec-row:last-child { border-bottom: none; }
.spec-label {
    font-weight: 600;
    color: var(--text);
}
.spec-value {
    color: var(--text-muted);
}

/* ----- FAQ ----- */
.faq-grid {
    max-width: 820px;
    margin: 48px auto 0;
}
.faq-item {
    background: var(--bg-elev-1);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
}
.faq-item summary {
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    color: var(--text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: 400;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}
.faq-item[open] summary::after {
    transform: rotate(45deg);
}
.faq-item .faq-content {
    padding: 0 24px 20px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ----- Final CTA ----- */
.final-cta {
    text-align: center;
    padding: 120px 0;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}
.final-cta::before {
    content: '';
    position: absolute;
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, var(--accent-dim) 0%, transparent 70%);
    pointer-events: none;
}
.final-cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}
.final-cta h2 {
    margin-bottom: 16px;
}
.final-cta p {
    font-size: 1.15rem;
    margin-bottom: 32px;
}

/* ----- Footer ----- */
.footer {
    background: var(--bg-elev-1);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand img {
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
}
.footer-brand h4 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}
.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 320px;
}
.footer-col h5 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text);
    margin-bottom: 16px;
}
.footer-col ul {
    list-style: none;
}
.footer-col li {
    margin-bottom: 10px;
}
.footer-col a {
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 500;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    color: var(--text-dim);
    font-size: 0.85rem;
}
.footer-bottom a {
    color: var(--text-dim);
}
.footer-bottom a:hover {
    color: var(--text-muted);
}

/* ----- Legal page styling (license / privacy / terms) ----- */
.legal {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 24px;
}
.legal h1 {
    font-size: 2.5rem;
    margin-bottom: 8px;
}
.legal .last-updated {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-bottom: 48px;
    font-style: italic;
}
.legal h2 {
    font-size: 1.5rem;
    margin: 36px 0 16px;
    color: var(--text);
}
.legal h3 {
    font-size: 1.15rem;
    margin: 24px 0 12px;
    color: var(--accent);
}
.legal p, .legal li {
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 12px;
}
.legal ul, .legal ol {
    padding-left: 24px;
    margin-bottom: 16px;
}
.legal hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 36px 0;
}
.legal .legal-footer {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 0.85rem;
    text-align: center;
}

/* ----- Mobile ----- */
@media (max-width: 900px) {
    section { padding: 70px 0; }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-elev-1);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        gap: 0;
        padding: 16px 0;
    }
    .nav-menu.active { display: flex; }
    .nav-menu li {
        width: 100%;
        text-align: center;
        padding: 12px 24px;
    }
    .mobile-menu-toggle { display: block; }

    .hero { padding: 60px 0 50px; }
    .hero-stats { gap: 24px; }
    .hero-screenshot { margin-top: 40px; }

    .showcase-row {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 60px;
    }
    .showcase-row.reverse { direction: ltr; }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .spec-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

@media (max-width: 560px) {
    .footer-grid { grid-template-columns: 1fr; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; }
}


/* ============================ BUILT WITH CODING STUDIO ============================ */
/* Deliverables proof-of-work section: shows real outputs the AI inside the */
/* app produced. Two cards in a 2-col grid that collapses to 1-col on mobile. */
.built-with {
    background: linear-gradient(180deg, rgba(20, 22, 38, 0) 0%, rgba(20, 22, 38, 0.35) 100%);
    padding: 100px 0;
}

.built-with-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 48px;
}

.built-card {
    background: rgba(28, 30, 50, 0.6);
    border: 1px solid rgba(120, 130, 200, 0.18);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.built-card:hover {
    border-color: rgba(160, 170, 230, 0.4);
    transform: translateY(-2px);
}

.built-card-icon {
    font-size: 42px;
    line-height: 1;
}

.built-card h3 {
    font-size: 26px;
    font-weight: 700;
    color: #f5f6ff;
    margin: 0;
}

.built-card-meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #9aa3c7;
    margin: 0;
    letter-spacing: 0.3px;
}

.built-card p {
    color: #c8cce0;
    line-height: 1.55;
    font-size: 14.5px;
    margin: 0;
}

.built-card .btn {
    align-self: flex-start;
    margin-top: 8px;
}

.built-card-note {
    font-size: 12px;
    color: #7a829e;
    font-style: italic;
}

.built-card code {
    background: rgba(120, 130, 200, 0.15);
    color: #d8dcf2;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 13px;
    font-family: 'JetBrains Mono', monospace;
}

@media (max-width: 820px) {
    .built-with-grid { grid-template-columns: 1fr; gap: 20px; }
    .built-card { padding: 24px; }
    .built-card h3 { font-size: 22px; }
    .built-with { padding: 72px 0; }
}

/* ============================ "IN DEVELOPMENT" PRICE CARD ============================ */
/* Marks the Pro card as upcoming-not-yet-available without removing it. */
/* Lower opacity, no hover lift, muted gradient so it reads as "soon" rather */
/* than "broken." Keeps the slot in the 3-col grid so visitors see the future */
/* roadmap without thinking they can buy it today. */
.price-card.upcoming {
    opacity: 0.78;
    background: linear-gradient(180deg, rgba(28, 30, 50, 0.45) 0%, rgba(20, 22, 38, 0.4) 100%);
    border-style: dashed;
}
.price-card.upcoming:hover {
    transform: none;
    opacity: 0.92;
}
.price-card.upcoming .price-amount {
    color: #b8c0dc;
    letter-spacing: 0.5px;
}
.price-card.upcoming .price-tier::after {
    content: " · soon";
    color: #7a829e;
    font-weight: 400;
    font-size: 0.7em;
    letter-spacing: 0.5px;
}