/* ============================================================
   SmartPhysio Landing v3 — بازطراحی Premium
   دیالها: VARIANCE 8 / MOTION 7 / DENSITY 4
   پالت: سبز تیره طبی (یک اکسنت واحد) + سطوح عمیق + نورپردازی
   مشخصهها: تایپوگرافی سنگین، عمق سهبعدی، پارالاکس، ذرات
   ============================================================ */

/* ===== DESIGN TOKENS ===== */
:root {
    /* Cold Luxury / Deep Forest palette — یک اکسنت واحد */
    --bg: #f6f8f7;
    --bg-soft: #edf1ef;
    --surface: #ffffff;
    --surface-2: #fbfcfb;
    --ink: #0b1f18;
    --ink-soft: #3c4f47;
    --ink-muted: #6d8078;
    --line: #dde6e1;
    --line-strong: #c5d3cc;

    --accent: #0c7a55;
    --accent-strong: #085c40;
    --accent-deep: #06432f;
    --accent-soft: #d5ede2;
    --accent-pale: #eef8f3;
    --accent-glow: rgba(12, 122, 85, 0.18);

    --amber: #e8a33d;
    --amber-soft: #fdf3e0;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --radius-xl: 32px;
    --radius-pill: 999px;

    --shadow-sm: 0 2px 10px rgba(11, 31, 24, 0.06);
    --shadow-md: 0 16px 40px rgba(11, 31, 24, 0.10);
    --shadow-lg: 0 32px 80px rgba(11, 31, 24, 0.16);
    --shadow-accent: 0 12px 32px var(--accent-glow);

    --font: "Vazirmatn", system-ui, sans-serif;
    --transition: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

    --topbar-h: 70px;
    --container: 1180px;
    --section-pad: clamp(72px, 9vw, 120px);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--accent-soft); color: var(--accent-deep); }

nobr { white-space: nowrap; }

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 24px;
}

/* ===== GRAIN OVERLAY (بافت ظریف سراسری) ===== */
.grain::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 200;
    pointer-events: none;
    opacity: 0.035;
    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='140' height='140' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

/* ===== TYPOGRAPHY ===== */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--accent);
    background: var(--accent-pale);
    border: 1px solid var(--accent-soft);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
}

.eyebrow::before {
    content: "";
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.section-head {
    max-width: 680px;
    margin-inline: auto;
    text-align: center;
    margin-bottom: calc(var(--section-pad) * 0.62);
}

.section-head h2 {
    font-size: clamp(28px, 4.2vw, 42px);
    font-weight: 900;
    line-height: 1.3;
    margin-top: 16px;
    letter-spacing: -0.015em;
    text-wrap: balance;
}

.section-head p {
    color: var(--ink-soft);
    font-size: 15.5px;
    margin-top: 12px;
}

/* ===== TOPBAR ===== */
.topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: var(--topbar-h);
    display: flex;
    align-items: center;
    background: color-mix(in srgb, var(--bg) 78%, transparent);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    backdrop-filter: blur(18px) saturate(1.4);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.topbar.scrolled {
    border-bottom-color: var(--line);
    box-shadow: var(--shadow-sm);
    background: color-mix(in srgb, var(--bg) 90%, transparent);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
}

.brand-logo {
    width: 44px; height: 44px;
    border-radius: 13px;
    position: relative;
    overflow: hidden;
}

.brand-logo::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), inset 0 2px 6px rgba(255, 255, 255, 0.18);
    pointer-events: none;
}

.brand-name {
    font-size: 17.5px;
    font-weight: 900;
    letter-spacing: -0.01em;
}

.brand-name span { color: var(--accent); }

.brand-sub {
    font-size: 10.5px;
    color: var(--ink-muted);
    margin-top: -2px;
}

.menu {
    display: flex;
    align-items: center;
    gap: 6px;
}

.menu a {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-soft);
    padding: 8px 15px;
    border-radius: var(--radius-pill);
    transition: var(--transition);
    position: relative;
}

.menu a::after {
    content: "";
    position: absolute;
    left: 50%; bottom: 2px;
    width: 0; height: 2px;
    border-radius: 2px;
    background: var(--accent);
    transform: translateX(-50%);
    transition: width 0.3s var(--ease-out);
}

