:root {
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --bg-light: #F3F4F6;
    --bg-gray: #E5E7EB;
    --text-dark: #111827;
    --text-gray: #6B7280;
    --white: #ffffff;
    --radius: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-mark {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.logo-sub {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-gray);
    margin-top: 2px;
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-gray);
    font-size: 15px;
    transition: color 0.3s;
}
.nav-menu a:hover { color: var(--primary); }

/* Mobile header: hamburger + left drawer */
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.14);
    background: rgba(255,255,255,0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.header-spacer { display: none; width: 44px; height: 44px; }

.nav-close {
    display: none;
    margin-left: auto;
    border: 1px solid rgba(15, 23, 42, 0.14);
    background: rgba(255,255,255,0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 14px;
    width: 44px;
    height: 44px;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 1500;
}

body.nav-open { overflow: hidden; }
body.nav-open .nav-backdrop { opacity: 1; pointer-events: auto; }


/* Buttons */
.btn-outline {
    border: 1px solid var(--text-gray);
    background: transparent;
    padding: 8px 16px;
    border-radius: var(--radius);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s, transform 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 15px 35px; font-size: 18px; }
.btn-full { width: 100%; margin-top: 15px; }

/* Section Utilities */
.section-padding { padding: 80px 0; }
.bg-gray { background-color: #F9FAFB; }
.hidden-section { display: none !important; }
.active-section { display: block; }
.fade-in { animation: fadeIn 0.5s ease; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 32px; margin-bottom: 10px; }
.section-title p { color: var(--text-gray); }

/* Hero Section */
.hero-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 80px 0;
    min-height: 80vh;
}

.hero-text h1 {
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.badge {
    background: #DBEAFE;
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}

.price-tag { margin-bottom: 20px; color: var(--text-dark); }

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
}

.trust-badges {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--text-gray);
}

.micro-disclaimer {
    margin-top: 14px;
    font-size: 12px;
    color: var(--text-gray);
    background: rgba(255,255,255,0.65);
    border: 1px solid #E5E7EB;
    padding: 10px 12px;
    border-radius: 12px;
    max-width: 560px;
}

/* Trust strip */
.trust-strip {
    padding: 18px 0 0;
}
.trust-strip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.trust-pill {
    background: var(--white);
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.03);
}
.trust-pill strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}
.trust-pill span {
    color: var(--text-gray);
    font-size: 13px;
}

