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

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

body {
    overflow-x: hidden;
}

/* Navbar */
.nav {
    background: rgba(3, 9, 20, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav.scrolled {
    background: rgba(3, 9, 20, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile menu */
.nav-mobile {
    animation: slideDown 0.3s ease;
}

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

.menu-line {
    display: block;
}

.menu-open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-open .menu-line:nth-child(2) {
    opacity: 0;
}

.menu-open .menu-line:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #030914 0%, #0a1f44 50%, #060f21 100%);
    position: relative;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 168, 67, 0.08) 0%, transparent 70%);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 168, 67, 0.06) 0%, transparent 70%);
    bottom: 10%;
    left: 5%;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: rgba(212, 168, 67, 0.04);
    border: 1px solid rgba(212, 168, 67, 0.1);
    top: 20%;
    left: 40%;
    transform: rotate(45deg);
    border-radius: 20px;
}

.shape-4 {
    width: 120px;
    height: 120px;
    background: rgba(212, 168, 67, 0.06);
    border: 1px solid rgba(212, 168, 67, 0.15);
    top: 60%;
    right: 15%;
    border-radius: 24px;
    transform: rotate(30deg);
}

.shape-5 {
    width: 80px;
    height: 80px;
    background: rgba(212, 168, 67, 0.1);
    top: 35%;
    right: 35%;
    border-radius: 16px;
    transform: rotate(60deg);
}

/* Service cards */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #d4a843, #f0d078);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* Scroll reveal (below fold only) */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: none;
    }
}

/* Select styling */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23d4a843' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3cpolyline points='6 9 12 15 18 9'%3E%3c/polyline%3E%3c/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

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

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