/* Self-hosted Fonts */
@font-face { font-family: 'DM Serif Display'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/dm-serif-display-v17-latin-regular.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/source-sans-3-v19-latin-regular.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/source-sans-3-v19-latin-500.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/source-sans-3-v19-latin-600.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/source-sans-3-v19-latin-700.woff2') format('woff2'); }

/* GI MAP Test - Styles
   Color Scheme: Deep Teal for gut health/medical credibility
   Framework: Hybrid of HTMA + DUTCH site architecture */

:root {
    --primary: #2B7A78;
    --primary-dark: #1A5F5D;
    --primary-light: #4DA8A6;
    --secondary: #C4A77D;
    --secondary-light: #D4C4AA;
    --accent: #D4573B;
    --accent-light: #E8795F;
    --text-dark: #1E2D2B;
    --text-medium: #4A5C59;
    --text-light: #5E6D6B;
    --bg-cream: #FAFDF9;
    --bg-warm: #F2F7F5;
    --bg-sage: #E8F4F2;
    --white: #FFFFFF;
    --border: #D8E5E2;
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Source Sans 3', -apple-system, sans-serif;
    --section-pad: clamp(60px, 10vw, 120px);
    --container: min(1200px, 90vw);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--font-body); color: var(--text-dark); background: var(--bg-cream); line-height: 1.7; font-size: 17px; overflow-x: hidden; width: 100%; max-width: 100vw; }

/* Navigation */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(250, 253, 249, 0.95); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); transition: box-shadow 0.3s ease; }
.nav-inner { max-width: var(--container); margin: 0 auto; padding: 8px 24px; display: flex; justify-content: space-between; align-items: center; }
.logo { text-decoration: none; display: flex; align-items: center; }
.logo img { height: 80px; width: auto; max-width: 200px; }
.logo-icon { display: inline-block; }
.nav-links { display: flex; gap: 32px; align-items: center; list-style: none; background-color: transparent; }
.nav-links a { color: var(--text-medium); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--primary); }
.nav-cta { background: var(--primary); color: white !important; padding: 10px 22px; border-radius: 6px; transition: background-color 0.2s, transform 0.2s !important; }
.nav-cta:hover { background: var(--primary-dark) !important; transform: translateY(-1px); }
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-menu-btn span { display: block; width: 24px; height: 3px; background: #1E2D2B; margin: 4px 0; transition: 0.3s; border-radius: 2px; }

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; padding: calc(var(--section-pad) + 60px) 0 var(--section-pad); background: radial-gradient(ellipse at 20% 80%, rgba(43, 122, 120, 0.08) 0%, transparent 50%), radial-gradient(ellipse at 80% 20%, rgba(196, 167, 125, 0.06) 0%, transparent 50%), var(--bg-cream); position: relative; overflow-x: hidden; overflow-y: visible; }
.hero::before { content: ''; position: absolute; top: 0; right: 0; width: 60%; height: 100%; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232B7A78' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); opacity: 0.5; }
.hero-container { max-width: var(--container); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; box-sizing: border-box; width: 100%; }
.hero-content { animation: fadeInUp 0.8s ease-out; max-width: 100%; overflow: hidden; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--bg-sage); border: 1px solid var(--border); padding: 8px 16px; border-radius: 50px; font-size: 0.85rem; color: var(--primary); font-weight: 600; margin-bottom: 24px; }
.hero-badge svg { width: 16px; height: 16px; }
.hero h1 { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.8rem); line-height: 1.15; color: var(--text-dark); margin-bottom: 24px; word-wrap: break-word; overflow-wrap: break-word; }
.hero h1 span { color: var(--primary); }
.hero-description { font-size: 1.15rem; color: var(--text-medium); margin-bottom: 32px; max-width: 100%; box-sizing: border-box; }
.hero-ctas { display: flex; gap: 16px; margin-bottom: 48px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 8px; font-weight: 600; font-size: 1rem; text-decoration: none; transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease; cursor: pointer; border: none; }
.btn-primary { background: var(--primary); color: white; box-shadow: 0 4px 14px rgba(43, 122, 120, 0.25); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(43, 122, 120, 0.3); }
.btn-secondary { background: white; color: var(--text-dark); border: 2px solid var(--border); }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }
.hero-stats { display: flex; gap: 40px; }
.hero-stat { border-left: 2px solid var(--border); padding-left: 20px; }
.hero-stat:first-child { border-left: none; padding-left: 0; }
.hero-stat-number { font-family: var(--font-display); font-size: 2rem; color: var(--primary); }
.hero-stat-label { font-size: 0.9rem; color: var(--text-light); }

