/* ============================================================
   PROJECT ANDROGEN — GLOBAL DESIGN SYSTEM
   Maximum Spectacle Edition
   ============================================================ */

/* ---------- CSS VARIABLES ---------- */
:root {
    --void: #000000;
    --surface: #050505;
    --surface-2: #0a0a0a;
    --surface-3: #111111;
    --surface-glass: rgba(5,5,5,0.9);
    --border: rgba(255,255,255,0.05);
    --border-strong: rgba(255,255,255,0.10);
    --text: #e8e6e1;
    --text-dim: #9a958c;
    --text-faint: #5c584f;
    --accent: #990000;
    --accent-glow: rgba(153,0,0,0.4);
    --accent-2: #2dd4a8;
    --accent-2-glow: rgba(45,212,168,0.3);
    --danger: #e8455c;
    --danger-glow: rgba(232,69,92,0.3);
    --success: #2dd4a8;
    --warning: #e8a23c;
    --gold: #c9a96e;
    --gold-glow: rgba(201,169,110,0.3);

    --font-display: 'Black Ops One', 'Bebas Neue', 'Impact', sans-serif;
    --font-body: 'Cormorant', Georgia, serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
    --accent-bright: #cc0000;
    --accent-glow-strong: rgba(153,0,0,0.6);

    --transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-medium: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-dramatic: 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--void);
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--void);
    color: var(--text);
    line-height: 1.65;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: 0.01em;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    cursor: none;
}

/* ---------- DEEP VANTA BLACK OLED ---------- */
body::before,
body::after {
    display: none;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.05;
    font-weight: 400;
}

h1 { font-size: clamp(4.5rem, 14vw, 12rem); letter-spacing: 0.02em; }
h2 { font-size: clamp(3.5rem, 8vw, 7rem); letter-spacing: 0.03em; }
h3 { font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: 0.02em; }
h4 { font-size: clamp(1.4rem, 2.5vw, 2rem); letter-spacing: 0.02em; }

p {
    font-family: var(--font-body);
    font-size: 1.2rem;
    line-height: 1.75;
    color: var(--text-dim);
    margin-bottom: 1.4em;
}

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

a:hover {
    color: var(--text);
}

.mono {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
}

/* ---------- SELECTION & SCROLLBAR ---------- */
::selection {
    background: var(--accent);
    color: var(--void);
}

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--void); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

/* ---------- CUSTOM CURSOR ---------- */
.cursor {
    position: fixed;
    width: 24px;
    height: 24px;
    border: 1.5px solid var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 100000;
    transition: transform 0.12s ease, background 0.25s ease, border-color 0.25s ease;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
}

.cursor-follower {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 100000;
    transition: transform 0.18s ease;
    transform: translate(-50%, -50%);
}

.cursor.hover {
    transform: translate(-50%, -50%) scale(2.8);
    background: rgba(153,0,0,0.08);
    border-color: var(--text);
}

