/* ============================================================
   ALEX CLARINGBULL — EXECUTIVE LEADERSHIP PLATFORM
   Design System: Data-Viz Inspired Financial Intelligence UI
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@300;400;500;600;700&family=JetBrains+Mono:wght@300;400;500&display=swap');

/* ── CSS Variables ── */
:root {
    /* Primary Palette */
    --bg-primary: #06080d;
    --bg-secondary: #0b0f1a;
    --bg-tertiary: #111827;
    --bg-card: rgba(15, 23, 42, 0.6);
    --bg-glass: rgba(15, 23, 42, 0.4);

    /* Accent Colors */
    --accent-blue: #3b82f6;
    --accent-blue-light: #60a5fa;
    --accent-cyan: #06b6d4;
    --accent-gold: #f59e0b;
    --accent-gold-light: #fbbf24;
    --accent-emerald: #10b981;
    --accent-purple: #8b5cf6;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #06080d 0%, #0f172a 40%, #1e1b4b 100%);
    --gradient-accent: linear-gradient(135deg, #3b82f6, #06b6d4);
    --gradient-gold: linear-gradient(135deg, #f59e0b, #d97706);
    --gradient-card: linear-gradient(145deg, rgba(59,130,246,0.08), rgba(6,182,212,0.04));
    --gradient-glow: radial-gradient(circle at 50% 50%, rgba(59,130,246,0.15), transparent 70%);

    /* Text */
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-accent: #60a5fa;

    /* Borders */
    --border-subtle: rgba(59, 130, 246, 0.12);
    --border-glass: rgba(148, 163, 184, 0.1);
    --border-accent: rgba(59, 130, 246, 0.3);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.4);
    --shadow-lg: 0 16px 64px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 40px rgba(59,130,246,0.15);
    --shadow-gold: 0 0 30px rgba(245,158,11,0.2);

    /* Typography */
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Spacing */
    --section-padding: clamp(60px, 8vw, 120px);
    --container-max: 1280px;
    --container-wide: 1440px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
}

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

a:hover {
    color: var(--accent-gold-light);
}

img {
    max-width: 100%;
    display: block;
}

/* ── Navigation ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 clamp(20px, 4vw, 60px);
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(6, 8, 13, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-subtle);
    transition: all var(--transition-smooth);
}

.nav.scrolled {
    background: rgba(6, 8, 13, 0.95);
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.nav__logo {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav__logo-mark {
    width: 32px;
    height: 32px;
    background: var(--gradient-accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    color: white;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2.5vw, 32px);
    list-style: none;
}

.nav__links a {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    position: relative;
    padding: 4px 0;
    transition: color var(--transition-fast);
}

.nav__links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    border-radius: 1px;
    transition: width var(--transition-smooth);
}

.nav__links a:hover,
.nav__links a.active {
    color: var(--text-primary);
}

.nav__links a:hover::after,
.nav__links a.active::after {
    width: 100%;
}

.nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}

.nav__hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* Mobile Nav */
.nav__mobile {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 8, 13, 0.98);
    backdrop-filter: blur(30px);
    z-index: 999;
    padding: 40px clamp(20px, 4vw, 60px);
}

.nav__mobile.open {
    display: flex;
    flex-direction: column;
    gap: 8px;
    animation: fadeSlideDown 0.3s ease-out;
}

.nav__mobile a {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-subtle);
    transition: all var(--transition-fast);
}

.nav__mobile a:hover,
.nav__mobile a.active {
    color: var(--text-primary);
    padding-left: 12px;
}

