/* =========================================================
   محاسبك — Mohasebak Landing
   Premium Arabic RTL experience
   ========================================================= */

:root {
    --forest: #0A3B2E;
    --forest-deep: #072A20;
    --forest-ink: #04160F;
    --green: #12996A;
    --green-bright: #1EBE77;
    --gold: #C9A24B;
    --gold-soft: #E4C77E;
    --gold-deep: #A9822F;

    --bg: #F6F4EE;
    --bg-warm: #F1EDE3;
    --card: #FFFFFF;
    --ink: #14201B;
    --muted: #5E6B63;
    --line: rgba(10, 59, 46, 0.10);
    --line-soft: rgba(10, 59, 46, 0.06);

    --shadow-sm: 0 1px 2px rgba(4, 22, 15, 0.05), 0 2px 8px rgba(4, 22, 15, 0.04);
    --shadow-md: 0 10px 30px -12px rgba(4, 22, 15, 0.18), 0 4px 12px rgba(4, 22, 15, 0.05);
    --shadow-lg: 0 40px 80px -30px rgba(4, 22, 15, 0.32), 0 12px 30px -12px rgba(4, 22, 15, 0.14);
    --shadow-xl: 0 60px 120px -40px rgba(4, 22, 15, 0.45);

    --r-sm: 12px;
    --r-md: 18px;
    --r-lg: 26px;
    --r-xl: 34px;
    --r-2xl: 44px;

    --maxw: 1200px;
    --ease: cubic-bezier(.22, .61, .36, 1);
    --font: 'IBM Plex Sans Arabic', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.65;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    background-image:
        radial-gradient(1200px 700px at 85% -5%, rgba(30, 190, 119, 0.08), transparent 60%),
        radial-gradient(900px 600px at 5% 8%, rgba(201, 162, 75, 0.07), transparent 55%);
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }
strong { font-weight: 700; }
::selection { background: rgba(30, 190, 119, 0.25); }

/* film grain overlay */
.grain {
    position: fixed; inset: 0; z-index: 9999; pointer-events: none;
    opacity: 0.035; mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===================== BUTTONS ===================== */
.btn {
    --pad: 12px 22px;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: var(--pad);
    border-radius: 999px;
    font-family: var(--font); font-weight: 600; font-size: 15px;
    cursor: pointer; border: 1px solid transparent;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s;
    white-space: nowrap; position: relative;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lg { --pad: 16px 30px; font-size: 16px; }
.btn--block { display: flex; width: 100%; }

.btn--primary {
    background: linear-gradient(135deg, var(--forest) 0%, var(--green) 100%);
    color: #fff;
    box-shadow: 0 12px 26px -12px rgba(10, 59, 46, 0.7), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn--primary:hover { box-shadow: 0 20px 40px -14px rgba(10, 59, 46, 0.75); }

.btn--gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%);
    color: #3A2A08;
    box-shadow: 0 14px 30px -12px rgba(201, 162, 75, 0.8), inset 0 1px 0 rgba(255,255,255,0.4);
}

.btn--soft {
    background: var(--card); color: var(--forest);
    border-color: var(--line); box-shadow: var(--shadow-sm);
}
.btn--soft:hover { border-color: rgba(10,59,46,0.2); }

.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: rgba(10, 59, 46, 0.05); transform: none; }

.btn__arrow { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(-4px); }
.btn__play { width: 16px; height: 16px; color: var(--gold-deep); }

/* ===================== NAV ===================== */
.nav {
    position: fixed; top: 14px; left: 0; right: 0; z-index: 1000;
    display: flex; justify-content: center; padding: 0 20px;
    transition: top .4s var(--ease);
}
.nav__inner {
    width: 100%; max-width: var(--maxw);
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    padding: 12px 14px 12px 22px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 999px;
    box-shadow: 0 10px 30px -18px rgba(4,22,15,0.35);
    transition: box-shadow .4s var(--ease), background .4s;
}
.nav.is-scrolled .nav__inner {
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 16px 40px -20px rgba(4,22,15,0.4);
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--forest); }
.brand__mark { width: 34px; height: 34px; display: inline-block; }
.brand__mark .mk { width: 100%; height: 100%; }
.brand__mark--lg { width: 64px; height: 64px; }

