/* ═══════════════════════════════════════════════════
   ReazonBi Academy — Design System
   Dark Blue + Gold 14K | Academic | High-Tech | AI+BI
   ═══════════════════════════════════════════════════ */

/* ─── CSS Variables ─── */
:root {
    /* Core Colors — Deep Navy + Real Gold */
    --navy-darkest: #050A18;
    --navy-dark: #0B1426;
    --navy-mid: #111D35;
    --navy-light: #1A2844;
    --navy-lighter: #243455;

    /* Gold 14K — Real gold, not yellow */
    --gold: #C5A55A;
    --gold-light: #D4BA7A;
    --gold-dark: #A68B3E;
    --gold-glow: rgba(197, 165, 90, 0.3);
    --gold-subtle: rgba(197, 165, 90, 0.1);

    /* Text */
    --text-primary: #F0EDE6;
    --text-secondary: #9BA4B8;
    --text-muted: #6B7488;

    /* Accents */
    --accent-blue: #3B82F6;
    --accent-green: #22C55E;
    --accent-red: #EF4444;

    /* Surfaces */
    --surface-card: rgba(17, 29, 53, 0.7);
    --surface-card-hover: rgba(26, 40, 68, 0.8);
    --surface-glass: rgba(11, 20, 38, 0.85);
    --border-subtle: rgba(197, 165, 90, 0.15);
    --border-active: rgba(197, 165, 90, 0.4);

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Typography */
    --font-primary: 'Heebo', 'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;
    --font-mono: 'Fira Code', 'Courier New', monospace;

    /* Borders & Shadows */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
    --shadow-gold: 0 4px 20px rgba(197, 165, 90, 0.2);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* RTL Support */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="ltr"] {
    direction: ltr;
    text-align: left;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

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

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

.hidden {
    display: none !important;
}

/* ═══════════════ HEADER ═══════════════ */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--surface-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition-normal);
}

.main-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
}

/* Logo — Double Border Monogram */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-monogram {
    width: 34px;
    height: 34px;
    border: 1.5px solid var(--gold);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gold);
    background: transparent;
    position: relative;
}

.logo-monogram::after {
    content: '';
    position: absolute;
    inset: 3px;
    border: 1px solid var(--gold-dark);
    border-radius: 4px;
    opacity: 0.5;
}

.logo-monogram.small {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.logo-sub {
    font-size: 0.55rem;
    font-weight: 500;
    letter-spacing: 3px;
    color: var(--gold);
    text-transform: uppercase;
    opacity: 0.85;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.nav-link {
    padding: var(--space-sm) var(--space-md);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    text-decoration: none;
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--gold-subtle);
}

.nav-link.active {
    color: var(--gold);
    background: var(--gold-subtle);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    background: var(--navy-mid);
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

.lang-btn {
    padding: 4px 8px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    letter-spacing: 0.5px;
}

.lang-btn:hover {
    color: var(--text-primary);
    background: var(--navy-light);
}

.lang-btn.active {
    color: var(--navy-darkest);
    background: var(--gold);
}

/* Buttons — Refined & Elegant */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border: none;
    border-radius: 4px;
    font-family: var(--font-primary);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-normal);
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.btn-gold {
    background: var(--gold-dark);
    color: var(--navy-darkest);
    border: 1px solid var(--gold);
}

.btn-gold:hover {
    background: var(--gold);
    transform: translateY(-1px);
    box-shadow: 0 2px 12px rgba(197, 165, 90, 0.2);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
}

.btn-ghost:hover {
    color: var(--gold);
    border-color: rgba(197, 165, 90, 0.3);
    background: var(--gold-subtle);
}

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

.btn-outline:hover {
    background: var(--gold-subtle);
}

.btn-google {
    background: var(--navy-mid);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    width: 100%;
    justify-content: center;
    padding: 10px;
    font-size: 0.85rem;
}

.btn-google:hover {
    background: var(--navy-light);
    border-color: var(--text-muted);
}

.btn-lg {
    padding: 10px 24px;
    font-size: 0.88rem;
    border-radius: 5px;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.78rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Mobile Menu */
.nav-auth-mobile {
    display: none;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* ═══════════════ HERO ═══════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px var(--space-xl) var(--space-3xl);
    overflow: hidden;
}

.hero-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(197, 165, 90, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(197, 165, 90, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
    filter: blur(80px);
    opacity: 0.4;
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 800px;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: transparent;
    border: 1px solid rgba(197, 165, 90, 0.25);
    border-radius: 50px;
    font-size: 0.7rem;
    color: var(--gold);
    margin-bottom: var(--space-lg);
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hero-badge i {
    font-size: 0.65rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--space-md);
}

.hero-title-line {
    display: block;
}

.hero-title-gold {
    color: var(--gold);
    position: relative;
}

.hero-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
    max-width: 560px;
    margin-inline: auto;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-3xl);
    position: relative;
    z-index: 11;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gold);
}

