:root {
    /* Color Palette */
    --color-white: #FFFFFF;
    --color-input-bg: rgba(255, 255, 255, 0.6);
    --color-sage: #A8CFA8;
    --color-sage-light: #EBF3EB;
    --color-forest: #3F6B4B;
    --color-forest-dark: #2C4C34;
    --color-forest-glow: rgba(63, 107, 75, 0.15);
    --color-dark: #2B2B2B;
    --color-dark-muted: #666666;
    --color-bg-light: #F6F8F6;
    --color-bg-gradient: linear-gradient(135deg, #F9FAF9 0%, #EBF1EB 100%);

    /* Header Custom Backgrounds */
    --color-header-bg: rgba(246, 248, 246, 0.7);
    --color-header-scrolled-bg: rgba(246, 248, 246, 0.9);
    --color-header-border: rgba(255, 255, 255, 0.2);
    --color-header-scrolled-border: rgba(63, 107, 75, 0.08);

    /* Glass elements backgrounds & borders */
    --color-glass-card-bg: rgba(255, 255, 255, 0.4);
    --color-glass-card-border: rgba(255, 255, 255, 0.6);
    --color-badge-bg: rgba(255, 255, 255, 0.85);
    --color-badge-border: rgba(255, 255, 255, 0.6);

    /* Glassmorphism Design Tokens */
    --color-glass-bg: rgba(255, 255, 255, 0.65);
    --color-glass-border: rgba(255, 255, 255, 0.4);
    --shadow-glass: 0 8px 32px 0 rgba(44, 76, 52, 0.08);
    --shadow-premium: 0 16px 40px 0 rgba(44, 76, 52, 0.12);

    /* Font Stacks */
    --font-heading: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;

    /* Container Width */
    --container-max-width: 1200px;

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-quick: all 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-light);
    color: var(--color-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--color-dark);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-quick);
}

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

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

/* Scroll Offset Helper */
.scroll-offset {
    scroll-margin-top: 100px;
}

/* Glassmorphism Card Style */
.glass-card {
    background: var(--color-glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--color-glass-border);
    border-radius: 24px;
    box-shadow: var(--shadow-glass);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    box-shadow: var(--shadow-premium);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Button UI Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--color-forest);
    color: var(--color-white);
    box-shadow: 0 4px 14px rgba(63, 107, 75, 0.25);
}

.btn-primary:hover {
    background-color: var(--color-forest-dark);
    box-shadow: 0 6px 20px rgba(44, 76, 52, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--color-white);
    color: var(--color-dark);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.btn-secondary:hover {
    background-color: var(--color-sage-light);
    border-color: var(--color-sage);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
    border-radius: 20px;
}

.btn-full {
    width: 100%;
}

/* Section Header Typography */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 56px;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    color: var(--color-forest);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-desc {
    color: var(--color-dark-muted);
    font-size: 1.1rem;
}

/* FIXED NAVIGATION BAR */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.header-glass {
    background: var(--color-header-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-header-border);
}

.header-scrolled {
    background: var(--color-header-scrolled-bg);
    box-shadow: 0 4px 20px rgba(44, 76, 52, 0.05);
    border-bottom: 1px solid var(--color-header-scrolled-border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--color-forest-dark);
}

.nav-links ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-dark);
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-forest);
    transition: var(--transition-quick);
}

.nav-link:hover {
    color: var(--color-forest);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--color-forest);
    font-weight: 600;
}

/* Mobile Hamburger Menu */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger {
    display: block;
    position: relative;
    width: 20px;
    height: 2px;
    background-color: var(--color-dark);
    transition: var(--transition-quick);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: var(--color-dark);
    transition: var(--transition-quick);
}

.hamburger::before {
    top: -6px;
}

.hamburger::after {
    bottom: -6px;
}

/* HERO SECTION */
.hero-section {
    padding: 160px 0 100px;
    background: var(--color-bg-gradient);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    text-align: center;
    align-items: center;
    gap: 48px;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    color: var(--color-dark);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-dark-muted);
    margin-bottom: 36px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mockup-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
}

