:root {
    --bg: #070708;
    --bg-2: #0d0d10;
    --elev: #14141a;
    --text: #f6f6f7;
    --muted: rgba(246, 246, 247, 0.68);
    --faint: rgba(246, 246, 247, 0.58);
    --line: rgba(255, 255, 255, 0.08);
    --accent-a: #ff8a3d;
    --accent-b: #ff4d8d;
    --blue: #2563eb;
    --blue-hover: #1d4ed8;
    --radius: 20px;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    --max: 1160px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 76px;
}

html[dir="rtl"] {
    direction: rtl;
}

body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size-adjust: 0.52;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    overflow-wrap: anywhere;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
}

.skip {
    position: absolute;
    left: -999px;
    top: 8px;
    background: var(--blue);
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    z-index: 2000;
}

.skip:focus {
    left: 8px;
}

.wrap {
    width: min(var(--max), calc(100% - 40px));
    max-width: 100%;
    min-width: 0;
    margin: 0 auto;
}

.grad {
    background: linear-gradient(90deg, var(--accent-a), var(--accent-b));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Header */
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    overflow: visible;
    backdrop-filter: blur(16px);
    background: rgba(7, 7, 8, 0.72);
    border-bottom: 1px solid var(--line);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.brand span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand img {
    width: 36px;
    height: 36px;
    border-radius: 9px;
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-switcher {
    position: relative;
}

.lang-btn,
.nav-cta {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    border-radius: 12px;
    padding: 8px 12px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.nav-cta {
    background: var(--blue);
    border-color: transparent;
    color: #fff;
}

.nav-cta:hover {
    background: var(--blue-hover);
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 60;
    min-width: 200px;
    max-height: 360px;
    overflow: auto;
    background: #1b1b22;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 6px;
    box-shadow: var(--shadow);
}

html[dir="rtl"] .lang-dropdown {
    right: auto;
    left: 0;
}

.lang-dropdown.active {
    display: flex;
    flex-direction: column;
}

.lang-option {
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
}

.lang-option:hover,
.lang-option.active {
    background: rgba(255, 255, 255, 0.08);
}

.lang-option.active {
    color: #fff;
}

/* Hero */
.hero {
    position: relative;
    padding: 56px 0 32px;
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(40px);
}

.hero::before {
    width: 520px;
    height: 520px;
    right: -120px;
    top: -80px;
    background: radial-gradient(circle, rgba(255, 77, 141, 0.38), transparent 70%);
}

.hero::after {
    width: 420px;
    height: 420px;
    left: -140px;
    bottom: 40px;
    background: radial-gradient(circle, rgba(255, 138, 61, 0.22), transparent 70%);
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
}

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 16px;
    text-wrap: balance;
}

.hero h1,
.section-head h2,
.tool-copy h2,
.cta-band h2 {
    text-wrap: balance;
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--muted);
    margin-bottom: 12px;
    font-weight: 600;
}

.hero-lead {
    font-size: 1.08rem;
    color: var(--muted);
    max-width: 540px;
    margin-bottom: 22px;
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}

.download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    background: var(--blue);
    color: #fff;
    transition: transform 0.2s ease, background 0.2s ease;
}

.download-btn.secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--line);
}

.download-btn:hover {
    transform: translateY(-2px);
    background: var(--blue-hover);
}

.download-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.14);
}

.download-btn svg {
    width: 22px;
    height: 22px;
}

.hero-figure {
    position: relative;
    isolation: isolate;
}

.hero-figure,
.tool figure {
    min-width: 0;
    display: block;
    width: min(100%, var(--phone-width, 300px));
    max-width: min(100%, var(--phone-width, 300px));
    margin-inline: auto;
    padding: 14px 12px 18px;
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.1) 0%, transparent 28%),
        linear-gradient(145deg, #3d3d46 0%, #222228 42%, #101014 100%);
    border-radius: 48px;
    box-shadow:
        0 36px 72px -16px rgba(0, 0, 0, 0.62),
        0 0 0 1px rgba(255, 255, 255, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        inset 0 -1px 0 rgba(0, 0, 0, 0.35);
}

.hero-figure {
    --phone-width: 320px;
}

.tool figure {
    --phone-width: 300px;
}

.hero-figure::before,
.tool figure::before {
    content: "";
    position: absolute;
    top: 24px;
    left: 50%;
    z-index: 2;
    width: 84px;
    height: 24px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: #050506;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.05),
        0 1px 2px rgba(0, 0, 0, 0.35);
}

.hero-figure::after,
.tool figure::after {
    content: "";
    position: absolute;
    inset: 8% -14% -18%;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 138, 61, 0.18) 0%, rgba(255, 77, 141, 0.08) 34%, transparent 72%);
    pointer-events: none;
}