/* ── Hero Sections ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(72px + 40px) clamp(20px, 4vw, 60px) var(--section-padding);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg-gradient {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.hero__bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59,130,246,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59,130,246,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero__bg-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero__particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--accent-blue);
    border-radius: 50%;
    opacity: 0.4;
    animation: float-particle 15s infinite linear;
}

.hero__bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
}

.hero__bg-glow--blue {
    top: -100px;
    right: -100px;
    background: var(--accent-blue);
}

.hero__bg-glow--purple {
    bottom: -200px;
    left: -100px;
    background: var(--accent-purple);
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: var(--container-max);
    width: 100%;
    margin: 0 auto;
}

.hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-blue-light);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 28px;
    animation: fadeSlideUp 0.8s ease-out both;
}

.hero__tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent-emerald);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    animation: fadeSlideUp 0.8s ease-out 0.15s both;
}

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

.hero__subtitle {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 640px;
    line-height: 1.8;
    margin-bottom: 40px;
    animation: fadeSlideUp 0.8s ease-out 0.3s both;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeSlideUp 0.8s ease-out 0.45s both;
}

.hero__image-container {
    position: absolute;
    right: clamp(20px, 6vw, 80px);
    bottom: 0;
    width: clamp(280px, 30vw, 480px);
    z-index: 1;
}

.hero__image {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 60px rgba(0,0,0,0.5));
}

.hero__image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

.hero__image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.hero__image-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(6,8,13,0.8) 100%);
    pointer-events: none;
}

/* ── Page Hero (Smaller) ── */
.page-hero {
    position: relative;
    padding: calc(72px + 60px) clamp(20px, 4vw, 60px) 60px;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
}

.page-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.page-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6,8,13,0.5) 0%, rgba(6,8,13,0.85) 60%, var(--bg-primary) 100%);
}

.page-hero__content {
    position: relative;
    z-index: 2;
    max-width: var(--container-max);
    width: 100%;
    margin: 0 auto;
}

.page-hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    background: rgba(59,130,246,0.1);
    border: 1px solid rgba(59,130,246,0.2);
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent-blue-light);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.page-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.page-hero__title span {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero__desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.7;
}

/* ── Sections ── */
.section {
    padding: var(--section-padding) clamp(20px, 4vw, 60px);
    position: relative;
}

.section__container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.section__header {
    margin-bottom: 60px;
}

.section__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    background: rgba(59,130,246,0.08);
    border: 1px solid rgba(59,130,246,0.15);
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent-blue-light);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section__title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

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

.section__desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.8;
}

/* ── Section Dividers ── */
.section--divided {
    border-top: 1px solid var(--border-subtle);
}

.section--dark {
    background: var(--bg-secondary);
}

.section--gradient {
    background: linear-gradient(180deg, var(--bg-primary), var(--bg-secondary));
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: 0 4px 15px rgba(59,130,246,0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59,130,246,0.4);
    color: white;
}

.btn--outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-accent);
}

.btn--outline:hover {
    background: rgba(59,130,246,0.08);
    border-color: var(--accent-blue);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.btn--gold {
    background: var(--gradient-gold);
    color: #1a1a2e;
    box-shadow: var(--shadow-gold);
}

.btn--gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245,158,11,0.4);
    color: #1a1a2e;
}

/* ── Cards ── */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: clamp(24px, 3vw, 40px);
    backdrop-filter: blur(12px);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59,130,246,0.3), transparent);
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.card:hover::before {
    opacity: 1;
}

.card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
    background: rgba(59,130,246,0.1);
    border: 1px solid rgba(59,130,246,0.15);
    color: var(--accent-blue-light);
}

.card__icon--gold {
    background: rgba(245,158,11,0.1);
    border-color: rgba(245,158,11,0.15);
    color: var(--accent-gold-light);
}

.card__icon--emerald {
    background: rgba(16,185,129,0.1);
    border-color: rgba(16,185,129,0.15);
    color: var(--accent-emerald);
}

.card__icon--purple {
    background: rgba(139,92,246,0.1);
    border-color: rgba(139,92,246,0.15);
    color: var(--accent-purple);
}

.card__icon--cyan {
    background: rgba(6,182,212,0.1);
    border-color: rgba(6,182,212,0.15);
    color: var(--accent-cyan);
}

.card__title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.card__text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.card__label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

/* ── Grid Layouts ── */
.grid {
    display: grid;
    gap: clamp(16px, 2vw, 24px);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2-1 { grid-template-columns: 2fr 1fr; }
.grid--1-2 { grid-template-columns: 1fr 2fr; }

/* ── Stat Cards ── */
.stat {
    text-align: center;
    padding: 32px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    transition: all var(--transition-smooth);
}

.stat:hover {
    border-color: var(--border-accent);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

.stat__number {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 4px;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat__label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ── Timeline ── */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-blue), var(--accent-purple), transparent);
}

