/* ============================================
   ALGO BROTHERS — LUXURY NAVY & GOLD
   Playfair Display + DM Sans
   ============================================ */

:root {
    --navy-deep: #060b18;
    --navy: #0a1128;
    --navy-mid: #0f1a36;
    --navy-light: #152044;
    --navy-card: rgba(15, 23, 50, 0.65);
    --navy-card-hover: rgba(20, 30, 60, 0.8);
    --navy-input: rgba(10, 17, 40, 0.85);

    --gold: #d4af37;
    --gold-light: #f0d98d;
    --gold-pale: #f5ecd0;
    --gold-dark: #a8891c;
    --gold-glow: rgba(212, 175, 55, 0.2);
    --gold-glow-strong: rgba(212, 175, 55, 0.4);

    --white: #f4f2ed;
    --white-dim: #c5c1b8;
    --gray: #7a7e8c;
    --gray-dark: #4a4f60;

    --green: #34d399;
    --green-dim: rgba(52, 211, 153, 0.12);
    --red: #f87171;
    --red-dim: rgba(248, 113, 113, 0.12);
    --orange: #fbbf24;
    --orange-dim: rgba(251, 191, 36, 0.12);
    --blue: #60a5fa;

    --border: rgba(212, 175, 55, 0.12);
    --border-gold: rgba(212, 175, 55, 0.3);

    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: var(--font-body);
    background: var(--navy-deep);
    color: var(--white);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
}

a { color: var(--gold); text-decoration: none; transition: color 0.3s var(--ease); }
a:hover { color: var(--gold-light); }
img { max-width: 100%; height: auto; display: block; }

/* Accessibility — focus states */
:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 4px;
}
button, a { -webkit-tap-highlight-color: transparent; }

/* Selection */
::selection { background: var(--gold); color: var(--navy-deep); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--navy-deep); }
::-webkit-scrollbar-thumb { background: var(--navy-light); border-radius: 5px; border: 2px solid var(--navy-deep); }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 28px; position: relative; z-index: 2; }

.gold-text {
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   ANIMATED BACKGROUND
   ============================================ */
.bg-grid {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 70%);
}

.bg-glow {
    position: fixed; border-radius: 50%; filter: blur(150px); pointer-events: none; z-index: 0;
}
.bg-glow-1 {
    width: 700px; height: 700px; background: var(--gold); opacity: 0.06;
    top: -15%; left: 40%; animation: glowPulse 10s ease-in-out infinite alternate;
}
.bg-glow-2 {
    width: 500px; height: 500px; background: #1e40af; opacity: 0.04;
    bottom: 20%; right: -10%; animation: glowPulse 12s ease-in-out infinite alternate-reverse;
}
.bg-glow-3 {
    width: 400px; height: 400px; background: var(--gold); opacity: 0.03;
    bottom: -10%; left: 10%; animation: glowPulse 8s ease-in-out infinite alternate;
}

@keyframes glowPulse {
    0% { transform: scale(1); opacity: 0.04; }
    100% { transform: scale(1.15); opacity: 0.08; }
}

/* ============================================
   REVEAL ANIMATION
   ============================================ */
[data-reveal] {
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].revealed {
    opacity: 1; transform: translateY(0);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    position: relative; padding: 80px 0;
}
.hero-inner { text-align: center; max-width: 800px; margin: 0 auto; }

.hero-logo img {
    width: 200px; margin: 0 auto 32px; mix-blend-mode: screen;
    filter: drop-shadow(0 0 40px var(--gold-glow-strong));
    animation: heroFloat 6s ease-in-out infinite;
}
@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.hero-tag {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 24px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--gold); border: 1px solid var(--border-gold);
    border-radius: 100px; background: rgba(212, 175, 55, 0.06); margin-bottom: 36px;
    backdrop-filter: blur(8px);
}

.pulse-dot {
    width: 8px; height: 8px; border-radius: 50%; background: var(--green);
    display: inline-block; animation: pulse 2s infinite;
    box-shadow: 0 0 8px rgba(52, 211, 153, 0.6);
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-h1 {
    font-family: var(--font-display); font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 800; line-height: 1.08; margin-bottom: 28px; color: var(--white);
    letter-spacing: -0.02em;
}

.hero-p {
    font-size: 1.1rem; color: var(--white-dim); max-width: 620px; margin: 0 auto 40px;
    line-height: 1.85; font-weight: 400;
}

/* Scarcity bar */
.scarcity-bar {
    max-width: 480px; margin: 0 auto 40px; padding: 20px 28px;
    background: rgba(212, 175, 55, 0.05); border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg); backdrop-filter: blur(10px);
}
.scarcity-inner { display: flex; align-items: center; gap: 16px; }
.scarcity-icon { font-size: 1.6rem; }
.scarcity-text { flex: 1; }
.scarcity-label { font-size: 0.8rem; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; display: block; margin-bottom: 10px; }
.scarcity-progress { display: flex; align-items: center; gap: 14px; }
.scarcity-track { flex: 1; height: 6px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; }
.scarcity-fill {
    height: 100%; border-radius: 3px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
    animation: fillGrow 2s var(--ease) forwards;
    transform-origin: left;
}
@keyframes fillGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.scarcity-count { font-size: 0.78rem; color: var(--white-dim); white-space: nowrap; }
.scarcity-count strong { color: var(--gold-light); }

