/* ============================================================
   NO'TA: Landing Page 2
   Premium, minimalist, monochrome + green
   ============================================================ */

:root {
    /* Canvas */
    --ink:        #0B0B0C;
    --ink-soft:   #1A1A1C;
    --canvas:     #F6F6F3;
    --surface:    #FFFFFF;
    --muted:      #6E6E73;
    --muted-2:    #9A9A9F;
    --hairline:   rgba(11, 11, 12, 0.10);
    --hairline-2: rgba(11, 11, 12, 0.06);

    /* Brand green */
    --green:       #7AF495;   /* mint: fills, accents */
    --green-deep:  #0E9E1E;   /* legible green on light: links, eyebrows */
    --green-ink:   #053D10;   /* text on mint */

    /* Dark sections */
    --dark-bg:     #0B0B0C;
    --dark-surface:#141416;
    --dark-line:   rgba(255, 255, 255, 0.12);
    --dark-line-2: rgba(255, 255, 255, 0.07);
    --dark-muted:  rgba(255, 255, 255, 0.62);

    --font: "Google Sans Flex", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --maxw: 1160px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@font-face {
    font-family: "Google Sans Flex";
    src: url("assets/fonts/GoogleSansFlex-Variable.ttf") format("truetype");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--canvas);
    color: var(--ink);
    line-height: 1.55;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }

/* Arabic */
html[lang="ar"] body { font-family: "Almarai", var(--font); }
html[lang="ar"] .hero-title,
html[lang="ar"] .section-title { font-weight: 800; letter-spacing: 0; line-height: 1.35; }
html[lang="ar"] .eyebrow { letter-spacing: 0.08em; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.container.narrow { max-width: 760px; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .section-desc { margin-inline: auto; }

.section { padding: clamp(72px, 11vw, 140px) 0; }
.section.soft { background: var(--surface); }
.section.dark {
    background: var(--dark-bg);
    color: #fff;
}
.section.band { padding: clamp(64px, 9vw, 110px) 0; }

/* ---------- Typography primitives ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 22px;
}
.eyebrow::before {
    content: none;
}
.eyebrow.accent { color: var(--green); }
.section.dark .eyebrow { color: var(--dark-muted); }
.section.dark .eyebrow.accent { color: var(--green); }

.section-title {
    font-size: clamp(2rem, 4.4vw, 3.3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.04;
}
.section-desc {
    margin-top: 22px;
    max-width: 56ch;
    font-size: clamp(1.02rem, 1.5vw, 1.18rem);
    color: var(--muted);
    line-height: 1.7;
}
.section.dark .section-desc { color: var(--dark-muted); }

/* ---------- Reveal animation ---------- */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
    will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 0.06s; }
.reveal:nth-child(3) { transition-delay: 0.12s; }
.reveal:nth-child(4) { transition-delay: 0.18s; }
.reveal:nth-child(5) { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.01em;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn-primary {
    background: var(--green);
    color: var(--green-ink);
    padding: 0 22px;
    height: 46px;
    box-shadow: 0 1px 0 rgba(11,11,12,0.04);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px -10px rgba(14, 158, 30, 0.6); }
.btn-lg { height: 54px; padding: 0 30px; font-size: 16px; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }

/* ---------- Nav ---------- */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
    border-bottom: 1px solid transparent;
}
.nav.scrolled {
    background: rgba(246, 246, 243, 0.78);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom-color: var(--hairline);
}
.nav-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 16px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand-mark { width: 28px; height: 28px; }
.brand-word { font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.brand-badge {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green-deep);
    background: rgba(14, 158, 30, 0.10);
    padding: 3px 8px;
    border-radius: 999px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    background: transparent;
    border: 1px solid var(--hairline);
    border-radius: 999px;
    height: 36px;
    padding: 0 14px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.lang-toggle:hover { border-color: var(--ink); }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: clamp(140px, 20vh, 220px) 0 clamp(80px, 11vw, 130px);
    text-align: center;
    overflow: hidden;
}
.hero-wash {
    position: absolute;
    top: -10%; left: 50%;
    transform: translateX(-50%);
    width: 1100px; height: 760px;
    max-width: 140%;
    background:
        radial-gradient(closest-side, rgba(122, 244, 149, 0.22), rgba(122, 244, 149, 0) 70%);
    filter: blur(10px);
    pointer-events: none;
    z-index: 0;
}
.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.hero-title {
    font-size: clamp(3rem, 9vw, 6.6rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 0.98;
    margin-top: 6px;
}
.hero-line { display: block; }
.hero-line.accent { color: var(--green-deep); }
.hero-sub {
    margin-top: 28px;
    max-width: 50ch;
    font-size: clamp(1.06rem, 1.7vw, 1.28rem);
    color: var(--muted);
    line-height: 1.65;
}
.tagline {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 30px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink);
}
.tagline-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); display: inline-block; }
.hero-cta {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}
.store-badges { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    border: 1px solid var(--hairline);
    border-radius: 14px;
    background: var(--surface);
    color: var(--ink);
    transition: border-color 0.2s, transform 0.2s;
}
.store-badge:hover { border-color: var(--ink); transform: translateY(-2px); }
.store-badge span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-badge small { font-size: 10px; color: var(--muted); }
.store-badge strong { font-size: 14px; font-weight: 600; }
.store-badge.on-dark {
    background: transparent;
    border-color: var(--dark-line);
    color: #fff;
}
.store-badge.on-dark:hover { border-color: #fff; }
.store-badge.on-dark small { color: var(--dark-muted); }
.hero-note { margin-top: 26px; font-size: 13px; color: var(--muted-2); }
html[dir="rtl"] .store-badge span { text-align: right; }

/* ---------- Problem band ---------- */
.problem {
    padding: clamp(80px, 12vw, 150px) 0;
    text-align: center;
    border-top: 1px solid var(--hairline-2);
    border-bottom: 1px solid var(--hairline-2);
}
.problem-line {
    font-size: clamp(1.8rem, 4.6vw, 3.4rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.1;
}
.problem-line em { font-style: normal; color: var(--green-deep); }
.problem-sub {
    margin-top: 24px;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--muted);
    max-width: 46ch;
    margin-inline: auto;
}

/* ---------- Split layout ---------- */
.split {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(40px, 6vw, 88px);
    align-items: center;
}
.split.reverse .split-visual { order: -1; }
.split-copy { min-width: 0; }

.check-list { list-style: none; margin-top: 30px; display: grid; gap: 14px; }
.check-list li {
    position: relative;
    padding-inline-start: 30px;
    font-size: 1.02rem;
    color: var(--ink);
    line-height: 1.55;
}
.section.dark .check-list li { color: rgba(255,255,255,0.86); }
.check-list li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 9px;
    width: 14px; height: 8px;
    border-inline-start: 2px solid var(--green-deep);
    border-bottom: 2px solid var(--green-deep);
    transform: rotate(-45deg);
}
.section.dark .check-list li::before { border-color: var(--green); }

