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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navbar */
.nav {
    background: rgba(250, 246, 238, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(13, 27, 42, 0.06);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
    background: rgba(250, 246, 238, 0.95);
    box-shadow: 0 1px 20px rgba(13, 27, 42, 0.08);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #0d1b2a 0%, #1a3a5c 40%, #2d4a6f 70%, #1a2d42 100%);
}

.hero-gradient {
    background: radial-gradient(ellipse at 30% 20%, rgba(212, 168, 67, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(26, 45, 66, 0.5) 0%, transparent 50%);
}

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

.hero-orb {
    background: radial-gradient(circle, rgba(212, 168, 67, 0.4), transparent);
}

/* Buttons */
.btn-gold {
    background: linear-gradient(135deg, #e6c050 0%, #d4a843 50%, #b8922e 100%);
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #f0d078 0%, #e6c050 50%, #d4a843 100%);
}

/* Cards */
.card-light {
    box-shadow: 0 4px 40px rgba(13, 27, 42, 0.06), 0 1px 3px rgba(13, 27, 42, 0.04);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card-light:hover {
    box-shadow: 0 8px 60px rgba(13, 27, 42, 0.1), 0 2px 6px rgba(13, 27, 42, 0.06);
    transform: translateY(-2px);
}

.card-dark {
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card-dark:hover {
    box-shadow: 0 8px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

/* Contact inputs */
.input-contact option {
    background: #0d1b2a;
    color: #fff;
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal.visible:nth-child(2) { transition-delay: 0.1s; }
.reveal.visible:nth-child(3) { transition-delay: 0.2s; }

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

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

/* Mobile menu */
.mobile-link {
    transition: color 0.2s ease;
}

.mobile-link:hover {
    color: #d4a843;
}

/* Section spacing */
.section {
    position: relative;
}

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

.hero-content > * {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.25s; }
.hero-content > *:nth-child(3) { animation-delay: 0.4s; }
.hero-content > *:nth-child(4) { animation-delay: 0.55s; }

/* Mobile menu animation */
#mobileMenu {
    animation: slideDown 0.3s ease;
}

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

/* Smooth focus styles */
input:focus, select:focus, textarea:focus, button:focus {
    outline: none;
}

/* Selection color */
::selection {
    background: rgba(212, 168, 67, 0.3);
    color: #0d1b2a;
}