/* Hero CTA */
.btn-hero {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 20px 48px; font-family: var(--font-body); font-size: 1rem; font-weight: 700;
    letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy-deep);
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    border: none; border-radius: var(--radius); cursor: pointer;
    box-shadow: 0 8px 32px var(--gold-glow), 0 2px 8px rgba(0,0,0,0.3);
    transition: all 0.4s var(--ease); position: relative; overflow: hidden;
    text-decoration: none;
}
.btn-hero::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
    transition: left 0.6s var(--ease);
}
.btn-hero:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 14px 44px var(--gold-glow-strong); color: var(--navy-deep); }
.btn-hero:hover::before { left: 150%; }

.hero-footnote { color: var(--gray); font-size: 0.78rem; margin-top: 18px; letter-spacing: 0.03em; }

/* Trust row */
.trust-row {
    display: flex; align-items: center; justify-content: center; gap: 40px;
    margin-top: 56px; flex-wrap: wrap;
}
.trust-item { text-align: center; }
.trust-num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--gold); line-height: 1; }
.trust-label { font-size: 0.75rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 6px; font-weight: 500; }
.trust-sep { width: 1px; height: 36px; background: var(--border-gold); }

/* Scroll hint */
.scroll-hint { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); }
.scroll-line {
    width: 1px; height: 48px; background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollBounce 2s infinite;
}
@keyframes scrollBounce {
    0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================
   SECTIONS
   ============================================ */
.sec { padding: 140px 0; position: relative; }
.sec-dark {
    background: linear-gradient(180deg, rgba(255,255,255,0.018) 0%, transparent 60%, rgba(255,255,255,0.008) 100%);
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}

/* subtle gold shimmer line between sections */
.sec::before {
    content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 240px; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.25), transparent);
    pointer-events: none;
}
.sec-dark::before { display: none; }

.sec-header { text-align: center; margin-bottom: 64px; }
.sec-eyebrow {
    display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
    padding: 6px 20px; border: 1px solid var(--border-gold); border-radius: 100px;
    background: rgba(212, 175, 55, 0.04);
}
.sec-h2 {
    font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700; line-height: 1.15; color: var(--white); margin-bottom: 16px;
}
.sec-sub { font-size: 1.05rem; color: var(--gray); max-width: 560px; margin: 0 auto; }

/* ============================================
   PROBLEM SECTION
   ============================================ */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.problem-card {
    background: var(--navy-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 40px 32px; position: relative; overflow: hidden;
    transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
    backdrop-filter: blur(12px);
}
.problem-card:hover {
    transform: translateY(-6px); border-color: var(--border-gold);
    box-shadow: 0 20px 60px rgba(0,0,0,0.25), 0 0 40px rgba(212,175,55,0.06);
}
.problem-num {
    font-family: var(--font-display); font-size: 3.5rem; font-weight: 800;
    color: rgba(212, 175, 55, 0.12); line-height: 1; margin-bottom: 20px;
    transition: color 0.4s;
}
.problem-card:hover .problem-num { color: rgba(212,175,55,0.22); }
.problem-card h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--white); margin-bottom: 14px; }
.problem-card p { font-size: 0.92rem; color: var(--white-dim); line-height: 1.75; }
.problem-line {
    position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--red), transparent); opacity: 0.4;
}

/* ============================================
   SOLUTION SECTION
   ============================================ */
.solution-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: start; }

