/* Global Variables & Theming */
:root {
    /* Colors - Weed Patrol Brand Alignment (Light & Airy) */
    --color-primary: #3ecf8e;
    /* Vibrant mint green - WeedPatrol primary */
    --color-primary-dark: #2d6a4f;
    /* Deep teal-green for headers/nav */
    --color-primary-light: #e8faf2;
    /* Very light mint background */
    --color-secondary: #1a4738;
    /* Darkest green for headings */
    --color-accent: #FF6B6B;
    /* Coral/salmon for mosquito accent */
    --color-accent-hover: #e85555;
    --color-cta: #ff8800;
    /* Orange for main CTAs */
    --color-cta-hover: #e07700;

    --color-bg: #ffffff;
    --color-bg-light: #f4f8fb;
    /* Light lavender-blue, like weedpatrol bg */
    --color-bg-mint: #e8faf2;
    /* Mint-tinted sections */
    --color-text: #2d3748;
    --color-text-light: #6b7a8d;
    --color-border: #dde8f0;

    /* Typography */
    --font-heading: 'Montserrat', 'Outfit', sans-serif;
    --font-body: 'Roboto', 'Inter', sans-serif;

    /* Shadows - lighter, airier */
    --shadow-sm: 0 1px 3px 0 rgba(45, 106, 79, 0.08);
    --shadow-md: 0 4px 12px -1px rgba(45, 106, 79, 0.12), 0 2px 6px -1px rgba(45, 106, 79, 0.06);
    --shadow-lg: 0 10px 20px -3px rgba(45, 106, 79, 0.1), 0 4px 8px -2px rgba(45, 106, 79, 0.05);
    --shadow-float: 0 20px 40px -5px rgba(45, 106, 79, 0.12), 0 10px 15px -5px rgba(45, 106, 79, 0.06);

    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-base: 0.3s ease-in-out;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-primary-dark);
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
}

.bg-light {
    background-color: var(--color-bg-light);
}

.bg-mint {
    background-color: var(--color-bg-mint);
}

.text-center {
    text-align: center;
}

.w-full {
    width: 100%;
}

.mt-4 {
    margin-top: 1rem;
}

/* Typography Utils */
.text-gradient {
    background: linear-gradient(to right, var(--color-primary), #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.large-text {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-family: var(--font-body);
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-cta);
    color: white;
    letter-spacing: 0.3px;
}

.btn-primary:hover {
    background-color: var(--color-cta-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary-dark);
    border-color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary-light);
    color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
}

.btn-block {
    width: 100%;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 136, 0, 0.4);
    }

    70% {
        transform: scale(1.02);
        box-shadow: 0 0 0 15px rgba(255, 136, 0, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 136, 0, 0);
    }
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--color-primary-light);
    color: var(--color-primary-dark);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border: 1px solid rgba(62, 207, 142, 0.3);
}

/* Top Bar */
.top-bar {
    background-color: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    padding: 0.5rem 0;
    border-bottom: 2px solid var(--color-primary);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-phone {
    color: white;
    font-weight: 700;
}

.top-bar-phone:hover {
    color: var(--color-primary);
}

/* Header & Nav */
.header {
    background-color: #ffffff;
    border-bottom: 1px solid #e8eef4;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow var(--transition-fast);
}

.header.scrolled {
    box-shadow: 0 2px 12px rgba(45, 106, 79, 0.12);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-safe {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-primary-dark);
    line-height: 1;
}

.logo-sub {
    font-size: 0.8rem;
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: none;
}

.nav-links a {
    color: var(--color-primary-dark);
    font-weight: 700;
    margin: 0 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links a:hover {
    color: var(--color-primary);
}

.client-login {
    color: var(--color-text-light) !important;
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background-color: var(--color-secondary);
    border-radius: 3px;
    transition: all 0.3s;
}

/* Mobile Nav Detail */
.mobile-nav {
    display: flex;
    flex-direction: column;
    background: white;
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    z-index: 99;
    transition: top var(--transition-base);
}

.mobile-nav.active {
    top: 110px;
    /* Below topbar + header */
}

.mobile-nav a.mobile-link {
    font-size: 1.125rem;
    font-weight: 600;
    padding: 1rem 0;
    color: var(--color-secondary);
    border-bottom: 1px solid var(--color-border);
}

.nav-cta {
    display: none;
}

@media (min-width: 992px) {
    .nav-links {
        display: flex;
        align-items: center;
    }

    .nav-cta {
        display: inline-flex;
    }

    .mobile-menu-btn {
        display: none;
    }

    .mobile-nav {
        display: none;
    }
}

/* Hero Section */
.hero {
    background-size: cover;
    background-position: center;
    padding: 6rem 0;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-title {
    font-size: 2.5rem;
    color: white;
    font-weight: 900;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 500px;
}

.hero-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-benefits span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.hero-benefits svg {
    color: var(--color-primary);
}

.hero-form-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow-float);
    color: var(--color-text);
}

.hero-form-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.hero-form-card p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(124, 179, 66, 0.2);
}

