/* Importing Fonts */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Update color variables at the top */
:root {
    /* Main colors */
    --primary: #B9E97D;      /* Lime Green - Primary CTAs */
    --primary-light: #C6ED96; /* Lighter version for hover states */
    
    /* Background colors */
    --background: #FFFFFF;    /* Pure White - Main background */
    --surface: #F8F9FA;      /* Arctic White - Cards, containers */
    --hero-bg: #F1F4EE;     /* Soft Sage Green - Hero background */
    --surface-alt: #F1F4EE;  /* Soft Sage Green - Alternative surfaces */
    --dark-surface: #222B27; /* Deep Forest Green - Dark sections */
    
    /* Text colors */
    --text: #495057;        /* Charcoal Gray - Primary text */
    --text-light: #717885;  /* Slate Gray - Secondary text */
    --text-on-dark: #FFFFFF; /* Pure White - Text on dark backgrounds */
    
    /* UI Elements */
    --border: #E3E6EB;      /* Cloud Gray - Borders */
    --input: #E3E6EB;       /* Cloud Gray - Input fields */
    --muted: #D4D7DC;       /* Steel Gray - Secondary UI */
    --dark-bg: #495057;     /* Deep Slate - Dark sections */
    
    /* Border and shadow */
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

body {
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
}

/* Header */
header {
    padding: 1rem 0;
    position: relative;
    z-index: 10;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%; /* Fill header height */
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-img {
    height: 45px;
    width: auto;
}

header nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    transition: color 0.2s ease-in-out;
}

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

.nav-divider {
    width: 1px;
    height: 1.25rem;
    background-color: #E5E7EB;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1A2023;
    background-color: var(--primary);
    border-radius: 0.375rem;
    transition: background-color 0.2s;
}

.cta-button:hover {
    background-color: var(--primary-light);
}

/* Hero Section */
.hero {
    padding-top: 120px; /* header height (80px) + additional padding (40px) */
    margin-top: 0;
}

.hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 700;
    color: var(--text);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
}

.cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    color: #1A2023;
    background-color: var(--primary);
    border-radius: 0.375rem;
    transition: background-color 0.2s;
}

.cta-primary:hover {
    background-color: var(--primary-light);
}

.cta-secondary {
    display: inline-flex;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    color: var(--text);
    background-color: transparent;
    border: 2px solid var(--primary);
    border-radius: 0.75rem;
    transition: all 0.2s ease;
}

.cta-secondary:hover {
    background-color: rgba(57, 91, 100, 0.05);
}

/* Features Section */
.features {
    background-color: white;
    padding: 6rem 1.5rem;
}

@media (min-width: 640px) {
    .features {
        padding: 8rem 1.5rem;
    }
}

.features h2 {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.features-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 30px;
}