.menu a:hover { color: var(--ink); }
.menu a:hover::after { width: 22px; }

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font);
    font-size: 13.5px;
    font-weight: 700;
    padding: 11px 20px;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    transition: transform 0.25s var(--transition), box-shadow 0.25s var(--transition), background 0.25s var(--transition), border-color 0.25s var(--transition);
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn i { position: relative; z-index: 1; }
.btn span { position: relative; z-index: 1; }

.btn:active { transform: scale(0.97); }

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #fff;
    box-shadow: var(--shadow-accent);
}

.btn-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.18) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.7s var(--ease-out);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px var(--accent-glow); }
.btn-primary:hover::before { transform: translateX(120%); }

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line-strong);
}

.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); background: var(--accent-pale); }

.btn-white {
    background: #fff;
    color: var(--accent-deep);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.btn-white:hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24); }

.btn-lg { padding: 15px 30px; font-size: 14.5px; border-radius: 15px; }

/* ============================================================
   HERO — 3D عمق، پارالاکس لایهای، نورپردازی
   ============================================================ */
.hero {
    position: relative;
    padding-top: calc(var(--topbar-h) + clamp(40px, 7vw, 90px));
    padding-bottom: clamp(60px, 9vw, 130px);
    overflow: hidden;
    perspective: 1400px;
}

/* زمینه: مش نور + هاله + گرادیان عمیق */
.hero::before {
    content: "";
    position: absolute;
    inset: -20% -10%;
    background:
        radial-gradient(55% 55% at 82% 8%, var(--accent-pale) 0%, transparent 68%),
        radial-gradient(42% 48% at 6% 92%, var(--amber-soft) 0%, transparent 62%),
        radial-gradient(70% 50% at 50% 110%, var(--accent-soft) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-grid-bg {
    position: absolute;
    inset: -10%;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: radial-gradient(58% 58% at 62% 30%, #000 0%, transparent 78%);
    -webkit-mask-image: radial-gradient(58% 58% at 62% 30%, #000 0%, transparent 78%);
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

/* ذرات شناور (ساختهشده با JS) */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.hero-particles i {
    position: absolute;
    bottom: -12px;
    border-radius: 4px;
    background: var(--accent);
    opacity: 0.16;
    animation: particle-rise linear infinite;
    will-change: transform, opacity;
}

@keyframes particle-rise {
    from { transform: translateY(0) rotate(0deg); opacity: 0; }
    8% { opacity: var(--po, 0.18); }
    90% { opacity: var(--po, 0.18); }
    to { transform: translateY(-110vh) rotate(280deg); opacity: 0; }
}

/* هالههایی که موقع اسکرول با JS جابهجا میشوند */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
    will-change: transform;
    transition: transform 0.2s linear;
    z-index: 0;
}

.hero-orb-1 {
    width: 480px; height: 480px;
    top: -120px; left: -140px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
}

.hero-orb-2 {
    width: 420px; height: 420px;
    bottom: -140px; right: -120px;
    background: radial-gradient(circle, rgba(232, 163, 61, 0.13) 0%, transparent 70%);
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.hero-content { max-width: 560px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--accent-strong);
    background: var(--accent-pale);
    border: 1px solid var(--accent-soft);
    border-radius: var(--radius-pill);
    padding: 7px 15px;
    margin-bottom: 24px;
    backdrop-filter: blur(6px);
}

.badge-pulse {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent);
    position: relative;
    flex-shrink: 0;
}

.badge-pulse::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1.5px solid var(--accent);
    opacity: 0.5;
    animation: pulse-ring 2.2s ease-out infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(0.6); opacity: 0.6; }
    100% { transform: scale(1.7); opacity: 0; }
}

.hero h1 {
    font-size: clamp(34px, 5.4vw, 56px);
    font-weight: 900;
    line-height: 1.22;
    letter-spacing: -0.018em;
    margin-bottom: 20px;
    text-wrap: balance;
}

.hero h1 .grad {
    color: var(--accent);
    position: relative;
    display: inline-block;
    white-space: nowrap;
}

.hero h1 .grad::after {
    content: "";
    position: absolute;
    left: 2%; right: 2%; bottom: 4px;
    height: 12px;
    background: var(--accent-soft);
    z-index: -1;
    border-radius: 6px;
    transform: rotate(-1.2deg);
}

.hero-lead {
    font-size: clamp(15px, 1.7vw, 16.5px);
    color: var(--ink-soft);
    max-width: 47ch;
    margin-bottom: 32px;
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12.5px;
    color: var(--ink-muted);
    margin-top: 20px;
}

.hero-note i { color: var(--accent); }

/* Hero visual — کارت داشبورد سهبعدی شناور (تعاملی با JS) */
.hero-visual {
    position: relative;
    transform-style: preserve-3d;
}

.hero-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow:
        var(--shadow-lg),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    overflow: hidden;
    transform: perspective(1300px) rotateY(-7deg) rotateX(3deg) rotateZ(-0.6deg);
    transition: transform 0.7s var(--ease-spring), box-shadow 0.5s var(--transition);
    position: relative;
    will-change: transform;
}

