* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #019b5f;
    --primary-dark: #017a4c;
    --text-dark: #1a1a1a;
    --text-muted: #666;
    --bg-light: #f8f9fa;
    --border-light: #e5e7eb;
    --focus-ring: 0 0 0 3px rgba(1, 155, 95, 0.3);
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-green);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
}
.skip-link:focus {
    top: 6px;
}

/* Header */
header {
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 48px;
    width: auto;
    display: block;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 2rem;
    text-align: center;
}

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

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtext {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(1, 155, 95, 0.3);
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(1, 155, 95, 0.4);
}

.cta-primary:focus {
    outline: none;
    box-shadow: var(--focus-ring), 0 6px 20px rgba(1, 155, 95, 0.4);
}

.cta-primary:active {
    transform: translateY(0);
}

/* Slightly smaller CTA for header */
.header-cta {
    padding: 0.45rem 0.85rem;
    font-size: 0.9rem;
    border-radius: 6px;
    white-space: nowrap;
}

.price-microcopy {
    font-style: italic;
    margin-top: .4rem;
    font-size: 0.800rem;
    color: var(--text-muted);
}

/* Trust badge (social proof) */
.trust-proof {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 999px;
    color: var(--text-muted);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    font-size: 0.95rem;
    line-height: 1;
}

.trust-badge img {
    width: 20px;
    height: 20px;
    display: block;
}


.badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Hero highlights: icon over label (not tags) */
.badge {
    background: transparent;
    padding: 0;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500; /* lighter to reduce emphasis */
    color: var(--text-muted); /* grey label */
    text-align: center;
    min-width: 120px;
    opacity: 0.82; /* less in focus */
    transition: opacity 0.2s ease;
}

.badge:hover {
    opacity: 0.92;
}

.badge img {
    width: 20px;
    height: 20px;
    box-sizing: content-box; /* ensure padding doesn't shrink SVG */
    padding: 10px; /* ~40px circle */
    border-radius: 999px;
    background: transparent; /* remove fill to de-emphasize */
    border: 1px solid var(--border-light); /* subtle ring */
    box-shadow: none;
    opacity: 0.8;
    display: block;
}


/* Improved hero media */
.hero-media {
    margin-top: 2.5rem;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16 / 9; /* reserve space, avoid CLS */
    background: linear-gradient(180deg, #ffffff 0%, #f3f5f7 100%);
    border: 1px solid var(--border-light);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.hero-media::before {
    content: "";
    position: absolute;
    inset: -25%;
    background: radial-gradient(60% 60% at 30% 20%, rgba(1,155,95,0.25) 0%, rgba(1,155,95,0) 60%),
                radial-gradient(50% 50% at 80% 70%, rgba(1,122,76,0.20) 0%, rgba(1,122,76,0) 60%);
    filter: blur(40px);
    opacity: .35;
    z-index: 0;
}

.hero-media img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Sections */
section {
    padding: 4rem 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Use cases */
.use-cases {
    background: var(--bg-light);
}

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.use-case {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.use-case-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.75rem;
    text-align: center;
}

/* Ensure SVG icon fits nicely in the use-case box */
.use-case-icon img {
    width: 36px;
    height: 36px;
    display: block;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.feature h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-green);
}

/* How it works */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    text-align: center;
    padding: 1.5rem;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin: 0 auto 1rem;
}

.step h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* FAQ */
.faq {
    background: var(--bg-light);
}

.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid var(--border-light);
}

.faq-question {
    padding: 1.5rem;
    font-weight: 600;
    font-size: 1.125rem;
    cursor: default;
    display: block;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-secondary {
    background: white;
    color: var(--primary-green);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    display: inline-block;
    transition: all 0.2s ease;
}

.cta-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.cta-secondary:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}

/* Footer */
footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 2rem;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: white;
}

.footer-links a:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 3rem 1rem;
    }
    .hero-media {
        margin-top: 2rem;
        border-radius: 12px;
        box-shadow: 0 10px 22px rgba(0,0,0,0.07);
    }
    
    section {
        padding: 3rem 1rem;
    }
    
    .header-content {
        padding: 0.75rem;
    }
    
    .badges {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Focus visible for better accessibility */
*:focus-visible {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

/* Utility: rounded corners */
.rounded {
    border-radius: 12px;
}

/* Utility: horizontally center block-level media */
.centered {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive images */
.hero-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin-top: 2.5rem;
}

.responsive-image {
    width: 100%;
    max-width: 500px;
    height: auto;
}

/* Mobile-specific image adjustments */
@media (max-width: 768px) {
    .hero-image {
        margin-top: 2rem;
        max-width: 100%;
    }
    
    .responsive-image {
        max-width: 100%;
    }
}