.cursor.click {
    transform: translate(-50%, -50%) scale(0.6);
    background: var(--accent);
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(80px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes slideRight {
    from { opacity: 0; transform: translateX(-60px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideLeft {
    from { opacity: 0; transform: translateX(60px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes glowPulse {
    0%, 100% { text-shadow: 0 0 10px var(--accent-glow), 0 0 30px var(--accent-glow), 0 0 60px var(--accent-glow); }
    50% { text-shadow: 0 0 20px var(--accent-glow), 0 0 50px var(--accent-glow), 0 0 100px var(--accent-glow); }
}

@keyframes borderGlow {
    0%, 100% { border-color: rgba(232,93,60,0.25); box-shadow: 0 0 15px rgba(153,0,0,0.08); }
    50% { border-color: rgba(232,93,60,0.6); box-shadow: 0 0 40px rgba(232,93,60,0.2); }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(1deg); }
    66% { transform: translateY(8px) rotate(-0.5deg); }
}

@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes revealMask {
    from { clip-path: inset(0 100% 0 0); }
    to { clip-path: inset(0 0 0 0); }
}

@keyframes liquidMorph {
    0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    25% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    50% { border-radius: 50% 60% 30% 60% / 30% 60% 70% 40%; }
    75% { border-radius: 60% 40% 60% 30% / 70% 30% 50% 60%; }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
    20%, 40%, 60%, 80% { transform: translateX(4px); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes pulseRing {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.8); opacity: 0; }
}

/* ---------- UTILITY CLASSES ---------- */
.animate { opacity: 0; }
.animate.visible {
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-delay-1 { animation-delay: 0.1s !important; }
.animate-delay-2 { animation-delay: 0.2s !important; }
.animate-delay-3 { animation-delay: 0.3s !important; }
.animate-delay-4 { animation-delay: 0.4s !important; }
.animate-delay-5 { animation-delay: 0.5s !important; }
.animate-delay-6 { animation-delay: 0.6s !important; }

.glow-text {
    animation: glowPulse 3s ease-in-out infinite;
}

.liquid-shape {
    animation: liquidMorph 8s ease-in-out infinite;
}

/* ---------- LAYOUT ---------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 800px;
}

.section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

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

.section-surface {
    background: var(--surface);
}

/* ---------- NAVIGATION ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: background var(--transition-medium), backdrop-filter var(--transition-medium);
}

.nav.scrolled {
    background: rgba(4,4,5,0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

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

.nav-logo {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--text);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

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

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-dim);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--accent);
    transition: width var(--transition-medium);
}

.nav-links a:hover {
    color: var(--text);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 12px 28px;
    border: 1.5px solid var(--accent);
    color: var(--accent);
    background: transparent;
    transition: all var(--transition-fast);
}

.nav-cta:hover {
    background: var(--accent);
    color: var(--void);
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 20px 44px;
    border: 1px solid var(--border-strong);
    background: var(--surface-2);
    color: var(--text);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn:hover {
    border-color: var(--accent);
    box-shadow: 0 0 30px var(--accent-glow);
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--accent);
    color: var(--void);
    border-color: var(--accent);
    font-weight: 500;
}

.btn-primary:hover {
    background: var(--text);
    border-color: var(--text);
    box-shadow: 0 0 40px rgba(255,255,255,0.15);
}

.btn-ghost {
    background: transparent;
    border-color: var(--border-strong);
}

/* ---------- CARDS ---------- */
.card {
    background: var(--surface-2);
    border: 1px solid var(--border);
    padding: 40px;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

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

.card:hover {
    border-color: var(--border-strong);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

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

.card-3d {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.card-3d-inner {
    transition: transform var(--transition-medium);
    transform-style: preserve-3d;
}

/* ---------- FORMS ---------- */
input, textarea, select {
    width: 100%;
    padding: 18px 24px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1.1rem;
    transition: all var(--transition-fast);
    outline: none;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

input::placeholder, textarea::placeholder {
    color: var(--text-faint);
}

label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 10px;
}

.form-group {
    margin-bottom: 24px;
}

/* ---------- DIVIDERS ---------- */
.divider {
    width: 60px;
    height: 2px;
    background: var(--accent);
    margin: 24px 0;
}

.divider-center {
    margin-left: auto;
    margin-right: auto;
}

.divider-glow {
    box-shadow: 0 0 10px var(--accent-glow);
}

/* ---------- PAGE TRANSITION OVERLAY ---------- */
.page-transition {
    position: fixed;
    inset: 0;
    background: var(--void);
    z-index: 99999;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.page-transition.active {
    transform: translateY(0);
    pointer-events: all;
}

/* ---------- WEBGL CANVAS ---------- */
#webgl-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 0 24px;
}

.hero-label {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeDown 1s 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title {
    font-size: clamp(5rem, 16vw, 14rem);
    line-height: 0.85;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeUp 1.2s 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    letter-spacing: -0.01em;
}

.hero-title .accent {
    color: var(--accent);
    animation: glowPulse 4s ease-in-out infinite;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    color: var(--text-dim);
    max-width: 700px;
    margin: 0 auto 56px;
    opacity: 0;
    animation: fadeUp 1s 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-cta {
    opacity: 0;
    animation: fadeUp 1s 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-faint);
    opacity: 0;
    animation: fadeIn 1s 1.8s forwards;
}

.hero-scroll::after {
    content: '';
    display: block;
    width: 1px;
    height: 40px;
    background: var(--text-faint);
    margin: 12px auto 0;
    animation: fadeIn 1s 2s forwards, pulse 2s 2s infinite;
}

/* ---------- SERVICE TIERS ---------- */
.tier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

.tier-card {
    background: var(--surface-2);
    border: 1px solid var(--border);
    padding: 48px 36px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-medium);
    transform-style: preserve-3d;
}

.tier-card.featured {
    border-color: var(--accent);
    animation: borderGlow 3s ease-in-out infinite;
}

.tier-card.featured::after {
    content: 'RECOMMENDED';
    position: absolute;
    top: 20px;
    right: -40px;
    background: var(--accent);
    color: var(--void);
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    padding: 6px 50px;
    transform: rotate(45deg);
}

.tier-card:hover {
    transform: translateY(-12px) rotateX(2deg);
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
    border-color: var(--accent);
}

.tier-name {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.tier-price {
    font-family: var(--font-display);
    font-size: 4.5rem;
    color: var(--accent);
    margin-bottom: 8px;
    line-height: 1;
}

.tier-price span {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-dim);
}

.tier-period {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-faint);
    margin-bottom: 32px;
    letter-spacing: 0.1em;
}

.tier-features {
    list-style: none;
    margin-bottom: 36px;
}

.tier-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
    color: var(--text-dim);
    position: relative;
    padding-left: 24px;
}

.tier-features li::before {
    content: '//';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.7rem;
}

/* ---------- BLOG ---------- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.blog-card {
    background: var(--surface-2);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all var(--transition-medium);
}

.blog-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-strong);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.blog-card-image {
    width: 100%;
    height: 220px;
    background: var(--surface-3);
    position: relative;
    overflow: hidden;
}

.blog-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--surface-2), transparent);
}

.blog-card-content {
    padding: 28px;
}

.blog-card-meta {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.blog-card-title {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 16px;
    line-height: 1.05;
}

.blog-card-excerpt {
    font-size: 1.05rem;
    color: var(--text-dim);
    line-height: 1.7;
}

/* ---------- DASHBOARD / ADMIN ---------- */
.dashboard-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}

.sidebar {
    background: var(--surface);
    border-right: 1px solid var(--border);
    padding: 32px 24px;
    position: fixed;
    width: 260px;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 48px;
}

.sidebar-nav {
    list-style: none;
}

.sidebar-nav li {
    margin-bottom: 6px;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
    border-radius: 4px;
    transition: all var(--transition-fast);
}

.sidebar-nav a:hover, .sidebar-nav a.active {
    background: var(--surface-2);
    color: var(--text);
}

.sidebar-nav a.active {
    border-left: 2px solid var(--accent);
}

.main-content {
    margin-left: 260px;
    padding: 48px;
    min-height: 100vh;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.stat-card {
    background: var(--surface-2);
    border: 1px solid var(--border);
    padding: 28px;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
}

.stat-value {
    font-family: var(--font-display);
    font-size: 3.5rem;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-top: 12px;
}

/* ---------- TABLES ---------- */
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.data-table th {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
    text-align: left;
    padding: 16px;
    border-bottom: 1px solid var(--border-strong);
    font-weight: 400;
}

.data-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text-dim);
}

.data-table tr:hover td {
    background: var(--surface-2);
    color: var(--text);
}

/* ---------- MODAL ---------- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4,4,5,0.9);
    backdrop-filter: blur(10px);
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-medium);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal {
    background: var(--surface);
    border: 1px solid var(--border-strong);
    padding: 48px;
    max-width: 600px;
    width: 90%;
    position: relative;
    transform: scale(0.9);
    transition: transform var(--transition-medium);
}

.modal-overlay.active .modal {
    transform: scale(1);
}

/* ---------- PROGRESS BAR ---------- */
.progress-bar {
    width: 100%;
    height: 3px;
    background: var(--surface-2);
    position: relative;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--gold));
    transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 20px;
    background: linear-gradient(90deg, transparent, var(--accent));
    animation: shimmer 2s infinite;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .sidebar { display: none; }
    .main-content { margin-left: 0; }
    .tier-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .section { padding: 80px 0; }
    body { cursor: auto; }
    .cursor, .cursor-follower { display: none; }
}

/* ---------- MAGNETIC BUTTON ---------- */
.magnetic {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- GRADIENT TEXT ---------- */
.gradient-text {
    background: linear-gradient(135deg, var(--text), var(--accent), var(--gold));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 6s ease infinite;
}

/* ---------- FLOATING ORBS ---------- */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    pointer-events: none;
    animation: float 10s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-2);
    bottom: 20%;
    right: -5%;
    animation-delay: -3s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: var(--gold);
    top: 50%;
    left: 50%;
    animation-delay: -6s;
}

/* ---------- LOADING ---------- */
.loading-screen {
    position: fixed;
    inset: 0;
    background: var(--void);
    z-index: 100000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-logo {
    font-family: var(--font-display);
    font-size: 4rem;
    letter-spacing: 0.12em;
    margin-bottom: 32px;
}

.loading-bar {
    width: 200px;
    height: 2px;
    background: var(--surface-2);
    overflow: hidden;
    position: relative;
}

.loading-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--accent);
    animation: loadProgress 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes loadProgress {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* ---------- EKG SCROLL PROGRESS BAR ---------- */
.ekg-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--accent);
    z-index: 10000;
    box-shadow: 0 0 10px var(--accent-glow), 0 0 20px var(--accent-glow);
    transition: width 0.1s linear;
}

.ekg-progress::after {
    content: '';
    position: absolute;
    right: -10px;
    top: -3px;
    width: 10px;
    height: 9px;
    background: var(--accent-bright);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-bright), 0 0 20px var(--accent-bright);
    animation: ekgPulse 0.8s ease-in-out infinite;
}

@keyframes ekgPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.7; }
}