.hero:hover .hero-card {
    transform: perspective(1300px) rotateY(0deg) rotateX(0deg) rotateZ(0deg);
}

/* جلوه نور در حال حرکت روی کارت (JS موقعیتماوس را دنبال میکند) */
.hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(12, 122, 85, 0.10) 0%, transparent 65%);
    pointer-events: none;
    z-index: 3;
    transition: opacity 0.4s;
    opacity: 0;
}

.hero-card:hover::before { opacity: 1; }

.hero-card-top {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 19px;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
    position: relative;
    z-index: 2;
}

.hc-dots { display: flex; gap: 6px; }
.hc-dots span { width: 10px; height: 10px; border-radius: 50%; }
.hc-dots span:nth-child(1) { background: #f0716b; }
.hc-dots span:nth-child(2) { background: #e8c468; }
.hc-dots span:nth-child(3) { background: #5fc98e; }
.hc-title { font-size: 11.5px; color: var(--ink-muted); font-weight: 600; margin-inline-start: 6px; }

.hero-card-body { padding: 22px; display: grid; gap: 15px; position: relative; z-index: 2; }

.hcb-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

.hcb-stat {
    background: var(--accent-pale);
    border: 1px solid var(--accent-soft);
    border-radius: var(--radius-sm);
    padding: 13px 10px;
    text-align: center;
    transition: var(--transition);
}

.hcb-stat:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.hcb-stat strong { display: block; font-size: 19px; font-weight: 900; color: var(--accent-strong); font-variant-numeric: tabular-nums; }
.hcb-stat span { font-size: 10.5px; color: var(--ink-soft); }

.hcb-chart {
    background: var(--bg-soft);
    border-radius: var(--radius-sm);
    padding: 18px 16px 10px;
    position: relative;
    overflow: hidden;
}

.hcb-chart::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, var(--bg-soft) 100%);
    opacity: 0.0;
}

.hcb-chart-title { font-size: 11px; color: var(--ink-muted); font-weight: 600; margin-bottom: 10px; }

.hcb-bars {
    display: flex;
    align-items: flex-end;
    gap: 7px;
    height: 112px;
}

.hcb-bar {
    flex: 1;
    border-radius: 6px 6px 2px 2px;
    background: linear-gradient(180deg, var(--accent), var(--accent-strong));
    opacity: 0.85;
    transform-origin: bottom;
    animation: grow-bar 0.9s var(--ease-out) both;
    animation-delay: calc(var(--i) * 0.07s);
    position: relative;
}

.hcb-bar::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.35);
}