.solution-card {
    background: var(--navy-card); border: 1px solid var(--border-gold); border-radius: var(--radius-lg);
    padding: 44px 36px; backdrop-filter: blur(12px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.solution-card h3 { font-family: var(--font-display); font-size: 1.3rem; color: var(--gold); margin-bottom: 28px; }

.feat-list { list-style: none; display: flex; flex-direction: column; gap: 24px; }
.feat-list li { display: flex; gap: 16px; align-items: flex-start; }
.feat-icon { color: var(--gold); font-size: 0.7rem; margin-top: 6px; flex-shrink: 0; }
.feat-list strong { display: block; font-size: 1rem; color: var(--white); margin-bottom: 4px; }
.feat-list span { font-size: 0.88rem; color: var(--white-dim); line-height: 1.6; }

.anti-card {
    background: var(--navy-card); border: 1px solid rgba(248, 113, 113, 0.15);
    border-radius: var(--radius-lg); padding: 36px 32px; margin-bottom: 24px; backdrop-filter: blur(12px);
}
.anti-card h3 { font-family: var(--font-display); font-size: 1.15rem; color: var(--white); margin-bottom: 24px; }
.anti-item { display: flex; align-items: center; gap: 14px; padding: 10px 0; color: var(--white-dim); font-size: 0.95rem; }
.anti-x { color: var(--red); font-weight: 700; font-size: 1.1rem; width: 20px; text-align: center; }

.quote-block {
    padding: 28px 32px; border-left: 3px solid var(--gold);
    background: rgba(212, 175, 55, 0.04); border-radius: 0 var(--radius) var(--radius) 0;
}
.quote-block p {
    font-family: var(--font-display); font-size: 1.05rem; font-style: italic;
    color: var(--gold-light); line-height: 1.7;
}

/* ============================================
   ACCESS CARDS
   ============================================ */
.access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

.access-card {
    background: var(--navy-card); border: 1px solid var(--border);
    border-radius: var(--radius-xl); padding: 44px 36px; position: relative;
    backdrop-filter: blur(12px); transition: transform 0.5s var(--ease);
    display: flex; flex-direction: column;
}
.access-card:hover { transform: translateY(-4px); }

.access-card-gold {
    border-color: var(--gold); background: rgba(212, 175, 55, 0.03);
    box-shadow: 0 0 60px rgba(212, 175, 55, 0.08), inset 0 1px 0 rgba(212, 175, 55, 0.2);
}
.access-card-gold::before {
    content: ''; position: absolute; top: 0; left: 20%; right: 20%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.access-lock-badge {
    position: absolute; top: -14px; right: 28px;
    padding: 6px 16px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em;
    background: var(--navy); border: 1px solid var(--gold); border-radius: 100px;
    color: var(--gold); text-transform: uppercase;
}

.access-top { margin-bottom: 28px; }
.access-badge {
    display: inline-block; padding: 5px 14px; font-size: 0.68rem; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase; border-radius: 100px;
    background: rgba(255,255,255,0.06); color: var(--gray); border: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 16px;
}
.access-badge-gold { background: rgba(212, 175, 55, 0.08); color: var(--gold); border-color: var(--gold); }
.access-card h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.access-desc { color: var(--gray); font-size: 0.9rem; }

.access-list {
    list-style: none; display: flex; flex-direction: column; gap: 14px;
    margin-bottom: 32px; flex: 1;
}
.access-list li {
    font-size: 0.92rem; color: var(--white-dim); padding-left: 24px; position: relative; line-height: 1.5;
}
.access-list li::before {
    content: ''; position: absolute; left: 0; top: 8px;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--gold); opacity: 0.5;
}
.access-card-gold .access-list li::before { opacity: 1; box-shadow: 0 0 8px var(--gold-glow); }

.btn-access {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 16px 32px; font-family: var(--font-body); font-size: 0.9rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.06em; border-radius: var(--radius);
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    color: var(--navy-deep); text-decoration: none; transition: all 0.4s var(--ease);
    box-shadow: 0 6px 24px var(--gold-glow);
}
.btn-access:hover { transform: translateY(-2px); box-shadow: 0 10px 36px var(--gold-glow-strong); color: var(--navy-deep); }

.access-locked-note {
    padding: 16px 24px; text-align: center;
    background: rgba(212, 175, 55, 0.06); border: 1px solid var(--border-gold);
    border-radius: var(--radius); color: var(--gold); font-size: 0.85rem; font-weight: 600;
    letter-spacing: 0.03em;
}

/* ============================================
   STEPS / PROCESS
   ============================================ */
.steps-container { max-width: 640px; margin: 0 auto; position: relative; }

.step-item {
    display: flex; gap: 28px; padding-bottom: 48px; position: relative;
}
.step-item:last-child { padding-bottom: 0; }
.step-line-v {
    position: absolute; left: 23px; top: 48px; bottom: 0; width: 1px;
    background: linear-gradient(to bottom, var(--border-gold), transparent);
}
.step-item:last-child .step-line-v { display: none; }

.step-dot {
    width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-size: 1.1rem; font-weight: 800;
    background: var(--navy-mid); border: 2px solid var(--border-gold); color: var(--gold);
    position: relative; z-index: 2;
}
.step-dot-gold { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }

.step-content h4 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.step-content p { font-size: 0.9rem; color: var(--white-dim); line-height: 1.7; }

.step-item-final .step-content h4 { color: var(--gold); }

/* ============================================
   FOR WHO
   ============================================ */
.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.who-card {
    background: var(--navy-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 44px 36px; backdrop-filter: blur(12px); transition: all 0.5s var(--ease);
}
.who-card:hover { border-color: var(--border-gold); transform: translateY(-4px); }
.who-level {
    display: inline-block; padding: 5px 16px; font-size: 0.7rem; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase; border-radius: 100px;
    background: rgba(212, 175, 55, 0.06); border: 1px solid var(--border-gold);
    color: var(--gold); margin-bottom: 20px;
}
.who-card h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--white); margin-bottom: 14px; line-height: 1.35; }
.who-card p { font-size: 0.92rem; color: var(--white-dim); line-height: 1.8; }

/* ============================================
   FAQ
   ============================================ */
.faq-wrap { max-width: 740px; margin: 0 auto; }

.faq-item {
    border-bottom: 1px solid var(--border); overflow: hidden;
}
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-q {
    width: 100%; padding: 24px 0; background: none; border: none; color: var(--white);
    font-family: var(--font-body); font-size: 1.02rem; font-weight: 600; text-align: left;
    cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
    transition: color 0.3s;
}
.faq-q:hover { color: var(--gold); }

.faq-chevron {
    width: 12px; height: 12px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
    transform: rotate(-45deg); transition: transform 0.4s var(--ease); flex-shrink: 0;
}
.faq-item.open .faq-chevron { transform: rotate(45deg); }

.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p { padding-bottom: 24px; font-size: 0.92rem; color: var(--white-dim); line-height: 1.8; }

/* ============================================
   FINAL CTA
   ============================================ */
.sec-cta { padding: 120px 0; text-align: center; }
.cta-box {
    max-width: 700px; margin: 0 auto; padding: 64px 48px;
    background: var(--navy-card); border: 1px solid var(--border-gold);
    border-radius: var(--radius-xl); position: relative; overflow: hidden;
    backdrop-filter: blur(16px);
    box-shadow: 0 24px 80px rgba(0,0,0,0.4), 0 0 80px rgba(212, 175, 55, 0.05);
}
.cta-glow {
    position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
    width: 500px; height: 500px; border-radius: 50%;
    background: var(--gold); opacity: 0.04; filter: blur(100px); pointer-events: none;
}
.cta-box h2 { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: var(--white); margin-bottom: 16px; position: relative; }
.cta-box > p { color: var(--white-dim); font-size: 1rem; max-width: 520px; margin: 0 auto 28px; line-height: 1.7; position: relative; }

.cta-urgency {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 10px 24px; font-size: 0.8rem; font-weight: 600; color: var(--gold);
    border: 1px solid var(--border-gold); border-radius: 100px;
    background: rgba(212, 175, 55, 0.04); margin-bottom: 32px;
    letter-spacing: 0.05em; text-transform: uppercase;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer { padding: 48px 0; border-top: 1px solid var(--border); text-align: center; }
.footer-inner p { font-size: 0.85rem; color: var(--gray-dark); }
.footer-disclaimer { margin-top: 12px; font-size: 0.72rem; color: var(--gray-dark); max-width: 600px; margin-left: auto; margin-right: auto; }

/* ============================================
   FORMS — APPLY PAGE
   ============================================ */
.apply-wrapper {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    padding: 60px 20px; position: relative;
}

.apply-container {
    max-width: 520px; width: 100%;
    background: var(--navy-card); border: 1px solid var(--border-gold);
    border-radius: var(--radius-xl); padding: 48px 40px;
    backdrop-filter: blur(16px);
    box-shadow: 0 24px 80px rgba(0,0,0,0.4), 0 0 60px rgba(212, 175, 55, 0.04);
}

.apply-header { text-align: center; margin-bottom: 40px; }
.apply-header img { width: 100px; margin: 0 auto 16px; mix-blend-mode: screen; filter: drop-shadow(0 0 20px var(--gold-glow)); }
.apply-header h1 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.apply-header p { color: var(--gray); font-size: 0.88rem; }

.form-group { margin-bottom: 28px; }
.form-group label {
    display: block; font-size: 0.78rem; font-weight: 600; color: var(--gold);
    text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%; padding: 16px 20px; font-family: var(--font-body); font-size: 0.95rem; color: var(--white);
    background: var(--navy-input); border: 1px solid var(--border); border-radius: var(--radius);
    transition: all 0.4s var(--ease); outline: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--gray-dark); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--gold); box-shadow: 0 0 20px var(--gold-glow);
    background: rgba(15, 23, 50, 0.95);
}
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23d4af37' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 20px center; padding-right: 50px;
}
.form-group select option { background: var(--navy); color: var(--white); }

