/* ============================================================
   FoundersAgent — Ultra-Premium Landing Page
   Inspired by Vercel, Linear, Stripe
   ============================================================ */

/* ── Tokens ── */
:root {
    --bg: #050505;
    --bg-subtle: #0a0a0a;
    --surface: rgba(255, 255, 255, 0.03);
    --surface-2: rgba(255, 255, 255, 0.05);
    --surface-3: rgba(255, 255, 255, 0.08);
    --text: #ededed;
    --text-2: #a1a1a1;
    --text-3: #666;
    --blue: #0070f3;
    --blue-soft: rgba(0, 112, 243, 0.12);
    --blue-glow: rgba(0, 112, 243, 0.25);
    --green: #00c853;
    --green-soft: rgba(0, 200, 83, 0.1);
    --border: rgba(255, 255, 255, 0.06);
    --border-2: rgba(255, 255, 255, 0.1);
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Reveal Animation ── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============ NAVIGATION ============ */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
}

.logo-mark {
    font-size: 1.3rem;
}

.nav-links {
    display: flex;
    gap: 32px;
}

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

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

.nav-cta {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 8px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    transition: all 0.25s var(--ease);
}

.nav-cta:hover {
    background: var(--surface-3);
    border-color: var(--border-2);
}

.nav-cta .arrow {
    display: inline-block;
    transition: transform 0.2s;
}

.nav-cta:hover .arrow {
    transform: translateX(3px);
}

/* ============ HERO ============ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 160px 0 120px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-gradient {
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 140%;
    height: 70%;
    background: conic-gradient(from 180deg at 50% 50%,
            transparent 0deg,
            rgba(0, 112, 243, 0.08) 60deg,
            transparent 120deg,
            rgba(0, 200, 83, 0.05) 200deg,
            transparent 280deg,
            rgba(0, 112, 243, 0.06) 340deg,
            transparent 360deg);
    filter: blur(80px);
    animation: rotate-gradient 20s linear infinite;
}

@keyframes rotate-gradient {
    from {
        transform: translateX(-50%) rotate(0deg);
    }

    to {
        transform: translateX(-50%) rotate(360deg);
    }
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 50% 50% at 50% 30%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 30%, black, transparent);
}

.hero-radial {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--bg), transparent);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
}

/* Pill Badge */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 18px 7px 14px;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--blue);
    background: var(--blue-soft);
    border: 1px solid rgba(0, 112, 243, 0.18);
    margin-bottom: 32px;
    letter-spacing: 0.01em;
}

.pill-dot {
    width: 7px;
    height: 7px;
    background: var(--blue);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--blue-glow);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 8px var(--blue-glow);
    }

    50% {
        opacity: 0.4;
        box-shadow: 0 0 2px var(--blue-glow);
    }
}

h1 {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    color: #fff;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--text-2);
    max-width: 540px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-sub strong {
    color: var(--text);
    font-weight: 600;
}

/* Buttons */
.hero-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    font-family: var(--font);
}

.btn svg {
    transition: transform 0.25s var(--ease);
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn-glow {
    background: var(--blue);
    color: #fff;
    box-shadow:
        0 0 0 1px rgba(0, 112, 243, 0.5),
        0 1px 2px rgba(0, 0, 0, 0.4),
        0 0 40px -8px var(--blue-glow);
}

.btn-glow:hover {
    background: #0060d0;
    transform: translateY(-2px);
    box-shadow:
        0 0 0 1px rgba(0, 112, 243, 0.6),
        0 4px 16px rgba(0, 0, 0, 0.4),
        0 0 60px -4px var(--blue-glow);
}

.btn-ghost {
    background: transparent;
    color: var(--text-2);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    color: var(--text);
    border-color: var(--border-2);
    background: var(--surface);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.05rem;
    border-radius: 12px;
}

/* Proof Bar */
.hero-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.proof-item {
    font-size: 0.82rem;
    color: var(--text-3);
    font-weight: 500;
    letter-spacing: 0.01em;
}

.proof-sep {
    width: 4px;
    height: 4px;
    background: var(--border-2);
    border-radius: 50%;
}

/* ============ SECTIONS ============ */
.section {
    padding: 120px 0;
    position: relative;
}

.section-alt {
    background: var(--bg-subtle);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-head {
    text-align: center;
    margin-bottom: 64px;
}

.tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 16px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.12;
    color: var(--text);
}

h2 em {
    font-style: italic;
    color: var(--blue);
}

/* ============ PROBLEM CARDS ============ */
.card-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.glass-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all 0.4s var(--ease);
    position: relative;
}