.hcb-bar:nth-child(6) { background: linear-gradient(180deg, var(--amber), #d8902f); }

@keyframes grow-bar {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

.hcb-days { display: flex; gap: 7px; margin-top: 9px; }
.hcb-days span { flex: 1; font-size: 8.5px; color: var(--ink-muted); text-align: center; }

.hcb-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-size: 12px;
    box-shadow: var(--shadow-sm);
}

.hcb-row span:first-child { color: var(--ink-soft); font-weight: 600; }
.hcb-row span:first-child i { color: var(--accent); margin-inline-end: 6px; }
.hcb-row .chip { color: var(--accent-strong); background: var(--accent-soft); padding: 3px 11px; border-radius: var(--radius-pill); font-weight: 700; font-size: 11px; }

/* کارتهای شناور + عمق سبک 3D */
.hero-float {
    position: absolute;
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 13px 17px;
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 12.5px;
    font-weight: 700;
    z-index: 4;
    animation: float 5.5s ease-in-out infinite;
    will-change: transform;
}

.hero-float i { font-size: 17px; }
.hero-float .fc-sub { display: block; font-size: 10px; color: var(--ink-muted); font-weight: 500; }

.hero-float-1 { top: -18px; right: 34px; animation-delay: 0s; }
.hero-float-2 { bottom: -20px; left: 22px; animation-delay: 2.6s; }

.hero-float-1 i { color: var(--accent); }
.hero-float-2 i { color: var(--amber); }

@keyframes float {
    0%, 100% { transform: translateY(0) translateZ(0); }
    50% { transform: translateY(-10px) translateZ(20px); }
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero-float, .badge-pulse::after { animation: none; }
    .hero-card, .hero-card:hover { transform: none; }
    .hero-particles { display: none; }
}

/* ===== SECTIONS ===== */
.section { padding: var(--section-pad) 0; }

/* ===== FEATURES / BENTO ===== */
.bento {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.bento-cell {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 26px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.bento-cell::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.35s;
}

.bento-cell:hover::before { opacity: 1; }

.bento-cell:hover {
    border-color: var(--accent-soft);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.bento-cell .bc-icon {
    width: 44px; height: 44px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--accent-strong);
    background: var(--accent-pale);
    border: 1px solid var(--accent-soft);
    transition: var(--transition);
}

.bento-cell:hover .bc-icon {
    background: var(--accent);
    color: #fff;
    box-shadow: var(--shadow-accent);
    transform: rotate(-6deg) scale(1.05);
}

.bento-cell h3 { font-size: 15.5px; font-weight: 800; margin-bottom: 8px; }
.bento-cell p { font-size: 12.5px; color: var(--ink-soft); line-height: 1.8; }

/* اندازههای متنوع — نه ۶ کارت یکسان */
.bc-wide { grid-column: span 3; }
.bc-tall { grid-row: span 2; }
.bc-mid { grid-column: span 2; }
.bc-quarter { grid-column: span 2; }

.bc-featured {
    background:
        linear-gradient(140deg, var(--accent-pale) 0%, var(--surface) 55%);
    border-color: var(--accent-soft);
}

.bc-featured::after {
    content: "";
    position: absolute;
    width: 220px; height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow), transparent 70%);
    bottom: -80px; left: -60px;
    pointer-events: none;
}

.bc-featured .bc-icon {
    background: var(--accent);
    color: #fff;
    border: none;
    box-shadow: var(--shadow-accent);
}

.bc-list { display: grid; gap: 9px; margin-top: 14px; }
.bc-list li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12.5px;
    color: var(--ink-soft);
}

.bc-list i { color: var(--accent); font-size: 11px; }

/* ===== SPLIT / WHY US ===== */
.split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(40px, 5vw, 72px);
    align-items: center;
}

.split-copy { position: sticky; top: 110px; align-self: start; }

.split-copy h2 {
    font-size: clamp(26px, 3.6vw, 38px);
    font-weight: 900;
    line-height: 1.38;
    margin: 18px 0 14px;
    letter-spacing: -0.012em;
    text-wrap: balance;
}

.split-copy > p { color: var(--ink-soft); font-size: 15px; max-width: 46ch; line-height: 1.9; }

.split-points { display: grid; gap: 14px; }