.form-hint { display: block; font-size: 0.74rem; color: var(--gray-dark); margin-top: 8px; }

.contact-group {
    background: rgba(212, 175, 55, 0.02); border: 1px solid var(--border-gold);
    padding: 24px 24px 28px; border-radius: var(--radius-lg); margin-bottom: 28px;
}
.contact-group-title {
    font-size: 0.82rem; color: var(--gold); margin-bottom: 20px; text-align: center; font-weight: 600;
    letter-spacing: 0.03em;
}

.btn-submit {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; padding: 18px 32px; font-family: var(--font-body); font-size: 0.95rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.06em; border-radius: var(--radius);
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    color: var(--navy-deep); border: none; cursor: pointer;
    box-shadow: 0 8px 32px var(--gold-glow);
    transition: all 0.4s var(--ease);
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 40px var(--gold-glow-strong); }

/* Alerts */
.alert {
    padding: 16px 20px; border-radius: var(--radius); font-size: 0.9rem;
    margin-bottom: 24px; font-weight: 500; display: flex; align-items: center; gap: 10px;
}
.alert-error { background: var(--red-dim); border: 1px solid rgba(248, 113, 113, 0.25); color: var(--red); }
.alert-success { background: var(--green-dim); border: 1px solid rgba(52, 211, 153, 0.25); color: var(--green); }

/* Success page */
.success-container { text-align: center; max-width: 480px; }
.success-icon { color: var(--green); margin-bottom: 24px; }
.success-icon svg { width: 72px; height: 72px; }
.success-container h1 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.success-sub { color: var(--white-dim); font-size: 1rem; margin-bottom: 8px; }
.success-note { color: var(--gray); font-size: 0.88rem; line-height: 1.7; }

/* ============================================
   ADMIN PANEL
   ============================================ */
.admin-wrapper { max-width: 1400px; margin: 0 auto; padding: 40px 28px; position: relative; z-index: 2; }

.admin-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid var(--border);
    flex-wrap: wrap; gap: 16px;
}
.admin-header h1 { font-family: var(--font-display); font-size: 1.5rem; color: var(--white); }

.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-bottom: 36px; }
.stat-card {
    background: var(--navy-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 24px 20px; text-align: center; backdrop-filter: blur(12px);
    transition: border-color 0.3s;
}
.stat-card:hover { border-color: var(--border-gold); }
.stat-value { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--white); line-height: 1.2; }
.stat-label { font-size: 0.7rem; color: var(--gold); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; margin-top: 4px; }

.admin-tabs { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }

.admin-table-wrap {
    overflow-x: auto; background: var(--navy-card); border-radius: var(--radius-lg);
    border: 1px solid var(--border); backdrop-filter: blur(10px);
}
.admin-table { width: 100%; border-collapse: collapse; text-align: left; }
.admin-table th, .admin-table td { padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,0.04); }
.admin-table th {
    background: rgba(0,0,0,0.25); font-size: 0.7rem; text-transform: uppercase;
    letter-spacing: 0.1em; color: var(--gold); white-space: nowrap; font-weight: 700;
}
.admin-table tr:hover { background: rgba(255,255,255,0.015); }