/* ---------- CURSOR WITH PARTICLE TRAIL ---------- */
.cursor-trail {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 100001;
    box-shadow: 0 0 10px var(--accent-glow), 0 0 20px var(--accent-glow);
    transition: transform 0.05s ease;
}

.cursor-particle {
    position: fixed;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 100000;
    opacity: 0.8;
    animation: particleFade 0.6s ease-out forwards;
}

@keyframes particleFade {
    0% { opacity: 0.8; transform: scale(1); }
    100% { opacity: 0; transform: scale(0) translate(var(--tx, 0), var(--ty, 0)); }
}

/* ---------- TEXT SCRAMBLE / GLITCH ---------- */
.scramble-text {
    font-family: var(--font-mono);
    display: inline;
}

.glitch-text {
    position: relative;
    animation: glitchFlicker 3s infinite;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text::before {
    color: var(--accent);
    animation: glitch1 2s infinite linear alternate-reverse;
    clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
}

.glitch-text::after {
    color: var(--accent-bright);
    animation: glitch2 3s infinite linear alternate-reverse;
    clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
}

@keyframes glitch1 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-3px, 2px); }
    40% { transform: translate(3px, -2px); }
    60% { transform: translate(-2px, 0); }
    80% { transform: translate(2px, 1px); }
}

