:root {
    --midnight: #0f172a;
    --midnight-light: #1e293b;
    --mint-50: #f0fdfa;
    --mint-100: #ccfbf1;
    --mint-200: #99f6e4;
    --mint-300: #5eead4;
    --mint-400: #2dd4bf;
    --mint-500: #14b8a6;
    --mint-600: #0d9488;
    --mint-700: #0f766e;
    --mint-800: #115e59;
    --mint-900: #134e4a;
}

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

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

body {
    font-family: 'DM Sans', sans-serif;
    color: #1e293b;
    background-color: #f8fafc;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

.font-dm {
    font-family: 'DM Sans', sans-serif;
}

/* Tailwind custom colors */
.bg-midnight { background-color: var(--midnight); }
.bg-midnight\/90 { background-color: rgba(15, 23, 42, 0.9); }
.text-midnight { color: var(--midnight); }
.shadow-midnight { box-shadow: 0 20px 40px -12px rgba(15, 23, 42, 0.25); }
.shadow-midnight\/20 { box-shadow: 0 20px 40px -12px rgba(15, 23, 42, 0.2); }
.shadow-midnight\/30 { box-shadow: 0 20px 40px -12px rgba(15, 23, 42, 0.3); }

.bg-mint-50 { background-color: var(--mint-50); }
.bg-mint-100 { background-color: var(--mint-100); }
.bg-mint-200 { background-color: var(--mint-200); }
.bg-mint-300 { background-color: var(--mint-300); }
.bg-mint-400 { background-color: var(--mint-400); }
.bg-mint-500 { background-color: var(--mint-500); }
.bg-mint-500\/20 { background-color: rgba(20, 184, 166, 0.2); }
.text-mint-300 { color: var(--mint-300); }
.text-mint-600 { color: var(--mint-600); }
.text-mint-700 { color: var(--mint-700); }
.text-mint-800 { color: var(--mint-800); }
.border-mint-200 { border-color: var(--mint-200); }
.focus\:ring-mint-400:focus { --tw-ring-color: var(--mint-400); }
.hover\:border-mint-400:hover { border-color: var(--mint-400); }
.hover\:text-mint-700:hover { color: var(--mint-700); }
.hover\:text-mint-300:hover { color: var(--mint-300); }

/* Header */
#main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

#main-header.scrolled {
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #f0fdfa 50%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Service Cards */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

/* FAQ */
.faq-btn {
    cursor: pointer;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-content.open {
    max-height: 300px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

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

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

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

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

/* Loader */
#loader {
    animation: fadeOut 0.5s ease forwards;
    animation-delay: 0.8s;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        pointer-events: none;
    }
}

/* 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;
    }
    .scroll-reveal {
        opacity: 1;
        transform: none;
    }
}

/* Focus styles */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--mint-400);
    outline-offset: 2px;
    border-radius: 4px;
}
