/* Base */
*, *::before, *::after {
    box-sizing: border-box;
}

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

body {
    overflow-x: hidden;
}

/* Hero Gradient */
.hero-gradient {
    background: linear-gradient(135deg, #0A1628 0%, #132F4A 30%, #0D3B3E 60%, #112E2E 100%);
}

.hero-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.08) 1px, transparent 0);
    background-size: 40px 40px;
}

/* Scroll Indicator */
.scroll-indicator {
    animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* Navbar */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(10, 22, 40, 0.06);
}

.nav-scrolled .nav-link {
    color: #193466;
}

.nav-scrolled .nav-link:hover {
    color: #14B8A6;
}

.nav-scrolled #hero a {
    color: #0A1628;
}

/* Mobile Menu */
.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-link {
    transition: opacity 0.3s ease;
}

.mobile-link:hover {
    opacity: 0.7;
}

/* Section Label */
.section-label {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 400;
}

/* Reveal Animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }

.reveal-hidden {
    opacity: 0;
    transform: translateY(24px);
}

/* Room Cards */
.room-card {
    border: 1px solid rgba(10, 22, 40, 0.06);
    background: white;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.room-card:hover {
    box-shadow: 0 20px 60px rgba(10, 22, 40, 0.08);
    transform: translateY(-4px);
}

/* Input Fields */
.input-field {
    border: none;
    border-bottom: 1px solid rgba(10, 22, 40, 0.15);
    padding: 12px 0;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #0A1628;
    background: transparent;
    outline: none;
    transition: border-color 0.3s ease;
    width: 100%;
}

.input-field::placeholder {
    color: #a0aec0;
    font-weight: 300;
}

.input-field:focus {
    border-bottom-color: #14B8A6;
}

/* Buttons */
.btn-primary {
    background: #0A1628;
    color: white;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 16px 32px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background: #14B8A6;
}

.btn-primary:active {
    transform: scale(0.98);
}

/* Selection */
::selection {
    background: rgba(20, 184, 166, 0.2);
    color: #0A1628;
}

/* Focus visible */
:focus-visible {
    outline: 2px solid #14B8A6;
    outline-offset: 2px;
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero-gradient {
        background: linear-gradient(160deg, #0A1628 0%, #0D3B3E 50%, #112E2E 100%);
    }
}
