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

:root {
    --bg-void: #04060d;
    --bg-deep: #080c18;
    --bg-surface: #0e1424;
    --bg-card: #111827;
    --border: rgba(255, 255, 255, 0.07);
    --border-glow: rgba(252, 101, 30, 0.25);
    --teal: #FC651E;
    --teal-dim: #E94F07;
    --teal-glow: rgba(252, 101, 30, 0.12);
    --amber: #f5a623;
    --amber-dim: rgba(245, 166, 35, 0.12);
    --text-primary: #e8edf5;
    --text-muted: #7a8499;
    --text-faint: #3d4457;
    --ff-display: 'DM Serif Display', serif;
    --ff-body: 'Outfit', sans-serif;
    --ff-mono: 'IBM Plex Mono', monospace;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--ff-body);
    background: var(--bg-void);
    color: var(--text-primary);
    overflow-x: hidden;
    cursor: default;
}

/* NOISE & GRID */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1000;
    opacity: 0.6;
}

.grid-lines {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 0%, transparent 100%);
}

/* NAV */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(4, 6, 13, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-logo {
    font-family: var(--ff-mono);
    font-size: 1rem;
    letter-spacing: 0.12em;
    color: var(--teal);
    text-transform: uppercase;
    text-decoration: none;
}

.nav-logo span {
    color: var(--text-muted);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-family: var(--ff-mono);
    transition: color 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--teal);
}

.nav-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-family: var(--ff-mono);
    color: var(--text-muted);
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 6px 14px;
}

.nav-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal);
    animation: pulse-dot 2s ease-in-out infinite;
}

/* HERO */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 24px 80px;
    overflow: hidden;
}

.hero-orb {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 220, 200, 0.08) 0%, rgba(0, 220, 200, 0.03) 40%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    animation: breathe 8s ease-in-out infinite;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--ff-mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal);
    background: rgba(0, 220, 200, 0.06);
    border: 1px solid rgba(0, 220, 200, 0.2);
    border-radius: 100px;
    padding: 7px 16px;
    margin-bottom: 32px;
}

.hero-title,
.hero h1 {
    font-family: var(--ff-display);
    font-size: clamp(2.4rem, 5.5vw, 4.5rem);
    line-height: 1.1;
    letter-spacing: -0.01em;
    max-width: 860px;
    margin-bottom: 28px;
}

.hero-title em,
.hero h1 em {
    font-style: italic;
    color: var(--teal);
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-muted);
    max-width: 560px;
    line-height: 1.75;
    margin-bottom: 48px;
    font-weight: 300;
}

.hero-cta-group {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 56px;
}

/* BUTTONS */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--teal);
    color: #04060d;
    font-family: var(--ff-body);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 16px 36px;
    border-radius: 8px;
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(0, 220, 200, 0.35);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-family: var(--ff-mono);
    text-decoration: none;
    transition: color 0.2s;
}

.btn-secondary:hover {
    color: var(--teal);
}

/* SECTIONS */
section {
    position: relative;
    padding: 100px 24px;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    z-index: 1;
    position: relative;
}

.section-label {
    font-family: var(--ff-mono);
    font-size: 0.68rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--ff-display);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-title em {
    font-style: italic;
    color: var(--teal);
}

.section-sub {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 520px;
    font-weight: 300;
}

/* GRID ELEMENTS */
.agents-grid,
.problem-grid,
.solution-grid,
.ideal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 56px;
}

.card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.card:hover {
    border-color: rgba(0, 220, 200, 0.2);
    transform: translateY(-4px);
}

.card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.card-icon {
    font-family: var(--ff-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--teal);
    background: rgba(0, 220, 200, 0.08);
    border: 1px solid rgba(0, 220, 200, 0.15);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

/* TRUST STRIP */
.trust-strip {
    padding: 40px 24px;
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-item {
    text-align: center;
}

.trust-number {
    display: block;
    font-family: var(--ff-display);
    font-size: 1.5rem;
    color: var(--teal);
    margin-bottom: 4px;
}

.trust-label {
    font-family: var(--ff-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.trust-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* STEPS */
.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    margin-top: 0;
}

.step-card {
    text-align: center;
    max-width: 260px;
    padding: 0 24px;
}

.step-number {
    font-family: var(--ff-display);
    font-size: 2.5rem;
    color: var(--teal);
    line-height: 1;
    margin-bottom: 16px;
    opacity: 0.5;
}

.step-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.step-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.step-connector {
    width: 60px;
    height: 1px;
    background: var(--border);
    margin-top: 28px;
    flex-shrink: 0;
}

/* TERMINAL */
.terminal {
    background: #0a0d16;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    font-family: var(--ff-mono);
    font-size: 0.8rem;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}

.terminal-mock {
    background: rgba(10, 13, 22, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    font-family: var(--ff-mono);
    font-size: 0.8rem;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.terminal-header {
    background: #0d1018;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.terminal-header .dot.red {
    background: #ff5f57;
}

.terminal-header .dot.yellow {
    background: #ffbd2e;
}

.terminal-header .dot.green {
    background: #28ca41;
}

.terminal-bar {
    background: #141824;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* FEATURE LIST */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.feature-list li {
    margin-bottom: 14px;
    padding-left: 24px;
    position: relative;
    line-height: 1.5;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--teal);
    opacity: 0.6;
}

/* ANIMATIONS */
@keyframes breathe {

    0%,
    100% {
        transform: translateX(-50%) scale(1);
        opacity: 1;
    }

    50% {
        transform: translateX(-50%) scale(1.08);
        opacity: 0.7;
    }
}

@keyframes pulse-dot {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(0, 220, 200, 0.4);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(0, 220, 200, 0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

/* FOOTER */
footer {
    background: var(--bg-void);
    border-top: 1px solid var(--border);
    padding: 48px 24px;
    text-align: center;
}

.footer-logo {
    font-family: var(--ff-mono);
    font-size: 1.1rem;
    color: var(--teal);
    letter-spacing: 0.15em;
    margin-bottom: 20px;
    display: block;
    text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    nav {
        padding: 16px 20px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 120px 20px 60px;
    }

    .trust-divider {
        display: none;
    }

    .trust-strip .container {
        gap: 32px;
    }

    .step-connector {
        display: none;
    }

    .steps-grid {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .agents-grid,
    .problem-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 72px 20px;
    }
}

@media (max-width: 480px) {

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

    .section-title {
        font-size: 1.8rem;
    }

    .hero-cta-group {
        flex-direction: column;
    }
}