/* ================================================================
   FORGE WORKS — Design System
   Forge Works design system:
   Deep space backgrounds, glassmorphism, particle fields,
   IBM Plex typography, cyan/emerald accents
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&family=Sora:wght@400;600;700;800&display=swap');

:root {
    /* Backgrounds — deep space layered */
    --bg-0: #060a12;
    --bg-1: #0a0e17;
    --bg-2: #0f1724;
    --bg-3: #141e30;
    --bg-4: #1a2740;

    /* Accent — Emerald/Cyan */
    --accent: #34d399;
    --accent-bright: #6ee7b7;
    --accent-dim: rgba(52, 211, 153, 0.08);
    --accent-glow: rgba(52, 211, 153, 0.16);
    --accent-border: rgba(52, 211, 153, 0.22);

    /* Secondary accent — Cyan */
    --cyan: #06b6d4;
    --cyan-bright: #22d3ee;
    --cyan-dim: rgba(6, 182, 212, 0.08);

    /* Tertiary — Violet (for special states) */
    --violet: #a78bfa;
    --violet-dim: rgba(167, 139, 250, 0.08);

    /* Text */
    --text-1: #e6eef9;
    --text-2: #94a3b8;
    --text-3: #64748b;

    /* Borders */
    --border: rgba(52, 211, 153, 0.10);
    --border-h: rgba(52, 211, 153, 0.25);
    --line: rgba(89, 125, 173, 0.18);

    /* Status */
    --green: #10b981;
    --amber: #f59e0b;
    --red: #ef4444;
    --blue: #3b82f6;

    /* Typography */
    --font: 'IBM Plex Sans', 'Avenir Next', 'Segoe UI', sans-serif;
    --heading: 'Sora', 'Avenir Next', 'IBM Plex Sans', system-ui, sans-serif;
    --mono: 'IBM Plex Mono', 'SF Mono', 'Cascadia Code', 'Fira Code', monospace;

    /* Shadows */
    --shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.5);

    /* Layout */
    --nav-height: 52px;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-pill: 999px;

    /* Transitions */
    --transition: 0.2s ease;
}

/* ================================================================
   RESET & BASE
   ================================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font);
    background: var(--bg-0);
    color: var(--text-1);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    font-size: 13px;
}

/* Cosmic radial gradients on body */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 15% -10%, rgba(52, 211, 153, 0.12), transparent 50%),
        radial-gradient(ellipse 60% 50% at 85% 10%, rgba(6, 182, 212, 0.09), transparent 45%),
        radial-gradient(ellipse 50% 40% at 50% 100%, rgba(167, 139, 250, 0.06), transparent 50%);
    pointer-events: none;
    z-index: 0;
}

body > *:not(canvas) { position: relative; z-index: 1; }

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

::selection { background: rgba(52, 211, 153, 0.25); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb { background: rgba(52, 211, 153, 0.2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(52, 211, 153, 0.35); }

/* ================================================================
   STAR FIELD CANVAS
   ================================================================ */
#star-field {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* ================================================================
   GRID OVERLAY (subtle tech grid)
   ================================================================ */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background:
        repeating-linear-gradient(90deg, rgba(52, 211, 153, 0.015) 0 1px, transparent 1px 60px),
        repeating-linear-gradient(180deg, rgba(52, 211, 153, 0.012) 0 1px, transparent 1px 60px);
    pointer-events: none;
    z-index: 0;
    animation: gridDrift 40s linear infinite;
}

@keyframes gridDrift {
    from { transform: translate(0, 0); }
    to { transform: translate(-60px, -60px); }
}

/* ================================================================
   NAVIGATION
   ================================================================ */
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
    padding: 0 20px;
    background: rgba(5, 10, 20, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-logo {
    font-family: var(--heading);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-1);
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}
.nav-logo span { color: var(--accent); }
.nav-logo .tagline {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--text-3);
    text-transform: uppercase;
    opacity: 0.7;
    font-style: italic;
    margin-left: 8px;
}