.mockup-glass-card {
    background: var(--color-glass-card-bg);
    border: 1px solid var(--color-glass-card-border);
    border-radius: 32px;
    padding: 12px;
    box-shadow: var(--shadow-premium);
    position: relative;
    overflow: visible;
}

.mockup-img {
    border-radius: 24px;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--color-badge-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--color-badge-border);
    border-radius: 18px;
    padding: 10px 16px;
    box-shadow: 0 8px 24px rgba(44, 76, 52, 0.1);
}

.badge-moisture {
    top: 40px;
    left: -30px;
}

.badge-status {
    bottom: 40px;
    right: -20px;
}

.badge-icon {
    font-size: 1.2rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-forest);
    border-radius: 50%;
}

.badge-text {
    display: flex;
    flex-direction: column;
}

.badge-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-dark-muted);
}

.badge-val {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-forest-dark);
}

/* Pulse Animation */
.pulse {
    animation: badge-pulse 2s infinite;
}

@keyframes badge-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(63, 107, 75, 0.7);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(63, 107, 75, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(63, 107, 75, 0);
    }
}

/* Float Animations for Mockup Badges */
.float-animation-1 {
    animation: float-1 6s ease-in-out infinite alternate;
}

.float-animation-2 {
    animation: float-2 6s ease-in-out infinite alternate;
    animation-delay: 1s;
}

@keyframes float-1 {
    0% {
        transform: translateY(0px) rotate(-1deg);
    }

    100% {
        transform: translateY(-12px) rotate(1deg);
    }
}

@keyframes float-2 {
    0% {
        transform: translateY(0px) rotate(1deg);
    }

    100% {
        transform: translateY(-10px) rotate(-1deg);
    }
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(130% + 1.3px);
    height: 70px;
}

.hero-wave .shape-fill {
    fill: var(--color-bg-light);
}

/* ABOUT SECTION & FEATURES */
.about-section {
    padding: 100px 0;
}

.no-complexity-badges {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.badge-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--color-sage-light);
    color: var(--color-forest-dark);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(63, 107, 75, 0.04);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.feature-card {
    padding: 40px;
    text-align: left;
}

.card-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background-color: var(--color-sage-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.card-emoji {
    font-size: 1.8rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 14px;
}

.feature-card p {
    color: var(--color-dark-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* HOW IT WORKS SECTION */
.how-section {
    padding: 100px 0;
    background-color: var(--color-white);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 64px auto 0;
    padding: 20px 0;
}

/* Timeline center line */
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--color-sage);
    transform: translateX(-50%);
}

.timeline-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    margin-bottom: 48px;
    position: relative;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.step-marker {
    position: absolute;
    left: 50%;
    top: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--color-forest);
    border: 4px solid var(--color-sage-light);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    transform: translateX(-50%);
    z-index: 5;
    box-shadow: 0 4px 10px rgba(63, 107, 75, 0.2);
}

.step-content {
    padding: 32px;
    max-width: 400px;
    position: relative;
}

.timeline-step:nth-child(even) .step-content {
    grid-column: 2;
    margin-left: 40px;
}

.timeline-step:nth-child(odd) .step-content {
    grid-column: 1;
    justify-self: end;
    margin-right: 40px;
}

.step-icon {
    color: var(--color-forest);
    margin-bottom: 16px;
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.step-content p {
    color: var(--color-dark-muted);
    font-size: 0.9rem;
}

/* WHY SOIL SENSES (COMPARISON) */
.why-section {
    padding: 100px 0;
}

.table-container {
    max-width: 900px;
    margin: 0 auto;
    overflow-x: auto;
    padding: 24px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 600px;
}

.comparison-table th,
.comparison-table td {
    padding: 18px 24px;
    border-bottom: 1px solid rgba(63, 107, 75, 0.08);
}

.comparison-table th {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-dark);
}