.timeline__item {
    position: relative;
    padding-bottom: 48px;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.6s ease-out;
}

.timeline__item.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline__item::before {
    content: '';
    position: absolute;
    left: -46px;
    top: 6px;
    width: 12px;
    height: 12px;
    background: var(--accent-blue);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--bg-primary), 0 0 15px rgba(59,130,246,0.4);
}

.timeline__year {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-blue-light);
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.timeline__title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.timeline__text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ── Metric Bars ── */
.metric-bar {
    margin-bottom: 24px;
}

.metric-bar__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.metric-bar__label {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-primary);
}

.metric-bar__value {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-blue-light);
}

.metric-bar__track {
    height: 6px;
    background: rgba(59,130,246,0.1);
    border-radius: 3px;
    overflow: hidden;
}

.metric-bar__fill {
    height: 100%;
    background: var(--gradient-accent);
    border-radius: 3px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Data Lines (Chart Animation) ── */
.data-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59,130,246,0.3), transparent);
    animation: data-line-sweep 8s infinite linear;
}

/* ── Footer ── */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    padding: 60px clamp(20px, 4vw, 60px) 30px;
}

.footer__container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.footer__top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-subtle);
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer__brand-name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.footer__brand-text {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 360px;
}

.footer__heading {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 20px;
}

.footer__link-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__link-list a {
    font-size: 0.88rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer__link-list a:hover {
    color: var(--accent-blue-light);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer__credit {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer__credit a {
    color: var(--accent-gold-light);
    font-weight: 600;
}

.footer__contact-info {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer__contact-info a {
    color: var(--text-secondary);
}

.footer__social {
    display: flex;
    gap: 12px;
}

.footer__social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(59,130,246,0.08);
    border: 1px solid rgba(59,130,246,0.12);
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.footer__social a:hover {
    background: rgba(59,130,246,0.15);
    color: var(--accent-blue-light);
    transform: translateY(-2px);
    border-color: rgba(59,130,246,0.3);
}

/* ── Broken Grid ── */
.broken-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    align-items: start;
}

.broken-grid__item--span-5 { grid-column: span 5; }
.broken-grid__item--span-7 { grid-column: span 7; }
.broken-grid__item--span-6 { grid-column: span 6; }
.broken-grid__item--span-4 { grid-column: span 4; }
.broken-grid__item--span-8 { grid-column: span 8; }
.broken-grid__item--offset-1 { grid-column-start: 2; }
.broken-grid__item--push-down { margin-top: 60px; }

/* ── Content Typography ── */
.content-block {
    margin-bottom: 40px;
}

.content-block h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

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

.content-block ul {
    list-style: none;
    padding: 0;
}

.content-block ul li {
    font-size: 0.92rem;
    color: var(--text-secondary);
    padding: 8px 0 8px 24px;
    position: relative;
    line-height: 1.7;
}

.content-block ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 8px;
    height: 2px;
    background: var(--accent-blue);
    border-radius: 1px;
}

/* ── Featured Image ── */
.featured-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.featured-image__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(6,8,13,0.7) 100%);
    pointer-events: none;
}

/* ── Quote Block ── */
.quote-block {
    padding: 32px 36px;
    border-left: 3px solid var(--accent-blue);
    background: rgba(59,130,246,0.05);
    border-radius: 0 16px 16px 0;
    margin: 40px 0;
}

.quote-block p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.8;
}

.quote-block cite {
    display: block;
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: normal;
}

/* ── Insight Cards ── */
.insight-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    overflow: hidden;
    transition: all var(--transition-smooth);
}