.glass-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    opacity: 0;
    transition: opacity 0.4s;
    background: radial-gradient(600px circle at var(--x, 50%) var(--y, 50%), var(--blue-soft), transparent 60%);
    pointer-events: none;
}

.glass-card:hover {
    border-color: var(--border-2);
    transform: translateY(-4px);
}

.glass-card:hover::after {
    opacity: 1;
}

.card-emoji {
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1;
}

.glass-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
}

.glass-card p {
    font-size: 0.95rem;
    color: var(--text-2);
    line-height: 1.65;
}

/* ============ TIMELINE ============ */
.timeline {
    max-width: 600px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 28px;
}

.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.marker-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--blue);
    background: var(--blue-soft);
    border: 1px solid rgba(0, 112, 243, 0.18);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.05em;
}

.marker-line {
    width: 2px;
    flex: 1;
    background: linear-gradient(to bottom, rgba(0, 112, 243, 0.2), transparent);
    margin: 6px 0;
    min-height: 20px;
}

.timeline-body {
    padding: 10px 0 40px;
}

.timeline-body h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.timeline-body p {
    font-size: 0.95rem;
    color: var(--text-2);
    line-height: 1.65;
}

.timeline-body strong {
    color: var(--green);
    font-weight: 600;
}

/* ============ PRICING ============ */
.pricing-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 740px;
    margin: 0 auto 40px;
}

.price-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 44px 36px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease);
}

.price-card:hover {
    border-color: var(--border-2);
    transform: translateY(-2px);
}

.price-card--featured {
    border-color: rgba(0, 112, 243, 0.2);
    background:
        linear-gradient(135deg, rgba(0, 112, 243, 0.06), transparent 50%),
        var(--surface);
}

.price-card--featured:hover {
    border-color: rgba(0, 112, 243, 0.35);
    box-shadow: 0 0 60px -20px var(--blue-glow);
}

/* Shimmer effect on featured card */
.shimmer {
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg,
            transparent 30%,
            rgba(0, 112, 243, 0.08) 50%,
            transparent 70%);
    background-size: 200% 200%;
    animation: shimmer 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% {
        background-position: 100% 100%;
    }

    50% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 100% 100%;
    }
}

.price-label {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 20px;
    color: var(--text-3);
    background: var(--surface-2);
    border: 1px solid var(--border);
}

.price-label--accent {
    color: var(--blue);
    background: var(--blue-soft);
    border-color: rgba(0, 112, 243, 0.18);
}

.price-card h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-2);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.price-amount {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 8px;
}

.price-sub {
    display: block;
    font-size: 0.88rem;
    color: var(--text-2);
    margin-bottom: 20px;
    font-weight: 500;
}

.price-card p {
    font-size: 0.88rem;
    color: var(--text-3);
    line-height: 1.6;
}

.guarantee {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
    padding: 20px 28px;
    border-radius: var(--radius);
    font-size: 0.92rem;
    color: var(--text-2);
    background: var(--green-soft);
    border: 1px solid rgba(0, 200, 83, 0.12);
}

.guarantee strong {
    color: var(--green);
}

/* ============ FOOTER CTA ============ */
.footer-cta {
    padding: 140px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer-glow {
    position: absolute;
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 112, 243, 0.1), transparent 60%);
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    filter: blur(80px);
    pointer-events: none;
}

.footer-inner {
    position: relative;
    z-index: 1;
}

.footer-cta h2 {
    margin-bottom: 32px;
}

.footer-copy {
    margin-top: 48px;
    font-size: 0.78rem;
    color: var(--text-3);
    letter-spacing: 0.01em;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding: 140px 0 80px;
        min-height: auto;
    }

    .card-row {
        grid-template-columns: 1fr;
    }

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

    .section {
        padding: 80px 0;
    }

    .hero-proof {
        flex-direction: column;
        gap: 6px;
    }

    .proof-sep {
        display: none;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .footer-cta {
        padding: 100px 0 48px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .price-amount {
        font-size: 3rem;
    }

    .glass-card {
        padding: 28px 22px;
    }

    .price-card {
        padding: 32px 24px;
    }
}

/* ============ SELECTION / SCROLLBAR ============ */
::selection {
    background: var(--blue-soft);
    color: #fff;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border-2);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-3);
}