.nav-links {
    display: flex;
    gap: 12px;
    align-items: center;
}
.nav-links a, .nav-links span {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--text-2);
    transition: color var(--transition);
    cursor: pointer;
}
.nav-links a:hover { color: var(--text-1); text-decoration: none; }

/* ================================================================
   STATUS PILLS (nav)
   ================================================================ */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: var(--accent-dim);
    color: var(--accent);
}
.status-pill .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* ================================================================
   LAYOUT
   ================================================================ */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.container-sm { max-width: 560px; margin: 0 auto; padding: 0 20px; }

/* ================================================================
   TAB BAR (glassmorphic, sticky)
   ================================================================ */
.tab-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(120deg, rgba(8, 16, 30, 0.86), rgba(10, 20, 38, 0.76));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25);
    position: sticky;
    top: calc(var(--nav-height) + 8px);
    z-index: 50;
    margin-bottom: 20px;
}

.tab {
    padding: 9px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(16, 29, 51, 0.65);
    font-family: var(--font);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--text-2);
    cursor: pointer;
    transition: all var(--transition);
    user-select: none;
}
.tab:hover {
    transform: scale(1.02);
    border-color: var(--border-h);
    background: rgba(16, 29, 51, 0.85);
    color: var(--text-1);
}
.tab.active {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.12), rgba(6, 182, 212, 0.08));
    color: var(--accent-bright);
    box-shadow: inset 0 0 12px rgba(52, 211, 153, 0.08), 0 0 20px rgba(52, 211, 153, 0.06);
}
.tab:active { transform: scale(0.98); }

/* ================================================================
   CARDS — Glassmorphic panels
   ================================================================ */
.card {
    background: linear-gradient(160deg, rgba(16, 29, 51, 0.7), rgba(8, 15, 29, 0.85));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: border-color var(--transition);
}
.card:hover { border-color: var(--border-h); }

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}
.card-title {
    font-family: var(--heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--text-2);
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 18px;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all var(--transition);
    user-select: none;
}
.btn:hover { transform: scale(1.02); }
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #059669);
    color: #fff;
    border-color: rgba(52, 211, 153, 0.3);
    box-shadow: 0 0 20px rgba(52, 211, 153, 0.15);
}
.btn-primary:hover {
    box-shadow: 0 0 30px rgba(52, 211, 153, 0.25);
}

.btn-secondary {
    background: rgba(16, 29, 51, 0.65);
    color: var(--text-2);
    border-color: var(--line);
}
.btn-secondary:hover { border-color: var(--border-h); color: var(--text-1); }

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

.btn-danger {
    background: rgba(239, 68, 68, 0.12);
    color: var(--red);
    border-color: rgba(239, 68, 68, 0.25);
}

.btn-lg { padding: 14px 28px; font-size: 12px; letter-spacing: 1px; border-radius: var(--radius); }
.btn-sm { padding: 5px 10px; font-size: 10px; }

/* ================================================================
   STATS — Metric cards
   ================================================================ */
.stats-rail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.stat-card {
    background: linear-gradient(160deg, rgba(16, 29, 51, 0.65), rgba(8, 15, 29, 0.8));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px;
    text-align: center;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: border-color var(--transition);
}
.stat-card:hover { border-color: var(--border-h); }

.stat-value {
    font-family: var(--mono);
    font-size: 28px;
    font-weight: 600;
    color: var(--accent-bright);
    letter-spacing: -0.5px;
    line-height: 1.1;
}
.stat-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-3);
    margin-top: 6px;
}