.insight-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.insight-card__image {
    width: 100%;
    height: 200px;
    background: var(--gradient-card);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.insight-card__image i {
    font-size: 2.5rem;
    color: var(--accent-blue);
    opacity: 0.6;
}

.insight-card__body {
    padding: 24px;
}

.insight-card__tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent-gold-light);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.insight-card__title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.insight-card__text {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ── Contact Form ── */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.92rem;
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

/* ── Animations ── */
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes float-particle {
    0% { transform: translateY(100vh) translateX(0); opacity: 0; }
    10% { opacity: 0.4; }
    90% { opacity: 0.4; }
    100% { transform: translateY(-10vh) translateX(30px); opacity: 0; }
}

@keyframes data-line-sweep {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(200vw); }
}

@keyframes chart-draw {
    from { stroke-dashoffset: 1000; }
    to { stroke-dashoffset: 0; }
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.15; }
    50% { opacity: 0.3; }
}

@keyframes countUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Scroll Reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ── Password Gate ── */
.gate {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    z-index: 10000;
    overflow: hidden;
}

.gate__bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59,130,246,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59,130,246,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-shift 20s linear infinite;
}

@keyframes grid-shift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.gate__glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.12;
}

.gate__glow--1 {
    top: -150px;
    left: -150px;
    background: var(--accent-blue);
    animation: glow-pulse 4s ease-in-out infinite;
}

.gate__glow--2 {
    bottom: -150px;
    right: -150px;
    background: var(--accent-purple);
    animation: glow-pulse 4s ease-in-out infinite 2s;
}

.gate__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 440px;
    width: 100%;
}

.gate__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 28px;
    border-radius: 18px;
    background: rgba(59,130,246,0.1);
    border: 1px solid rgba(59,130,246,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-blue-light);
    animation: fadeSlideUp 0.6s ease-out both;
}

.gate__title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
    animation: fadeSlideUp 0.6s ease-out 0.1s both;
}

.gate__subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    animation: fadeSlideUp 0.6s ease-out 0.2s both;
}

.gate__input-wrapper {
    position: relative;
    margin-bottom: 20px;
    animation: fadeSlideUp 0.6s ease-out 0.3s both;
}

.gate__input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-glass);
    border-radius: 14px;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 1rem;
    text-align: center;
    letter-spacing: 0.3em;
    outline: none;
    transition: all var(--transition-fast);
}

.gate__input:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}

.gate__input--error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239,68,68,0.15) !important;
    animation: shake 0.5s ease-out;
}

.gate__btn {
    width: 100%;
    padding: 16px;
    background: var(--gradient-accent);
    color: white;
    border: none;
    border-radius: 14px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-smooth);
    animation: fadeSlideUp 0.6s ease-out 0.4s both;
}

.gate__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59,130,246,0.4);
}

.gate__error-msg {
    color: #ef4444;
    font-size: 0.82rem;
    margin-top: 12px;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.gate__error-msg.show {
    opacity: 1;
}

.gate__footer {
    margin-top: 40px;
    font-size: 0.75rem;
    color: var(--text-muted);
    animation: fadeSlideUp 0.6s ease-out 0.5s both;
}

.gate--exiting {
    animation: gate-exit 0.8s ease-in-out forwards;
}

@keyframes gate-exit {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.05); filter: blur(5px); }
    100% { opacity: 0; transform: scale(1.1); filter: blur(20px); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-8px); }
    40% { transform: translateX(8px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .grid--3 { grid-template-columns: repeat(2, 1fr); }
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .broken-grid { display: flex; flex-direction: column; }
    .broken-grid__item--push-down { margin-top: 0; }
    .footer__top { grid-template-columns: 1fr 1fr; }
    
    .hero__image-container {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        max-width: 400px;
        margin: 40px auto 0;
    }

    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero__subtitle { margin-left: auto; margin-right: auto; }
    .hero__actions { justify-content: center; }
}

@media (max-width: 768px) {
    .nav__links { display: none; }
    .nav__hamburger { display: flex; }
    .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
    .grid--2-1, .grid--1-2 { grid-template-columns: 1fr; }
    .footer__top { grid-template-columns: 1fr; gap: 30px; }
    .footer__bottom { flex-direction: column; text-align: center; }

    .hero__title { font-size: clamp(2rem, 8vw, 3rem); }
    .page-hero { min-height: 320px; }
}

@media (max-width: 480px) {
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; justify-content: center; }
    .stat__number { font-size: 2rem; }
}