.comparison-table th:nth-child(2),
.comparison-table td:nth-child(2) {
    background-color: rgba(168, 207, 168, 0.12);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.col-highlight {
    color: var(--color-forest-dark);
    font-weight: 600;
}

.col-cross {
    color: #C07070;
}

.check-desc,
.cross-desc {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--color-dark-muted);
    margin-top: 4px;
}

/* PRODUCT SHOWCASE GALLERY */
.gallery-section {
    padding: 100px 0;
    background-color: var(--color-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0) 100%);
    padding: 24px;
    color: var(--color-white);
    transform: translateY(10px);
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-overlay h4 {
    color: var(--color-white);
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.gallery-overlay p {
    font-size: 0.85rem;
    opacity: 0.8;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

/* PRICING SECTION */
.pricing-section {
    padding: 100px 0;
}

.pricing-card-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.pricing-card {
    max-width: 550px;
    width: 100%;
    padding: 48px;
    position: relative;
}

.card-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background-color: var(--color-forest);
    color: var(--color-white);
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: var(--color-forest-dark);
}

.price-container {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 20px;
}

.price-container .currency {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-dark);
}

.price-container .amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-dark);
    letter-spacing: -1px;
}

.price-container .mrp {
    font-size: 1.2rem;
    color: var(--color-dark-muted);
    text-decoration: line-through;
    margin-left: 4px;
}

.card-desc {
    color: var(--color-dark-muted);
    font-size: 1rem;
    margin-bottom: 32px;
}

.includes-divider {
    height: 1px;
    background-color: rgba(63, 107, 75, 0.1);
    margin-bottom: 32px;
}

.pricing-card h4 {
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.includes-list {
    list-style: none;
    margin-bottom: 40px;
}

.includes-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.95rem;
    color: var(--color-dark);
}

.list-check {
    width: 18px;
    height: 18px;
    color: var(--color-forest);
    flex-shrink: 0;
}

.pricing-card-footer {
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-dark-muted);
    margin-top: 16px;
}

