:root {
    --bg: #ffffff;
    --bg-soft: #f4f8f7;
    --bg-hero: linear-gradient(165deg, #f0fdf9 0%, #ffffff 55%, #f8fafc 100%);
    --border: #e2e8f0;
    --accent: #00bfa5;
    --accent-dark: #00897b;
    --accent-soft: rgba(0, 191, 165, 0.1);
    --text: #0f172a;
    --text-muted: #64748b;
    --shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.08);
    --radius: 16px;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

.page-shell {
    max-width: 980px;
    margin: 0 auto;
    padding: 20px 20px 56px;
}

/* ── Topbar ── */
.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 0;
    padding: 12px 0 20px;
}

.brand-logo {
    display: block;
    max-height: 52px;
    width: auto;
    object-fit: contain;
}

.lang-switch { position: relative; }

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    border-radius: 999px;
    padding: 9px 16px;
    cursor: pointer;
    font: inherit;
    font-size: 0.9rem;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.lang-toggle:hover {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.lang-chevron { font-size: 0.65rem; color: var(--text-muted); }

.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    inset-inline-end: 0;
    min-width: 180px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 8px;
    box-shadow: var(--shadow-lg);
    display: none;
    z-index: 20;
}

.lang-menu.open { display: block; }

.lang-menu button {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--text);
    text-align: start;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    font: inherit;
}

.lang-menu button:hover,
.lang-menu button.active {
    background: var(--accent-soft);
    color: var(--accent-dark);
}

/* ── Hero ── */
.hero {
    background: var(--bg-hero);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 4px);
    margin-bottom: 36px;
    padding: 48px 32px 40px;
    box-shadow: var(--shadow);
}