.nav__links { display: flex; gap: 6px; }
.nav__links a {
    padding: 8px 16px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--muted);
    transition: color .25s, background .25s;
}
.nav__links a:hover { color: var(--forest); background: rgba(10,59,46,0.05); }

.nav__actions { display: flex; align-items: center; gap: 8px; }

/* ===================== HERO ===================== */
.hero { position: relative; padding: 150px 20px 60px; max-width: var(--maxw); margin: 0 auto; }
.hero__glow {
    position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
    width: 900px; height: 620px; z-index: -1;
    background: radial-gradient(circle at 60% 30%, rgba(30,190,119,0.16), transparent 60%),
                radial-gradient(circle at 30% 60%, rgba(201,162,75,0.12), transparent 55%);
    filter: blur(20px);
}
.hero__grid {
    display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center;
}

.pill {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 7px 15px 7px 13px; border-radius: 999px;
    background: rgba(255,255,255,0.7); border: 1px solid var(--line);
    font-size: 14px; font-weight: 500; color: var(--forest);
    box-shadow: var(--shadow-sm); backdrop-filter: blur(8px);
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 0 4px rgba(30,190,119,0.18); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100%{ box-shadow: 0 0 0 4px rgba(30,190,119,0.18);} 50%{ box-shadow: 0 0 0 8px rgba(30,190,119,0);} }

