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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
}

/* Hero gradient */
.hero-gradient {
    background: radial-gradient(ellipse 80% 60% at 50% 40%, 
        rgba(13, 148, 133, 0.35) 0%, 
        rgba(6, 78, 59, 0.25) 30%, 
        rgba(15, 23, 42, 0.9) 60%,
        rgba(2, 6, 23, 1) 100%);
}

.hero-pattern {
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(20, 184, 166, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(212, 168, 67, 0.04) 0%, transparent 40%);
}

/* CTA gradient */
.cta-gradient {
    background: linear-gradient(135deg, 
        rgba(13, 148, 133, 0.6) 0%, 
        rgba(6, 78, 59, 0.7) 50%, 
        rgba(15, 23, 42, 0.9) 100%);
}

/* Scroll reveal (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll state */
nav.scrolled {
    background: rgba(2, 6, 23, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Service card shimmer on hover */
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.04) 0%, transparent 60%);
    pointer-events: none;
}
.service-card {
    position: relative;
    overflow: hidden;
}
.service-card:hover::before {
    opacity: 1;
}

/* Gold accent line */
.gold-line {
    height: 2px;
    width: 60px;
    background: linear-gradient(90deg, #d4a843, #f0c060);
    border-radius: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #020617;
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #334155;
}

/* Selection */
::selection {
    background: rgba(16, 185, 129, 0.3);
    color: #f0fdf4;
}

/* Focus styles */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid #34d399;
    outline-offset: 2px;
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.25s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