/* ---------- Another-angle mock ---------- */
.split-visual { display: flex; justify-content: center; }
.mock-thread { width: 100%; max-width: 420px; }
.mock-comment {
    background: var(--dark-surface);
    border: 1px solid var(--dark-line-2);
    border-radius: 18px;
    padding: 20px;
}
.mock-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.mock-avatar {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--green);
    color: var(--green-ink);
    font-weight: 700;
    font-size: 14px;
    display: grid;
    place-items: center;
}
.mock-name { font-weight: 600; font-size: 14px; color: #fff; }
.mock-rep {
    font-size: 11px;
    font-weight: 600;
    color: var(--green);
    border: 1px solid rgba(122, 244, 149, 0.35);
    padding: 2px 8px;
    border-radius: 999px;
    margin-inline-start: auto;
}
.mock-body { font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,0.84); }
.mock-intents { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.intent-chip {
    font-size: 11.5px;
    font-weight: 500;
    color: var(--dark-muted);
    border: 1px solid var(--dark-line);
    padding: 4px 10px;
    border-radius: 999px;
}
.intent-chip.is-on {
    color: var(--green);
    border-color: var(--green);
    background: rgba(122, 244, 149, 0.08);
}
.mock-angle {
    position: relative;
    margin-top: 14px;
    margin-inline-start: 26px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--dark-line-2);
    border-radius: 16px;
    padding: 16px 18px;
}
.mock-angle::before {
    content: "";
    position: absolute;
    inset-inline-start: -14px;
    top: -8px;
    bottom: 40%;
    width: 2px;
    background: var(--green);
    border-end-start-radius: 8px;
    border-inline-start: 0;
}
.angle-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--green);
    margin-bottom: 9px;
}
.angle-scale { display: inline-block; flex: none; }

/* ---------- Reputation ladder ---------- */
.ladder {
    margin-top: 56px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    border: 1px solid var(--hairline);
    border-radius: 20px;
    background: var(--surface);
    padding: 30px 22px;
}
.ladder-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    padding: 6px 4px;
    border-radius: 12px;
}
.ladder-dots {
    display: inline-flex;
    gap: 4px;
    height: 12px;
    align-items: center;
}
.ladder-dots::before, .ladder-dots { /* dots generated via JS spans */ }
.ladder-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--hairline);
}
.ladder-dot.on { background: var(--green-deep); }
.ladder-label { font-size: 13px; font-weight: 600; color: var(--ink); }
.ladder-step.is-top .ladder-label { color: var(--green-deep); }
.ladder-step.is-top { background: rgba(14, 158, 30, 0.05); }

.callout {
    position: relative;
    margin-top: 28px;
    max-width: 720px;
    margin-inline: auto;
    padding: 26px 28px 26px 60px;
    border: 1px solid var(--hairline);
    border-radius: 18px;
    background: var(--surface);
}
.callout-mark {
    position: absolute;
    inset-inline-start: 22px;
    top: 8px;
    font-size: 54px;
    line-height: 1;
    color: var(--green);
    font-family: Georgia, serif;
}
.callout p { font-size: 1.06rem; color: var(--ink); line-height: 1.6; }
html[dir="rtl"] .callout { padding: 26px 60px 26px 28px; }