.status-badge, .exp-badge {
    display: inline-flex; padding: 5px 12px; font-size: 0.7rem; font-weight: 700;
    border-radius: 100px; letter-spacing: 0.05em;
}
.status-pending { background: rgba(212, 175, 55, 0.12); color: var(--gold); border: 1px solid var(--gold); }
.status-approved { background: var(--green-dim); color: var(--green); border: 1px solid rgba(52, 211, 153, 0.3); }
.status-rejected { background: var(--red-dim); color: var(--red); border: 1px solid rgba(248, 113, 113, 0.3); }
.status-expired { background: var(--orange-dim); color: var(--orange); border: 1px solid rgba(251, 191, 36, 0.3); }

.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 40px; }
.detail-card {
    background: var(--navy-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 36px; backdrop-filter: blur(12px);
}
.detail-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.detail-row:last-child { border-bottom: none; }
.detail-label { color: var(--gray); font-size: 0.88rem; }
.detail-value { color: var(--white); font-weight: 500; text-align: right; }

.action-bar {
    background: var(--navy-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 28px 32px; display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-end;
    backdrop-filter: blur(12px);
}

/* API stats */
.api-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-bottom: 36px; }
.api-stat-card h3 { font-size: 0.78rem; color: var(--gold); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; font-weight: 700; }
.api-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.api-bar-label { font-size: 0.78rem; color: var(--gray); width: 80px; flex-shrink: 0; }
.api-bar-track { flex: 1; height: 6px; background: rgba(255,255,255,0.04); border-radius: 3px; overflow: hidden; }
.api-bar-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--gold-dark), var(--gold)); }
.api-bar-value { font-size: 0.78rem; color: var(--white); font-weight: 600; width: 50px; text-align: right; }

.license-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 28px; font-family: var(--font-body); font-size: 0.85rem; font-weight: 700;
    letter-spacing: 0.04em; border: none; border-radius: var(--radius);
    cursor: pointer; transition: all 0.3s var(--ease); text-transform: uppercase;
    text-decoration: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    color: var(--navy-deep); box-shadow: 0 4px 16px var(--gold-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px var(--gold-glow-strong); color: var(--navy-deep); }

.btn-outline {
    background: rgba(212, 175, 55, 0.04); border: 1px solid var(--border-gold);
    color: var(--gold); padding: 10px 22px; font-size: 0.82rem;
}
.btn-outline:hover { background: var(--gold); color: var(--navy-deep); }

.btn-sm { padding: 8px 18px; font-size: 0.78rem; }
.btn-xs { padding: 6px 14px; font-size: 0.72rem; }
.btn-full { width: 100%; }

.btn-green { background: var(--green); color: var(--navy-deep); }
.btn-green:hover { background: #22c55e; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #ef4444; }
.btn-orange { background: var(--orange); color: var(--navy-deep); }
.btn-ghost { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); color: var(--gray); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); color: var(--white); }

/* Admin login */
.admin-login-wrapper { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.admin-login-box {
    max-width: 420px; width: 100%;
    background: var(--navy-card); border: 1px solid var(--border-gold);
    border-radius: var(--radius-xl); padding: 48px 40px;
    backdrop-filter: blur(16px); box-shadow: 0 24px 80px rgba(0,0,0,0.4);
}

/* ============================================
   SITE NAV
   ============================================ */
.site-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 0 28px;
    transition: background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
    border-bottom: 1px solid transparent;
}
.site-nav.scrolled {
    background: rgba(6, 11, 24, 0.92);
    border-bottom-color: var(--border);
    box-shadow: 0 8px 40px rgba(0,0,0,0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.nav-inner {
    max-width: 1140px; margin: 0 auto;
    height: 72px; display: flex; align-items: center; gap: 32px;
}

.nav-logo {
    display: flex; align-items: center; gap: 12px;
    text-decoration: none; flex-shrink: 0;
}
.nav-logo img {
    width: 36px; height: 36px; object-fit: contain;
    mix-blend-mode: screen; filter: drop-shadow(0 0 12px var(--gold-glow));
}
.nav-logo span {
    font-family: var(--font-display); font-size: 1.05rem; font-weight: 700;
    color: var(--white); letter-spacing: 0.01em; line-height: 1;
}
.nav-logo em { color: var(--gold); font-style: normal; }

.nav-links {
    display: flex; align-items: center; gap: 4px; flex: 1;
    margin-left: 16px;
}
.nav-link {
    padding: 8px 14px; font-size: 0.82rem; font-weight: 500; color: var(--white-dim);
    border-radius: 8px; text-decoration: none; letter-spacing: 0.02em;
    transition: color 0.25s, background 0.25s;
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.05); }

.nav-link-license {
    color: var(--gold); border: 1px solid var(--border-gold);
    background: rgba(212, 175, 55, 0.04);
}
.nav-link-license:hover { background: rgba(212, 175, 55, 0.1); color: var(--gold-light); }

.nav-cta {
    flex-shrink: 0; padding: 10px 22px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    color: var(--navy-deep); font-size: 0.82rem; font-weight: 700;
    border-radius: var(--radius); letter-spacing: 0.04em; text-decoration: none;
    transition: all 0.3s var(--ease); box-shadow: 0 4px 16px var(--gold-glow);
    white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px var(--gold-glow-strong); color: var(--navy-deep); }

.nav-burger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 8px; margin-left: auto;
}
.nav-burger span {
    display: block; width: 22px; height: 2px;
    background: var(--white); border-radius: 2px;
    transition: all 0.3s var(--ease);
}

