/* Design System & Variables */
:root {
    --primary: #7AB800;
    /* Darker Lime for visible text on white */
    --primary-hover: #8ECC02;
    --secondary: #008B8B;
    /* Deep Lagoon Teal */
    --dark: #FFFFFF;
    /* Main Background now White */
    --dark-surface: #F8F9FA;
    /* Section Background Light Gray */
    --light: #1A1A1A;
    /* Text Color now Dark */
    --text-muted: #555555;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --glass-bg: rgba(255, 255, 255, 0.85);
    /* White Frost */
    --glass-border: rgba(0, 0, 0, 0.08);
    --blur: 12px;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

    --container-width: 1200px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: inherit;
    /* Allow color adaptation */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

/* Typography Utilities */
.text-gradient {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    /* Adjusted for light mode */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.heading-xl {
    font-size: clamp(3rem, 5vw, 5rem);
    letter-spacing: -0.02em;
    margin-bottom: var(--spacing-sm);
}

.heading-lg {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: var(--spacing-md);
}

.heading-md {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xl) 0;
}

.grid {
    display: grid;
    gap: var(--spacing-md);
}

.flex {
    display: flex;
    gap: var(--spacing-md);
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

/* Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    /* White text on darker lime */
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(122, 184, 0, 0.3);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--light);
}

.btn-outline:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: var(--dark);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: var(--spacing-md);
    transition: var(--transition);
    box-shadow: var(--card-shadow);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--spacing-md) 0;
    transition: var(--transition);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
    color: var(--light);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--spacing-sm) 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.8;
}

.nav-link:hover {
    opacity: 1;
    color: var(--primary);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: #fff;
    /* Keep Hero text white */
}

.hero h1,
.hero p,
.hero h2 {
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero .btn-outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.hero .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
    /* Slightly brighter for light theme spirit */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

/* Force bright gradient in Hero because background is dark image */
.hero .text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #BFF102 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    /* Adds shadow to gradient text */
}

.badge {
    background: rgba(255, 255, 255, 0.9);
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: var(--text-muted);
    border: none;
    white-space: nowrap;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hidden-mobile {
    display: flex;
}

@media (max-width: 768px) {
    .hidden-mobile {
        display: none;
    }
}

/* Section Specifics */
.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.service-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card .icon-box {
    width: 60px;
    height: 60px;
    background: rgba(122, 184, 0, 0.1);
    /* Primary low-opacity */
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-card .price {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(122, 184, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    color: var(--primary);
}

/* Footer */
.footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    /* Light border */
    padding: var(--spacing-xl) 0 var(--spacing-md);
    margin-top: var(--spacing-xl);
    background-color: var(--dark-surface);
    /* Light Gray BG for footer */
    color: var(--light);
}

.footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    margin-bottom: var(--spacing-xl);
}

.footer h4 {
    margin-bottom: var(--spacing-md);
    color: var(--light);
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .heading-xl {
        font-size: 3rem;
    }

    .heading-lg {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    /* Mobile Menu implementation needed later */

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
}