/* ================================================================
   BADGES & CHIPS
   ================================================================ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.badge-bronze { background: rgba(180, 130, 50, 0.12); color: #d4a84b; border: 1px solid rgba(180, 130, 50, 0.25); }
.badge-silver { background: rgba(148, 163, 184, 0.12); color: #94a3b8; border: 1px solid rgba(148, 163, 184, 0.25); }
.badge-gold { background: rgba(245, 158, 11, 0.12); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.25); }
.badge-expert { background: rgba(167, 139, 250, 0.12); color: #a78bfa; border: 1px solid rgba(167, 139, 250, 0.25); }

.badge-online { background: rgba(16, 185, 129, 0.12); color: var(--green); border: 1px solid rgba(16, 185, 129, 0.25); }
.badge-active { background: rgba(52, 211, 153, 0.12); color: var(--accent); border: 1px solid var(--accent-border); }
.badge-draft { background: rgba(100, 116, 139, 0.12); color: var(--text-3); border: 1px solid rgba(100, 116, 139, 0.2); }
.badge-paused { background: rgba(245, 158, 11, 0.12); color: var(--amber); border: 1px solid rgba(245, 158, 11, 0.25); }
.badge-completed { background: rgba(16, 185, 129, 0.12); color: var(--green); border: 1px solid rgba(16, 185, 129, 0.25); }
.badge-exported { background: rgba(6, 182, 212, 0.12); color: var(--cyan); border: 1px solid rgba(6, 182, 212, 0.25); }

/* Domain pills */
.chip {
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    background: rgba(16, 29, 51, 0.65);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--text-2);
    cursor: pointer;
    transition: all var(--transition);
    user-select: none;
}
.chip:hover {
    border-color: var(--border-h);
    background: rgba(16, 29, 51, 0.85);
    color: var(--text-1);
    transform: scale(1.02);
}
.chip.active {
    border-color: var(--accent);
    color: var(--accent-bright);
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.12), rgba(6, 182, 212, 0.06));
    box-shadow: 0 0 16px rgba(52, 211, 153, 0.08);
}
.chip:active { transform: scale(0.98); }

/* ================================================================
   FORMS
   ================================================================ */
.form-group { margin-bottom: 14px; }
.form-label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 6px;
}
.form-input {
    width: 100%;
    padding: 9px 12px;
    background: rgba(16, 29, 51, 0.6);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    color: var(--text-1);
    font-family: var(--font);
    font-size: 13px;
    outline: none;
    transition: border-color var(--transition);
}
.form-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.1);
}
.form-input::placeholder { color: var(--text-3); }
select.form-input { cursor: pointer; }
textarea.form-input { resize: vertical; font-family: var(--mono); font-size: 12px; }

/* ================================================================
   TABLES
   ================================================================ */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th {
    text-align: left;
    padding: 8px 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--text-3);
    border-bottom: 1px solid var(--line);
    background: rgba(10, 14, 23, 0.5);
}
td {
    padding: 9px 12px;
    font-size: 12px;
    border-bottom: 1px solid rgba(89, 125, 173, 0.08);
    color: var(--text-2);
}
tr:hover td { background: rgba(52, 211, 153, 0.02); }

/* ================================================================
   TASK UI — The core task working interface
   ================================================================ */
.task-container {
    background: linear-gradient(160deg, rgba(16, 29, 51, 0.75), rgba(8, 15, 29, 0.9));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    max-width: 800px;
    margin: 0 auto;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: var(--shadow);
}

.task-prompt {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-1);
    font-weight: 400;
}

.task-data {
    background: rgba(6, 10, 18, 0.7);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 14px;
    margin-bottom: 20px;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-2);
    white-space: pre-wrap;
    line-height: 1.7;
    overflow-x: auto;
}

/* Option groups (radio, checkbox) */
.option-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.option-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(16, 29, 51, 0.5);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    font-size: 13px;
}
.option-item:hover {
    border-color: var(--border-h);
    background: rgba(16, 29, 51, 0.75);
}
.option-item.selected {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.1), rgba(6, 182, 212, 0.06));
    box-shadow: inset 0 0 12px rgba(52, 211, 153, 0.06);
    color: var(--accent-bright);
}
.option-item input[type="radio"],
.option-item input[type="checkbox"] { accent-color: var(--accent); }