/* ---------- The Path disc ---------- */
.disc-wrap { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.disc { width: clamp(200px, 30vw, 260px); height: auto; }
.disc-ring { fill: none; stroke-width: 2; }
.disc-bg { stroke: var(--hairline); }
.disc-fill {
    stroke: var(--green-deep);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 628;
    stroke-dashoffset: 175;          /* ~72% filled */
    transform: rotate(-90deg);
    transform-origin: 110px 110px;
}
.disc-core { fill: var(--green); }
.disc-caption { text-align: center; }
.disc-streak { display: block; font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }
.disc-meta { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ---------- Privacy / pills ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 30px; }
.pill {
    font-size: 13.5px;
    font-weight: 500;
    color: #fff;
    border: 1px solid var(--dark-line);
    padding: 8px 16px;
    border-radius: 999px;
}

/* ---------- Bento ---------- */
.bento {
    margin-top: 54px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.bento-card {
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: 20px;
    padding: 28px;
    transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.bento-card:hover {
    transform: translateY(-4px);
    border-color: rgba(11,11,12,0.18);
    box-shadow: 0 18px 40px -24px rgba(11,11,12,0.3);
}
.bento-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-deep);
    margin-bottom: 16px;
}
.bento-card h3 { font-size: 1.22rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.bento-card p { margin-top: 10px; font-size: 0.96rem; color: var(--muted); line-height: 1.6; }

/* ---------- Bilingual ---------- */
.bilingual-title { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ar-word { font-family: "Almarai", var(--font); font-weight: 800; color: var(--green-deep); direction: rtl; }
.bilingual-en { color: var(--ink); }
html[lang="ar"] .bilingual-en { font-family: "Almarai", var(--font); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 760px; margin: 48px auto 0; }
.faq-item {
    border-top: 1px solid var(--hairline);
    padding: 4px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--hairline); }
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 40px 22px 0;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    position: relative;
    transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "";
    position: absolute;
    inset-inline-end: 6px;
    top: 50%;
    width: 11px; height: 11px;
    border-right: 2px solid var(--muted);
    border-bottom: 2px solid var(--muted);
    transform: translateY(-65%) rotate(45deg);
    transition: transform 0.3s var(--ease);
}
.faq-item[open] summary::after { transform: translateY(-35%) rotate(-135deg); }
.faq-item summary:hover { color: var(--green-deep); }
.faq-item p {
    padding: 0 40px 24px 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 64ch;
}
html[dir="rtl"] .faq-item summary { padding: 22px 0 22px 40px; }
html[dir="rtl"] .faq-item p { padding: 0 0 24px 40px; }

/* ---------- Final CTA ---------- */
.final .hero-cta.center-cta { margin-top: 38px; }

/* ---------- Footer ---------- */
.footer {
    background: var(--canvas);
    border-top: 1px solid var(--hairline);
    padding: 56px 0 36px;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}
.footer-brand { max-width: 320px; }
.footer-summary { margin-top: 14px; font-size: 0.92rem; color: var(--muted); line-height: 1.6; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer-links a { font-size: 0.92rem; color: var(--muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--ink); }
.footer-base {
    margin-top: 40px;
    padding-top: 22px;
    border-top: 1px solid var(--hairline-2);
    font-size: 0.84rem;
    color: var(--muted-2);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 880px) {
    .nav-links {
        position: fixed;
        inset: 64px 0 auto 0;
        transform: none;
        left: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(246, 246, 243, 0.97);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--hairline);
        padding: 8px 28px 20px;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.35s var(--ease), opacity 0.25s var(--ease);
    }
    .nav-links.open { max-height: 360px; opacity: 1; }
    .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--hairline-2); font-size: 16px; width: 100%; }
    .nav-actions .btn-sm { display: none; }
    .menu-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 40px; height: 40px;
        background: transparent;
        border: 1px solid var(--hairline);
        border-radius: 10px;
        cursor: pointer;
    }
    .menu-toggle span { width: 17px; height: 1.6px; background: var(--ink); margin: 0 auto; transition: transform 0.3s, opacity 0.3s; }
    .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

    .split { grid-template-columns: 1fr; gap: 44px; }
    .split.reverse .split-visual { order: 0; }
    .split-copy { text-align: center; }
    .split-copy .eyebrow { justify-content: center; }
    .split-copy .section-desc { margin-inline: auto; }
    .check-list { max-width: 460px; margin-inline: auto; text-align: start; }

    .bento { grid-template-columns: 1fr; }
    .ladder { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
}

@media (max-width: 520px) {
    .container { padding: 0 20px; }
    .ladder { grid-template-columns: repeat(2, 1fr); }
    .hero-cta .btn-lg { width: 100%; max-width: 320px; }
    .store-badges { width: 100%; }
    .mock-angle { margin-inline-start: 16px; }
    .brand-badge { display: none; }
}