/* Hero offset for fixed nav */
.hero { padding-top: 160px; }

/* Nav active link */
.nav-link.active {
    color: var(--gold) !important;
}

/* ============================================
   FOOTER REDESIGN
   ============================================ */
.site-footer { padding: 64px 0 36px; border-top: 1px solid var(--border); }

.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
    margin-bottom: 48px;
}
.footer-brand img {
    width: 52px; margin-bottom: 16px;
    mix-blend-mode: screen; filter: drop-shadow(0 0 12px var(--gold-glow));
    opacity: 0.9;
}
.footer-brand p { font-size: 0.85rem; color: var(--gray); line-height: 1.75; max-width: 280px; }

.footer-col-title {
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--gold); margin-bottom: 18px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
    font-size: 0.85rem; color: var(--gray); text-decoration: none;
    transition: color 0.25s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
    padding-top: 28px; border-top: 1px solid var(--border);
    display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
}
.footer-bottom p { font-size: 0.82rem; color: var(--gray-dark); }
.footer-disclaimer { font-size: 0.72rem !important; max-width: 600px; line-height: 1.65; }

/* ============================================
   LICENSE CHECK POPUP (floating)
   ============================================ */
.lc-float {
    position: fixed; bottom: 28px; right: 28px; z-index: 90;
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(10, 17, 40, 0.9); border: 1px solid var(--border-gold);
    color: var(--gold); cursor: pointer; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 24px rgba(0,0,0,0.4), 0 0 16px rgba(212,175,55,0.15);
    transition: all 0.3s var(--ease); backdrop-filter: blur(12px);
}
.lc-float:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 28px rgba(212,175,55,0.3);
    border-color: var(--gold);
}

.lc-overlay {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(3, 6, 14, 0.75); backdrop-filter: blur(6px);
    display: flex; align-items: flex-end; justify-content: flex-end;
    padding: 0 28px 90px;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s var(--ease);
}
.lc-overlay.open {
    opacity: 1; pointer-events: all;
}

.lc-modal {
    width: 100%; max-width: 360px;
    background: var(--navy); border: 1px solid var(--border-gold);
    border-radius: var(--radius-xl); padding: 28px 28px 24px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 40px rgba(212,175,55,0.08);
    position: relative;
    transform: translateY(16px) scale(0.97);
    transition: transform 0.35s var(--ease-bounce);
}
.lc-overlay.open .lc-modal {
    transform: translateY(0) scale(1);
}

.lc-close {
    position: absolute; top: 14px; right: 14px;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px; color: var(--gray); cursor: pointer;
    width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
}
.lc-close:hover { color: var(--white); background: rgba(255,255,255,0.08); }

.lc-header {
    display: flex; align-items: center; gap: 14px; margin-bottom: 20px;
}
.lc-icon {
    width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
    background: rgba(212,175,55,0.08); border: 1px solid var(--border-gold);
    display: flex; align-items: center; justify-content: center; color: var(--gold);
}
.lc-header h3 {
    font-family: var(--font-display); font-size: 1rem; font-weight: 700;
    color: var(--white); margin-bottom: 2px;
}
.lc-header p { font-size: 0.78rem; color: var(--gray); }

.lc-input-row { display: flex; gap: 8px; margin-bottom: 14px; }
.lc-input-row input {
    flex: 1; padding: 11px 14px; font-family: var(--font-mono); font-size: 0.95rem;
    color: var(--white); background: var(--navy-input); border: 1px solid var(--border);
    border-radius: var(--radius); outline: none; transition: all 0.3s var(--ease);
    letter-spacing: 0.04em;
}
.lc-input-row input::placeholder { font-family: var(--font-body); font-size: 0.85rem; color: var(--gray-dark); letter-spacing: 0; }
.lc-input-row input:focus { border-color: var(--gold); box-shadow: 0 0 16px var(--gold-glow); }

.lc-btn {
    flex-shrink: 0; padding: 11px 18px; font-family: var(--font-body);
    font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
    border: none; border-radius: var(--radius); cursor: pointer;
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    color: var(--navy-deep); transition: all 0.3s var(--ease);
    display: flex; align-items: center; gap: 6px; min-width: 88px; justify-content: center;
}
.lc-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px var(--gold-glow); }
.lc-btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.lc-spinner {
    width: 16px; height: 16px; border: 2px solid rgba(6,11,24,0.25);
    border-top-color: var(--navy-deep); border-radius: 50%;
    animation: spin 0.6s linear infinite; display: none;
}

/* Result boxes */
.lc-result {
    border-radius: var(--radius); padding: 12px 14px;
    display: none; align-items: flex-start; gap: 12px;
    animation: resultFadeIn 0.35s var(--ease) forwards;
    margin-bottom: 4px;
}
.lc-result.show { display: flex; }