/* ================================================================
   VIEWS
   ================================================================ */
.view { display: none; }
.view.active { display: block; animation: fadeIn 0.25s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

/* ================================================================
   TOAST
   ================================================================ */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    z-index: 1000;
    animation: toastIn 0.3s ease;
    border: 1px solid;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.toast-success { background: rgba(16, 185, 129, 0.15); color: var(--green); border-color: rgba(16, 185, 129, 0.3); }
.toast-error { background: rgba(239, 68, 68, 0.15); color: var(--red); border-color: rgba(239, 68, 68, 0.3); }
.toast-info { background: rgba(52, 211, 153, 0.15); color: var(--accent); border-color: var(--accent-border); }
@keyframes toastIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ================================================================
   HERO (Landing page)
   ================================================================ */
.hero {
    text-align: center;
    padding: 100px 20px 60px;
    position: relative;
}
.hero h1 {
    font-family: var(--heading);
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-1) 0%, var(--accent-bright) 50%, var(--cyan-bright) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero .subtitle {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    opacity: 0.8;
}
.hero p {
    font-size: 15px;
    color: var(--text-2);
    max-width: 520px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

/* ================================================================
   FEATURE GRID
   ================================================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
}

.feature-card {
    background: linear-gradient(160deg, rgba(16, 29, 51, 0.65), rgba(8, 15, 29, 0.8));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: all var(--transition);
}
.feature-card:hover {
    border-color: var(--border-h);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}
.feature-icon {
    font-size: 24px;
    margin-bottom: 12px;
    display: inline-block;
}
.feature-card h3 {
    font-family: var(--heading);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    color: var(--text-1);
}
.feature-card p {
    font-size: 12px;
    color: var(--text-2);
    line-height: 1.6;
}

/* ================================================================
   STEPS (How it works)
   ================================================================ */
.steps {
    display: flex;
    gap: 20px;
    margin: 48px 0;
    flex-wrap: wrap;
    justify-content: center;
}
.step {
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 280px;
}
.step-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #059669);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-size: 18px;
    font-weight: 700;
    margin: 0 auto 14px;
    box-shadow: 0 0 24px rgba(52, 211, 153, 0.2);
}
.step h3 {
    font-family: var(--heading);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-1);
}
.step p { font-size: 12px; color: var(--text-2); line-height: 1.6; }

/* ================================================================
   EMPTY STATE
   ================================================================ */
.empty-state {
    text-align: center;
    padding: 48px 20px;
    color: var(--text-3);
}
.empty-state p { font-size: 13px; margin-bottom: 14px; }

/* ================================================================
   LOADING
   ================================================================ */
.loading { display: flex; justify-content: center; padding: 32px; }
.spinner {
    width: 28px;
    height: 28px;
    border: 2px solid var(--line);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
    text-align: center;
    padding: 28px 20px;
    border-top: 1px solid var(--line);
    margin-top: 48px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-3);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 768px) {
    .hero h1 { font-size: 32px; }
    .stats-rail { grid-template-columns: repeat(2, 1fr); }
    .nav { padding: 0 12px; }
    .tab-bar { gap: 4px; padding: 6px; }
    .tab { padding: 7px 12px; font-size: 10px; }
    .task-container { padding: 16px; }
}

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(52, 211, 153, 0.1); }
    50% { box-shadow: 0 0 40px rgba(52, 211, 153, 0.2); }
}

/* Staggered card animations */
.card, .feature-card, .stat-card {
    animation: fadeSlideUp 0.4s ease backwards;
}
.card:nth-child(2), .feature-card:nth-child(2), .stat-card:nth-child(2) { animation-delay: 0.06s; }
.card:nth-child(3), .feature-card:nth-child(3), .stat-card:nth-child(3) { animation-delay: 0.12s; }
.card:nth-child(4), .feature-card:nth-child(4), .stat-card:nth-child(4) { animation-delay: 0.18s; }