.feature-box {
    flex: 1;
    max-width: 300px;
    background: var(--background);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin: 15px;
    border: 1px solid var(--border);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Benefits Section */
.benefits {
    background: #222B27;
    padding: 60px 20px;
    text-align: center;
}

.benefits h2 {
    font-size: 2rem;
    color: var(--text-on-dark);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.benefits-grid {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
    flex-wrap: wrap;
}

.benefit-box {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: 20px;
    background: var(--background);
}

.benefit-box h3 {
    font-weight: 700;
    color: #222B27;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* Testimonials */
.testimonials {
    padding: 60px 20px;
    text-align: center;
    background: var(--background);
}

.testimonial {
    background: var(--surface);
    padding: 20px;
    max-width: 600px;
    margin: 20px auto;
    border-left: 4px solid var(--primary-light);
    font-style: italic;
}

/* Pricing Section */
.pricing {
    padding: 60px 20px;
    text-align: center;
}

.pricing h2 {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.pricing-cards {
    display: none;
}

.price-card {
    display: none;
}

/* FAQ Section */
.faq {
    background: var(--primary);
    padding: 60px 20px;
    text-align: center;
}

.faq h2 {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.faq-item {
    transition: all 0.2s ease;
}

.faq-trigger {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.faq-trigger:hover {
    background-color: #F9FAFB;
}

.faq-item.active .faq-trigger {
    background-color: #F9FAFB;
}

.faq-item.active .faq-trigger svg {
    transform: rotate(180deg);
}

.faq-content {
    transition: all 0.3s ease-in-out;
}

/* FAQ Styles */
.faq-item {
    transition: all 0.2s ease;
}

.faq-trigger {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.faq-trigger:hover {
    background-color: #F9FAFB;
}

.faq-item.active .faq-trigger {
    background-color: #F9FAFB;
}

.faq-item.active .faq-trigger svg {
    transform: rotate(180deg);
}

.faq-content {
    transition: all 0.3s ease-in-out;
}

/* Footer */
footer {
    background: var(--primary);
    color: var(--background);
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

footer a {
    color: var(--primary-light);
}

/* How It Works Section */
.how-it-works {
    padding: 60px 20px;
    background: var(--background);
    text-align: center;
}

.how-it-works h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 40px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.step {
    background: var(--surface);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease-in-out;
    border: 1px solid var(--border);
}

.step:hover {
    transform: scale(1.05);
}

.step h3 {
    color: var(--primary-light);
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 700;
}

.step p {
    color: #2d2d2d;
    font-size: 1rem;
    font-weight: 400;
}

/* Add connecting lines between steps */
.step::after {
    content: '→';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-light);
    font-size: 24px;
    z-index: 1;
}

.step:last-child::after {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .steps {
        grid-template-columns: 1fr;
    }
    
    .step::after {
        content: '↓';
        right: 50%;
        top: auto;
        bottom: -30px;
        transform: translateX(50%);
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Remove all other Aeonik Pro references */
.section-title,
.features h2,
.benefits h2,
.pricing h2,
.faq h2,
.how-it-works h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.step h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

.step p {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 400;
}

/* Hover states */
.cta-primary:hover {
    background: var(--primary-light);
    color: var(--background);
}

.cta-secondary:hover {
    background: var(--primary);
    color: var(--background);
}

.feature-box:hover,
.price-card:hover,
.step:hover {
    border-color: var(--primary-light);
    transform: translateY(-5px);
}

/* Responsive header */
@media (max-width: 768px) {
    header {
        padding: 1rem;
    }
    
    header nav {
        gap: 1rem;
    }
    
    header nav a:not(.cta-primary) {
        display: none;  /* Hide navigation links on mobile, keep CTA visible */
    }
}

/* Base styles */
.relative {
    position: relative;
}

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

/* Background Pattern */
.background-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--primary-light) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
}

/* Add these new utility classes */
.bg-primary {
    background-color: var(--primary);
}

.text-primary {
    color: var(--primary);
}

.size-6 {
    width: 1.5rem;
    height: 1.5rem;
}

.size-10 {
    width: 2.5rem;
    height: 2.5rem;
}

/* Pricing Section Styles */
.text-primary-light {
    color: var(--primary-light);
}

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

.ring-primary {
    --tw-ring-color: var(--primary);
    --tw-ring-opacity: 1;
    --tw-ring-offset-width: 2px;
}

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

/* Add these animation classes to your styles.css */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Utility classes */
.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-slide-in {
    animation: slideInRight 0.6s ease-out;
}

/* Smooth transitions */
.nav-link {
    transition: color 0.2s ease-in-out;
}

.hover\:bg-primary-light {
    transition: background-color 0.2s ease-in-out;
}

/* Hover effects */
.feature-card {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    animation: tiltIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-color: rgba(var(--primary), 0.02);
}

/* How it Works animations */
.step-card {
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid transparent;
    padding: 1rem;
    border-radius: 0.5rem;
}

.step-card:hover {
    transform: translateY(-12px) scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Section animations */
.section-animate {
    animation: sectionFadeIn 0.8s ease-out forwards;
}

@keyframes sectionFadeIn {
    from {
        opacity: 0.5;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Feature card animations */
.feature-card {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    animation: tiltIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-color: rgba(var(--primary), 0.02);
}

/* Navigation link animations */
.nav-link {
    position: relative;
    transition: color 0.2s ease-in-out;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease-in-out;
}

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

/* Button animations */
.cta-primary {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    background-size: 200% auto;
    background-image: linear-gradient(
        to right,
        var(--primary) 0%,
        var(--primary-light) 50%,
        var(--primary) 100%
    );
    transform-origin: center;
}

.cta-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background-position: right center;
}

/* Mission Cards animations */
.bg-white.rounded-xl {
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 1;
}

.bg-white.rounded-xl::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    border-radius: inherit;
}

.bg-white.rounded-xl:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.bg-white.rounded-xl:hover::after {
    opacity: 0.08;
}

/* Animation Keyframes */
@keyframes floatAnimation {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes pulseScale {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: perspective(1000px) rotateY(-10deg) translateX(-50px);
    }
    to {
        opacity: 1;
        transform: perspective(1000px) rotateY(0) translateX(0);
    }
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Hero Section Enhancements */
.hero-image {
    animation: floatAnimation 6s ease-in-out infinite;
}

.hero-title {
    animation: slideInLeft 0.8s ease-out;
}

.hero-subtitle {
    animation: slideInLeft 0.8s ease-out 0.2s backwards;
}

/* Feature Cards Enhancement */
.feature-card {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    animation: tiltIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-color: rgba(var(--primary), 0.02);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.feature-card:hover::before {
    left: 100%;
}

/* Stats Animation */
.inline-flex.items-center.justify-center.bg-primary\/10 {
    animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition: transform 0.3s ease;
}

.inline-flex.items-center.justify-center.bg-primary\/10:hover {
    transform: scale(1.15);
}

/* CTA Button Enhancement */
.cta-primary {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    background-size: 200% auto;
    background-image: linear-gradient(
        to right,
        var(--primary) 0%,
        var(--primary-light) 50%,
        var(--primary) 100%
    );
    transform-origin: center;
}

.cta-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background-position: right center;
    animation: shimmer 2s linear infinite;
}

/* Mission Cards Enhancement */
.bg-white.rounded-xl {
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 1;
}

.bg-white.rounded-xl::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    border-radius: inherit;
}

.bg-white.rounded-xl:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.bg-white.rounded-xl:hover::after {
    opacity: 0.08;
}

/* Navigation Link Enhancement */
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    background-color: var(--primary);
    transition: all 0.3s ease-in-out;
    transform: translateX(-50%);
}

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

/* FAQ Items Enhancement */
.faq-item:hover {
    transform: scale(1.02);
    background-color: rgba(var(--primary), 0.02);
}

/* Feature Section Animations */
@keyframes tiltIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Feature Icon Animation */
.feature-card .absolute {
    transition: all 0.3s ease;
}

.feature-card:hover .absolute {
    transform: scale(1.1);
    background-color: var(--primary);
}

/* Feature Text Animation */
.feature-card dt {
    transition: transform 0.3s ease, color 0.3s ease;
}

.feature-card:hover dt {
    color: var(--primary);
}

.feature-card dd {
    transition: transform 0.3s ease;
}

/* Pricing Section Animations */
@keyframes pricingCardRise {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Basic and Enterprise plan cards */
.rounded-3xl.p-8.ring-1 {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: pricingCardRise 0.8s ease-out;
    transform-origin: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.rounded-3xl.p-8.ring-1:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-color: white;
}

/* Professional (featured) plan card */
.relative.rounded-3xl.bg-gray-900 {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: pricingCardRise 0.8s ease-out 0.2s backwards;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.relative.rounded-3xl.bg-gray-900:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Price text animation */
.text-5xl.font-semibold.tracking-tight {
    transition: all 0.3s ease;
}

/* Basic and Enterprise plan price animation */
.rounded-3xl.p-8.ring-1:hover .text-5xl.font-semibold.tracking-tight {
    transform: scale(1.05);
}

/* Professional plan price animation - keep white text */
.relative.rounded-3xl.bg-gray-900:hover .text-5xl.font-semibold.tracking-tight {
    transform: scale(1.05);
    color: white;
}

/* Feature list items animation */
.rounded-3xl .flex.gap-x-3 {
    transition: transform 0.2s ease;
}

.rounded-3xl:hover .flex.gap-x-3 {
    transform: translateX(4px);
}

/* Checkmark icon animation */
.rounded-3xl .flex.gap-x-3 svg {
    transition: transform 0.3s ease;
}

.rounded-3xl:hover .flex.gap-x-3 svg {
    transform: scale(1.2);
}

/* Stagger animation for pricing cards */
.rounded-3xl.p-8.ring-1:nth-of-type(1) {
    animation-delay: 0s;
}

.relative.rounded-3xl.bg-gray-900 {
    animation-delay: 0.2s;
}

.rounded-3xl.p-8.ring-1:nth-of-type(3) {
    animation-delay: 0.4s;
}

/* Push buttons to bottom of cards */
.rounded-3xl ul {
    flex-grow: 1;
    margin-bottom: 0;
    padding-bottom: 1.5rem;
}

/* Ensure consistent spacing above buttons */
.rounded-3xl a[href="#demo"],
.rounded-3xl a[href="#contact"] {
    margin-top: auto;
    width: 100%;
    max-width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

/* Style the pricing card buttons */
.rounded-3xl.p-8.ring-1 a[href="#demo"],
.rounded-3xl.p-8.ring-1 a[href="#contact"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #717885;  /* Slate Gray */
    color: #FFFFFF;  /* White text for better contrast */
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

/* Hover state for basic/enterprise buttons */
.rounded-3xl.p-8.ring-1 a[href="#demo"]:hover,
.rounded-3xl.p-8.ring-1 a[href="#contact"]:hover {
    background-color: #495057;  /* Darker gray on hover */
    color: #FFFFFF;
}

/* Featured (Professional) plan button */
.relative.rounded-3xl.bg-gray-900 a[href="#demo"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    color: #1A2023;
    background-color: var(--primary);
}

/* FAQ Styles */
#faq .group {
    border-bottom: 1px solid #e5e7eb;
}

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

#faq .group.active .max-h-0 {
    max-height: 1000px; /* Large enough to contain content */
}

#faq .group.active svg path.group-[.active]:hidden {
    display: block;
}

#faq .group.active svg path:not(.group-[.active]:hidden) {
    display: none;
}

/* Hero section background */
.bg-hero {
    background-color: var(--hero-bg);
}

/* Header CTA button */
.nav-cta {
    color: #1A2023;
    background-color: var(--primary);
}

/* Ensure hover state maintains the same text color */
.nav-cta:hover {
    background-color: var(--primary-light);
    color: #1A2023;
}

/* Section subtitles (the text above main titles) */
h2.text-base.font-semibold.text-primary,
.text-base.font-semibold.text-primary {
    color: #222B27;            /* Deep Forest Green - much better contrast */
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--surface);
    padding: 1.5rem;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 50;
    animation: slideInUp 0.6s ease-out;
    border-top: 1px solid var(--border);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .cookie-banner-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.cookie-banner-text {
    flex: 1;
}

.cookie-banner-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.cookie-banner-text p {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.cookie-banner-categories {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.cookie-category {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--text);
}

.cookie-toggle input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    accent-color: var(--primary);
}

.cookie-banner-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.cookie-banner-accept {
    background-color: var(--primary);
    color: #1A2023;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 600;
    transition: background-color 0.2s;
}

.cookie-banner-accept:hover {
    background-color: var(--primary-light);
}

.cookie-banner-save {
    background-color: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 600;
    transition: all 0.2s;
}

.cookie-banner-save:hover {
    background-color: var(--surface-alt);
}

.cookie-banner-learn {
    color: var(--text);
    text-decoration: underline;
    font-size: 0.875rem;
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Cookie Banner Base Styles */
#cookieBanner {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 600px;
    padding: 1.5rem;
    z-index: 50;
}

/* Header Styles */
#cookieBanner .flex {
    display: flex;
}

#cookieBanner .flex-col {
    flex-direction: column;
}

#cookieBanner .space-y-1\.5 > * + * {
    margin-top: 0.375rem;
}

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

#cookieBanner .text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

#cookieBanner .font-semibold {
    font-weight: 600;
}

#cookieBanner .text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

/* Tab Styles */
#cookieBanner .grid {
    display: grid;
}

#cookieBanner .grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

#cookieBanner .gap-2 {
    gap: 0.5rem;
}

#cookieBanner button {
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
}