.form-disclaimer {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.8rem !important;
    margin-bottom: 0 !important;
}

@media (min-width: 992px) {
    .hero-container {
        grid-template-columns: 1.2fr 0.8fr;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-benefits {
        flex-direction: row;
        gap: 2rem;
    }
}

/* Trust Bar */
.trust-bar {
    background-color: var(--color-bg-light);
    padding: 2rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.trust-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.trust-icon {
    font-size: 2rem;
    background: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.trust-item strong {
    display: block;
    color: var(--color-secondary);
    font-family: var(--font-heading);
}

.trust-item span {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

@media (min-width: 992px) {
    .trust-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Services */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

.section-header h2 {
    font-size: 2.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.service-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    border: 1px solid #e2eff8;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-float);
    border-color: rgba(62, 207, 142, 0.4);
}

.service-img {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.service-content {
    padding: 2rem;
}

.service-tag {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--color-primary-light);
    color: var(--color-primary-dark);
}

.tag-warning {
    background: #fff3e0;
    color: #e65100;
}

.tag-info {
    background: #e3f2fd;
    color: #0d47a1;
}

.service-features {
    list-style: none;
    margin: 1.5rem 0;
}

.service-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Bundle Offer */
.bundle-offer {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, #1e5c42 50%, #2d8a6a 100%);
    border-radius: 20px;
    padding: 3rem;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.bundle-combo {
    background: linear-gradient(135deg, #1a4738 0%, #102e23 100%);
    padding: 2rem 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 2px solid #3ecf8e;
    gap: 2rem;
}

.bundle-title {
    font-size: 1.8rem;
}

.bundle-content h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.bundle-content p {
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .bundle-offer {
        flex-direction: row;
        text-align: left;
    }

    .bundle-combo {
        padding: 3rem;
        gap: 3rem;
    }

    .bundle-title {
        font-size: 2.2rem;
    }

    .bundle-content p {
        margin: 0;
    }
}

/* Dual Col */
.dual-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 992px) {
    .dual-col {
        grid-template-columns: 1fr 1fr;
    }
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-icon-wrapper {
    width: 40px;
    height: 40px;
    background: var(--color-primary-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-primary-dark);
}

.feature-item h4 {
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
}

.feature-item p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin: 0;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background-color: #eee;
    background-size: cover;
    background-position: center;
}

.radius-large {
    border-radius: 16px;
    overflow: hidden;
}

.shadow-large {
    box-shadow: var(--shadow-float);
}

/* Footer */
.footer {
    background: linear-gradient(180deg, var(--color-primary-dark) 0%, #173d28 100%);
    color: #9dc4b2;
    padding: 5rem 0 2rem 0;
}

.footer h4 {
    color: white;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-links a {
    display: block;
    color: #94a3b8;
    margin-bottom: 0.75rem;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.social-links a {
    display: inline-block;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    color: white;
    margin-right: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}