.hero-stat-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* Terminal Animation */
.hero-terminal {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: min(500px, 90vw);
    background: var(--navy-mid);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    z-index: 5;
    direction: ltr;
    text-align: left;
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: 10px 16px;
    background: var(--navy-dark);
    border-bottom: 1px solid var(--border-subtle);
}

.terminal-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28ca42; }

.terminal-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.terminal-body {
    padding: 16px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    min-height: 60px;
}

.terminal-line {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
}

.terminal-prompt {
    color: var(--accent-green);
    font-weight: 700;
}

.terminal-text {
    color: var(--text-primary);
}

.terminal-cursor {
    color: var(--gold);
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* ═══════════════ SEARCH SECTION ═══════════════ */
.search-section {
    padding: var(--space-3xl) 0;
    margin-top: -40px;
    position: relative;
    z-index: 3;
}

.search-box {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.search-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.1rem;
    z-index: 1;
}

[dir="rtl"] .search-icon { right: 20px; }
[dir="ltr"] .search-icon { left: 20px; }

.search-input {
    width: 100%;
    padding: 18px 24px;
    font-family: var(--font-primary);
    font-size: 1.05rem;
    background: var(--navy-mid);
    border: 2px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    color: var(--text-primary);
    outline: none;
    transition: var(--transition-normal);
}

[dir="rtl"] .search-input { padding-right: 52px; }
[dir="ltr"] .search-input { padding-left: 52px; }

.search-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px var(--gold-subtle);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-tags {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.search-tag {
    padding: 6px 14px;
    background: var(--navy-mid);
    border: 1px solid var(--border-subtle);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: var(--font-mono);
}

.search-tag:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: var(--gold-subtle);
}

/* ═══════════════ FEATURES GRID ═══════════════ */
.features {
    padding: var(--space-3xl) 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    text-align: center;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
    font-weight: 600;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: var(--space-2xl);
    font-weight: 300;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
}

.feature-card {
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: var(--space-lg) var(--space-xl);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-dark));
    opacity: 0;
    transition: var(--transition-normal);
}

.feature-card:hover {
    background: var(--surface-card-hover);
    border-color: var(--border-active);
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
}

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

.feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(197, 165, 90, 0.2);
    border-radius: 6px;
    margin-bottom: var(--space-md);
    font-size: 1rem;
    color: var(--gold);
}

.feature-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.6;
    font-weight: 300;
}

/* ═══════════════ HOW IT WORKS ═══════════════ */
.how-it-works {
    padding: var(--space-3xl) 0;
    background: linear-gradient(180deg, transparent, var(--navy-dark), transparent);
}

.steps-timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.steps-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--gold), var(--gold-dark), transparent);
}

[dir="rtl"] .steps-timeline::before { right: 28px; }
[dir="ltr"] .steps-timeline::before { left: 28px; }

.step-card {
    display: flex;
    gap: var(--space-xl);
    padding: var(--space-lg) 0;
    position: relative;
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-darkest);
    border: 1px solid var(--gold);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold);
    z-index: 1;
}

.step-content h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 2px;
}

.step-content p {
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 300;
}

/* ═══════════════ ROOMS ═══════════════ */
.rooms-section {
    padding: var(--space-3xl) 0;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--space-xl);
}

.room-card {
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    text-align: center;
    transition: var(--transition-normal);
}

.room-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
    border-color: var(--border-active);
}

.room-icon {
    font-size: 1.6rem;
    color: var(--gold);
    margin-bottom: var(--space-md);
}

.room-card h3 {
    font-size: 0.95rem;
    margin-bottom: 4px;
    font-weight: 600;
}

.room-card p {
    color: var(--text-muted);
    margin-bottom: var(--space-md);
    font-size: 0.82rem;
    font-weight: 300;
}

