:root {
    --bg: #050a05;
    --text: #ffffff;
}

.light {
    --bg: #f5f9f0;
    --text: #050a05;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Space Grotesk', sans-serif;
    transition: background-color 0.5s ease, color 0.5s ease;
    overflow-x: hidden;
}

::-webkit-scrollbar { display: none; }
html { scrollbar-width: none; -ms-overflow-style: none; }

/* NAV */
.glass-nav {
    backdrop-filter: blur(15px);
    background: rgba(5, 10, 5, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.light .glass-nav {
    background: rgba(245, 249, 240, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* GRADIENT TEXT */
.gradient-text {
    background: linear-gradient(135deg, #22c55e, #a3e635);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.light .gradient-text {
    background: linear-gradient(135deg, #059669, #16a34a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* HERO */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dark .hero-bg { opacity: 0.2; }
.light .hero-bg { opacity: 0.15; }

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.dark .hero-overlay {
    background: linear-gradient(135deg, rgba(5, 10, 5, 0.7) 0%, rgba(5, 10, 5, 0.3) 100%);
}

.light .hero-overlay {
    background: linear-gradient(135deg, rgba(245, 249, 240, 0.6) 0%, rgba(245, 249, 240, 0.2) 100%);
}

/* CATEGORY CARDS */
.category-card {
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(128, 128, 128, 0.1);
}

.dark .category-card { background: rgba(255, 255, 255, 0.03); }
.light .category-card { background: #ffffff; }

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(34, 197, 94, 0.1);
}

.category-card-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.category-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%);
    transition: filter 0.5s ease, transform 0.5s ease;
}

.category-card:hover .category-card-img img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.category-card-body {
    padding: 24px;
}

/* TAGS */
.tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
}

.tag-green { background: rgba(34, 197, 94, 0.1); color: #22c55e; }
.tag-lime { background: rgba(163, 230, 53, 0.1); color: #a3e635; }
.tag-emerald { background: rgba(5, 150, 105, 0.1); color: #059669; }

/* SERVICE PILLS */
.service-pill {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(128, 128, 128, 0.1);
    transition: all 0.3s ease;
}

.dark .service-pill { background: rgba(255, 255, 255, 0.02); }
.light .service-pill { background: rgba(255, 255, 255, 0.7); }

.service-pill:hover {
    border-color: rgba(34, 197, 94, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.08);
}

/* TRUST CARDS */
.trust-card {
    padding: 32px 24px;
    border-radius: 18px;
    text-align: center;
    border: 1px solid rgba(128, 128, 128, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dark .trust-card { background: rgba(255, 255, 255, 0.03); }
.light .trust-card { background: #ffffff; }

.trust-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.1);
}

.trust-icon {
    width: 56px;
    height: 56px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #22c55e;
    margin: 0 auto 1rem;
}

/* FAQ */
.faq-item { border-bottom: 1px solid rgba(128, 128, 128, 0.15); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    padding: 0;
}

.faq-answer.open { max-height: 300px; padding: 0 0 1.5rem 0; }

.faq-chevron { transition: transform 0.4s ease; }
.faq-item.active .faq-chevron { transform: rotate(180deg); }

/* CONTACT */
.contact-card {
    padding: 2rem;
    border-radius: 18px;
    border: 1px solid rgba(128, 128, 128, 0.1);
    position: relative;
    overflow: hidden;
}

.dark .contact-card { background: rgba(255, 255, 255, 0.03); }
.light .contact-card { background: #ffffff; }

@media (min-width: 768px) {
    .contact-card { padding: 3rem; }
}

.contact-input {
    background: transparent;
    border: 1px solid rgba(128, 128, 128, 0.2);
    color: inherit;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    width: 100%;
    outline: none;
    transition: border-color 0.3s ease;
    font-family: 'Space Grotesk', sans-serif;
}

.contact-input:focus { border-color: #22c55e; }
.contact-input::placeholder { color: rgba(128, 128, 128, 0.5); }

/* SCROLL REVEAL */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* MOBILE MENU */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    backdrop-filter: blur(20px);
    background: rgba(5, 10, 5, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.light .mobile-menu-overlay {
    background: rgba(245, 249, 240, 0.95);
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-overlay a {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    padding: 12px 0;
    opacity: 0.7;
    transition: opacity 0.3s ease, color 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.mobile-menu-overlay a:hover { opacity: 1; color: #22c55e; }

.mobile-menu-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: inherit;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.light .mobile-menu-close {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* NAV DROPDOWN */
.nav-dropdown { position: relative; }

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    padding: 12px 0;
    border-radius: 16px;
    backdrop-filter: blur(20px);
    background: rgba(5, 10, 5, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    transform: translateX(-50%) translateY(-6px);
    z-index: 500;
    display: flex;
    flex-direction: column;
}

.light .nav-dropdown-menu {
    background: rgba(245, 249, 240, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-menu:hover {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
}

.nav-dropdown-menu a {
    padding: 8px 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: none;
    opacity: 0.7;
    transition: opacity 0.2s, color 0.2s, background 0.2s;
    white-space: nowrap;
    text-decoration: none;
    color: inherit;
}

.nav-dropdown-menu a:hover {
    opacity: 1;
    color: #22c55e;
    background: rgba(34, 197, 94, 0.08);
}

/* NAV ANIMATION */
#main-nav {
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        background 0.4s ease,
        border-color 0.4s ease;
}

#main-nav.nav-hidden {
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
}

/* BRAND TYPEWRITER */
#brand-typewriter {
    display: inline-block;
    border-right: 2px solid #22c55e;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { border-color: transparent; }
}

/* HERO VIDEO */
.hero-video-frame {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid rgba(34, 197, 94, 0.2);
    box-shadow: 0 20px 60px rgba(34, 197, 94, 0.1);
}

.light .hero-video-frame {
    border-color: rgba(5, 150, 105, 0.2);
    box-shadow: 0 20px 60px rgba(5, 150, 105, 0.08);
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
