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

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

body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #050A18;
    color: #ffffff;
    overflow-x: hidden;
}

/* ===== Decorative Background Shapes ===== */
.deco-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.deco-circle.deco-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(13, 196, 136, 0.06) 0%, transparent 70%);
    top: -200px;
    right: -200px;
}

.deco-circle.deco-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(13, 196, 136, 0.04) 0%, transparent 70%);
    bottom: 10%;
    left: -100px;
}

.deco-triangle.deco-3 {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-bottom: 208px solid rgba(13, 196, 136, 0.04);
    top: 40%;
    right: 5%;
    transform: rotate(15deg);
    pointer-events: none;
}

.deco-square.deco-4 {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(13, 196, 136, 0.05);
    border-radius: 20px;
    top: 60%;
    left: 8%;
    transform: rotate(45deg);
    pointer-events: none;
}

.deco-circle.deco-5 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(13, 196, 136, 0.05) 0%, transparent 70%);
    bottom: 20%;
    right: 15%;
}

/* ===== Navbar ===== */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #0DC488;
    transition: all 0.2s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 60%;
}

.navbar.scrolled {
    background: rgba(5, 10, 24, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ===== Service Cards ===== */
.service-card {
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(13, 196, 136, 0) 0%, rgba(13, 196, 136, 0) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: background 0.4s ease;
}

/* ===== Coverage Cards ===== */
.coverage-card {
    position: relative;
}

/* ===== FAQ Items ===== */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

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

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

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

/* Default state: visible (no JS progressive enhancement) */
.reveal {
    opacity: 1;
    transform: translateY(0);
}

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

/* ===== Mobile Menu ===== */
.mobile-link {
    display: block;
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 500;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mobile-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.mobile-cta {
    display: block;
    text-align: center;
    padding: 0.75rem 1rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* ===== Selection ===== */
::selection {
    background: rgba(13, 196, 136, 0.3);
    color: #ffffff;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #050A18;
}

::-webkit-scrollbar-thumb {
    background: rgba(13, 196, 136, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(13, 196, 136, 0.5);
}

/* ===== Focus Visible ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #0DC488;
    outline-offset: 2px;
}

/* ===== Responsive Tweaks ===== */
@media (max-width: 640px) {
    .deco-circle.deco-1,
    .deco-circle.deco-2,
    .deco-circle.deco-5 {
        display: none;
    }
    
    .deco-triangle.deco-3,
    .deco-square.deco-4 {
        display: none;
    }
}