@keyframes glitch2 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(3px, -1px); }
    40% { transform: translate(-3px, 1px); }
    60% { transform: translate(2px, 0); }
    80% { transform: translate(-2px, -1px); }
}

@keyframes glitchFlicker {
    0%, 100% { opacity: 1; }
    5% { opacity: 0.9; }
    10% { opacity: 1; }
    15% { opacity: 0.3; }
    20% { opacity: 1; }
    50% { opacity: 0.95; }
    52% { opacity: 0.2; }
    54% { opacity: 1; }
}

/* ---------- LIQUID DISTORTION TEXT ---------- */
.liquid-text {
    animation: liquidDistort 4s ease-in-out infinite;
    filter: url(#liquid-filter);
}

@keyframes liquidDistort {
    0%, 100% { filter: blur(0px) contrast(1); transform: scaleY(1); }
    25% { filter: blur(1px) contrast(1.1); transform: scaleY(1.02); }
    50% { filter: blur(0px) contrast(1); transform: scaleY(1); }
    75% { filter: blur(0.5px) contrast(1.05); transform: scaleY(0.98); }
}

/* ---------- NEON FLICKER / CRT ---------- */
.crt-text {
    animation: crtFlicker 2s infinite;
    text-shadow: 0 0 5px var(--accent-glow), 0 0 10px var(--accent-glow), 0 0 20px var(--accent-glow);
}

@keyframes crtFlicker {
    0%, 100% { opacity: 1; text-shadow: 0 0 5px var(--accent-glow), 0 0 10px var(--accent-glow); }
    5% { opacity: 0.85; }
    10% { opacity: 1; }
    15% { opacity: 0.4; text-shadow: 0 0 2px var(--accent-glow); }
    20% { opacity: 1; text-shadow: 0 0 15px var(--accent-glow), 0 0 30px var(--accent-glow); }
    50% { opacity: 0.95; }
    52% { opacity: 0.3; }
    54% { opacity: 1; }
    90% { opacity: 1; }
    92% { opacity: 0.5; }
    94% { opacity: 1; }
}

/* ---------- CINEMATIC SCROLL REVEAL ---------- */
.cinematic-reveal {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ---------- AUDIO CONTROLS ---------- */
.audio-control {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 10000;
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    padding: 12px 20px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.audio-control:hover {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

.audio-control.active {
    color: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 15px var(--accent-glow);
}

/* ---------- SCANLINES (SUBTLE) ---------- */
.scanlines::before {
    content: '';
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(153,0,0,0.03) 2px,
        rgba(153,0,0,0.03) 4px
    );
    pointer-events: none;
    z-index: 9998;
}

/* ---------- BLOOD SPLATTER DECORATION ---------- */
.blood-splatter {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(153,0,0,0.15) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
}

/* ============================================================
   CINEMATIC ANIMATION SYSTEM v2 — MAXIMUM SPECTACLE
   ============================================================ */

/* ---------- ENHANCED SCROLL REVEALS ---------- */
@keyframes fadeUpLarge {
    from { opacity: 0; transform: translateY(120px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

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

@keyframes fadeLeft {
    from { opacity: 0; transform: translateX(-100px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeRight {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleRotate {
    from { opacity: 0; transform: scale(0.5) rotate(-5deg); }
    to { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes blurIn {
    from { opacity: 0; filter: blur(20px); transform: scale(1.1); }
    to { opacity: 1; filter: blur(0); transform: scale(1); }
}

@keyframes clipReveal {
    from { clip-path: inset(100% 0 0 0); }
    to { clip-path: inset(0 0 0 0); }
}

@keyframes letterSpacing {
    from { opacity: 0; letter-spacing: 0.5em; }
    to { opacity: 1; letter-spacing: 0.04em; }
}

/* ---------- ENHANCED UTILITY CLASSES ---------- */
.reveal-up { opacity: 0; transform: translateY(80px); transition: all 1s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-up.visible { opacity: 1; transform: translateY(0); }

.reveal-left { opacity: 0; transform: translateX(-80px); transition: all 1s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right { opacity: 0; transform: translateX(80px); transition: all 1s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-scale { opacity: 0; transform: scale(0.9); transition: all 1s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

.reveal-blur { opacity: 0; filter: blur(15px); transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-blur.visible { opacity: 1; filter: blur(0); }

.reveal-clip { opacity: 0; clip-path: inset(100% 0 0 0); transition: all 1s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-clip.visible { opacity: 1; clip-path: inset(0 0 0 0); }

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }
.stagger-7 { transition-delay: 0.7s; }
.stagger-8 { transition-delay: 0.8s; }

/* ---------- AMBIENT PARTICLE CANVAS ---------- */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

/* ---------- DRAMATIC HOVER EFFECTS ---------- */
.hover-lift {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}
.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(153,0,0,0.15);
}

.hover-glow {
    transition: all 0.4s ease;
}
.hover-glow:hover {
    box-shadow: 0 0 30px rgba(153,0,0,0.3), 0 0 60px rgba(153,0,0,0.1);
    border-color: var(--accent) !important;
}

.hover-scale {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.hover-scale:hover {
    transform: scale(1.05);
}

/* ---------- TEXT SPLIT ANIMATION ---------- */
.split-text .word {
    display: inline-block;
    overflow: hidden;
}

.split-text .char {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}

.split-text.visible .char {
    transform: translateY(0);
    opacity: 1;
}

/* ---------- SECTION DIVIDER ---------- */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    margin: 80px 0;
    position: relative;
    opacity: 0.3;
}

.section-divider::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent-glow);
}

/* ---------- LOADING ENHANCEMENT ---------- */
.loading-bar-fill {
    animation: loadProgress 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ---------- PULSE RING ANIMATION ---------- */
.pulse-ring {
    position: relative;
}

.pulse-ring::before,
.pulse-ring::after {
    content: '';
    position: absolute;
    inset: -4px;
    border: 1px solid var(--accent);
    border-radius: inherit;
    opacity: 0;
    animation: pulseRing 2s ease-out infinite;
}

.pulse-ring::after {
    animation-delay: 1s;
}

/* ---------- FLOATING ANIMATION ---------- */
.float-gentle {
    animation: floatGentle 6s ease-in-out infinite;
}

@keyframes floatGentle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ---------- MARQUEE ---------- */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-track {
    display: flex;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
}

/* ---------- CARD STACK EFFECT ---------- */
.card-stack {
    perspective: 1000px;
}

.card-stack-item {
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-stack-item:hover {
    transform: translateZ(30px) rotateX(2deg);
}

/* ---------- IMAGE REVEAL ---------- */
.img-reveal {
    position: relative;
    overflow: hidden;
}

.img-reveal::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent);
    transform: translateX(-101%);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.img-reveal.visible::after {
    transform: translateX(101%);
}

/* ---------- BUTTON SHINE ---------- */
.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.6s ease;
}

.btn-shine:hover::before {
    left: 100%;
}

/* ---------- TEMPLATE CARDS ---------- */
.template-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 32px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.template-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--accent);
    transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.template-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(153,0,0,0.1);
}

.template-card:hover::before {
    height: 100%;
}

.template-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--text);
}

.template-card p {
    font-size: 0.95rem;
    color: var(--text-dim);
    margin-bottom: 20px;
}

.template-card .meta {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* ---------- RESOURCES GRID ---------- */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

@media (max-width: 768px) {
    .resources-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   PASSWORD GATE
   ============================================================ */

.gate-overlay {
    position: fixed;
    inset: 0;
    background: var(--void);
    z-index: 1000000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.6s ease;
}

.gate-content {
    text-align: center;
    max-width: 420px;
    padding: 48px;
    border: 1px solid var(--border);
    background: var(--surface);
    position: relative;
}

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

.gate-logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    letter-spacing: 0.12em;
    margin-bottom: 32px;
}

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

.gate-icon {
    margin-bottom: 24px;
    opacity: 0.6;
}

.gate-title {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 8px;
    letter-spacing: 0.04em;
}

.gate-subtitle {
    color: var(--text-dim);
    font-size: 0.95rem;
    margin-bottom: 32px;
}

.gate-form {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.gate-input {
    flex: 1;
    background: var(--surface-2);
    border: 1px solid var(--border-strong);
    padding: 14px 18px;
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 1rem;
    letter-spacing: 0.1em;
    outline: none;
    transition: border-color 0.3s ease;
}

.gate-input:focus {
    border-color: var(--accent);
}

.gate-input::placeholder {
    color: var(--text-faint);
}

.gate-button {
    background: var(--accent);
    color: var(--void);
    border: none;
    padding: 14px 28px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gate-button:hover {
    background: var(--accent-bright);
    box-shadow: 0 0 20px var(--accent-glow);
}

.gate-error {
    color: var(--danger);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    display: none;
    margin-top: 8px;
}

/* ---------- DOCUMENT PAGE STYLES ---------- */
.doc-page {
    padding-top: 120px;
    padding-bottom: 80px;
}

.doc-header {
    margin-bottom: 64px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.doc-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.doc-meta-item {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
}

.doc-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-bottom: 16px;
    line-height: 1.05;
}

.doc-subtitle {
    color: var(--text-dim);
    font-size: 1.1rem;
    max-width: 600px;
}

.doc-content {
    max-width: 800px;
}

.doc-content h2 {
    font-size: 1.8rem;
    margin-top: 48px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.doc-content h3 {
    font-size: 1.3rem;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--text);
}

.doc-content p {
    margin-bottom: 16px;
    color: var(--text-dim);
}

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

.doc-content li {
    margin-bottom: 8px;
    color: var(--text-dim);
}

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

.doc-content blockquote {
    border-left: 3px solid var(--accent);
    padding-left: 20px;
    margin: 24px 0;
    font-style: italic;
    color: var(--text-dim);
}

.doc-content code {
    background: var(--surface-2);
    padding: 2px 8px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--accent);
}

.doc-content pre {
    background: var(--surface-2);
    padding: 20px;
    overflow-x: auto;
    margin-bottom: 24px;
    border: 1px solid var(--border);
}

.doc-content pre code {
    background: none;
    padding: 0;
}

.doc-content hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin: 48px 0;
}

.doc-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}

.doc-content th, .doc-content td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.doc-content th {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--surface-2);
}

.doc-content td {
    color: var(--text-dim);
}

.doc-content tr:hover td {
    background: var(--surface-2);
}

/* ---------- CHECKLIST ITEMS ---------- */
.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.checklist-item:hover {
    padding-left: 8px;
}

.checklist-item:last-child {
    border-bottom: none;
}

.checklist-check {
    width: 22px;
    height: 22px;
    border: 1.5px solid var(--border-strong);
    border-radius: 4px;
    flex-shrink: 0;
    margin-top: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.checklist-check:hover {
    border-color: var(--accent);
}

.checklist-check.done {
    background: var(--accent);
    border-color: var(--accent);
}

.checklist-check.done::after {
    content: '';
    display: block;
    width: 6px;
    height: 10px;
    border: solid var(--void);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin: 3px 0 0 5px;
}

.checklist-text.done {
    text-decoration: line-through;
    opacity: 0.4;
}

/* ---------- COLLAPSIBLE SECTIONS ---------- */
.collapse-section {
    border: 1px solid var(--border);
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.collapse-section:hover {
    border-color: var(--border-strong);
}

.collapse-header {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: var(--surface);
    transition: background 0.3s ease;
}

.collapse-header:hover {
    background: var(--surface-2);
}

.collapse-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.collapse-icon {
    font-family: var(--font-mono);
    color: var(--accent);
    font-size: 1.2rem;
    transition: transform 0.4s ease;
}

.collapse-section.open .collapse-icon {
    transform: rotate(45deg);
}

.collapse-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.collapse-section.open .collapse-content {
    max-height: 3000px;
}

.collapse-inner {
    padding: 0 24px 24px;
}

/* ---------- PROGRESS BAR ---------- */
.progress-container {
    margin: 32px 0;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.progress-bar {
    height: 4px;
    background: var(--surface-2);
    position: relative;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-bright));
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 60px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2));
    animation: shimmer 2s ease-in-out infinite;
}

/* ---------- PHASE INDICATOR ---------- */
.phase-indicator {
    display: flex;
    gap: 0;
    margin: 48px 0;
    position: relative;
}

.phase-indicator::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--border);
    z-index: 0;
}

.phase-item {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.phase-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--border);
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-faint);
    transition: all 0.5s ease;
}

.phase-item.active .phase-dot {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--void);
    box-shadow: 0 0 20px var(--accent-glow);
}

.phase-item.completed .phase-dot {
    background: var(--surface-2);
    border-color: var(--accent);
    color: var(--accent);
}

.phase-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-faint);
}

.phase-item.active .phase-label {
    color: var(--accent);
}

/* ---------- IMAGE PLACEHOLDER ---------- */
.img-placeholder {
    background: var(--surface-2);
    border: 2px dashed var(--border);
    padding: 48px;
    text-align: center;
    margin: 24px 0;
    transition: all 0.3s ease;
}

.img-placeholder:hover {
    border-color: var(--accent);
    background: var(--surface);
}

.img-placeholder-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    opacity: 0.4;
}

.img-placeholder-text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-faint);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ---------- SCRIPT FORMAT ---------- */
.script-block {
    margin-bottom: 32px;
    padding: 24px;
    background: var(--surface);
    border-left: 3px solid var(--accent);
    position: relative;
}

.script-speaker {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}

.script-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 12px;
}

.script-note {
    font-size: 0.9rem;
    color: var(--text-faint);
    font-style: italic;
    padding-left: 16px;
    border-left: 2px solid var(--border);
}

/* ---------- CONVERSATION PAIR ---------- */
.conversation-pair {
    margin-bottom: 24px;
}

.conversation-you {
    margin-bottom: 16px;
}

.conversation-client {
    margin-bottom: 16px;
    padding-left: 24px;
}

.conversation-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.conversation-you .conversation-label {
    color: var(--accent);
}

.conversation-client .conversation-label {
    color: var(--text-faint);
}

.conversation-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text);
}

.conversation-client .conversation-text {
    color: var(--text-dim);
}