.room-capacity {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 6px 16px;
    background: var(--gold-subtle);
    border: 1px solid var(--border-subtle);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--gold);
}

/* ═══════════════ DAILY PROMPT ═══════════════ */
.daily-prompt {
    padding: var(--space-3xl) 0;
}

.prompt-card-daily {
    background: var(--surface-card);
    border: 1px solid var(--border-active);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    max-width: 700px;
    margin: 0 auto;
}

.prompt-daily-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.prompt-daily-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 4px 14px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--navy-darkest);
}

.prompt-daily-date {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.prompt-daily-title {
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.prompt-daily-content {
    background: var(--navy-darkest);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
    direction: ltr;
    text-align: left;
}

.prompt-daily-content code {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--accent-green);
    line-height: 1.6;
}

.prompt-daily-actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

/* ═══════════════ CTA SECTION ═══════════════ */
.cta-section {
    padding: var(--space-3xl) 0;
    text-align: center;
    background: linear-gradient(180deg, transparent, var(--navy-dark));
}

.cta-section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    margin-bottom: var(--space-sm);
    font-weight: 600;
}

.cta-section p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: var(--space-lg);
    font-weight: 300;
}

/* ═══════════════ FOOTER ═══════════════ */
.main-footer {
    padding: var(--space-3xl) 0 var(--space-xl);
    border-top: 1px solid var(--border-subtle);
    background: var(--navy-darkest);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: var(--space-md);
    line-height: 1.6;
}

.footer-links h4 {
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    letter-spacing: 0.5px;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding: 4px 0;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-subtle);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ═══════════════ AUTH MODAL ═══════════════ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 10, 24, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: var(--space-xl);
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--navy-mid);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    width: 100%;
    max-width: 420px;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.modal-close {
    position: absolute;
    top: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--text-primary);
}

[dir="rtl"] .modal-close { left: 16px; }
[dir="ltr"] .modal-close { right: 16px; }

.auth-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.auth-header h2 {
    font-size: 1.4rem;
    margin-top: var(--space-md);
    margin-bottom: var(--space-xs);
}

.auth-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin: var(--space-lg) 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-subtle);
}

.form-group {
    margin-bottom: var(--space-md);
}

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

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--navy-dark);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
}

.form-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-subtle);
}

.auth-switch {
    text-align: center;
    margin-top: var(--space-lg);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.auth-switch a {
    font-weight: 600;
}

/* ═══════════════ RESPONSIVE ═══════════════ */

/* Tablet */
@media (max-width: 768px) {
    .header-container {
        padding: 0 var(--space-md);
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--surface-glass);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: var(--space-md);
        border-bottom: 1px solid var(--border-subtle);
    }

    .main-nav.open {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .header-actions .btn-ghost,
    .header-actions .btn-gold {
        display: none;
    }

    .nav-auth-mobile {
        display: flex;
        flex-direction: column;
        border-top: 1px solid var(--border-subtle);
        margin-top: var(--space-sm);
        padding-top: var(--space-sm);
    }

    .nav-register-mobile {
        color: var(--gold) !important;
        font-weight: 600 !important;
    }

    .hero {
        min-height: auto;
        padding: 100px var(--space-md) 200px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-desc {
        font-size: 1rem;
    }

    .hero-stats {
        gap: var(--space-lg);
    }

    .hero-terminal {
        width: 95vw;
        bottom: 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }

    .rooms-grid {
        grid-template-columns: 1fr;
    }

    .lang-switcher {
        order: -1;
    }
}

/* Mobile */
@media (max-width: 375px) {
    html {
        font-size: 14px;
    }

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

    .hero-actions .btn {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-stat-num {
        font-size: 1.5rem;
    }
}

/* ═══════════════ ANIMATIONS ═══════════════ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.step-card,
.room-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

.step-card:nth-child(1) { animation-delay: 0.1s; }
.step-card:nth-child(2) { animation-delay: 0.2s; }
.step-card:nth-child(3) { animation-delay: 0.3s; }
.step-card:nth-child(4) { animation-delay: 0.4s; }
.step-card:nth-child(5) { animation-delay: 0.5s; }

/* ═══════════════ SCROLLBAR ═══════════════ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--navy-darkest);
}

::-webkit-scrollbar-thumb {
    background: var(--navy-lighter);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark);
}

/* ═══════════════ SELECTION ═══════════════ */
::selection {
    background: var(--gold);
    color: var(--navy-darkest);
}