/* Hero Visual */
.hero-visual { position: relative; animation: fadeInUp 0.8s ease-out 0.2s both; padding: 40px; overflow: visible; }
.hero-card { background: white; border-radius: 20px; padding: 40px; box-shadow: 0 4px 6px rgba(0,0,0,0.02), 0 20px 60px rgba(0,0,0,0.08); position: relative; z-index: 1; }
.hero-card-header { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.hero-card-icon { width: 56px; height: 56px; background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%); border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.hero-card-icon svg { width: 28px; height: 28px; fill: white; }
.hero-card-title { font-family: var(--font-display); font-size: 1.4rem; color: var(--text-dark); }
.hero-card-subtitle { font-size: 0.9rem; color: var(--text-light); }
.marker-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.marker-item { background: var(--bg-warm); padding: 12px; border-radius: 10px; text-align: center; transition: background-color 0.2s, transform 0.2s; }
.marker-item:hover { background: var(--bg-sage); transform: translateY(-2px); }
.marker-symbol { font-size: 1.4rem; margin-bottom: 4px; }
.marker-name { font-size: 0.75rem; color: var(--text-light); font-weight: 500; }

/* Floating badges */
.hero-floating { position: absolute; background: white; padding: 16px 20px; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.15); animation: float 6s ease-in-out infinite; z-index: 100; }
.hero-floating-1 { top: 5px; right: 5px; animation-delay: 0s; }
.hero-floating-2 { bottom: 60px; left: 5px; animation-delay: -2s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
.floating-content { display: flex; align-items: center; gap: 12px; }
.floating-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.floating-icon.teal { background: var(--bg-sage); }
.floating-icon.teal svg { fill: var(--primary); }
.floating-icon.orange { background: #FEF3E8; }
.floating-icon.orange svg { fill: var(--accent); }
.floating-text { font-size: 0.85rem; font-weight: 600; color: var(--text-dark); }
.floating-subtext { font-size: 0.75rem; color: var(--text-light); }

/* Trust Badges */
.trust-badges { padding: 40px 0; background: var(--bg-warm); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.badges-grid { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.badge-item { display: flex; align-items: center; gap: 12px; }
.badge-icon { font-size: 1.8rem; }
.badge-text strong { display: block; font-size: 0.95rem; color: var(--text-dark); }
.badge-text span { font-size: 0.8rem; color: var(--text-light); }

/* Sections */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-label { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary); margin-bottom: 16px; }
.section-title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--text-dark); margin-bottom: 20px; }
.section-subtitle { font-size: 1.1rem; color: var(--text-medium); }

/* What We Test */
.what-we-test { padding: var(--section-pad) 0; background: white; }
.test-categories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.test-category { background: var(--bg-cream); border-radius: 16px; padding: 36px; border: 1px solid var(--border); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.test-category:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.08); }
.test-category-icon { width: 60px; height: 60px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.test-category-icon svg { width: 30px; height: 30px; }
.test-category-icon.pathogens { background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%); }
.test-category-icon.pathogens svg { fill: var(--primary); }
.test-category-icon.microbiome { background: linear-gradient(135deg, #E0F2F1 0%, #B2DFDB 100%); }
.test-category-icon.microbiome svg { fill: #00796B; }
.test-category-icon.markers { background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%); }
.test-category-icon.markers svg { fill: var(--accent); }
.test-category h3 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 12px; color: var(--text-dark); }
.test-category p { color: var(--text-medium); font-size: 0.95rem; margin-bottom: 20px; }
.test-list { display: flex; flex-wrap: wrap; gap: 8px; }
.test-tag { background: white; border: 1px solid var(--border); padding: 6px 12px; border-radius: 20px; font-size: 0.8rem; color: var(--text-medium); }

/* How It Works */
.how-it-works { padding: var(--section-pad) 0; background: var(--bg-sage); position: relative; overflow: hidden; }
.how-it-works::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 50m-40 0a40,40 0 1,0 80,0a40,40 0 1,0 -80,0' fill='none' stroke='%232B7A78' stroke-opacity='0.05' stroke-width='0.5'/%3E%3C/svg%3E"); opacity: 0.5; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; z-index: 1; }
.step-card { background: white; border-radius: 16px; padding: 32px; text-align: center; position: relative; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.step-number { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); width: 36px; height: 36px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; }
.step-icon { width: 70px; height: 70px; background: var(--bg-warm); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 20px auto 20px; }
.step-icon svg { width: 32px; height: 32px; fill: var(--primary); }
.step-card h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 12px; color: var(--text-dark); }
.step-card p { font-size: 0.9rem; color: var(--text-medium); }