.hero-inner {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.kicker {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 999px;
    background: var(--accent-soft);
    border: 1px solid rgba(0, 191, 165, 0.25);
    color: var(--accent-dark);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero h1 {
    margin: 0 0 10px;
    font-size: clamp(2.4rem, 6vw, 3.4rem);
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero-tagline {
    margin: 0 0 16px;
    font-size: 1.05rem;
    color: var(--accent-dark);
    font-weight: 600;
}

.hero-subtitle {
    margin: 0 auto 28px;
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 34rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.play-badge {
    display: inline-block;
    transition: transform 0.15s, opacity 0.15s;
}

.play-badge:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.play-badge img {
    height: 60px;
    width: auto;
}

.hero-note {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.88rem;
}

/* ── Explain box ── */
.explain-box {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 30px;
    margin-bottom: 32px;
}

.explain-box h2 {
    margin: 0 0 12px;
    font-size: 1.3rem;
    font-weight: 700;
}

.explain-box p {
    margin: 0 0 12px;
    color: var(--text);
    line-height: 1.7;
}

.explain-example {
    margin: 0;
    padding: 14px 16px;
    background: var(--bg);
    border-inline-start: 4px solid var(--accent);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ── Section titles ── */
.section-title {
    margin: 0 0 20px;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.section-title.center {
    text-align: center;
    margin-top: 44px;
    margin-bottom: 24px;
}

.section-sub {
    text-align: center;
    color: var(--text-muted);
    margin: -12px 0 24px;
    font-size: 0.95rem;
}

/* ── Highlights ── */
.highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.highlight-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 20px;
    box-shadow: var(--shadow);
    transition: box-shadow 0.2s, transform 0.2s;
}

.highlight-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.highlight-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.highlight-card strong {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    font-size: 1rem;
}

.highlight-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ── Steps ── */
.steps-section {
    margin-bottom: 44px;
}

.steps-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.steps-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.step-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-content {
    display: grid;
    gap: 4px;
    padding-top: 4px;
}

.steps-list strong {
    color: var(--text);
    font-size: 1rem;
}

.steps-list span {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.6;
}

/* ── Screenshots ── */
.screenshots-section {
    margin-bottom: 44px;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    justify-items: center;
}

.shot-frame {
    margin: 0;
    text-align: center;
}

.shot-placeholder {
    aspect-ratio: 9 / 19;
    max-width: 200px;
    margin: 0 auto 12px;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: linear-gradient(160deg, var(--bg-soft) 0%, #e8f5f2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    color: var(--text-muted);
    font-size: 0.82rem;
    text-align: center;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.04);
}

.shot-frame figcaption {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 600;
}

.shot-frame-embed,
.shot-frame-video {
    margin: 0;
    text-align: center;
}

.shot-video-wrap {
    position: relative;
    width: 350px;
    height: 700px;
    max-width: min(350px, calc(100vw - 32px));
    max-height: min(700px, calc((100vw - 32px) * 2));
    margin: 0 auto 12px;
    border: 1px solid var(--border);
    border-radius: 28px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.04);
}

.shot-video-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.landing-embed-wrap {
    position: relative;
    width: 350px;
    height: 700px;
    max-width: min(350px, calc(100vw - 32px));
    max-height: min(700px, calc((100vw - 32px) * 2));
    margin: 0 auto 12px;
    border: 1px solid var(--border);
    border-radius: 28px;
    overflow: hidden;
    background: #f8fafc;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.04);
}

.landing-embed-wrap--large {
    flex: 0 0 auto;
    width: 350px;
    height: 700px;
    max-width: min(350px, calc(100vw - 40px));
    max-height: min(700px, calc(100vh - 120px));
    margin: 0 auto;
    border: 2px solid #1e293b;
    border-radius: 28px;
    box-shadow: var(--shadow-lg);
    background: #0f172a;
}

.landing-app-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    background: #f8fafc;
}

.embed-expand-btn {
    position: absolute;
    inset-inline-end: 8px;
    bottom: 8px;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.72);
    color: #fff;
    font-size: 0.95rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, transform 0.15s;
}

.embed-expand-btn:hover {
    background: var(--accent-dark);
    transform: scale(1.05);
}

.embed-expand-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.embed-expand-modal.hidden {
    display: none;
}

.embed-expand-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
}

.embed-expand-panel {
    position: relative;
    z-index: 1;
    width: min(420px, 100%);
    max-height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.embed-expand-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 4px;
}

.embed-expand-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.embed-expand-close {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.embed-expand-close:hover {
    background: rgba(255, 255, 255, 0.28);
}

/* ── Features grid ── */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.panel {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.panel-accent {
    border-color: rgba(0, 191, 165, 0.3);
    background: linear-gradient(160deg, #f0fdf9 0%, #ffffff 60%);
}

.panel h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
    font-weight: 700;
}

.panel-sub {
    margin: 0 0 18px;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

.check-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.check-item {
    padding: 13px 15px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: border-color 0.15s;
}

.check-item:hover {
    border-color: rgba(0, 191, 165, 0.35);
}

.check-item h4 {
    margin: 0 0 4px;
    font-size: 0.93rem;
    font-weight: 600;
    color: var(--text);
}

.check-item p {
    margin: 0;
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ── OTG flow ── */
.otg-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding: 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px dashed rgba(0, 191, 165, 0.35);
}

.phone-chip {
    min-width: 120px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--bg);
    border: 1px solid var(--border);
    text-align: center;
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.4;
}

.phone-chip span:first-child {
    display: block;
    font-size: 1.4rem;
    margin-bottom: 6px;
}

.otg-link {
    color: var(--accent-dark);
    font-size: 0.78rem;
    font-weight: 700;
    text-align: center;
}

.otg-feat-intro {
    margin: 0 0 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.simple-list {
    margin: 0 0 16px;
    padding-inline-start: 1.2rem;
    color: var(--text);
    font-size: 0.92rem;
}

.simple-list li { margin-bottom: 5px; }

.panel-note {
    margin: 0 0 16px;
    padding: 11px 14px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 10px;
    font-size: 0.86rem;
    color: #92400e;
    line-height: 1.55;
}

.cta-pill {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 12px;
    padding: 14px 16px;
    font: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
    background: var(--accent);
    cursor: pointer;
    transition: background 0.15s, transform 0.15s;
}

.cta-pill:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

/* ── Who section ── */
.who-section {
    margin-bottom: 40px;
}

.who-list {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
    list-style: none;
}

.who-list li {
    padding: 14px 18px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    padding-inline-start: 42px;
}

.who-list li::before {
    content: "→";
    position: absolute;
    inset-inline-start: 16px;
    color: var(--accent);
    font-weight: 700;
}

[dir="rtl"] .who-list li::before {
    content: "←";
}

/* ── FAQ ── */
.faq-section {
    margin-bottom: 44px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0 18px;
    margin-bottom: 10px;
    background: var(--bg);
    transition: border-color 0.15s;
}

.faq-item[open] {
    border-color: rgba(0, 191, 165, 0.4);
}

.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    padding: 16px 0;
    list-style: none;
    font-size: 0.97rem;
}

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

.faq-item summary::after {
    content: "+";
    float: inline-end;
    color: var(--accent);
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    margin: 0 0 16px;
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.65;
}

/* ── CTA section ── */
.cta-section {
    text-align: center;
    background: var(--bg-hero);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 32px;
    margin-bottom: 36px;
    box-shadow: var(--shadow);
}

.cta-title {
    margin: 0 0 10px;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.cta-subtitle {
    margin: 0 0 24px;
    color: var(--text-muted);
    font-size: 1rem;
}

/* ── Footer ── */
.footer {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.6;
}

.footer p { margin: 0; }

/* ── RTL ── */
[dir="rtl"] .explain-example {
    border-inline-start: none;
    border-inline-end: 4px solid var(--accent);
}

[dir="rtl"] .faq-item summary::after {
    float: inline-start;
}

/* ── Responsive ── */
@media (max-width: 800px) {
    .highlights,
    .screenshots-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .otg-flow { flex-direction: column; }

    .hero { padding: 36px 20px 32px; }
}

@media (max-width: 480px) {
    .page-shell { padding-inline: 14px; }
    .brand-logo { max-height: 42px; }
    .play-badge img { height: 52px; }
    .cta-section { padding: 32px 20px; }
}