.split-point {
    display: flex;
    gap: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 20px 22px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.split-point:hover {
    border-color: var(--accent-soft);
    box-shadow: var(--shadow-md);
    transform: translateX(-6px);
}

.split-point::before {
    content: "";
    position: absolute;
    inset-inline-start: 0; top: 18%; bottom: 18%;
    width: 3px;
    border-radius: 3px;
    background: var(--accent);
    opacity: 0;
    transition: opacity 0.35s;
}

.split-point:hover::before { opacity: 1; }

.sp-icon {
    flex-shrink: 0;
    width: 42px; height: 42px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    color: var(--accent-strong);
    background: var(--accent-pale);
    border: 1px solid var(--accent-soft);
    font-size: 16px;
    transition: var(--transition);
}

.split-point:hover .sp-icon {
    background: var(--accent);
    color: #fff;
    transform: rotate(-6deg);
    box-shadow: var(--shadow-accent);
}

.split-point h4 { font-size: 14.5px; font-weight: 800; margin-bottom: 4px; }
.split-point p { font-size: 12.5px; color: var(--ink-soft); line-height: 1.8; }

/* ===== PRICING ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: stretch;
}

.price-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}

.price-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-strong));
    opacity: 0;
    transition: opacity 0.35s;
}

.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card:hover::before { opacity: 1; }

.price-card.featured {
    border: 1.5px solid var(--accent);
    box-shadow: 0 24px 60px var(--accent-glow);
    background:
        linear-gradient(180deg, var(--accent-pale) 0%, var(--surface) 42%);
}

.price-card.featured::before { opacity: 1; }

.price-badge {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 16px;
    border-radius: var(--radius-pill);
    white-space: nowrap;
    box-shadow: var(--shadow-accent);
    z-index: 2;
    animation: badge-glow 3s ease-in-out infinite;
}

@keyframes badge-glow {
    0%, 100% { box-shadow: 0 6px 20px var(--accent-glow); }
    50% { box-shadow: 0 8px 30px var(--accent-glow), 0 0 0 5px rgba(12, 122, 85, 0.08); }
}

.price-name { font-size: 16px; font-weight: 800; }
.price-desc { font-size: 11.5px; color: var(--ink-muted); margin-top: 3px; }

.price-amount {
    font-size: clamp(30px, 3.2vw, 34px);
    font-weight: 900;
    margin: 20px 0 2px;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.price-amount small { font-size: 13px; font-weight: 600; color: var(--ink-muted); margin-inline-start: 5px; }

.price-feats {
    display: grid;
    gap: 10px;
    margin: 22px 0 26px;
    flex: 1;
}

.price-feats li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    color: var(--ink-soft);
}

.price-feats i {
    font-size: 11px;
    color: var(--accent);
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--accent-pale);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.price-feats li.off { color: var(--ink-muted); opacity: 0.6; }
.price-feats li.off i { color: var(--ink-muted); background: transparent; }

.pricing-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 13px;
    color: var(--ink-soft);
    margin-top: 28px;
    text-align: center;
}

.pricing-note i { color: var(--accent); }

/* ===== STATS ===== */
.stats-band {
    background:
        radial-gradient(70% 120% at 85% -10%, rgba(47, 214, 153, 0.16) 0%, transparent 55%),
        radial-gradient(50% 90% at 10% 110%, rgba(255, 255, 255, 0.05) 0%, transparent 60%),
        var(--ink);
    color: #fff;
    border-radius: var(--radius-xl);
    padding: clamp(36px, 5vw, 56px) clamp(24px, 4vw, 48px);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(11, 31, 24, 0.28);
}

.stats-band::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 44px 44px;
    opacity: 0.05;
    pointer-events: none;
}

.stat {
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat strong {
    display: block;
    font-size: clamp(28px, 3.6vw, 42px);
    font-weight: 900;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(135deg, #fff 30%, #9fd8c0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.stat span { font-size: 12.5px; color: rgba(255, 255, 255, 0.62); }

/* ===== TESTIMONIALS ===== */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.testi-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: var(--transition);
    position: relative;
}

.testi-card::before {
    content: "«";
    position: absolute;
    top: 14px;
    right: 20px;
    font-size: 54px;
    font-weight: 900;
    color: var(--accent-soft);
    line-height: 1;
    pointer-events: none;
    z-index: 0;
}

.testi-card > * { position: relative; z-index: 1; }

.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent-soft); }