/* Pricing */
.pricing { padding: var(--section-pad) 0; background: white; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1100px; margin: 0 auto; }
.pricing-card { background: var(--bg-cream); border-radius: 20px; padding: 40px; border: 2px solid var(--border); position: relative; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.pricing-card:hover { transform: translateY(-5px); }
.pricing-card.featured { background: white; border-color: var(--primary); box-shadow: 0 20px 60px rgba(43, 122, 120, 0.15); }
.pricing-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary); color: white; padding: 6px 20px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; }
.pricing-header { text-align: center; padding-bottom: 24px; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.pricing-name { font-family: var(--font-display); font-size: 1.5rem; color: var(--text-dark); margin-bottom: 8px; }
.pricing-description { font-size: 0.9rem; color: var(--text-medium); }
.pricing-price { text-align: center; margin-bottom: 24px; }
.pricing-amount { font-family: var(--font-display); font-size: 3rem; color: var(--primary); }
.pricing-amount span { font-size: 1.2rem; color: var(--text-medium); }
.pricing-period { font-size: 0.9rem; color: var(--text-medium); }
.pricing-features { list-style: none; margin-bottom: 32px; }
.pricing-features li { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; font-size: 0.95rem; color: var(--text-medium); }
.pricing-features li svg { width: 20px; height: 20px; fill: var(--primary); flex-shrink: 0; margin-top: 2px; }
.pricing-features li strong { color: var(--text-dark); }

/* Why GI-MAP */
.why-gimap { padding: var(--section-pad) 0; background: var(--bg-warm); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why-content h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 24px; color: var(--text-dark); }
.why-content p { color: var(--text-medium); margin-bottom: 32px; font-size: 1.05rem; }
.why-list { list-style: none; }
.why-list li { display: flex; gap: 16px; margin-bottom: 24px; }
.why-list-icon { width: 48px; height: 48px; background: white; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.why-list-icon svg { width: 24px; height: 24px; fill: var(--primary); }
.why-list h3 { font-size: 1.1rem; margin-bottom: 4px; color: var(--text-dark); }
.why-list p { font-size: 0.9rem; color: var(--text-medium); margin-bottom: 0; }

/* Comparison Table */
.comparison-table { background: white; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.08); }
.comparison-header { display: grid; grid-template-columns: 2fr 1fr 1fr; background: var(--primary); color: white; padding: 16px 24px; font-weight: 600; font-size: 0.9rem; }
.comparison-row { display: grid; grid-template-columns: 2fr 1fr 1fr; padding: 16px 24px; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.comparison-row:last-child { border-bottom: none; }
.comparison-row .label { color: var(--text-dark); }
.comparison-row .check { text-align: center; color: var(--primary); font-weight: 600; }
.comparison-row .cross { text-align: center; color: var(--text-light); }

/* Testimonials */
.testimonials-section { padding: var(--section-pad) 0; background: white; }
.testimonials-grid-home { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.testimonial-card-home { background: var(--bg-cream); border-radius: 16px; padding: 32px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); border: 1px solid var(--border); transition: transform 0.2s, box-shadow 0.2s; }
.testimonial-card-home:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.testimonial-card-home .stars { color: #F59E0B; font-size: 1.2rem; letter-spacing: 3px; margin-bottom: 16px; }
.testimonial-card-home blockquote { font-size: 1.05rem; line-height: 1.7; color: var(--text-medium); margin: 0 0 20px; font-style: italic; }
.testimonial-author-home { display: flex; align-items: center; gap: 8px; padding-top: 16px; border-top: 1px solid var(--border); }
.testimonial-author-home strong { color: var(--text-dark); font-weight: 600; }
.testimonial-author-home span { font-size: 0.9rem; color: var(--text-light); }
.testimonials-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.rating-summary-home { display: flex; align-items: center; gap: 12px; }
.stars-large { color: #F59E0B; font-size: 1.5rem; letter-spacing: 2px; }
.read-more-link { color: var(--primary); font-weight: 600; text-decoration: none; }
.read-more-link:hover { text-decoration: underline; }

/* FAQ */
.faq { padding: var(--section-pad) 0; background: white; }
.faq-grid { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 24px 0; background: none; border: none; cursor: pointer; text-align: left; font-family: var(--font-body); font-size: 1.1rem; font-weight: 600; color: var(--text-dark); transition: color 0.2s; }
.faq-question:hover { color: var(--primary); }
.faq-question svg { width: 24px; height: 24px; fill: var(--text-light); transition: transform 0.3s ease; flex-shrink: 0; }
.faq-item.active .faq-question svg { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.active .faq-answer { max-height: 500px; }
.faq-answer p { padding-bottom: 24px; color: var(--text-medium); line-height: 1.8; }

/* CTA Section */
.cta-section { padding: var(--section-pad) 0; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.cta-content { text-align: center; position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.cta-content h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); color: white; margin-bottom: 20px; }
.cta-content p { font-size: 1.15rem; color: rgba(255,255,255,0.85); margin-bottom: 32px; }
.cta-content .btn-primary { background: white; color: var(--primary); }
.cta-content .btn-primary:hover { background: var(--bg-cream); transform: translateY(-2px); }

/* Footer */
.footer { padding: 60px 0 30px; background: var(--text-dark); color: rgba(255,255,255,0.8); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 40px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo img { height: 70px; width: auto; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }
.footer-column h3 { color: white; font-size: 1rem; margin-bottom: 20px; }
.footer-column ul { list-style: none; }
.footer-column li { margin-bottom: 12px; }
.footer-column a { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-column a:hover { color: white; }
.footer-bottom { padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; }
.footer-legal { display: flex; gap: 8px; }
.footer-legal a { color: rgba(255,255,255,0.75); text-decoration: none; padding: 8px 12px; display: inline-block; }
.footer-legal a:hover { color: white; }
.site-credit { color: rgba(255,255,255,0.7); font-size: 0.8rem; }
.site-credit a { color: rgba(255,255,255,0.75); text-decoration: underline; transition: color 0.2s; }
.site-credit a:hover { color: white; }

/* Blog styles */
.blog-hero { padding: calc(var(--section-pad) + 60px) 0 var(--section-pad); background: var(--bg-sage); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.blog-card { background: white; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); transition: transform 0.3s, box-shadow 0.3s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.blog-card-content { padding: 24px; }
.blog-card-tag { font-size: 0.8rem; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.blog-card-title { font-family: var(--font-display); font-size: 1.2rem; color: var(--text-dark); margin-bottom: 12px; }
.blog-card-title a { color: inherit; text-decoration: none; }
.blog-card-title a:hover { color: var(--primary); }
.blog-card-excerpt { font-size: 0.9rem; color: var(--text-medium); margin-bottom: 16px; }
.blog-card-meta { font-size: 0.8rem; color: var(--text-light); }

/* Inner page styles */
.page-hero { padding: calc(var(--section-pad) + 60px) 0 60px; background: var(--bg-sage); text-align: center; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); color: var(--text-dark); margin-bottom: 16px; }
.page-hero p { font-size: 1.15rem; color: var(--text-medium); max-width: 600px; margin: 0 auto; }
.page-content { padding: var(--section-pad) 0; }
.page-content h2 { font-family: var(--font-display); font-size: 1.8rem; color: var(--text-dark); margin: 40px 0 16px; }
.page-content h3 { font-family: var(--font-display); font-size: 1.3rem; color: var(--text-dark); margin: 24px 0 12px; }
.page-content p { color: var(--text-medium); margin-bottom: 16px; line-height: 1.8; }
.content-narrow { max-width: 800px; margin: 0 auto; }

/* Utility */
.text-center { text-align: center; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-content { order: 1; }
    .hero-visual { order: 2; max-width: 500px; margin: 0 auto; }
    .hero-description { margin-left: auto; margin-right: auto; }
    .hero-ctas { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-floating { display: none; }
    .container { max-width: 100%; box-sizing: border-box; }
    .test-categories { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; gap: 16px; padding-bottom: 20px; margin: 0 -24px; padding-left: 24px; padding-right: 24px; }
    .test-category { flex: 0 0 85%; min-width: 280px; scroll-snap-align: start; }
    .steps-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; gap: 16px; padding-top: 20px; padding-bottom: 20px; margin: 0 -24px; padding-left: 24px; padding-right: 24px; }
    .step-card { flex: 0 0 75%; min-width: 250px; scroll-snap-align: start; }
    .pricing-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; gap: 16px; padding-top: 20px; padding-bottom: 20px; margin: 0 -24px; padding-left: 24px; padding-right: 24px; }
    .pricing-card { flex: 0 0 85%; min-width: 300px; scroll-snap-align: start; }
    .test-categories::-webkit-scrollbar, .steps-grid::-webkit-scrollbar, .pricing-grid::-webkit-scrollbar { display: none; }
    .test-categories, .steps-grid, .pricing-grid { scrollbar-width: none; }
    .why-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .testimonials-grid-home { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .badges-grid { gap: 24px; }
}

@media (max-width: 768px) {
    .logo img { height: 60px; }
    .nav-links { display: none !important; }
    .mobile-menu-btn { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 44px; height: 44px; z-index: 9999; position: relative; }
    .mobile-menu-btn.active span { background: #1E2D2B; }
    .mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
    .mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }
    .hero { padding: 100px 0 60px; overflow: hidden; width: 100%; max-width: 100vw; }
    .hero-container { padding: 0 20px; max-width: 100vw; width: 100%; overflow: hidden; box-sizing: border-box; }
    .hero-content { max-width: 100%; min-width: 0; overflow: hidden; }
    .hero h1 { font-size: 1.85rem; line-height: 1.2; word-break: break-word; max-width: 100%; }
    .hero-description { font-size: 1rem; max-width: 100%; overflow-wrap: break-word; word-wrap: break-word; }
    .hero-ctas { flex-direction: column; gap: 12px; width: 100%; max-width: 100%; }
    .hero-ctas .btn { width: 100%; max-width: 100%; padding: 16px 24px; font-size: 1rem; box-sizing: border-box; text-align: center; justify-content: center; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .hero-stat { border-left: none; padding-left: 0; text-align: center; background: rgba(255,255,255,0.5); padding: 16px 24px; border-radius: 12px; }
    .hero-visual { padding: 0; max-width: 100%; overflow: hidden; }
    .hero-card { padding: 24px 16px; }
    .pricing { padding: 60px 0; }
    .pricing-card { padding: 28px 20px; }
    .pricing-card.featured { padding: 32px 20px; transform: none; }
    .pricing-badge { font-size: 0.7rem; padding: 6px 14px; }
    .pricing-amount { font-size: 2.5rem; }
    .section-title { font-size: 1.6rem; padding: 0 16px; }
    .section-subtitle { font-size: 0.95rem; padding: 0 16px; }
    .comparison-table { font-size: 0.8rem; margin: 0 -8px; border-radius: 12px; }
    .comparison-header, .comparison-row { padding: 12px 12px; }
    .cta-section { padding: 50px 16px; }
    .cta-section h2 { font-size: 1.6rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
    .footer-legal { flex-wrap: wrap; justify-content: center; }
    .badges-grid { flex-direction: column; align-items: center; gap: 20px; }
    .badge-item { flex-direction: column; text-align: center; }
    .testimonials-footer { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.55rem; }
    .hero-badge { font-size: 0.8rem; }
    .hero-stat-number { font-size: 1.5rem; }
    .pricing-amount { font-size: 2.2rem; }
    .section-title { font-size: 1.4rem; }
    .comparison-header span, .comparison-row span { font-size: 0.7rem; }
}
