/* =============================================================================
   DataSignal AI brand.css
   Canonical design system extracted from /landing/insurance/index.html (v1).
   Applied to: insurance, insurance-v2, taste-test, demo, waitlist.
   Dark premium theme. Inter body + Instrument Serif display.
   Last updated: 2026-04-21
   ========================================================================== */

/* --- Design tokens ------------------------------------------------------ */
:root {
    /* Ink (dark bg scale) */
    --ink-950: #05070d;
    --ink-900: #0a0d16;
    --ink-800: #111624;
    --ink-700: #1a2033;
    --ink-600: #262e47;

    /* Signal (primary accent — neon blue) */
    --signal-50:  #eefaff;
    --signal-100: #d6f2ff;
    --signal-200: #aee4ff;
    --signal-300: #7dd2ff;
    --signal-400: #3ab6ff;
    --signal-500: #0a9bff;
    --signal-600: #007be0;
    --signal-700: #005fb5;
    --signal-800: #00478a;
    --signal-900: #012f5c;

    /* Lime (CTA — neon yellow-green) */
    --lime-300: #d9ff4a;
    --lime-400: #bfff00;
    --lime-500: #a3e900;

    /* Text */
    --text-primary:   #e6e9f0;
    --text-secondary: rgba(230,233,240,0.7);
    --text-muted:     rgba(230,233,240,0.5);
}

/* --- Base --------------------------------------------------------------- */
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
    background: var(--ink-950);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    font-feature-settings: "cv11", "ss01", "ss03";
    letter-spacing: -0.011em;
}

.display {
    font-family: 'Instrument Serif', ui-serif, Georgia, serif;
    letter-spacing: -0.02em;
}

/* --- Hero backgrounds --------------------------------------------------- */
.mesh-hero {
    position: relative;
    background:
        radial-gradient(ellipse 80% 60% at 15% 20%, rgba(10,155,255,0.35) 0%, transparent 60%),
        radial-gradient(ellipse 70% 50% at 85% 30%, rgba(191,255,0,0.12) 0%, transparent 55%),
        radial-gradient(ellipse 100% 80% at 50% 100%, rgba(0,95,181,0.4) 0%, transparent 65%),
        linear-gradient(180deg, #05070d 0%, #0a0d16 60%, #05070d 100%);
}

.grid-lines {
    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;
}

/* --- Glass panels ------------------------------------------------------- */
.glass {
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 20px 60px -20px rgba(0,0,0,0.8);
}

.glass-hover { transition: all 0.3s cubic-bezier(0.2,0.8,0.2,1); }
.glass-hover:hover {
    border-color: rgba(10,155,255,0.3);
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 30px 70px -20px rgba(10,155,255,0.15);
}

/* --- Orb and text gradient ---------------------------------------------- */
.orb-glow {
    background: radial-gradient(circle, rgba(10,155,255,0.5) 0%, transparent 70%);
    animation: pulse-glow 4s ease-in-out infinite;
}
@keyframes pulse-glow {
    0%,100% { opacity: 0.4; transform: scale(1); }
    50%    { opacity: 0.8; transform: scale(1.15); }
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #7dd2ff 60%, #bfff00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* --- Buttons ------------------------------------------------------------ */
.cta-primary {
    background: linear-gradient(180deg, #bfff00, #a3e900);
    color: #05070d;
    transition: all 0.25s ease;
    box-shadow: 0 0 0 1px rgba(191,255,0,0.4), 0 20px 40px -10px rgba(191,255,0,0.3);
}
.cta-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 0 1px rgba(191,255,0,0.6), 0 28px 50px -10px rgba(191,255,0,0.45);
}

.cta-ghost {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);
    transition: all 0.25s ease;
}
.cta-ghost:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.25);
}

/* --- Badges ------------------------------------------------------------- */
.badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(10,155,255,0.08);
    border: 1px solid rgba(10,155,255,0.2);
    color: #7dd2ff;
    padding: 6px 14px; border-radius: 999px;
    font-size: 12px; font-weight: 500; letter-spacing: 0.02em;
}
.badge-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: #bfff00;
    box-shadow: 0 0 12px #bfff00;
    animation: dot-pulse 2s ease infinite;
}
@keyframes dot-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* Grand Slam guarantee badge — ToS §5a aligned */
.badge-grandslam {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(90deg, rgba(191,255,0,0.08), rgba(10,155,255,0.08));
    border: 1px solid rgba(191,255,0,0.25);
    color: #d9ff4a;
    padding: 6px 14px; border-radius: 999px;
    font-size: 12px; font-weight: 600; letter-spacing: 0.02em;
}

/* --- Icon tiles --------------------------------------------------------- */
.icon-tile {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(10,155,255,0.15), rgba(10,155,255,0.02));
    border: 1px solid rgba(10,155,255,0.25);
    display: flex; align-items: center; justify-content: center;
    color: #7dd2ff;
}

/* --- Utility ------------------------------------------------------------ */
.hline {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.stat-sep { border-right: 1px solid rgba(255,255,255,0.06); }
@media (max-width: 768px) { .stat-sep { border-right: 0; } }

/* --- Animations --------------------------------------------------------- */
.fade-in { animation: fadeUp 0.8s cubic-bezier(0.2,0.8,0.2,1) both; }
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* --- Forms -------------------------------------------------------------- */
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
    width: 100%;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    color: #e6e9f0;
    padding: 12px 16px;
    border-radius: 10px;
    outline: none;
    transition: all 0.2s;
    font-family: inherit;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    border-color: rgba(10,155,255,0.5);
    background: rgba(255,255,255,0.05);
    box-shadow: 0 0 0 4px rgba(10,155,255,0.1);
}
select option { background: #0a0d16; color: #e6e9f0; }
input::placeholder, textarea::placeholder { color: rgba(255,255,255,0.3); }

/* --- Plan radio cards --------------------------------------------------- */
.plan-card { cursor: pointer; }
.plan-card input { position: absolute; opacity: 0; pointer-events: none; }
.plan-card .plan-inner {
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.02);
    border-radius: 12px;
    padding: 14px;
    text-align: center;
    transition: all 0.2s;
}
.plan-card input:checked + .plan-inner {
    border-color: rgba(10,155,255,0.6);
    background: rgba(10,155,255,0.08);
    box-shadow: 0 0 0 3px rgba(10,155,255,0.12);
}

/* --- Pricing cards ------------------------------------------------------ */
.price-card { position: relative; }
.price-card.featured {
    background: linear-gradient(180deg, rgba(10,155,255,0.1), rgba(10,155,255,0.02));
    border: 1px solid rgba(10,155,255,0.4);
    box-shadow: 0 0 0 1px rgba(10,155,255,0.2), 0 30px 60px -20px rgba(10,155,255,0.25);
}

/* --- FAQ details -------------------------------------------------------- */
details summary { list-style: none; }
details summary::-webkit-details-marker { display: none; }
details .caret { transition: transform 0.2s; }
details[open] .caret { transform: rotate(180deg); }

/* --- Comparison table --------------------------------------------------- */
.comparison td, .comparison th { padding: 14px 16px; }
.comparison tr { border-bottom: 1px solid rgba(255,255,255,0.05); }
.comparison tr.alt { background: rgba(255,255,255,0.015); }