.testi-stars { color: var(--amber); font-size: 12.5px; letter-spacing: 2.5px; }

.testi-card p {
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.9;
    flex: 1;
}

.testi-author { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 15px; }

.ta-avatar {
    width: 40px; height: 40px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.testi-author strong { display: block; font-size: 13px; }
.testi-author span { font-size: 10.5px; color: var(--ink-muted); }

/* ===== FAQ ===== */
.faq-list { max-width: 740px; margin-inline: auto; display: grid; gap: 12px; }

.faq-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item[open] { border-color: var(--accent-soft); box-shadow: var(--shadow-md); }

.faq-item summary {
    padding: 19px 24px;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    user-select: none;
    transition: color 0.3s;
}

.faq-item summary:hover { color: var(--accent); }
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: "+";
    font-size: 19px;
    color: var(--accent);
    font-weight: 700;
    transition: var(--transition);
    flex-shrink: 0;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--accent-pale);
    display: grid;
    place-items: center;
}

.faq-item[open] summary::after { transform: rotate(45deg); background: var(--accent); color: #fff; }

.faq-item p { padding: 0 24px 20px; font-size: 13px; color: var(--ink-soft); line-height: 1.9; }

/* ===== CTA BAND ===== */
.cta-band {
    position: relative;
    border-radius: var(--radius-xl);
    padding: clamp(48px, 6vw, 72px) clamp(24px, 5vw, 56px);
    text-align: center;
    color: #fff;
    background:
        radial-gradient(60% 90% at 85% -10%, rgba(255, 255, 255, 0.12) 0%, transparent 55%),
        radial-gradient(45% 70% at 8% 115%, rgba(255, 255, 255, 0.08) 0%, transparent 60%),
        linear-gradient(125deg, var(--accent-deep), var(--accent) 55%, var(--accent-strong));
    overflow: hidden;
    box-shadow: 0 34px 80px var(--accent-glow);
}

.cta-band::before {
    content: "";
    position: absolute;
    width: 340px; height: 340px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    top: -160px; left: -120px;
    animation: spin-slow 40s linear infinite;
}

.cta-band::after {
    content: "";
    position: absolute;
    width: 260px; height: 260px;
    border-radius: 50%;
    border: 1.5px dashed rgba(255, 255, 255, 0.10);
    bottom: -130px; right: -90px;
    animation: spin-slow 30s linear infinite reverse;
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-band h2 { position: relative; z-index: 1; font-size: clamp(26px, 3.8vw, 38px); font-weight: 900; letter-spacing: -0.012em; text-wrap: balance; }
.cta-band p { position: relative; z-index: 1; font-size: 15px; opacity: 0.85; margin: 12px auto 30px; max-width: 48ch; }
.cta-actions { position: relative; z-index: 1; display: flex; justify-content: center; gap: 13px; flex-wrap: wrap; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.contact-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 28px 22px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent-soft); }

.contact-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 50% at 50% 0%, var(--accent-glow) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.contact-card:hover::after { opacity: 1; }

.contact-card > * { position: relative; z-index: 1; }

.cc-icon {
    width: 50px; height: 50px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    margin: 0 auto 15px;
    font-size: 19px;
    color: var(--accent-strong);
    background: var(--accent-pale);
    border: 1px solid var(--accent-soft);
    transition: var(--transition);
}

.contact-card:hover .cc-icon {
    background: var(--accent);
    color: #fff;
    box-shadow: var(--shadow-accent);
    transform: translateY(-3px);
}

.contact-card h3 { font-size: 15px; font-weight: 800; }
.contact-card p { font-size: 14px; color: var(--accent-strong); font-weight: 700; margin-top: 5px; direction: ltr; }
.contact-card small { display: block; margin-top: 7px; font-size: 11px; color: var(--ink-muted); }

/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid var(--line);
    padding: 60px 0 34px;
    background: var(--bg-soft);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-soft), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 42px;
}

.footer-brand p { font-size: 12.5px; color: var(--ink-soft); margin-top: 13px; max-width: 32ch; line-height: 1.9; }

