/* ============================================================
   CYBERSTACKHUB — 2026 AI-FORWARD DESIGN SYSTEM
   Stack Network Design Language — Light Theme

   Beautiful first. AI-native. Alive.
   Generous white space, confident typography, purposeful color.
   Feeling: Abundance, ease, confidence.
   ============================================================ */

/* ── CSS Variables ────────────────────────────────────────── */
:root {
    /* Backgrounds — Light / White */
    --bg-deep: #ffffff;
    --bg-dark: #ffffff;
    --bg-card: #ffffff;
    --bg-surface: #f8fafc;
    --bg-elevated: #f1f5f9;

    /* Primary — Emerald */
    --accent: #10B981;
    --accent-dim: #059669;
    --accent-muted: rgba(16, 185, 129, 0.08);
    --accent-glow: rgba(16, 185, 129, 0.05);

    /* Secondary */
    --indigo: #6366f1;
    --indigo-dim: #4f46e5;
    --indigo-muted: rgba(99, 102, 241, 0.08);

    /* Semantic */
    --danger: #ef4444;
    --danger-muted: rgba(239, 68, 68, 0.08);
    --warning: #f59e0b;
    --warning-muted: rgba(245, 158, 11, 0.08);
    --info: #3b82f6;

    /* Text — Dark on Light */
    --text-primary: #111827;
    --text-secondary: #4B5563;
    --text-muted: #9CA3AF;
    --text-faint: #D1D5DB;

    /* Borders */
    --border: rgba(0, 0, 0, 0.06);
    --border-light: rgba(0, 0, 0, 0.10);
    --border-accent: rgba(16, 185, 129, 0.30);

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #10B981 0%, #3b82f6 50%, #6366f1 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(16,185,129,0.04), rgba(59,130,246,0.02), rgba(99,102,241,0.04));
    --gradient-card-hover: linear-gradient(135deg, rgba(16,185,129,0.03), transparent 60%);
    --gradient-radial-tl: radial-gradient(ellipse at 10% 0%, rgba(16,185,129,0.05) 0%, transparent 50%);
    --gradient-radial-br: radial-gradient(ellipse at 90% 100%, rgba(99,102,241,0.04) 0%, transparent 50%);

    /* Spacing */
    --section-pad: clamp(64px, 8vw, 120px);
    --section-pad-sm: clamp(48px, 6vw, 80px);

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-pill: 100px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.15s var(--ease-out);
    --transition-normal: 0.25s var(--ease-out);
    --transition-slow: 0.4s var(--ease-out);
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

/* Subtle ambient gradient mesh — barely visible on white */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        var(--gradient-radial-tl),
        var(--gradient-radial-br);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    top: 50%; left: 50%;
    width: 800px; height: 800px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(16,185,129,0.02) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
    animation: ambient-pulse 8s ease-in-out infinite;
}

@keyframes ambient-pulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--text-primary);
}

.text-gradient {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Container ────────────────────────────────────────────── */
.ds-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.ds-container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* ── Navigation ───────────────────────────────────────────── */
.ds-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0;
    transition: background var(--transition-normal);
}

.ds-nav-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.ds-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

.ds-logo:hover { opacity: 0.85; }

.ds-logo-mark {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: var(--accent-muted);
    border: 1px solid var(--border-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all var(--transition-normal);
}

.ds-logo:hover .ds-logo-mark {
    background: rgba(16, 185, 129, 0.12);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.08);
}

.ds-logo-text {
    color: var(--text-primary);
}

.ds-logo-text span {
    color: var(--accent);
}

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

.nav-link {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.03);
}

.nav-link.active {
    color: var(--accent);
    background: var(--accent-muted);
}

.nav-cta {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    background: var(--accent);
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.nav-cta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.25);
}

.nav-tag {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: 'Space Grotesk', monospace;
    border: 1px solid var(--border);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
}

/* ── Buttons ──────────────────────────────────────────────── */
.ds-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 13px 28px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.ds-btn-primary {
    background: var(--accent);
    color: #ffffff;
}

.ds-btn-primary:hover {
    background: var(--accent-dim);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.20);
}

.ds-btn-primary:active {
    transform: translateY(0);
}

.ds-btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.ds-btn-secondary:hover {
    border-color: var(--border-accent);
    background: var(--accent-muted);
    transform: translateY(-1px);
}

.ds-btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 10px 20px;
}

.ds-btn-ghost:hover {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.03);
}

/* ── Cards ────────────────────────────────────────────────── */
.ds-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition-normal);
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.ds-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(16, 185, 129, 0.08);
}

.ds-card-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition-normal);
}

.ds-card-glass:hover {
    border-color: rgba(16, 185, 129, 0.15);
    background: rgba(255, 255, 255, 0.85);
}

