:root {
    --bg: #fff8f7;
    --surface: #ffffff;
    --ink: #151d27;
    --muted: #5d6b78;
    --line: #eadfe2;
    --blue: #0099f4;
    --pink: #ff338f;
    --violet: #a75bd8;
    --deep: #102a43;
    --soft-blue: #e7f6ff;
    --soft-pink: #fff0f7;
    --shadow: 0 24px 70px rgba(24, 36, 52, 0.14);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-size: 17px; line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.hidden { display: none !important; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    min-height: 78px;
    padding: 14px clamp(18px, 4vw, 54px);
    background: rgba(255, 248, 247, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.logo { width: clamp(190px, 18vw, 286px); height: auto; }
.main-nav { display: flex; justify-content: center; gap: 26px; color: var(--muted); font-weight: 780; }
.main-nav a, .text-link { text-decoration: none; }
.main-nav a:hover, .text-link:hover { color: var(--blue); }
.header-actions, .hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.header-actions { justify-content: flex-end; }
.hero-actions { justify-content: flex-start; }

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: white;
}

.language-switcher a {
    min-width: 34px;
    padding: 5px 8px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    text-decoration: none;
}

.language-switcher a.active {
    color: white;
    background: var(--deep);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 8px;
    padding: 10px 16px;
    text-decoration: none;
    font-weight: 850;
    border: 1px solid transparent;
}
.button.large { min-height: 52px; padding: 13px 20px; }
.primary { color: white; background: linear-gradient(135deg, var(--pink), var(--blue)); box-shadow: 0 14px 34px rgba(0, 153, 244, 0.22); }
.secondary { color: var(--deep); background: white; border-color: var(--line); }

.hero {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
    gap: clamp(26px, 5vw, 70px);
    align-items: center;
    min-height: calc(100vh - 78px);
    padding: clamp(34px, 6vw, 86px) clamp(18px, 5vw, 72px) 44px;
}
.hero-copy { display: grid; gap: 22px; max-width: 760px; }
.eyebrow { margin: 0; color: var(--blue); font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: 0; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 0; font-size: clamp(48px, 7vw, 86px); line-height: 0.98; letter-spacing: 0; }
h2 { margin-bottom: 0; font-size: clamp(34px, 5vw, 58px); line-height: 1.04; letter-spacing: 0; }
h3 { margin-bottom: 8px; font-size: 22px; }
.hero-lede, .section-heading p, .science-copy p { color: var(--muted); font-size: 20px; max-width: 760px; }
.trust-strip { display: flex; gap: 10px; flex-wrap: wrap; }
.trust-strip span, .method-list span {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 5px 11px;
    border-radius: 999px;
    background: white;
    border: 1px solid var(--line);
    color: var(--deep);
    font-weight: 800;
    font-size: 14px;
}

.hero-visual {
    position: relative;
    min-height: 560px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--soft-blue);
}
.hero-image { width: 100%; height: 100%; min-height: 560px; object-fit: cover; }
.product-card {
    position: absolute;
    right: 22px;
    bottom: 22px;
    width: 245px;
    padding: 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255,255,255,0.8);
    box-shadow: 0 18px 50px rgba(20, 31, 45, 0.18);
    backdrop-filter: blur(14px);
}
.mini-label { color: var(--pink); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.product-card strong { display: block; margin: 4px 0 10px; font-size: 24px; }
.score-row { display: flex; justify-content: space-between; padding: 7px 0; border-top: 1px solid var(--line); }

.logos-band {
    display: flex;
    justify-content: center;
    padding: 20px clamp(18px, 5vw, 72px) 44px;
}
.logos-band img { width: min(720px, 92vw); }

.section {
    padding: clamp(56px, 8vw, 108px) clamp(18px, 5vw, 72px);
    border-top: 1px solid var(--line);
}
.section-heading { display: grid; gap: 12px; max-width: 880px; margin-bottom: 30px; }
.problem {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    gap: 32px;
    align-items: start;
    background: white;
}
.problem-grid, .steps, .pricing-grid, .clinic-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.problem-grid article, .steps article, .price-card, .clinic-grid article {
    padding: 22px;
    border-radius: 8px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: 0 14px 34px rgba(24, 36, 52, 0.06);
}
.problem-grid strong { display: block; margin-bottom: 6px; color: var(--pink); font-size: 42px; line-height: 1; }
.problem-grid span, .steps p, .price-card p { color: var(--muted); }
.journey { background: linear-gradient(180deg, #fff8f7 0%, #f3faff 100%); }
.steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps article span { display: inline-block; margin-bottom: 18px; color: var(--blue); font-weight: 950; }
.science { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr); gap: 34px; align-items: center; background: white; }
.method-list { display: flex; flex-wrap: wrap; gap: 10px; }
.safety { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1fr); gap: 24px; background: var(--deep); color: white; }
.safety p, .safety span { color: #d8e6ef; }
.safety .eyebrow { color: #68c8ff; }
.safety-panel, .safety-list div { padding: 24px; border-radius: 8px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255,255,255,0.14); }
.safety-list { display: grid; gap: 12px; }
.safety-list b { display: block; margin-bottom: 4px; }
.pricing { background: #fff8f7; }
.pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.price-card { display: grid; gap: 14px; align-content: start; }
.price-card strong { font-size: 34px; line-height: 1.1; }
.price-meta { color: var(--muted); font-weight: 750; }
.download-section { background: #fff8f7; }
.download-grid {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.download-grid.compact { justify-content: center; }
.store-button {
    display: grid;
    gap: 2px;
    min-width: 190px;
    min-height: 64px;
    padding: 10px 18px;
    border-radius: 8px;
    color: white;
    background: var(--deep);
    text-decoration: none;
    box-shadow: 0 14px 34px rgba(16, 42, 67, 0.18);
}
.store-button span {
    color: #c6d8e5;
    font-size: 12px;
    font-weight: 750;
}
.store-button strong {
    font-size: 20px;
    line-height: 1.1;
}
.web-checkout-note {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 16px;
}
.clinics { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr); gap: 34px; background: white; }
.clinic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.clinic-grid article { font-weight: 850; color: var(--deep); }
.final-cta {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 20px;
    padding: clamp(60px, 9vw, 120px) 20px;
}
.final-cta img { width: min(520px, 86vw); }
.final-cta h2 { max-width: 820px; }
.admin-link { color: var(--muted); font-size: 14px; text-decoration: none; }
.admin-link:hover { color: var(--blue); }
.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    padding: 22px clamp(18px, 5vw, 72px);
    border-top: 1px solid var(--line);
    color: var(--muted);
    background: white;
    font-size: 14px;
}

html[dir="rtl"] body { text-align: right; }
html[dir="rtl"] .product-card { right: auto; left: 22px; }
html[dir="rtl"] .hero-actions,
html[dir="rtl"] .trust-strip,
html[dir="rtl"] .method-list { justify-content: flex-start; }
html[dir="rtl"] .site-footer { direction: rtl; }
html[dir="rtl"] .score-row { direction: rtl; }

@media (max-width: 980px) {
    .site-header { grid-template-columns: 1fr auto; }
    .main-nav { display: none; }
    .header-actions .text-link { display: none; }
    .hero, .problem, .science, .safety, .clinics { grid-template-columns: 1fr; }
    .hero-visual, .hero-image { min-height: 420px; }
    .problem-grid, .steps, .pricing-grid, .clinic-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    body {
        background: #ffffff;
        font-size: 18px;
        line-height: 1.6;
        color: #07111f;
    }

    .page {
        padding-inline: 8px;
    }

    .logo { width: 156px; }
    .site-header { padding: 12px 14px; }
    .button { width: 100%; }
    .store-button { width: 100%; }
    .header-actions .button { display: none; }
    .header-actions { justify-content: stretch; }
    .hero { padding-top: 28px; }
    h1 { font-size: 44px; line-height: 1.06; }
    h2 { font-size: 34px; line-height: 1.1; }
    h3 { font-size: 24px; line-height: 1.18; }
    .hero-lede,
    .section-heading p,
    .science-copy p,
    p,
    li {
        color: #1f2937;
        font-size: 18px;
    }

    .card,
    .steps article,
    .price-card,
    .clinic-grid article,
    .safety-card,
    .problem-grid article {
        border-radius: 8px;
    }

    .product-card { position: static; width: auto; margin: -120px 14px 14px; }
    html[dir="rtl"] .product-card { left: auto; }
}