.lc-result-icon {
    width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.lc-result-body {
    display: flex; flex-direction: column; gap: 3px; min-width: 0;
}
.lc-result-body strong { font-size: 0.88rem; font-weight: 700; line-height: 1.2; }
.lc-result-body span { font-size: 0.78rem; color: var(--white-dim); line-height: 1.4; }

.lc-valid { background: var(--green-dim); border: 1px solid rgba(52,211,153,0.25); }
.lc-valid .lc-result-icon { background: rgba(52,211,153,0.12); color: var(--green); }
.lc-valid strong { color: var(--green); }

.lc-expired { background: var(--orange-dim); border: 1px solid rgba(251,191,36,0.25); }
.lc-expired .lc-result-icon { background: rgba(251,191,36,0.12); color: var(--orange); }
.lc-expired strong { color: var(--orange); }

.lc-invalid { background: var(--red-dim); border: 1px solid rgba(248,113,113,0.25); }
.lc-invalid .lc-result-icon { background: rgba(248,113,113,0.12); color: var(--red); }
.lc-invalid strong { color: var(--red); }

/* ============================================
   LICENSE CHECK PAGE
   ============================================ */
.license-page-wrapper {
    min-height: 100vh; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 120px 20px 60px; position: relative;
}

.license-card {
    max-width: 540px; width: 100%;
    background: var(--navy-card); border: 1px solid var(--border-gold);
    border-radius: var(--radius-xl); padding: 52px 44px;
    backdrop-filter: blur(16px);
    box-shadow: 0 24px 80px rgba(0,0,0,0.4), 0 0 60px rgba(212, 175, 55, 0.04);
}

.license-header { text-align: center; margin-bottom: 40px; }
.license-header img {
    width: 72px; margin: 0 auto 20px;
    mix-blend-mode: screen; filter: drop-shadow(0 0 20px var(--gold-glow));
}
.license-header h1 {
    font-family: var(--font-display); font-size: 1.65rem; font-weight: 700;
    color: var(--white); margin-bottom: 8px;
}
.license-header p { font-size: 0.9rem; color: var(--gray); line-height: 1.6; }

.license-form { display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }
.license-input-wrap { position: relative; }
.license-input-wrap input {
    width: 100%; padding: 18px 22px; padding-right: 52px;
    font-family: var(--font-mono); font-size: 1.05rem; color: var(--white);
    background: var(--navy-input); border: 1px solid var(--border);
    border-radius: var(--radius); outline: none;
    transition: all 0.4s var(--ease); letter-spacing: 0.05em;
}
.license-input-wrap input::placeholder { color: var(--gray-dark); font-family: var(--font-body); font-size: 0.9rem; letter-spacing: 0; }
.license-input-wrap input:focus {
    border-color: var(--gold); box-shadow: 0 0 24px var(--gold-glow);
    background: rgba(15, 23, 50, 0.95);
}
.license-input-icon {
    position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
    color: var(--gray-dark); pointer-events: none; transition: color 0.3s;
}
.license-input-wrap input:focus ~ .license-input-icon { color: var(--gold); }

.btn-check-license {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; padding: 18px 32px; font-family: var(--font-body);
    font-size: 0.95rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.06em; border-radius: var(--radius); border: none; cursor: pointer;
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    color: var(--navy-deep); box-shadow: 0 8px 32px var(--gold-glow);
    transition: all 0.4s var(--ease); position: relative; overflow: hidden;
}
.btn-check-license::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s var(--ease);
}
.btn-check-license:hover { transform: translateY(-2px); box-shadow: 0 12px 40px var(--gold-glow-strong); }
.btn-check-license:hover::before { left: 150%; }
.btn-check-license:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* License result states */
.license-result {
    border-radius: var(--radius-lg); padding: 28px 32px;
    display: none; flex-direction: column; gap: 16px;
    animation: resultFadeIn 0.5s var(--ease) forwards;
}
.license-result.show { display: flex; }

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

.license-result.result-valid {
    background: var(--green-dim); border: 1px solid rgba(52, 211, 153, 0.3);
}
.license-result.result-expired {
    background: var(--orange-dim); border: 1px solid rgba(251, 191, 36, 0.3);
}
.license-result.result-invalid {
    background: var(--red-dim); border: 1px solid rgba(248, 113, 113, 0.3);
}

.result-icon-row {
    display: flex; align-items: center; gap: 14px;
}
.result-icon {
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; font-size: 1.2rem;
}
.result-valid .result-icon { background: rgba(52, 211, 153, 0.15); }
.result-expired .result-icon { background: rgba(251, 191, 36, 0.15); }
.result-invalid .result-icon { background: rgba(248, 113, 113, 0.15); }

.result-title {
    font-family: var(--font-display); font-size: 1.15rem; font-weight: 700;
}
.result-valid .result-title { color: var(--green); }
.result-expired .result-title { color: var(--orange); }
.result-invalid .result-title { color: var(--red); }

.result-rows { display: flex; flex-direction: column; gap: 8px; }
.result-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.04);
    font-size: 0.88rem;
}
.result-row:last-child { border-bottom: none; }
.result-row-label { color: var(--gray); }
.result-row-val { color: var(--white); font-weight: 600; font-family: var(--font-mono); font-size: 0.84rem; }

.license-hint {
    text-align: center; font-size: 0.78rem; color: var(--gray-dark); line-height: 1.6;
    padding-top: 4px;
}
.license-hint a { color: var(--gold); }