.ds-card-featured {
    border-color: var(--accent);
    background: linear-gradient(180deg, rgba(16,185,129,0.04) 0%, #ffffff 40%);
}

.ds-card-featured:hover {
    border-color: var(--accent);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.08);
}

/* ── Section Layout ───────────────────────────────────────── */
.ds-section {
    padding: var(--section-pad) 0;
    position: relative;
}

.ds-section-border {
    border-top: 1px solid var(--border);
}

.ds-eyebrow {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ds-eyebrow::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--accent);
    opacity: 0.5;
}

.ds-section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 16px;
    max-width: 640px;
}

.ds-section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 48px;
}

/* ── Hero ─────────────────────────────────────────────────── */
.ds-hero {
    padding: clamp(80px, 10vw, 140px) 0 clamp(60px, 8vw, 100px);
    position: relative;
    overflow: hidden;
}

.ds-hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(16,185,129,0.06) 0%, transparent 60%);
    pointer-events: none;
}

.ds-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: center;
}

.ds-hero h1 {
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.ds-hero-sub {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 36px;
}

.ds-hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ── Intelligence Panel (replaces terminal) ───────────────── */
.ds-intel-panel {
    background: #111827;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
}

.ds-intel-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.5;
}

.ds-intel-header {
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.ds-intel-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ds-intel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: dot-pulse 2s ease-in-out infinite;
}

.ds-intel-dot.live { background: #10B981; }
.ds-intel-dot.warning { background: var(--warning); }
.ds-intel-dot.danger { background: var(--danger); }

@keyframes dot-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.ds-intel-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    color: #94A3B8;
    letter-spacing: 0.03em;
}

.ds-intel-status {
    font-size: 0.72rem;
    color: #10B981;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ds-intel-body {
    padding: 24px;
}

.ds-intel-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
}

.ds-intel-icon {
    width: 20px;
    flex-shrink: 0;
    text-align: center;
    font-size: 0.85rem;
    margin-top: 1px;
}

.ds-intel-text {
    font-size: 0.88rem;
    color: #94A3B8;
    line-height: 1.5;
}

.ds-intel-text.success { color: #10B981; }
.ds-intel-text.warning { color: var(--warning); }
.ds-intel-text.danger { color: var(--danger); }
.ds-intel-text.highlight { color: #F1F5F9; font-weight: 600; }

.ds-intel-score {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
}

.ds-intel-score-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--warning);
    letter-spacing: -0.03em;
}

.ds-intel-score-label {
    font-size: 0.82rem;
    color: #64748B;
}

/* ── Stats Bar ────────────────────────────────────────────── */
.ds-stats-bar {
    padding: 48px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.ds-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.ds-stat {
    text-align: center;
}

.ds-stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--accent);
    margin-bottom: 4px;
}

.ds-stat-value.danger { color: var(--danger); }
.ds-stat-value.warning { color: var(--warning); }

.ds-stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ── Tool Cards Grid ──────────────────────────────────────── */
.ds-tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.ds-tool-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition-normal);
    text-decoration: none;
    color: inherit;
    display: block;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.ds-tool-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.ds-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    margin-bottom: 14px;
}

.ds-badge-free {
    background: var(--accent-muted);
    color: var(--accent);
}

.ds-badge-pro {
    background: var(--indigo-muted);
    color: var(--indigo);
}

.ds-tool-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.ds-tool-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ── Comparison Table ─────────────────────────────────────── */
.ds-comparison {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.ds-comparison-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 16px 24px;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.ds-comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 14px 24px;
    border-bottom: 1px solid var(--border);
    font-size: 0.88rem;
    align-items: center;
}

.ds-comparison-row:last-child { border-bottom: none; }
.ds-comparison-row .feature { color: var(--text-secondary); }
.ds-comparison-row .them { color: var(--text-muted); text-align: center; }
.ds-comparison-row .us { color: var(--accent); text-align: center; font-weight: 600; }