.footer h4 {
    font-size: 13.5px;
    font-weight: 800;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 8px;
}

.footer h4::after {
    content: "";
    position: absolute;
    bottom: 0; right: 0;
    width: 22px; height: 2px;
    border-radius: 2px;
    background: var(--accent);
}

.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: 12.5px; color: var(--ink-soft); transition: var(--transition); display: inline-flex; align-items: center; gap: 6px; }
.footer-col a::before { content: "‹"; color: var(--accent); opacity: 0; transition: opacity 0.3s, transform 0.3s; transform: translateX(6px); }
.footer-col a:hover { color: var(--accent); }
.footer-col a:hover::before { opacity: 1; transform: translateX(0); }

.footer-bottom {
    border-top: 1px solid var(--line);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--ink-muted);
}

.footer-bottom i { color: var(--accent); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; gap: 48px; }
    .hero-content { max-width: 100%; }
    .split { grid-template-columns: 1fr; gap: 36px; }
    .split-copy { position: static; }
    .bento-cell.bc-wide, .bento-cell.bc-mid, .bento-cell.bc-quarter { grid-column: span 3; }
    .pricing-grid { grid-template-columns: 1fr 1fr; }
    .price-card:last-child { grid-column: span 2; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-band { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 768px) {
    .hero { padding-top: calc(var(--topbar-h) + 28px); padding-bottom: 70px; }
    .menu { display: none; }
    .nav-actions .btn-outline { display: none; }
    .section-head h2 { font-size: 24px; }
    .bento { grid-template-columns: 1fr 1fr; }
    .bento-cell { padding: 20px; }
    .pricing-grid { grid-template-columns: 1fr; }
    .price-card:last-child { grid-column: span 1; }
    .testi-grid, .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 26px; }
    .stats-band { grid-template-columns: 1fr 1fr; padding: 36px 20px; }
    .bento-cell h3 { font-size: 14px; }
    .hero-float-1 { top: -12px; right: 8px; }
    .hero-float-2 { bottom: -14px; left: 4px; }
    .cta-band { padding: 44px 22px; }
    .menu-mobile-toggle { display: flex; }
}

.menu-mobile-toggle {
    display: none;
    width: 42px; height: 42px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--surface);
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--ink);
}

@media (max-width: 520px) {
    .bento { grid-template-columns: 1fr; }
    .stats-band { grid-template-columns: 1fr 1fr; padding: 30px 16px; }
    .hcb-bars { height: 92px; }
    .btn-lg { width: 100%; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero h1 { font-size: 30px; }
}
/* ===== ANDROID APPS — Premium / Soulful (home.html #apps) ===== */
.apps-premium {
    position: relative;
    padding: calc(var(--section-pad) * 0.85) 0 calc(var(--section-pad) * 0.55);
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 55%, var(--bg) 100%);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.apps-premium-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ap-bg-grid {
    position: absolute; inset: -10%;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(62% 58% at 50% 42%, #000 0%, transparent 75%);
    -webkit-mask-image: radial-gradient(62% 58% at 50% 42%, #000 0%, transparent 75%);
    opacity: .28;
}
.ap-bg-orb {
    position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55;
}
.ap-bg-orb-1 {
    width: 520px; height: 520px; top: -160px; left: -140px;
    background: radial-gradient(circle, rgba(12,122,85,.14) 0%, transparent 70%);
}
.ap-bg-orb-2 {
    width: 460px; height: 460px; bottom: -140px; right: -120px;
    background: radial-gradient(circle, rgba(232,163,61,.10) 0%, transparent 70%);
}

/* showcase grid */
.apps-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 1080px;
    margin: 0 auto;
    align-items: stretch;
}

/* card */
.app-phone-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 22px 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s;
}
.app-phone-card::before {
    content: "";
    position: absolute; inset: 0 0 auto 0; height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent 85%);
    opacity: 0; transition: opacity .35s;
}
.app-phone-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--accent-soft); }
.app-phone-card:hover::before { opacity: 1; }
.app-phone-card.featured {
    border-color: var(--accent-soft);
    box-shadow: 0 20px 50px var(--accent-glow), var(--shadow-sm);
    transform: translateY(-4px);
}
.app-phone-card.featured:hover { transform: translateY(-8px); box-shadow: 0 28px 64px var(--accent-glow), var(--shadow-md); }