/* Steps Section */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.step-card {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    text-align: center;
}
.step-number {
    font-size: 40px;
    font-weight: 700;
    color: #DBEAFE;
    margin-bottom: 10px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

/* Value grid */
.value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.value-card {
    background: var(--white);
    border-radius: 16px;
    padding: 22px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.value-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.value-card p {
    color: var(--text-gray);
    font-size: 14px;
}

.note-box {
    margin-top: 22px;
    background: #111827;
    color: #E5E7EB;
    border-radius: 16px;
    padding: 18px 20px;
    font-size: 13px;
}

.note-box strong { color: #FFFFFF; }

/* Pricing Section */
.pricing-card {
    background: var(--white);
    max-width: 400px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    text-align: center;
    position: relative;
    border: 2px solid var(--primary);
}
.badge-pop {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}
.price { font-size: 42px; font-weight: 700; color: var(--text-dark); margin: 10px 0; }
.price span { font-size: 16px; color: var(--text-gray); font-weight: 400; }
.pricing-features { list-style: none; text-align: left; margin: 25px 0; padding: 0 20px; }
.pricing-features li { margin-bottom: 12px; color: var(--text-dark); }
.cancel-text { font-size: 12px; color: var(--text-gray); margin-top: 15px; }

/* Bottom CTA */
.bottom-cta { background: #111827; color: white; border-radius: 20px; margin-bottom: 40px; }
.bottom-cta h2 { color: white; margin-bottom: 10px; }
.bottom-cta p { color: #9CA3AF; margin-bottom: 30px; }

/* Footer */
footer { padding: 50px 0; border-top: 1px solid #E5E7EB; margin-top: 40px; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
    gap: 28px;
    align-items: start;
}

.footer-col h4 { font-size: 18px; margin-bottom: 10px; }
.footer-col h5 { font-size: 14px; margin-bottom: 10px; color: var(--text-dark); }

.footer-col a {
    display: block;
    text-decoration: none;
    color: var(--text-gray);
    font-size: 13px;
    margin-bottom: 8px;
}

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

.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid #E5E7EB;
    background: #FFFFFF;
    color: var(--text-gray);
}

.footer-legal { font-size: 12px; color: var(--text-gray); margin-top: 10px; }

.footer-bottom {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid #E5E7EB;
    font-size: 12px;
    color: var(--text-gray);
}

/* Doctors */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.doctor-card {
    background: var(--white);
    border: 1px solid #E5E7EB;
    border-radius: 18px;
    padding: 18px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.doctor-photo {
    width: 74px;
    height: 74px;
    border-radius: 16px;
    flex: 0 0 auto;
}

.doctor-meta h3 { font-size: 15px; margin-bottom: 4px; }
.doctor-role { font-size: 12px; color: var(--primary); font-weight: 700; margin-bottom: 8px; }
.doctor-bio { font-size: 13px; color: var(--text-gray); }

/* FAQ */
.faq-grid {
    max-width: 860px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.faq-item {
    background: var(--white);
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 14px 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary:after {
    content: '+';
    float: right;
    color: var(--text-gray);
    font-weight: 800;
}

.faq-item[open] summary:after { content: '–'; }

.faq-content {
    margin-top: 10px;
    color: var(--text-gray);
    font-size: 14px;
}

/* APP SECTIONS (Form, Loader, Result) */
.form-container {
    max-width: 600px;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    margin: 40px auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.back-link { cursor: pointer; color: var(--text-gray); margin-bottom: 20px; display: inline-block; font-size: 14px; }
.back-link:hover { color: var(--primary); }

.form-group { margin-bottom: 25px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; }
textarea { width: 100%; padding: 12px; border: 1px solid #E5E7EB; border-radius: 8px; height: 100px; font-family: inherit; resize: vertical; }
.file-upload input { display: block; margin-top: 5px; font-size: 14px; }

/* Loading */
.loader-container { text-align: center; padding: 100px 0; max-width: 500px; margin: 0 auto; }
.scanner { width: 60px; height: 60px; border: 4px solid #E5E7EB; border-top: 4px solid var(--primary); border-radius: 50%; margin: 0 auto 20px; animation: spin 1s linear infinite; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.websitegress-bar { width: 100%; height: 6px; background: #E5E7EB; border-radius: 3px; margin-top: 20px; overflow: hidden; }
.websitegress-fill { height: 100%; width: 0%; background: var(--primary); transition: width 0.5s ease; }

/* Result */
.result-container { text-align: center; padding: 60px 0; max-width: 600px; margin: 0 auto; }
.success-icon { font-size: 50px; margin-bottom: 20px; }
.report-card {
    background: var(--white);
    padding: 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
    margin: 30px 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}
.report-img { width: 80px; height: 80px; border-radius: 10px; object-fit: cover; }
.btn-download { padding: 15px 40px; font-size: 18px; display: block; margin: 0 auto; width: fit-content; }
.sub-disclaimer { margin-top: 15px; font-size: 13px; color: var(--text-gray); }

/* Mobile */
@media (max-width: 768px) {
    .hero-grid { flex-direction: column; text-align: center; }
    .features-grid { grid-template-columns: 1fr; }
    .value-grid { grid-template-columns: 1fr; }
    .doctors-grid { grid-template-columns: 1fr; }
    .trust-strip-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    /* Header: logo centered + hamburger opens left drawer */
    .header-content {
        display: grid;
        grid-template-columns: 44px 1fr 44px;
        align-items: center;
        gap: 0;
    }

    .logo { justify-self: center; text-align: center; }
    .nav-toggle { display: inline-flex; }
    .header-spacer { display: block; }

    .nav-close { display: inline-flex; align-items: center; justify-content: center; }
    .nav-backdrop { display: block; }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: min(320px, 86vw);
        padding: 14px 14px;
        background: rgba(255,255,255,0.92);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-right: 1px solid rgba(15, 23, 42, 0.10);
        box-shadow: 0 20px 60px rgba(0,0,0,0.20);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        transform: translateX(-105%);
        transition: transform 0.22s ease;
        z-index: 2000;
    }

    body.nav-open .nav-menu { transform: translateX(0); }

    .nav-menu a,
    .nav-menu button { width: 100%; text-align: left; }

    .nav-menu .btn-primary { width: 100%; text-align: center; }
}

/* Legal pages */

.legal-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.legal-card h1 {
    font-size: 34px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.legal-muted {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 18px;
}

.legal-card h2 {
    font-size: 20px;
    margin-top: 18px;
    margin-bottom: 8px;
}

.legal-card p {
    color: var(--text-dark);
    margin-bottom: 10px;
}

.legal-list {
    margin: 8px 0 12px 18px;
    color: var(--text-dark);
}

.legal-list li {
    margin: 6px 0;
}

.legal-callout {
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 12px;
    padding: 14px 14px;
}

.legal-actions {
    display: flex;
    gap: 12px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.legal-toc {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px;
    background: rgba(17, 24, 39, 0.03);
    border: 1px solid rgba(17, 24, 39, 0.06);
    border-radius: 12px;
    margin: 14px 0 18px;
}

.legal-toc a {
    font-size: 13px;
    color: var(--text-gray);
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid rgba(17, 24, 39, 0.08);
}

.legal-toc a:hover {
    color: var(--primary);
    border-color: rgba(37, 99, 235, 0.35);
}

/* Legal pages */
.legal-page {
    padding: 40px 0 60px;
}

.legal-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.legal-card h1 {
    font-size: 34px;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.legal-muted {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 18px;
}

.legal-card h2 {
    font-size: 20px;
    margin-top: 22px;
    margin-bottom: 10px;
}

.legal-card p {
    margin: 10px 0;
}

.legal-card ul {
    padding-left: 18px;
    margin: 10px 0;
}

.legal-card li {
    margin: 8px 0;
}

.legal-toc {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    background: var(--bg-light);
    border: 1px solid rgba(17,24,39,0.08);
    border-radius: 10px;
    padding: 14px;
    margin: 14px 0 18px;
}

.legal-toc a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.legal-toc a:hover { text-decoration: underline; }

.back-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 18px;
}

.back-home:hover { color: var(--primary); }


/* =========================================================
   Premium SaaS visual tuning (2026 look)
   Keeps structure + functionality intact, upgrades visuals.
   ========================================================= */

:root {
    /* Primary */
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --primary-glow: rgba(37, 99, 235, 0.3);

    /* Surfaces */
    --bg-light: #FAFAFA;
    --bg-surface: #FFFFFF;
    --bg-glass: rgba(255, 255, 255, 0.7);

    /* Text */
    --text-dark: #0F172A;
    --text-gray: #64748B;

    /* UI */
    --white: #FFFFFF; /* Backward compatibility */
    --radius: 16px;
    --border-light: rgba(0, 0, 0, 0.08);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.10), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.10), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 50px -12px rgba(0, 0, 0, 0.18);
    --shadow-glow: 0 0 20px var(--primary-glow);
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
}

/* Force websiteper emoji rendering (some browsers show tofu squares with certain webfonts) */
.emoji {
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

h1, h2, h3, h4 {
    letter-spacing: -0.03em;
    font-weight: 700;
}

/* Ambient light background (depth without layout changes) */
body::before {
    content: '';
    position: fixed;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 1100px;
    height: 640px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(255,255,255,0) 70%);
    z-index: -1;
    pointer-events: none;
}

/* Glass header */
header {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: none;
}

/* Hero typography */
.hero-text h1 {
    font-size: 56px;
    line-height: 1.05;
    background: linear-gradient(135deg, #0F172A 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 24px;
}

.hero-text p {
    font-size: 18px;
    color: var(--text-gray);
}

.badge {
    background: rgba(37, 99, 235, 0.10);
    border: 1px solid rgba(37, 99, 235, 0.18);
    color: var(--primary);
}

.micro-disclaimer {
    background: rgba(255,255,255,0.70);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

/* Bento card system */
.step-card, .value-card, .trust-pill, .doctor-card, .faq-item, .pricing-card, .report-card, .legal-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.step-card:hover, .value-card:hover, .doctor-card:hover, .pricing-card:hover, .report-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37, 99, 235, 0.20);
}

/* Steps: modern number treatment */
.step-card {
    position: relative;
    overflow: hidden;
    text-align: left;
}

.step-number {
    font-size: 50px;
    font-weight: 800;
    background: linear-gradient(180deg, #DBEAFE 0%, rgba(255,255,255,0) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: absolute;
    top: 12px;
    right: 18px;
    opacity: 0.6;
    margin: 0;
}

.step-card h3 {
    margin-top: 18px;
}

/* Buttons: pill + glow */
.btn-primary {
    background: var(--primary);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.20), 0 4px 14px 0 rgba(37, 99, 235, 0.39);
    color: var(--white);
    border: none;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.20), 0 6px 20px rgba(37, 99, 235, 0.23);
}

.btn-primary:active {
    transform: translateY(1px);
}

/* Size modifiers (keep existing layout) */
.btn-primary.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-primary.btn-lg { padding: 15px 35px; font-size: 18px; }
.btn-primary.btn-full { width: 100%; margin-top: 15px; }
.btn-primary.btn-download { padding: 15px 40px; font-size: 18px; display: block; margin: 0 auto; width: fit-content; }

.btn-outline {
    border: 1px solid rgba(15, 23, 42, 0.18);
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 999px;
}

/* Forms: bigger + clean */
textarea, input[type="text"], input[type="email"] {
    width: 100%;
    padding: 16px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.2s;
    outline: none;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.01);
}

textarea:focus, input:focus {
    background: #FFFFFF;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}

.form-container {
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-xl);
}

/* Loader / websitegress */
.scanner {
    box-shadow: var(--shadow-sm);
}

.websitegress-bar {
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.06);
}

/* Animation: smoother "spring" */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.fade-in {
    animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Fine-tune: sections & surfaces */
.bg-gray {
    background-color: rgba(15, 23, 42, 0.02);
}

.hero-image img {
    border-radius: calc(var(--radius) + 4px);
    box-shadow: var(--shadow-lg);
}

.bottom-cta {
    border-radius: calc(var(--radius) + 8px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.18);
}

/* Responsive hero typography */
@media (max-width: 768px) {
    .hero-text h1 { font-size: 40px; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
}

/* Form hints + skip checkboxes */
.form-hints{
    margin: 12px 0 22px;
    padding-left: 18px;
    color: var(--text-gray);
    font-size: 13px;
    line-height: 1.5;
}

.skip-line{
    margin: 10px 0 0;
}

.skip-check{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-gray);
    cursor: pointer;
}

.skip-check--small{
    margin-top: 10px;
}

.skip-check input{
    width: 16px;
    height: 16px;
}

textarea:disabled{
    background: #F9FAFB;
    color: #6B7280;
}

.file-upload.is-disabled{
    opacity: 0.65;
}

/* Stats strip */
.stats-strip{
    padding: 22px 0 10px;
}

.stats-bar{
    background: var(--white);
    border: 1px solid #E5E7EB;
    border-radius: 22px;
    padding: 22px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.04);
}

.stat-item{
    flex: 1;
    text-align: center;
}

.stat-icon{
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    background: rgba(37, 99, 235, 0.10);
    border: 1px solid rgba(37, 99, 235, 0.18);
    animation: floatIcon 2.8s ease-in-out infinite;
}

.stat-item:nth-child(1) .stat-icon{ animation-delay: 0s; }
.stat-item:nth-child(3) .stat-icon{ animation-delay: .2s; }
.stat-item:nth-child(5) .stat-icon{ animation-delay: .4s; }

@keyframes floatIcon{
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.stat-number{
    font-size: 46px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}

.stat-label{
    margin-top: 6px;
    font-size: 14px;
    color: var(--text-gray);
}

.stat-divider{
    width: 1px;
    height: 56px;
    background: #E5E7EB;
}

/* Mobile */
@media (max-width: 820px){
    .stats-bar{
        flex-direction: column;
        gap: 14px;
        text-align: center;
    }
    .stat-divider{ display:none; }
}

/* Testimonials */
.testimonials-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    align-items: stretch;
}

.testimonial-card{
    background: var(--white);
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    position: relative;
}

.quote-mark{
    font-size: 56px;
    line-height: 1;
    color: rgba(17, 24, 39, 0.25);
    margin-bottom: 8px;
}

.testimonial-text{
    font-size: 15px;
    color: var(--text-gray);
    font-style: italic;
}

.testimonial-person{
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.person-avatar{
    width: 46px;
    height: 46px;
    border-radius: 999px;
    object-fit: cover;
    flex: 0 0 auto;
    border: 1px solid #E5E7EB;
}

.person-meta strong{
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
}

.person-meta span{
    display: block;
    font-size: 12px;
    color: var(--text-gray);
}

/* Responsive */
@media (max-width: 820px){
    .testimonials-grid{ grid-template-columns: 1fr; }
}

/* Page flip / slide transitions */
.page-enter{
    animation: pageEnter 320ms cubic-bezier(.2,.8,.2,1) both;
}

.page-exit{
    animation: pageExit 240ms cubic-bezier(.2,.8,.2,1) both;
}

@keyframes pageEnter{
    from { opacity: 0; transform: translateX(26px) scale(0.99); }
    to   { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes pageExit{
    from { opacity: 1; transform: translateX(0) scale(1); }
    to   { opacity: 0; transform: translateX(-26px) scale(0.99); }
}

/* Safety: never allow testimonial images to blow up layout */
.testimonial-card img{
    max-width: 100%;
    height: auto;
}

.person-avatar{
    width: 46px !important;
    height: 46px !important;
    max-width: 46px !important;
    max-height: 46px !important;
    object-fit: cover;
    border-radius: 999px;
}

/* Custom file input (English UI) */
.file-input-hidden{
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.file-ui{
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.file-ui-label{
    font-weight: 600;
}

.file-ui-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    background: #fff;
    cursor: pointer;
    font-weight: 600;
}

.file-ui-name{
    font-size: 13px;
    color: var(--text-gray);
}

/* Skip checkboxes */
.skip-check{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-gray);
    cursor: pointer;
}

.skip-check--small{
    margin-top: 12px;
}

/* Visible disabled state */
textarea.is-disabled,
textarea:disabled{
    background: #F3F4F6;
    color: #6B7280;
    cursor: not-allowed;
    opacity: 0.9;
}

.file-upload.is-disabled{
    opacity: 0.55;
}

.file-upload.is-disabled .file-ui-btn{
    pointer-events: none;
    opacity: 0.65;
}