/* ═══════════════════════════════════════════
   AUDIXIS — Base Styles (shared across pages)
   ═══════════════════════════════════════════ */

/* ── Reset & Fonts ── */
/* Self-hosted fonts to avoid render-blocking CSS requests */
@font-face {
    font-family: 'Space Grotesk';
    src: url('https://fonts.gstatic.com/s/spacegrotesk/v22/V8mQoQDjQSkFtoMM3T6r8E7mF71Q-gOoraIAEj4PVnskPMA.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: 'Space Grotesk';
    src: url('https://fonts.gstatic.com/s/spacegrotesk/v22/V8mQoQDjQSkFtoMM3T6r52VQw4sZ.woff2') format('woff2');
    font-weight: 800;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_fYSZ-eVrf08UgSolvvTvzo4mwUiGJwYkwCEA.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_iYMIZLa-5-_3trz0AI9Ap6by0.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_iYMIZLa-5-_3trz0AI9Ap7QQ0.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_iYMIZLa-5-_3trz0AI9Ap6YEo.woff2') format('woff2');
    font-weight: 800;
    font-display: swap;
}

h1, h2 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 800;
}

/* ── Text Color Hierarchy ── */
h1, h2, h3, h4, h5, h6 {
    color: #ffffff;
}

p {
    color: #94a3b8; /* var(--slate-400) */
}

strong {
    color: #e2e8f0; /* var(--slate-200) */
}

small {
    color: #64748b; /* var(--slate-500) */
}

a {
    color: #60A5FA; /* var(--blue-400) */
}

:root {
    --navy: #0B1120;
    --blue-500: #3B82F6;
    --blue-600: #2563EB;
    --blue-400: #60A5FA;
    --blue-300: #93C5FD;
    --amber-500: #F59E0B;
    --amber-400: #FCD34D;
    --emerald-500: #10B981;
    --emerald-400: #34D399;
    --violet-500: #8B5CF6;
    --violet-400: #A78BFA;
    --pink-500: #EC4899;
    --teal-500: #14B8A6;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --canvas-opacity: 0.3;
}

body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at 50% 15%, #0e1f58 0%, var(--navy) 65%) no-repeat fixed;
    color: var(--slate-300);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.625;
}

/* ── Amber nebula overlay (CSS-only, GPU-rendered, shared across all pages) ── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 75% 55% at 2% 45%, rgba(245,158,11,0.08) 0%, transparent 68%),
        radial-gradient(ellipse 55% 45% at 8% 72%, rgba(217,119,6,0.06) 0%, transparent 62%),
        radial-gradient(ellipse 40% 35% at 20% 50%, rgba(245,158,11,0.04) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* ── Network Canvas ── */
#networkCanvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: var(--canvas-opacity);
}

/* ── Glass Card ── */
.glass {
    background: rgba(255,255,255,0.055);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.11);
    box-shadow: 0 8px 40px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.07);
}

/* ── Unified Card Glass — used across all content pages ── */
.card-glass {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.08);
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.card-glass:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.18);
    transform: translateY(-2px);
}

/* ── Header ── */
#site-header {
    background: rgba(11,17,32,0.20);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
    z-index: 50;
}

/* ── Card Hover ── */
.card-hover {
    transition: border-color 0.3s, transform 0.3s;
}
.card-hover:hover {
    border-color: rgba(59,130,246,0.45);
    transform: translateY(-4px);
}
.card-hover-amber {
    transition: border-color 0.3s, transform 0.3s;
}
.card-hover-amber:hover {
    border-color: rgba(245,158,11,0.45);
    transform: translateY(-4px);
}

/* ── Icon Box ── */
.icon-box {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
}

/* ── Badges ── */
.badge-free {
    font-size: 10px; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    padding: 3px 8px; border-radius: 4px;
    background: rgba(255,255,255,0.06);
    color: white;
    border: 1px solid rgba(255,255,255,0.08);
}
.badge-premium {
    font-size: 10px; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    padding: 3px 8px; border-radius: 4px;
    background: rgba(245,158,11,0.12);
    color: var(--amber-400);
    border: 1px solid rgba(245,158,11,0.25);
}

/* ── CTA Buttons ── */
.btn-cta-blue,
.btn-cta-green,
.btn-cta-violet,
.btn-cta-amber {
    display: flex; align-items: center; justify-content: center;
    gap: 8px; padding: 14px 24px;
    border-radius: 14px; font-size: 0.9rem; font-weight: 700;
    text-decoration: none; transition: all 0.2s;
}
.btn-cta-blue   { color: var(--blue-400);   border: 1px solid rgba(59,130,246,0.35);  background: rgba(59,130,246,0.06); }
.btn-cta-blue:hover   { background: rgba(59,130,246,0.15); border-color: rgba(59,130,246,0.6); color: #fff; }
.btn-cta-green  { color: var(--emerald-400); border: 1px solid rgba(16,185,129,0.35);  background: rgba(16,185,129,0.06); }
.btn-cta-green:hover  { background: rgba(16,185,129,0.15); border-color: rgba(16,185,129,0.6); color: #fff; }
.btn-cta-violet { color: var(--violet-400);  border: 1px solid rgba(139,92,246,0.35);  background: rgba(139,92,246,0.06); }
.btn-cta-violet:hover { background: rgba(139,92,246,0.15); border-color: rgba(139,92,246,0.6); color: #fff; }
.btn-cta-amber  { color: var(--amber-400);   border: 1px solid rgba(245,158,11,0.35);  background: rgba(245,158,11,0.06); }
.btn-cta-amber:hover  { background: rgba(245,158,11,0.15); border-color: rgba(245,158,11,0.6); color: #fff; }

/* ── Stat Numbers ── */
.stat-num {
    font-size: 2.5rem; font-weight: 800;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-400));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Workflow Cards ── */
.wf-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.08);
    transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.wf-card:hover {
    border-color: rgba(59,130,246,0.35);
    background: rgba(59,130,246,0.08);
    transform: translateY(-3px);
}
