/* ============================================================
   AIPM DARK THEME
   Sets :root variables and dark-only / color-divergent rules.
   Loaded first; aipm-elements.css resolves var() from here.
   ============================================================ */

:root {
    --bg:           #0b1020;
    --bg-2:         #0e1428;
    --bg-3:         #111835;
    --line:         rgba(255,255,255,0.08);
    --line-2:       rgba(255,255,255,0.14);

    --white:        #FFFFFF;
    --gray-100:     #F1F5F9;
    --gray-300:     rgba(255,255,255,0.78);
    --gray-400:     #94a3b8;
    --gray-500:     #64748B;

    --blue:         #3B82F6;
    --blue-strong:  #2563EB;
    --blue-soft:    rgba(59,130,246,0.10);
    --blue-line:    rgba(59,130,246,0.25);

    --green:        #10B981;
    --green-soft:   rgba(16,185,129,0.10);

    --radius:       12px;
    --radius-lg:    16px;
    --radius-pill:  999px;

    --section-y:    96px;
    --section-y-m:  64px;
}

/* ---------- Dark-only base adjustments ---------- */
body { padding-top: 72px; }

/* ---------- Nav (dark: fixed, navy frosted glass) ---------- */
nav.topnav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1050;
    background: rgba(11,16,32,0.78);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line);
}

/* ---------- Rules that differ by hardcoded color values ---------- */
.hero-spec {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    justify-content: center;
    align-items: center;
    padding: 12px 24px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.02);
    border-radius: var(--radius);
    margin-bottom: 36px;
    font-size: 13px;
    color: var(--gray-300);
}

.ic-strip {
    max-width: 720px;
    margin: 0 auto 36px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(255,255,255,0.015);
    text-align: left;
}
.ic-tier--standard .ic-tier-label { color: rgba(255,255,255,0.5); }
.ic-tier-anchor { font-size: 15px; color: rgba(255,255,255,0.4); }
.ic-tier-meta { font-size: 13px; color: rgba(255,255,255,0.72); line-height: 1.5; }

.prereq {
    max-width: 720px; margin: 40px auto 0;
    padding: 28px 32px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.step {
    padding: 28px 24px;
    border-top: 2px solid var(--blue);
    background: rgba(255,255,255,0.02);
}

.ic-feature {
    padding: 22px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.015);
}

/* ---------- IC feature symbol (dark: glowing dot redesign) ---------- */
.ic-feature-symbol {
    display: inline-block;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 12px rgba(59,130,246,0.55), 0 0 24px rgba(59,130,246,0.25);
    margin-bottom: 14px;
    line-height: 1;
    font-size: 0;
}

.price-dual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin: 8px 0 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: rgba(255,255,255,0.015);
}
.price-dual-col--standard .price-dual-label { color: rgba(255,255,255,0.5); }
.price-dual-amount--muted { color: rgba(255,255,255,0.7); }

/* ---------- Price card (dark: uses CSS variables throughout) ---------- */
.price-card {
    max-width: 580px; margin: 56px auto 0;
    background: linear-gradient(180deg, var(--bg-3) 0%, rgba(17,24,53,0.6) 100%);
    border: 1px solid var(--blue-line);
    border-radius: 20px;
    padding: 44px 40px 40px;
    position: relative;
    overflow: hidden;
}

/* ---------- Sticky CTA (dark: navy frosted glass) ---------- */
.sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0;
    z-index: 60;
    transform: translateY(120%);
    opacity: 0;
    transition: transform .35s cubic-bezier(.16,.84,.44,1), opacity .25s ease;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(11,16,32,0.92), rgba(11,16,32,0.98));
    border-top: 1px solid var(--blue-line);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 -12px 40px rgba(0,0,0,0.5);
}
.sticky-cta-anchor {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    font-weight: 600;
    margin-left: 4px;
}

/* ---------- Social strip responsive (dark: looser gap) ---------- */
@media (max-width: 720px) {
    .social-strip { padding: 36px 0; }
    .social-strip-row { gap: 28px; }
    .social-stat { font-size: 14px; gap: 10px; }
    .social-stat .yt-box { width: 32px; height: 22px; }
    .social-stat .yt-box svg { width: 12px; height: 12px; }
    .social-stat .star { font-size: 18px; }
}