#cookieBanner button.active {
    background-color: #f3f4f6;
}

/* Checkbox Styles */
#cookieBanner input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 2.75rem;
    height: 1.5rem;
    border-radius: 9999px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

#cookieBanner input[type="checkbox"]:checked {
    background-color: #10b981;
}

#cookieBanner input[type="checkbox"]:disabled {
    background-color: #10b981;
    cursor: not-allowed;
}

#cookieBanner input[type="checkbox"]:not(:checked) {
    background-color: #e5e7eb;
}

/* Content Styles */
#cookieBanner .space-y-4 > * + * {
    margin-top: 1rem;
}

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

#cookieBanner .py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

#cookieBanner .border-b {
    border-bottom: 1px solid #e5e7eb;
}

#cookieBanner .font-medium {
    font-weight: 500;
}

#cookieBanner .text-gray-500 {
    color: #6b7280;
}

/* Footer Styles */
#cookieBanner .flex-row {
    flex-direction: row;
}

#cookieBanner .justify-between {
    justify-content: space-between;
}

#cookieBanner .space-x-2 > * + * {
    margin-left: 0.5rem;
}

#cookieBanner .mb-2 {
    margin-bottom: 0.5rem;
}

/* Button Styles */
#cookieBanner .px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

#cookieBanner .py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