.hero-figure img,
.tool figure img {
    display: block;
    width: 100%;
    max-width: none;
    max-height: min(78vh, 720px);
    height: auto;
    margin: 0;
    border: none;
    border-radius: 34px;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.04),
        0 10px 24px rgba(0, 0, 0, 0.28);
}

.proof {
    margin-top: 18px;
    color: var(--muted);
    font-weight: 600;
}

/* Sections */
.section {
    padding: 88px 0;
}

.section.alt {
    background: linear-gradient(180deg, var(--bg-2), var(--bg));
}

.section-head {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-head h2,
.tool-copy h2,
.faq h2,
.cta-band h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 12px;
}

.section-head p,
.tool-copy .desc,
.lede {
    color: var(--muted);
    font-size: 1.05rem;
}

.tool {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 88px;
}

.tool:last-child {
    margin-bottom: 0;
}

.tool.reverse .tool-copy {
    order: 2;
}

.tool-kicker {
    color: var(--accent-a);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
    margin-bottom: 10px;
}

.points {
    list-style: none;
    margin-top: 20px;
    display: grid;
    gap: 10px;
}

.points li {
    display: flex;
    gap: 10px;
    color: var(--text);
    font-weight: 600;
}

.points li::before {
    content: "";
    width: 8px;
    height: 8px;
    margin-top: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: linear-gradient(90deg, var(--accent-a), var(--accent-b));
}

.faq-list,
.about,
.faq-item,
.card {
    min-width: 0;
    max-width: 100%;
}

.faq-item p,
.about p {
    overflow-wrap: anywhere;
}

.more-grid,
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.card {
    background: var(--elev);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
}

.card h3 {
    font-size: 1.15rem;
    margin: 8px 0 8px;
}

.card p {
    color: var(--muted);
}

.card .icon {
    font-size: 1.6rem;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.faq-item {
    background: var(--elev);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px 20px;
}

.faq-item h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.faq-item p {
    color: var(--muted);
}

.about {
    max-width: 800px;
    margin: 0 auto;
    color: var(--muted);
}

.about p + p {
    margin-top: 14px;
}

.cta-band {
    text-align: center;
    padding: 72px 0 40px;
}

.cta-band p {
    color: var(--muted);
    margin-bottom: 24px;
}

.footer {
    border-top: 1px solid var(--line);
    padding: 28px 0 40px;
    color: var(--faint);
    font-size: 0.92rem;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.footer a {
    color: var(--muted);
    text-decoration: none;
}

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

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 900px) {
    .hero-grid,
    .tool,
    .more-grid,
    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .tool.reverse .tool-copy {
        order: 0;
    }

    .hero {
        padding-top: 28px;
    }

    .hero h1 {
        font-size: clamp(1.85rem, 8vw, 2.6rem);
    }

    .nav-cta {
        display: none;
    }

    .section {
        padding: 64px 0;
    }

    .tool {
        margin-bottom: 64px;
        gap: 24px;
    }

    .hero .download-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .hero .download-btn {
        justify-content: center;
        width: auto;
        flex: 1 1 180px;
    }

    .hero-figure,
    .tool figure {
        --phone-width: 280px;
        padding: 12px 10px 16px;
        border-radius: 42px;
    }

    .hero-figure::before,
    .tool figure::before {
        top: 20px;
        width: 72px;
        height: 20px;
    }

    .hero-figure img,
    .tool figure img {
        max-height: min(72vh, 680px);
        border-radius: 30px;
    }
}

@media (max-width: 520px) {
    .download-buttons {
        gap: 10px;
    }

    .hero .download-buttons,
    .cta-band .download-buttons {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: stretch;
    }

    .hero .download-btn,
    .cta-band .download-btn {
        flex: 1 1 0;
        min-width: 0;
        justify-content: center;
        padding: 10px 12px;
        font-size: 0.85rem;
        border-radius: 12px;
    }

    .download-btn svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 380px) {
    .brand span {
        display: none;
    }
}