/* ── FAQ ──────────────────────────────────────────────────── */
.ds-faq-list {
    max-width: 720px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ds-faq-item {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition-fast);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.ds-faq-item:hover {
    border-color: var(--border-light);
}

.ds-faq-question {
    padding: 20px 24px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: color var(--transition-fast);
}

.ds-faq-question::after {
    content: '+';
    color: var(--accent);
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-left: 16px;
    transition: transform var(--transition-fast);
    font-weight: 300;
}

.ds-faq-item.open .ds-faq-question::after {
    transform: rotate(45deg);
}

.ds-faq-answer {
    display: none;
    padding: 0 24px 20px;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
}

.ds-faq-item.open .ds-faq-answer {
    display: block;
}

/* ── Newsletter ───────────────────────────────────────────── */
.ds-newsletter {
    background: var(--gradient-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: clamp(40px, 5vw, 64px);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ds-newsletter::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.3;
}

.ds-newsletter-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin-bottom: 12px;
}

.ds-newsletter-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.ds-newsletter-pills {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.ds-newsletter-pill {
    font-size: 0.78rem;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 5px 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ds-newsletter-pill .dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

.ds-subscribe-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
}

.ds-subscribe-input {
    flex: 1;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 13px 18px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color var(--transition-fast);
}

.ds-subscribe-input::placeholder { color: var(--text-muted); }
.ds-subscribe-input:focus { border-color: var(--border-accent); }

.ds-subscribe-btn {
    background: var(--accent);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 13px 24px;
    font-weight: 700;
    font-size: 0.88rem;
    font-family: 'Space Grotesk', sans-serif;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-fast);
}

.ds-subscribe-btn:hover { background: var(--accent-dim); transform: translateY(-1px); }
.ds-subscribe-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.ds-subscribe-message {
    margin-top: 16px;
    font-size: 0.88rem;
    min-height: 22px;
}

.ds-subscribe-message.success { color: var(--accent); }
.ds-subscribe-message.error { color: var(--danger); }

.ds-subscribe-note {
    margin-top: 14px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ── Closing CTA ──────────────────────────────────────────── */
.ds-closing {
    padding: var(--section-pad) 0;
    text-align: center;
    position: relative;
}

.ds-closing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(16,185,129,0.04) 0%, transparent 60%);
    pointer-events: none;
}

.ds-closing-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin-bottom: 16px;
}

.ds-closing p {
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 36px;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ── Footer ───────────────────────────────────────────────── */
.ds-footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.ds-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.ds-footer-copy {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.ds-footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.ds-footer-link {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.ds-footer-link:hover { color: var(--accent); }

/* ── Page Header (for inner pages) ────────────────────────── */
.ds-page-header {
    padding: clamp(60px, 8vw, 100px) 0 clamp(40px, 5vw, 60px);
    text-align: center;
    position: relative;
}

.ds-page-header h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 20px;
}

.ds-page-header .sub {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Legal / Content Pages ────────────────────────────────── */
.ds-content-page {
    padding: 48px 0 80px;
}

.ds-content-page h2 {
    font-size: 1.4rem;
    margin: 40px 0 16px;
    color: var(--text-primary);
}

.ds-content-page h3 {
    font-size: 1.1rem;
    margin: 28px 0 12px;
    color: var(--accent);
}

.ds-content-page p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.ds-content-page ul, .ds-content-page ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.ds-content-page li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 8px;
}

.ds-content-page a {
    color: var(--accent);
    text-decoration: none;
}

.ds-content-page a:hover { text-decoration: underline; }

.ds-content-page strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ── Form Elements ────────────────────────────────────────── */
.ds-input {
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 13px 16px;
    font-size: 0.95rem;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.ds-input::placeholder { color: var(--text-muted); }

.ds-input:focus {
    border-color: var(--border-accent);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.08);
}

.ds-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.ds-select {
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 13px 16px;
    font-size: 0.95rem;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    outline: none;
    appearance: none;
    cursor: pointer;
    transition: border-color var(--transition-fast);
}

.ds-select:focus { border-color: var(--border-accent); }

.ds-textarea {
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 13px 16px;
    font-size: 0.95rem;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    outline: none;
    resize: vertical;
    min-height: 100px;
    transition: border-color var(--transition-fast);
}

.ds-textarea::placeholder { color: var(--text-muted); }
.ds-textarea:focus { border-color: var(--border-accent); }

/* ── Utility Classes ──────────────────────────────────────── */
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-danger { color: var(--danger); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
    .ds-hero { padding: clamp(60px, 8vw, 80px) 0 clamp(40px, 5vw, 60px); }
    .ds-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .ds-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .ds-tools-grid {
        grid-template-columns: 1fr;
    }
    .ds-comparison-header,
    .ds-comparison-row {
        grid-template-columns: 1.5fr 1fr 1fr;
        font-size: 0.82rem;
        padding: 12px 16px;
    }
    .ds-footer-inner {
        flex-direction: column;
        text-align: center;
    }
    .ds-footer-links {
        justify-content: center;
    }
    .nav-links .nav-link { display: none; }
    .nav-links .nav-cta { display: none; }
}

@media (max-width: 480px) {
    .ds-hero-cta { flex-direction: column; }
    .ds-subscribe-form { flex-direction: column; }
    .ds-subscribe-btn { width: 100%; }
    .ds-newsletter-pills { flex-direction: column; align-items: center; }
}