.hero__title { font-size: clamp(40px, 6vw, 68px); margin: 22px 0 20px; letter-spacing: -0.02em; }
.grad-text { background: linear-gradient(115deg, var(--green) 10%, var(--gold-deep) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-text-gold { background: linear-gradient(115deg, var(--gold-soft), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero__sub { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 520px; margin-bottom: 32px; font-weight: 400; }

.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__trust { display: flex; align-items: center; gap: 14px; margin-top: 38px; }
.avatars { display: flex; flex-direction: row-reverse; }
.avatars span {
    width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
    font-size: 15px; font-weight: 600; color: #fff; border: 2.5px solid var(--bg);
    margin-right: -12px; background: linear-gradient(135deg, var(--forest), var(--green));
}
.avatars span:nth-child(2){ background: linear-gradient(135deg, var(--gold-deep), var(--gold)); }
.avatars span:nth-child(3){ background: linear-gradient(135deg, var(--green), var(--green-bright)); }
.avatars span:nth-child(4){ background: linear-gradient(135deg, #2C5647, #12996A); }
.hero__trust p { font-size: 14.5px; color: var(--muted); }
.hero__trust strong { color: var(--ink); }

/* hero stage */
.hero__stage { position: relative; display: grid; place-items: center; min-height: 560px; }

.orb { position: absolute; border-radius: 50%; filter: blur(50px); z-index: 0; }
.orb--gold { width: 300px; height: 300px; background: radial-gradient(circle, rgba(201,162,75,0.5), transparent 70%); top: 4%; right: 2%; }
.orb--green { width: 340px; height: 340px; background: radial-gradient(circle, rgba(30,190,119,0.42), transparent 70%); bottom: 2%; left: 0%; }
.orb--green.orb--soft { opacity: .7; }
.orb--wide { width: 720px; height: 360px; background: radial-gradient(circle, rgba(30,190,119,0.28), transparent 70%); top: -60px; left: 50%; transform: translateX(-50%); }

/* floating cards */
.floaty {
    position: absolute; z-index: 6;
    background: rgba(255,255,255,0.85); backdrop-filter: blur(16px) saturate(160%);
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: var(--r-md); padding: 14px 16px;
    box-shadow: var(--shadow-lg);
    display: flex; align-items: center; gap: 12px;
    animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-14px);} }
.floaty__icon { font-size: 22px; }
.floaty__label { font-size: 12px; color: var(--muted); font-weight: 500; }
.floaty__value { font-size: 20px; font-weight: 700; color: var(--ink); }
.floaty__value small { font-size: 12px; color: var(--muted); font-weight: 500; }
.floaty__value--lg { font-size: 26px; }
.floaty__mini { font-size: 12.5px; color: var(--ink); font-weight: 500; max-width: 150px; }
.floaty__delta { margin-right: auto; padding: 4px 9px; border-radius: 999px; background: rgba(30,190,119,0.14); color: var(--green); font-size: 13px; font-weight: 700; }

.floaty--insight { top: 6%; right: -2%; animation-delay: .2s; }
.floaty--stock { bottom: 14%; left: -4%; animation-delay: 1.2s; }
.floaty--stock .floaty__pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(201,162,75,0.2); animation: pulse 2s infinite; }
.floaty--profit { bottom: 5%; right: 3%; flex-direction: column; align-items: flex-start; gap: 8px; }

.spark { display: flex; align-items: flex-end; gap: 4px; height: 34px; }
.spark span { width: 7px; height: var(--h); background: linear-gradient(180deg, var(--gold), var(--gold-soft)); border-radius: 3px; }

/* trusted logos strip */
.logos { margin-top: 70px; text-align: center; }
.logos > span { font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.logos__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 16px; }
.logo-chip {
    padding: 9px 20px; border-radius: 999px; background: rgba(255,255,255,0.6);
    border: 1px solid var(--line-soft); font-weight: 600; color: var(--forest); font-size: 15px;
    opacity: .75; transition: opacity .3s, transform .3s;
}
.logo-chip:hover { opacity: 1; transform: translateY(-2px); }

/* ===================== PHONE MOCKUP ===================== */
.phone { position: relative; z-index: 5; width: 300px; }
.phone__frame {
    position: relative; border-radius: 46px; padding: 12px;
    background: linear-gradient(155deg, #142520, #04120E);
    box-shadow: var(--shadow-xl), inset 0 0 0 2px rgba(255,255,255,0.06);
}
.phone__notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 120px; height: 26px; background: #04120E; border-radius: 999px; z-index: 3; }
.phone__screen {
    position: relative; border-radius: 36px; overflow: hidden;
    background: linear-gradient(180deg, #F7F5EF, #EEEAE0); aspect-ratio: 300/620;
}
.scr { display: flex; flex-direction: column; height: 100%; }
.scr__bar { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px 8px; font-size: 12px; font-weight: 600; color: var(--forest); }
.scr__title { position: absolute; left: 50%; transform: translateX(-50%); }
.scr__sig { width: 34px; height: 11px; border-radius: 3px; background: linear-gradient(90deg, var(--forest) 60%, rgba(10,59,46,0.25) 60%); }

/* home screen */
.home { flex: 1; padding: 10px 18px 0; display: flex; flex-direction: column; gap: 14px; }
.home__hi { display: flex; align-items: center; justify-content: space-between; }
.home__greet { font-size: 13px; color: var(--muted); }
.home__owner { font-size: 18px; font-weight: 700; color: var(--ink); }
.home__ava { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-weight: 700; background: linear-gradient(135deg, var(--forest), var(--green)); }
.home__hero { position: relative; border-radius: 22px; padding: 18px 18px 8px; color: #fff; overflow: hidden;
    background: linear-gradient(150deg, var(--forest) 0%, var(--forest-deep) 100%); box-shadow: var(--shadow-md); }
.home__heroLabel { font-size: 12.5px; opacity: .8; }
.home__heroVal { font-size: 30px; font-weight: 700; margin: 2px 0 4px; }
.home__heroVal small { font-size: 13px; opacity: .8; font-weight: 500; }
.home__heroDelta { font-size: 12.5px; color: var(--gold-soft); font-weight: 600; }
.home__wave { position: absolute; left: 0; right: 0; bottom: 0; height: 60px; opacity: .9; }
.home__wave svg { width: 100%; height: 100%; }
.home__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.home__stat { background: #fff; border-radius: 18px; padding: 14px; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-sm); }
.home__statIco { font-size: 20px; }
.home__stat b { display: block; font-size: 18px; }
.home__stat small { font-size: 12px; color: var(--muted); }
.home__ai { display: flex; gap: 11px; align-items: flex-start; background: rgba(201,162,75,0.12); border: 1px solid rgba(201,162,75,0.28); border-radius: 18px; padding: 13px 14px; }
.home__aiIco { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold), var(--gold-soft)); color: #3A2A08; font-weight: 700; flex-shrink: 0; }
.home__aiT { font-size: 12.5px; font-weight: 700; color: var(--gold-deep); }
.home__aiM { font-size: 12.5px; color: var(--ink); }

.tabbar { margin-top: auto; display: flex; align-items: center; justify-content: space-around; padding: 12px 18px 20px; background: #fff; border-top: 1px solid var(--line-soft); }
.tabbar__i { color: #B7BEB8; font-size: 16px; }
.tabbar__i--on { color: var(--forest); }
.tabbar__i--sell { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-size: 22px; background: linear-gradient(135deg, var(--forest), var(--green)); box-shadow: 0 8px 18px -6px rgba(10,59,46,0.6); margin-top: -22px; }

/* pos screen */
.pos { flex: 1; padding: 8px 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.pos__cart { display: flex; flex-direction: column; gap: 8px; }
.pos__item { display: flex; justify-content: space-between; background: #fff; border-radius: 12px; padding: 11px 13px; font-size: 13px; font-weight: 500; box-shadow: var(--shadow-sm); }
.pos__item--muted { opacity: .55; }
.pos__total { display: flex; justify-content: space-between; align-items: center; padding: 12px 4px; border-top: 1px dashed var(--line); }
.pos__total strong { font-size: 22px; color: var(--forest); }
.pos__total small { font-size: 12px; color: var(--muted); }
.pos__pad { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.pos__pad span { background: #fff; border-radius: 12px; padding: 12px; text-align: center; font-weight: 600; box-shadow: var(--shadow-sm); }
.pos__pay { margin-top: 2px; padding: 15px; border: 0; border-radius: 16px; color: #fff; font-family: var(--font); font-weight: 700; font-size: 15px; background: linear-gradient(135deg, var(--forest), var(--green)); box-shadow: 0 12px 22px -10px rgba(10,59,46,0.7); }

/* reports screen */
.rep { flex: 1; padding: 8px 16px 18px; display: flex; flex-direction: column; gap: 14px; }
.rep__card { border-radius: 20px; padding: 18px; color: #fff; background: linear-gradient(150deg, var(--forest), var(--forest-deep)); box-shadow: var(--shadow-md); }
.rep__label { font-size: 12.5px; opacity: .8; }
.rep__value { font-size: 28px; font-weight: 700; margin: 3px 0; }
.rep__value small { font-size: 12px; opacity: .8; }
.rep__delta { font-size: 12.5px; color: var(--gold-soft); font-weight: 600; }
.rep__chart { display: flex; align-items: flex-end; gap: 8px; height: 90px; padding: 10px; background: #fff; border-radius: 18px; box-shadow: var(--shadow-sm); }
.rep__chart span { flex: 1; height: var(--h); border-radius: 5px 5px 3px 3px; background: linear-gradient(180deg, var(--green-bright), var(--green)); }
.rep__list { display: flex; flex-direction: column; gap: 8px; }
.rep__row { display: flex; justify-content: space-between; font-size: 13px; background: #fff; border-radius: 12px; padding: 11px 13px; box-shadow: var(--shadow-sm); }
.rep__row span { color: var(--muted); }

/* ===================== SECTIONS ===================== */
.section { max-width: var(--maxw); margin: 0 auto; padding: 90px 20px; position: relative; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 600; color: var(--gold-deep); letter-spacing: .02em; margin-bottom: 14px; }
.eyebrow--light { color: var(--gold-soft); }
.section__title { font-size: clamp(30px, 4.2vw, 48px); letter-spacing: -0.02em; }
.section__title--light { color: #fff; }

/* showcase */
.showcase__stage { position: relative; display: grid; place-items: center; padding: 30px 0; }
.dash {
    position: relative; z-index: 3; width: 100%; max-width: 980px;
    background: #fff; border-radius: var(--r-lg); overflow: hidden;
    box-shadow: var(--shadow-xl); border: 1px solid rgba(255,255,255,0.7);
}
.dash__chrome { display: flex; align-items: center; gap: 8px; padding: 14px 18px; background: #F3F1EA; border-bottom: 1px solid var(--line-soft); }
.dash__dot { width: 11px; height: 11px; border-radius: 50%; background: #D8D3C6; }
.dash__dot:nth-child(1){ background:#E88A7D;} .dash__dot:nth-child(2){ background:#E6C371;} .dash__dot:nth-child(3){ background:#8FCBA9;}
.dash__url { margin: 0 auto; font-size: 12.5px; color: var(--muted); background: #fff; padding: 5px 18px; border-radius: 999px; border: 1px solid var(--line-soft); }
.dash__body { display: grid; grid-template-columns: 210px 1fr; min-height: 440px; }
.dash__side { background: linear-gradient(180deg, var(--forest) 0%, var(--forest-deep) 100%); color: #fff; padding: 20px 16px; display: flex; flex-direction: column; }
.dash__brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 17px; margin-bottom: 26px; }
.dash__brandMark { width: 28px; height: 28px; background: #fff; border-radius: 9px; padding: 3px; }
.dash__nav { display: flex; flex-direction: column; gap: 3px; }
.dash__nav a { padding: 10px 12px; border-radius: 11px; font-size: 13.5px; color: rgba(255,255,255,0.72); font-weight: 500; }
.dash__nav a.is-active { background: rgba(255,255,255,0.12); color: #fff; }
.dash__upsell { margin-top: auto; background: rgba(201,162,75,0.16); border: 1px solid rgba(201,162,75,0.3); border-radius: 14px; padding: 13px; }
.dash__upsellT { font-size: 13px; font-weight: 700; color: var(--gold-soft); }
.dash__upsellM { font-size: 12px; color: rgba(255,255,255,0.8); }
.dash__main { padding: 24px; }
.dash__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 22px; }
.dash__hello { font-size: 21px; font-weight: 700; }
.dash__sub { font-size: 13.5px; color: var(--muted); }
.dash__search { font-size: 13px; color: var(--muted); background: var(--bg); padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-soft); }
.dash__cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 16px; }
.dcard { background: var(--bg); border: 1px solid var(--line-soft); border-radius: 16px; padding: 16px; }
.dcard__l { font-size: 12.5px; color: var(--muted); }
.dcard__v { font-size: 22px; font-weight: 700; margin: 4px 0; }
.dcard__v small { font-size: 12px; color: var(--muted); font-weight: 500; }
.dcard__d { font-size: 12.5px; font-weight: 600; }
.dcard__d--up { color: var(--green); }
.dcard__d--warn { color: var(--gold-deep); }
.dash__row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
.dpanel { background: var(--bg); border: 1px solid var(--line-soft); border-radius: 16px; padding: 16px; }
.dpanel__head { display: flex; align-items: center; justify-content: space-between; font-size: 13.5px; font-weight: 600; margin-bottom: 14px; }
.dpanel__tag { font-size: 12px; color: var(--green); background: rgba(30,190,119,0.14); padding: 3px 9px; border-radius: 999px; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 130px; }
.bars__col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.bars__col span { width: 100%; height: var(--h); border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--green-bright), var(--green)); }
.bars__col:nth-child(6) span { background: linear-gradient(180deg, var(--gold), var(--gold-deep)); }
.bars__col small { font-size: 10.5px; color: var(--muted); }
.trx { display: flex; flex-direction: column; gap: 9px; }
.trx__row { display: flex; align-items: center; gap: 10px; }
.trx__ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(30,190,119,0.14); color: var(--green); font-weight: 700; }
.trx__meta { flex: 1; }
.trx__meta b { display: block; font-size: 13px; }
.trx__meta small { font-size: 11.5px; color: var(--muted); }
.trx__amt { font-weight: 700; font-size: 13.5px; color: var(--forest); }

/* ===================== FEATURES ===================== */
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
    position: relative; background: var(--card); border: 1px solid var(--line-soft);
    border-radius: var(--r-lg); padding: 30px 26px; overflow: hidden;
    box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
    transition-delay: var(--d, 0ms);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(30,190,119,0.3); }
.feature__icon {
    width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-size: 27px;
    background: linear-gradient(150deg, rgba(30,190,119,0.14), rgba(201,162,75,0.14));
    border: 1px solid var(--line-soft); margin-bottom: 20px; transition: transform .4s var(--ease);
}
.feature:hover .feature__icon { transform: scale(1.08) rotate(-4deg); }
.feature__title { font-size: 20px; margin-bottom: 8px; }
.feature__desc { font-size: 15px; color: var(--muted); }
.feature__shine { position: absolute; top: -60%; right: -30%; width: 220px; height: 220px; background: radial-gradient(circle, rgba(30,190,119,0.14), transparent 70%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.feature:hover .feature__shine { opacity: 1; }

/* ===================== AI ACCOUNTANT ===================== */
.ai { max-width: none; padding: 0; margin: 40px 0; }
.ai__inner {
    max-width: var(--maxw); margin: 0 auto; padding: 90px 44px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center;
    position: relative; border-radius: var(--r-2xl); overflow: hidden;
    background: linear-gradient(150deg, var(--forest) 0%, var(--forest-ink) 100%);
    box-shadow: var(--shadow-xl);
}
.ai__inner::before { content:""; position: absolute; inset: 0; background:
    radial-gradient(600px 400px at 80% 0%, rgba(30,190,119,0.28), transparent 60%),
    radial-gradient(500px 400px at 10% 100%, rgba(201,162,75,0.22), transparent 60%); }
.ai__copy, .ai__chat { position: relative; z-index: 2; }
.ai__sub { color: rgba(255,255,255,0.78); font-size: 18px; margin: 20px 0 26px; max-width: 460px; }
.ai__list { display: flex; flex-direction: column; gap: 13px; }
.ai__list li { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,0.92); font-size: 16px; }
.ai__list li span { color: var(--gold-soft); font-size: 14px; }

/* chat card */
.chat { background: rgba(255,255,255,0.98); border-radius: var(--r-lg); box-shadow: var(--shadow-xl); overflow: hidden; border: 1px solid rgba(255,255,255,0.6); }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line-soft); }
.chat__mark { width: 40px; height: 40px; background: var(--forest); border-radius: 12px; padding: 5px; }
.chat__name { font-weight: 700; font-size: 15px; }
.chat__status { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.chat__on { width: 8px; height: 8px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 0 3px rgba(30,190,119,0.2); }
.chat__body { padding: 20px 18px; display: flex; flex-direction: column; gap: 14px; background: linear-gradient(180deg, #FBFAF6, #F4F2EB); }
.bubble { max-width: 88%; padding: 13px 16px; border-radius: 20px; font-size: 14.5px; line-height: 1.6; }
.bubble--user { align-self: flex-start; background: linear-gradient(135deg, var(--forest), var(--green)); color: #fff; border-bottom-right-radius: 6px; font-weight: 500; }
.bubble--ai { align-self: flex-end; background: #fff; border: 1px solid var(--line-soft); border-bottom-left-radius: 6px; box-shadow: var(--shadow-sm); width: 100%; max-width: 100%; }
.bubble--ai p { margin-bottom: 12px; }
.bubble--ai strong { color: var(--forest); }
.chat__chart { display: flex; align-items: flex-end; gap: 7px; height: 66px; padding: 10px; background: var(--bg); border-radius: 14px; margin-bottom: 12px; }
.chat__chart span { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--green-bright), var(--green)); }
.chat__chart span:nth-child(6){ background: linear-gradient(180deg, var(--gold), var(--gold-deep)); }
.chat__insights { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.ci { display: flex; align-items: center; gap: 9px; font-size: 13.5px; background: var(--bg); border-radius: 11px; padding: 9px 12px; }
.ci--warn { background: rgba(201,162,75,0.14); color: var(--gold-deep); }
.ci__ic { font-size: 15px; }
.chat__reco { font-size: 13.5px; background: rgba(30,190,119,0.1); border: 1px solid rgba(30,190,119,0.2); border-radius: 12px; padding: 11px 13px; color: var(--forest); }
.chat__reco span { font-weight: 700; }
.bubble--typing { align-self: flex-end; background: #fff; border: 1px solid var(--line-soft); display: flex; gap: 5px; padding: 14px 16px; }
.bubble--typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); opacity: .5; animation: typing 1.3s infinite; }
.bubble--typing span:nth-child(2){ animation-delay: .2s; } .bubble--typing span:nth-child(3){ animation-delay: .4s; }
@keyframes typing { 0%,60%,100%{ transform: translateY(0); opacity:.4;} 30%{ transform: translateY(-5px); opacity:1;} }
.chat__input { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-top: 1px solid var(--line-soft); }
.chat__ph { flex: 1; font-size: 13.5px; color: var(--muted); background: var(--bg); padding: 11px 16px; border-radius: 999px; }
.chat__send { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--forest), var(--green)); font-weight: 700; }

/* ===================== MOBILE EXPERIENCE ===================== */
.mobile__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.mobile__stage { position: relative; display: grid; place-items: center; min-height: 560px; }
.phones { position: relative; width: 360px; height: 560px; }
.phones__front, .phones__back { position: absolute; }
.phones__front { width: 280px; left: 0; bottom: 0; z-index: 3; }
.phones__front .phone { width: 280px; }
.phones__back { width: 250px; right: 0; top: 10px; z-index: 2; transform: rotate(6deg); opacity: .96; }
.phones__back .phone { width: 250px; }
.mobile__sub { font-size: 18px; color: var(--muted); margin: 18px 0 30px; max-width: 440px; }
.stats { display: flex; gap: 30px; flex-wrap: wrap; }
.stat__num { font-size: 30px; font-weight: 700; color: var(--forest); }
.stat__lbl { font-size: 13.5px; color: var(--muted); }

/* ===================== WHY / TRANSFORM ===================== */
.why__grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.transform {
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px;
    background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
    padding: 24px; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
    transition-delay: var(--d, 0ms);
}
.transform:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.transform__tag { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: rgba(94,107,99,0.12); color: var(--muted); margin-bottom: 10px; }
.transform__tag--gold { background: rgba(201,162,75,0.16); color: var(--gold-deep); }
.transform__word { font-size: 22px; font-weight: 700; color: var(--muted); }
.transform__word--gold { color: var(--forest); }
.transform__before p, .transform__after p { font-size: 13px; color: var(--muted); margin-top: 6px; }
.transform__before { opacity: .72; }
.transform__arrow svg { width: 26px; height: 26px; color: var(--green); }

/* ===================== TESTIMONIALS ===================== */
.testimonials__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.quote {
    background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
    padding: 30px 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 18px;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease); transition-delay: var(--d,0ms);
}
.quote:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.quote__stars { color: var(--gold); letter-spacing: 3px; font-size: 15px; }
.quote blockquote { font-size: 17px; line-height: 1.7; color: var(--ink); font-weight: 500; flex: 1; }
.quote__person { display: flex; align-items: center; gap: 12px; }
.quote__avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; background: linear-gradient(135deg, var(--forest), var(--green)); }
.quote__name { display: block; font-weight: 700; font-size: 15px; }
.quote__role { display: block; font-size: 13px; color: var(--muted); }

/* ===================== PRICING ===================== */
.pricing__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; align-items: stretch; }
.plan {
    position: relative; background: var(--card); border: 1px solid var(--line);
    border-radius: var(--r-xl); padding: 34px 28px; display: flex; flex-direction: column;
    box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.plan--featured {
    background: linear-gradient(165deg, var(--forest) 0%, var(--forest-ink) 100%); color: #fff;
    border-color: transparent; box-shadow: var(--shadow-xl); transform: scale(1.04);
}
.plan--featured:hover { transform: scale(1.04) translateY(-6px); }
.plan__badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 6px 18px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #3A2A08; background: linear-gradient(135deg, var(--gold), var(--gold-soft)); box-shadow: var(--shadow-md); }
.plan__name { font-size: 22px; }
.plan--featured .plan__name { color: #fff; }
.plan__for { font-size: 14px; color: var(--muted); margin: 6px 0 20px; }
.plan--featured .plan__for { color: rgba(255,255,255,0.72); }
.plan__price { font-size: 42px; font-weight: 700; color: var(--forest); }
.plan--featured .plan__price { color: #fff; }
.plan__price span { font-size: 18px; font-weight: 500; color: var(--muted); }
.plan--featured .plan__price span { color: var(--gold-soft); }
.plan__period { font-size: 13.5px; color: var(--muted); margin-bottom: 24px; }
.plan--featured .plan__period { color: rgba(255,255,255,0.6); }
.plan__features { list-style: none; display: flex; flex-direction: column; gap: 13px; margin-bottom: 28px; flex: 1; }
.plan__features li { position: relative; padding-right: 28px; font-size: 15px; color: var(--ink); }
.plan--featured .plan__features li { color: rgba(255,255,255,0.9); }
.plan__features li::before { content:"✓"; position: absolute; right: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--green); background: rgba(30,190,119,0.14); }
.plan--featured .plan__features li::before { color: #3A2A08; background: linear-gradient(135deg, var(--gold), var(--gold-soft)); }

/* ===================== FINAL CTA ===================== */
.cta { position: relative; text-align: center; padding: 110px 20px; overflow: hidden; }
.cta__glow { position: absolute; inset: 0; z-index: -1; background:
    radial-gradient(700px 400px at 50% 20%, rgba(30,190,119,0.16), transparent 60%),
    radial-gradient(500px 400px at 50% 100%, rgba(201,162,75,0.14), transparent 60%); }
.cta__inner { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.cta .brand__mark--lg { margin-bottom: 26px; }
.cta__title { font-size: clamp(40px, 6vw, 66px); letter-spacing: -0.02em; }
.cta__sub { font-size: 19px; color: var(--muted); margin: 18px 0 34px; }

/* ===================== FOOTER ===================== */
.footer { background: linear-gradient(180deg, var(--forest) 0%, var(--forest-ink) 100%); color: #fff; padding: 60px 20px 40px; }
.footer__inner { max-width: var(--maxw); margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.brand--footer { color: #fff; font-size: 24px; }
.brand--footer .brand__mark { background: #fff; border-radius: 10px; padding: 4px; }
.footer__tag { color: rgba(255,255,255,0.68); font-size: 15px; }
.footer__links { display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; margin: 6px 0; }
.footer__links a { color: rgba(255,255,255,0.8); font-size: 15px; transition: color .25s; }
.footer__links a:hover { color: var(--gold-soft); }
.footer__copy { color: rgba(255,255,255,0.45); font-size: 13.5px; margin-top: 10px; }

/* ===================== REVEAL ANIMATION ===================== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); will-change: opacity, transform; }
.reveal.is-in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px) {
    .nav__links { display: none; }
    .hero__grid, .mobile__grid, .ai__inner { grid-template-columns: 1fr; }
    .hero { padding-top: 130px; }
    .hero__stage { min-height: 500px; margin-top: 30px; }
    .ai__inner { padding: 54px 26px; }
    .features__grid, .testimonials__grid, .dash__cards { grid-template-columns: 1fr 1fr; }
    .why__grid { grid-template-columns: 1fr; }
    .pricing__grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
    .plan--featured { transform: none; }
    .plan--featured:hover { transform: translateY(-6px); }
    .dash__body { grid-template-columns: 1fr; }
    .dash__side { flex-direction: row; align-items: center; overflow-x: auto; }
    .dash__nav { flex-direction: row; }
    .dash__upsell { display: none; }
    .dash__row { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
    .nav { top: 8px; }
    .nav__inner { padding: 10px 10px 10px 14px; }
    .brand__name { font-size: 18px; }
    .btn--ghost { display: none; }
    .hero { padding: 116px 16px 40px; }
    .hero__title { font-size: 38px; }
    .section { padding: 64px 16px; }
    .features__grid, .testimonials__grid, .dash__cards { grid-template-columns: 1fr; }
    .stats { gap: 22px; }
    .phone, .phones__front .phone { width: 260px; }
    .phones { width: 300px; }
    .floaty--insight { right: -6px; }
    .floaty--stock { left: -6px; }
    .transform { grid-template-columns: 1fr; text-align: center; }
    .transform__arrow { transform: rotate(-90deg); margin: 4px auto; }
    .ai__sub, .mobile__sub, .hero__sub { font-size: 16px; }
}