#cookieBanner .rounded-md {
    border-radius: 0.375rem;
}

#cookieBanner .border {
    border: 1px solid #e5e7eb;
}

#cookieBanner .bg-\[\#053321\] {
    background-color: #053321;
}

#cookieBanner .text-white {
    color: white;
}

#cookieBanner .hover\:bg-\[\#053321\]\/90:hover {
    background-color: rgba(5, 51, 33, 0.9);
}

/* Close Button */
#cookieBanner .absolute {
    position: absolute;
}

#cookieBanner .right-4 {
    right: 1rem;
}

#cookieBanner .top-4 {
    top: 1rem;
}

#cookieBanner .rounded-sm {
    border-radius: 0.125rem;
}

#cookieBanner .opacity-70 {
    opacity: 0.7;
}

#cookieBanner .hover\:opacity-100:hover {
    opacity: 1;
}

/* Responsive Styles */
@media (min-width: 640px) {
    #cookieBanner {
        max-width: 600px;
    }
    
    #cookieBanner .sm\:text-left {
        text-align: left;
    }
    
    #cookieBanner .sm\:flex-row {
        flex-direction: row;
    }
    
    #cookieBanner .sm\:justify-between {
        justify-content: space-between;
    }
    
    #cookieBanner .sm\:space-x-2 > * + * {
        margin-left: 0.5rem;
    }
    
    #cookieBanner .sm\:mb-0 {
        margin-bottom: 0;
    }
}

