* {
    font-family: 'DM Sans', sans-serif;
    box-sizing: border-box;
}

h1,
h2,
h3,
h4,
.font-display {
    font-family: 'Syne', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #080810;
    color: #fff;
    overflow-x: hidden;
}

/* ---------- NAV ---------- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(8, 8, 16, 0.88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ---------- HERO CANVAS ---------- */
#hero-canvas {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

/* ---------- SCROLL REVEAL ---------- */
.sr {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .75s cubic-bezier(.16, 1, .3, 1), transform .75s cubic-bezier(.16, 1, .3, 1);
}

.sr.in {
    opacity: 1;
    transform: none;
}

.sr.d1 {
    transition-delay: .08s;
}

.sr.d2 {
    transition-delay: .16s;
}

.sr.d3 {
    transition-delay: .24s;
}

.sr.d4 {
    transition-delay: .32s;
}

.sr.d5 {
    transition-delay: .40s;
}

.sr.d6 {
    transition-delay: .48s;
}

/* ---------- HERO TEXT GRADIENT ---------- */
.hero-grad {
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, .7) 50%, #A3E635 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- TERMINAL CARD ---------- */
.terminal {
    background: #0D0D18;
    border: 1px solid rgba(79, 70, 229, .3);
    border-radius: 16px;
    overflow: hidden;
}

.term-bar {
    background: #151525;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}

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

.term-line {
    display: block;
    font-family: 'Fira Code', monospace;
    font-size: 12.5px;
    line-height: 1.9;
    color: rgba(255, 255, 255, .55);
}

.term-line .kw {
    color: #A3E635;
}

.term-line .str {
    color: #7C3AED;
    font-style: italic;
}

.term-line .fn {
    color: #38BDF8;
}

.term-line .cm {
    color: rgba(255, 255, 255, .25);
}

.cursor {
    display: inline-block;
    width: 2px;
    height: 14px;
    background: #A3E635;
    animation: blink 1.1s steps(1) infinite;
    vertical-align: middle;
    margin-left: 2px;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* ---------- PHASE CARDS ---------- */
.phase-card {
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 20px;
    background: #181824;
    transition: border-color .3s, transform .3s;
}

.phase-card:hover {
    border-color: rgba(163, 230, 53, .35);
    transform: translateY(-5px);
}

.phase-num {
    font-family: 'Syne', sans-serif;
    font-size: 64px;
    font-weight: 800;
    line-height: 1;
    opacity: .08;
    position: absolute;
    top: 16px;
    right: 20px;
    pointer-events: none;
}

/* ---------- USE CASE TABS ---------- */
.uc-tab {
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 10px;
    padding: 12px 18px;
    cursor: pointer;
    transition: all .25s;
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: rgba(255, 255, 255, .45);
}

.uc-tab:hover {
    color: rgba(255, 255, 255, .8);
}

.uc-tab.active {
    background: rgba(163, 230, 53, .1);
    border-color: rgba(163, 230, 53, .3);
    color: #A3E635;
}

.uc-panel {
    display: none;
}

.uc-panel.active {
    display: grid;
}

/* ---------- WORKFLOW NODES ---------- */
.wf-node {
    background: #1A1A2A;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, .8);
    transition: border-color .3s;
}

.wf-node:hover {
    border-color: rgba(79, 70, 229, .5);
}

.wf-arrow {
    color: rgba(255, 255, 255, .15);
    font-size: 18px;
    align-self: center;
    text-align: center;
}

/* ---------- STAT RING ---------- */
.stat-ring {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    border: 2px solid rgba(163, 230, 53, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(163, 230, 53, .05);
    flex-shrink: 0;
}

/* ---------- GRADIENT LINE ---------- */
.g-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79, 70, 229, .5), rgba(163, 230, 53, .5), transparent);
}

/* ---------- CTA GLOW ---------- */
.cta-glow {
    position: relative;
}

.cta-glow::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, #4F46E5, #A3E635);
    z-index: -1;
    filter: blur(12px);
    opacity: .4;
}

/* ---------- PRICING CARD ---------- */
.pricing-card {
    background: #181824;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 20px;
    padding: 32px;
    transition: border-color .3s, transform .3s;
}

.pricing-card:hover {
    border-color: rgba(163, 230, 53, .25);
    transform: translateY(-4px);
}

.pricing-card.featured {
    border-color: rgba(163, 230, 53, .4);
    background: #1D1D2E;
}

/* ---------- MESH BG BLOBS ---------- */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
}

/* ---------- AGENT TYPE CHIP ---------- */
.agent-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 100px;
    padding: 6px 14px;
    font-size: 12px;
    color: rgba(255, 255, 255, .55);
    transition: all .25s;
    cursor: default;
}

.agent-chip:hover {
    border-color: rgba(163, 230, 53, .3);
    color: #A3E635;
}

.agent-chip .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}