/* TESTIMONIALS SECTION */
.testimonials-section {
    padding: 100px 0;
    background-color: var(--color-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.testimonial-card {
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.rating {
    color: #E6B655;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.review-text {
    font-size: 1rem;
    color: var(--color-dark);
    margin-bottom: 28px;
    font-style: italic;
    line-height: 1.7;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.font-avatar {
    background-color: var(--color-sage-light);
    color: var(--color-forest-dark);
}

.reviewer-name {
    display: block;
    font-weight: 600;
    font-style: normal;
    color: var(--color-dark);
    font-size: 0.95rem;
}

.reviewer-title {
    display: block;
    font-size: 0.75rem;
    color: var(--color-dark-muted);
}

/* FAQ SECTION (ACCORDION) */
.faq-section {
    padding: 100px 0;
}

.faq-accordion-wrapper {
    max-width: 760px;
    margin: 48px auto 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(63, 107, 75, 0.05);
}

.faq-trigger {
    width: 100%;
    background: transparent;
    border: none;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-dark);
    cursor: pointer;
    transition: var(--transition-quick);
}

.faq-trigger:hover {
    color: var(--color-forest);
}

.faq-arrow {
    color: var(--color-dark-muted);
    transition: transform 0.3s ease;
}

.faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-content {
    padding: 0 24px 24px;
    color: var(--color-dark-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Active Open State styles */
.faq-item.active {
    border-color: rgba(63, 107, 75, 0.15);
    background-color: var(--color-white);
}

.faq-item.active .faq-trigger {
    color: var(--color-forest-dark);
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
    color: var(--color-forest);
}

/* WAITLIST SECTION */
.waitlist-section {
    padding: 60px 0;
}

.waitlist-container {
    max-width: 900px;
    padding: 60px 48px;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(235, 243, 235, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.waitlist-content {
    max-width: 650px;
    margin: 0 auto;
}

.badge-accent {
    display: inline-block;
    background-color: var(--color-forest);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 12px;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.waitlist-content h2 {
    font-size: 2.2rem;
    margin-bottom: 14px;
}

.waitlist-content p {
    color: var(--color-dark-muted);
    font-size: 1rem;
    margin-bottom: 32px;
}

.waitlist-form {
    max-width: 500px;
    margin: 0 auto;
}

.input-group {
    display: flex;
    gap: 12px;
    background: var(--color-white);
    padding: 6px;
    border-radius: 35px;
    border: 1px solid rgba(63, 107, 75, 0.1);
    box-shadow: 0 4px 12px rgba(44, 76, 52, 0.03);
}

.input-group input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0 18px;
    font-size: 0.95rem;
    color: var(--color-dark);
}

.form-privacy {
    font-size: 0.75rem;
    color: var(--color-dark-muted);
    margin-top: 12px;
}

/* CONTACT SECTION */
.contact-section {
    padding: 100px 0 120px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 48px;
    margin-top: 48px;
    align-items: start;
}

.contact-card {
    padding: 40px;
    height: 100%;
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.contact-intro {
    color: var(--color-dark-muted);
    font-size: 0.95rem;
    margin-bottom: 32px;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.info-icon {
    font-size: 1.4rem;
}

.info-text {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-dark-muted);
    margin-bottom: 4px;
}

.info-link {
    font-weight: 600;
    color: var(--color-forest);
}

.info-link:hover {
    color: var(--color-forest-dark);
    text-decoration: underline;
}

.info-value {
    font-weight: 600;
    color: var(--color-dark);
}

.social-links h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-dark-muted);
    margin-bottom: 16px;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-sage-light);
    color: var(--color-forest-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-quick);
}

.social-icon:hover {
    background-color: var(--color-forest);
    color: var(--color-white);
    transform: translateY(-2px);
}

.contact-form {
    padding: 48px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid rgba(63, 107, 75, 0.15);
    background-color: var(--color-input-bg);
    color: var(--color-dark);
    transition: var(--transition-quick);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-forest);
    box-shadow: 0 0 0 3px var(--color-forest-glow);
    background-color: var(--color-white);
}

/* FOOTER */
.footer {
    background-color: var(--color-dark);
    color: #A0A0A0;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, 0.6fr);
    gap: 48px;
}

.footer-brand .logo {
    color: var(--color-white);
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.footer-copy {
    font-size: 0.8rem;
}

.footer-links-col h4 {
    color: var(--color-white);
    font-size: 0.95rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-col a {
    font-size: 0.85rem;
}

.footer-links-col a:hover {
    color: var(--color-sage);
}

/* MODERN ACCESSIBLE MODALS */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(43, 43, 43, 0.4);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    max-width: 480px;
    width: 90%;
    max-height: 92vh;
    overflow-y: auto;
    padding: 40px;
    z-index: 5;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    background-color: var(--color-white);
    scrollbar-width: thin;
    scrollbar-color: var(--color-sage) transparent;
}

.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: transparent;
}

.modal-content::-webkit-scrollbar-thumb {
    background-color: var(--color-sage);
    border-radius: 10px;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--color-sage-light);
    color: var(--color-dark);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-quick);
}

.modal-close:hover {
    background-color: var(--color-sage);
}

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

.modal-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--color-sage-light);
    color: var(--color-forest);
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.modal-body h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.modal-body p {
    color: var(--color-dark-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

/* Pre-Order Specific Modal Styles */
.preorder-modal-content {
    max-width: 500px;
}

.preorder-modal-sub {
    margin-bottom: 24px !important;
}

.preorder-modal-form {
    text-align: left;
}

.preorder-modal-form .form-group {
    margin-bottom: 16px;
}

/* Plant selection list in Pre-order modal */
.plant-selection-row {
    position: relative;
    border-bottom: 1px solid rgba(63, 107, 75, 0.08);
    padding-bottom: 16px;
    margin-bottom: 16px !important;
}

.plant-selection-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 16px !important;
}

.plant-label-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.btn-remove-plant {
    background: transparent;
    border: none;
    color: #C07070;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-quick);
}

.btn-remove-plant:hover {
    color: #904040;
    text-decoration: underline;
}

.add-plant-wrapper {
    margin-bottom: 24px;
}

.btn-link {
    background: transparent;
    border: none;
    color: var(--color-forest);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 4px 0;
    transition: var(--transition-quick);
}

.btn-link:hover {
    color: var(--color-forest-dark);
    text-decoration: underline;
}

.custom-plant-group {
    margin-top: 8px;
}

/* SCROLL TRIGGER FADE-IN ANIMATIONS */
.fade-in-up,
.fade-in-left,
.fade-in-right {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up {
    transform: translateY(40px);
}

.fade-in-left {
    transform: translateX(-40px);
}

.fade-in-right {
    transform: translateX(40px);
}

/* Visible Scroll State */
.reveal-visible {
    opacity: 1;
    transform: translate(0) !important;
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* RESPONSIVE DESIGN MEDIA QUERIES */

@media (max-width: 1024px) {

    /* Section Headers */
    .section-header h2 {
        font-size: 2.2rem;
    }

    /* Hero Section */
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-container {
        gap: 32px;
    }

    /* About Section */
    .features-grid {
        gap: 20px;
    }

    .feature-card {
        padding: 24px;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {

    /* Nav bar changes */
    .mobile-nav-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--color-white);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.08);
        padding: 100px 32px;
        transition: var(--transition-smooth);
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links ul {
        flex-direction: column;
        gap: 24px;
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    .nav-cta {
        display: none;
        /* Rely on hamburger context or page flow */
    }

    /* Active Hamburger states */
    .mobile-nav-toggle[aria-expanded="true"] .hamburger {
        background-color: transparent;
    }

    .mobile-nav-toggle[aria-expanded="true"] .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }

    .mobile-nav-toggle[aria-expanded="true"] .hamburger::after {
        transform: rotate(-45deg);
        bottom: 0;
    }

    /* Hero Layout */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 40px;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-actions {
        justify-content: center;
    }

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

    .hero-visual {
        margin-top: 32px;
    }

    .badge-moisture {
        left: -10px;
    }

    /* About */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .no-complexity-badges {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    /* How it works Timeline */
    .timeline-line {
        left: 20px;
        transform: none;
    }

    .step-marker {
        left: 20px;
        transform: translate(-50%, -20px);
        top: 30px;
    }

    .timeline-step {
        grid-template-columns: 1fr;
        margin-bottom: 36px;
    }

    .timeline-step:nth-child(even) .step-content,
    .timeline-step:nth-child(odd) .step-content {
        grid-column: 1;
        margin-left: 50px;
        margin-right: 0;
        justify-self: start;
        max-width: 100%;
    }

    /* Why Soil Senses Table */
    .comparison-table th,
    .comparison-table td {
        padding: 12px 14px;
    }

    .comparison-table th {
        font-size: 0.95rem;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-form {
        padding: 24px;
    }

    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-links-group {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (max-width: 580px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

    .btn {
        width: 100%;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        padding: 24px;
    }

    .price-container .amount {
        font-size: 2.8rem;
    }

    .waitlist-container {
        padding: 32px 16px;
    }

    .input-group {
        flex-direction: column;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        gap: 12px;
    }

    .input-group input {
        background: var(--color-white);
        border: 1px solid rgba(63, 107, 75, 0.15);
        padding: 14px 20px;
        border-radius: 30px;
        width: 100%;
    }

    .footer-links-group {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ==========================================
   THEME TOGGLE BUTTON & DARK MODE SYSTEM
   ========================================== */

.theme-toggle-btn {
    background: transparent;
    border: 1px solid var(--color-glass-border, rgba(0, 0, 0, 0.15));
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-dark);
    transition: var(--transition-quick);
    margin-right: 16px;
    flex-shrink: 0;
}

.theme-toggle-btn:hover {
    background: rgba(63, 107, 75, 0.08);
    border-color: var(--color-forest);
}

.theme-toggle-btn svg {
    stroke: currentColor;
    fill: none;
    transition: var(--transition-quick);
}

/* Body Dark Mode class */
body.dark-theme {
    --color-white: #1A221A; /* Deep dark forest background card */
    --color-input-bg: rgba(255, 255, 255, 0.07);
    --color-sage-light: #223022; /* Darker sage highlights */
    --color-bg-light: #121812; /* Deep forest black */
    --color-bg-gradient: linear-gradient(135deg, #121812 0%, #1A241A 100%);
    --color-dark: #F2F5F2; /* Light text */
    --color-dark-muted: #A8BFA8; /* Muted secondary text */
    --color-forest-dark: #81B681; /* High contrast green for headings/links */
    --color-glass-bg: rgba(26, 36, 26, 0.7);
    --color-glass-border: rgba(255, 255, 255, 0.08);
    
    /* Header overlays */
    --color-header-bg: rgba(18, 24, 18, 0.75);
    --color-header-scrolled-bg: rgba(18, 24, 18, 0.95);
    --color-header-border: rgba(255, 255, 255, 0.06);
    --color-header-scrolled-border: rgba(255, 255, 255, 0.1);
    
    /* Hero elements */
    --color-glass-card-bg: rgba(26, 36, 26, 0.4);
    --color-glass-card-border: rgba(255, 255, 255, 0.1);
    --color-badge-bg: rgba(26, 36, 26, 0.85);
    --color-badge-border: rgba(255, 255, 255, 0.1);
    
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    --shadow-premium: 0 16px 40px 0 rgba(0, 0, 0, 0.5);
}

/* Specific styling overrides for dark theme */
body.dark-theme .header-glass {
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

body.dark-theme .footer {
    background-color: #0E130E; /* Keep footer dark charcoal in dark mode */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

body.dark-theme .comparison-table th:nth-child(2),
body.dark-theme .comparison-table td:nth-child(2) {
    background-color: rgba(168, 207, 168, 0.05);
}

body.dark-theme .theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-forest-dark);
}

/* ==========================================
   SUBPAGE UTILITIES & LAYOUTS
   ========================================== */

.subpage-hero {
    padding: 160px 0 60px;
    text-align: center;
    background: var(--color-bg-gradient);
}

.subpage-hero h1 {
    font-size: 3rem;
    color: var(--color-forest-dark);
    margin-bottom: 16px;
}

.subpage-hero p {
    font-size: 1.25rem;
    color: var(--color-dark-muted);
    max-width: 600px;
    margin: 0 auto;
}

.subpage-content {
    padding: 60px 0 100px;
    background-color: var(--color-bg-light);
}

.content-card {
    padding: 48px;
    border-radius: 24px;
    background: var(--color-glass-bg);
    border: 1px solid var(--color-glass-border);
    box-shadow: var(--shadow-glass);
    line-height: 1.8;
}

.content-card h2 {
    margin-top: 40px;
    margin-bottom: 16px;
    font-size: 1.6rem;
    color: var(--color-forest-dark);
}

.content-card h2:first-of-type {
    margin-top: 0;
}

.content-card h3 {
    margin-top: 24px;
    margin-bottom: 12px;
    font-size: 1.2rem;
    color: var(--color-dark);
}

.content-card p {
    margin-bottom: 24px;
    color: var(--color-dark);
}

.content-card ul {
    margin-bottom: 24px;
    padding-left: 24px;
}

.content-card li {
    margin-bottom: 12px;
    color: var(--color-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
}

.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-method-card {
    padding: 32px;
    border-radius: 20px;
    background: var(--color-glass-bg);
    border: 1px solid var(--color-glass-border);
    box-shadow: var(--shadow-glass);
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-method-card .icon {
    font-size: 2rem;
    color: var(--color-forest);
    line-height: 1;
}

.contact-method-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--color-forest-dark);
}

.contact-method-card p {
    color: var(--color-dark-muted);
    font-size: 0.95rem;
}

.contact-method-card a {
    color: var(--color-forest);
    font-weight: 600;
}

.contact-method-card a:hover {
    color: var(--color-forest-dark);
    text-decoration: underline;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}