/* Loading spinner */
.spinner {
    width: 20px; height: 20px; border: 2px solid rgba(6,11,24,0.3);
    border-top-color: var(--navy-deep); border-radius: 50%;
    animation: spin 0.7s linear infinite; display: none;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    .problem-grid, .solution-grid, .access-grid, .who-grid, .detail-grid { grid-template-columns: 1fr; }
    .trust-row { gap: 24px; }
    .trust-sep { width: 40px; height: 1px; }
    .sec { padding: 100px 0; }
    .cta-box { padding: 48px 28px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .nav-links { display: none; }
    .nav-links.open {
        display: flex; flex-direction: column; gap: 0;
        position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
        background: rgba(6, 11, 24, 0.97); backdrop-filter: blur(20px);
        padding: 32px 28px; z-index: 99;
    }
    .nav-links.open .nav-link {
        padding: 16px 0; font-size: 1rem; border-bottom: 1px solid var(--border);
        border-radius: 0;
    }
    .nav-links.open .nav-link-license {
        margin-top: 16px; border-radius: var(--radius); padding: 14px 20px;
        text-align: center;
    }
    .nav-burger { display: flex; }
    .nav-cta { display: none; }
    .nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-burger.open span:nth-child(2) { opacity: 0; }
    .nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 600px) {
    .hero-h1 { font-size: 2.2rem; }
    .hero-p { font-size: 1rem; }
    .btn-hero { padding: 16px 32px; font-size: 0.88rem; }
    .scarcity-bar { padding: 16px 20px; }
    .apply-container { padding: 36px 24px; }
    .step-item { gap: 18px; }
    .step-dot { width: 40px; height: 40px; font-size: 0.95rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .license-card { padding: 36px 24px; }
}

/* ============================================
   ALGO BROTHERS — BRAND REFINEMENTS
   ============================================ */

/* Wordmark on nav — tighten letter-spacing */
.nav-logo span {
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.98rem;
    font-weight: 800;
}
.nav-logo em {
    font-weight: 400;
    letter-spacing: 0.06em;
}

/* Hero logo a bit bigger and centered glow */
.hero-logo img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    filter: drop-shadow(0 0 50px rgba(212, 175, 55, 0.35));
}

/* Footer wordmark */
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    text-decoration: none;
}
.footer-logo img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 12px var(--gold-glow));
    margin-bottom: 0;
}
.footer-logo span {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.footer-logo em {
    color: var(--gold);
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0.06em;
}

/* ============================================
   ADMIN — LOGIN SCREEN BRAND
   ============================================ */
.admin-login-brand {
    text-align: center;
    margin-bottom: 36px;
}
.admin-login-brand img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    margin: 0 auto 14px;
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 24px var(--gold-glow-strong));
}
.admin-login-wordmark {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 18px;
}
.admin-login-wordmark em {
    color: var(--gold);
    font-style: normal;
    font-weight: 400;
}
.admin-login-brand h1 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 6px;
}
.admin-login-sub {
    color: var(--gray);
    font-size: 0.82rem;
    line-height: 1.5;
}

/* ============================================
   ADMIN — HEADER
   ============================================ */
.admin-header-brand {
    display: flex;
    align-items: center;
    gap: 18px;
}
.admin-header-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 14px var(--gold-glow));
}
.admin-header-wordmark {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: var(--white);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}
.admin-header-wordmark em {
    color: var(--gold);
    font-style: normal;
    font-weight: 400;
}
.admin-badge {
    display: inline-flex;
    padding: 2px 10px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid var(--border-gold);
    color: var(--gold);
    border-radius: 100px;
    text-transform: uppercase;
}
.admin-header h1 {
    font-family: var(--font-display);
    font-size: 1.45rem;
    color: var(--white);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.1;
}
.admin-header-user {
    display: flex;
    gap: 14px;
    align-items: center;
}
.admin-header-hello {
    color: var(--gray);
    font-size: 0.88rem;
}
.admin-header-hello strong {
    color: var(--white);
    font-weight: 600;
}
.admin-back {
    font-size: 0.78rem;
    color: var(--gray);
    text-decoration: none;
    transition: color 0.25s;
}
.admin-back:hover {
    color: var(--gold);
}

/* Admin stat polish */
.dash-stat {
    transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.dash-stat:hover {
    transform: translateY(-3px);
    border-color: var(--border-gold);
    box-shadow: 0 10px 32px rgba(0,0,0,0.3);
}

/* Admin table polish — sticky first column readability */
.admin-table th {
    position: sticky;
    top: 0;
    z-index: 1;
}
.admin-table td, .admin-table th {
    vertical-align: middle;
}

/* Admin form inputs — unified look */
.admin-wrapper input[type="number"],
.admin-wrapper input[type="text"],
.admin-wrapper input[type="password"] {
    font-family: var(--font-body);
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.admin-wrapper input[type="number"]:focus,
.admin-wrapper input[type="text"]:focus,
.admin-wrapper input[type="password"]:focus {
    border-color: var(--gold) !important;
    box-shadow: 0 0 16px var(--gold-glow);
    background: rgba(15, 23, 50, 0.95) !important;
}

/* Tab bar focus */
.tab-btn:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* Responsive admin header */
@media (max-width: 640px) {
    .admin-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .admin-header-user {
        width: 100%;
        justify-content: space-between;
    }
    .admin-header h1 {
        font-size: 1.2rem;
    }
    .admin-header-logo {
        width: 40px;
        height: 40px;
    }
}

/* Auto-fill fix for dark forms */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--white);
    -webkit-box-shadow: 0 0 0 1000px var(--navy-input) inset;
    caret-color: var(--white);
    transition: background-color 5000s ease-in-out 0s;
}

/* Skip link for keyboard users */
.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    background: var(--gold);
    color: var(--navy-deep);
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    z-index: 1000;
    transition: top 0.25s var(--ease);
}
.skip-link:focus {
    top: 20px;
    color: var(--navy-deep);
}