.apc-featured-badge {
    position: absolute; top: 12px; left: 12px;
    font-size: 10.5px; font-weight: 800; letter-spacing: .02em;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    padding: 5px 10px; border-radius: 999px;
    box-shadow: 0 8px 20px var(--accent-glow);
    z-index: 2;
}
.apc-glow {
    position: absolute; width: 220px; height: 220px; border-radius: 50%;
    top: -70px; right: -60px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    opacity: .0; transition: opacity .4s; pointer-events: none;
}
.app-phone-card:hover .apc-glow { opacity: 1; }
.apc-therapist .apc-glow { background: radial-gradient(circle, rgba(42,154,214,.16) 0%, transparent 70%); }
.apc-secretary .apc-glow { background: radial-gradient(circle, rgba(214,122,20,.14) 0%, transparent 70%); }

.apc-top { display: flex; gap: 14px; align-items: center; }
.apc-icon-wrap { display: flex; flex-direction: column; align-items: center; gap: 6px; flex-shrink: 0; }
.app-icon {
    width: 56px; height: 56px; border-radius: 16px;
    display: grid; place-items: center; font-size: 22px; color: #fff;
    box-shadow: 0 10px 24px rgba(11,31,24,.14), inset 0 1px 0 rgba(255,255,255,.22);
}
.app-icon.patient { background: linear-gradient(135deg, #0c7a55, #14b383); }
.app-icon.therapist { background: linear-gradient(135deg, #0c5a7a, #2a9ad6); }
.app-icon.secretary { background: linear-gradient(135deg, #7a4a0c, #d67a14); }
.apc-platform {
    font-size: 9.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    color: var(--ink-muted);
    display: inline-flex; align-items: center; gap: 4px;
    background: var(--bg-soft); border: 1px solid var(--line);
    padding: 3px 7px; border-radius: 999px;
}
.apc-title h3 { font-size: 16px; font-weight: 900; letter-spacing: -.015em; line-height: 1.2; }
.apc-title span { font-size: 11.5px; color: var(--ink-muted); font-weight: 600; }

.apc-desc { font-size: 12.8px; color: var(--ink-soft); line-height: 1.85; min-height: 46px; }

.apc-feats { display: grid; gap: 7px; margin: 2px 0 2px; }
.apc-feats li {
    display: flex; align-items: center; gap: 8px;
    font-size: 12px; color: var(--ink-soft); font-weight: 600;
}
.apc-feats i {
    width: 22px; height: 22px; border-radius: 7px;
    display: grid; place-items: center; font-size: 10px;
    background: var(--accent-pale); color: var(--accent-strong);
    border: 1px solid var(--accent-soft); flex-shrink: 0;
}
.apc-therapist .apc-feats i { background: #e6f0f8; color: #0c5a7a; border-color: #cfe3f2; }
.apc-secretary .apc-feats i { background: #fdf1e0; color: #7a4a0c; border-color: #f2dbb3; }

.apc-footer { margin-top: auto; display: grid; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.apc-version { font-size: 11px; color: var(--ink-muted); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.apc-dl { width: 100%; justify-content: center; gap: 8px; }

/* trust line */
.apps-trust {
    margin-top: 22px; text-align: center;
    font-size: 12px; color: var(--ink-soft);
    display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px;
}
.apps-trust i { color: var(--accent); font-size: 11px; }
.apps-trust-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line-strong); display: inline-block; }

/* responsive */
@media (max-width: 1024px) { .apps-showcase { grid-template-columns: repeat(2, 1fr); } .app-phone-card.featured { grid-column: span 2; order: -1; } }
@media (max-width: 640px)  { .apps-showcase { grid-template-columns: 1fr; } .app-phone-card.featured { grid-column: span 1; order: 0; } .apc-desc { min-height: auto; } }

/* legacy fallback — old .apps-grid used nowhere after redesign, keep harmless */
.apps-grid { display: none; }