/* Bottom Banner Styles */
#cookieBannerBottom {
    background: white;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

#cookieBannerBottom .max-w-7xl {
    max-width: 80rem;
}

#cookieBannerBottom .mx-auto {
    margin-left: auto;
    margin-right: auto;
}

#cookieBannerBottom .px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    #cookieBannerBottom .sm\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    #cookieBannerBottom .lg\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

#cookieBannerBottom .flex {
    display: flex;
}

#cookieBannerBottom .flex-col {
    flex-direction: column;
}

@media (min-width: 640px) {
    #cookieBannerBottom .sm\:flex-row {
        flex-direction: row;
    }
}

#cookieBannerBottom .items-center {
    align-items: center;
}

#cookieBannerBottom .justify-between {
    justify-content: space-between;
}

#cookieBannerBottom .space-x-4 > * + * {
    margin-left: 1rem;
}

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

@media (min-width: 640px) {
    #cookieBannerBottom .sm\:mt-0 {
        margin-top: 0;
    }
}

#cookieBannerBottom .text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

#cookieBannerBottom .text-gray-600 {
    color: #4b5563;
}

#cookieBannerBottom .text-gray-700 {
    color: #374151;
}

#cookieBannerBottom .border-gray-300 {
    border-color: #d1d5db;
}

#cookieBannerBottom .hover\:bg-gray-50:hover {
    background-color: #f9fafb;
}

/* Toggle Switch Styles */
#cookieBanner input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 2.75rem;
    height: 1.5rem;
    border-radius: 9999px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

#cookieBanner input[type="checkbox"]::before {
    content: '';
    position: absolute;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    top: 0.125rem;
    left: 0.125rem;
    background-color: white;
    transition: transform 0.2s ease-in-out;
}

#cookieBanner input[type="checkbox"]:checked::before {
    transform: translateX(1.25rem);
}

#cookieBanner .flex {
    cursor: pointer;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
}

#cookieBanner .flex:last-child {
    border-bottom: none;
}

/* Dialog Button Styles */
#cookieBanner button {
    transition: all 0.2s ease-in-out;
}

#cookieBanner button:hover {
    opacity: 0.9;
}

#cookieBanner button:active {
    transform: scale(0.98);
}
