/* ============================================================
   Sakeena (سَكينة) — Premium Public Landing Page
   Design system: Luxury / Calm / Clinical / Premium SaaS
   Palette: deep plum, soft lavender, warm off-white,
            dark charcoal, muted gold accents (used sparingly)
   ============================================================ */

:root {
    --plum-950: #1F1830;
    --plum-900: #2A2140;
    --plum-800: #362A53;
    --plum-700: #463668;
    --plum-600: #57407F;
    --plum-500: #6A4F9B;
    --plum-400: #8A6FB8;
    --plum-200: #C9BCE0;
    --plum-100: #EDE7F7;
    --plum-50: #F6F2FB;

    --lavender: #E5DEF2;
    --lavender-soft: #F1EBF9;

    --cream: #FBFAF7;
    --cream-2: #F5F2EC;
    --paper: #FFFFFF;

    --charcoal: #1D1A26;
    --charcoal-2: #262132;
    --ink: #2B2636;
    --ink-soft: #55505F;
    --muted: #7A7488;

    --gold: #BC9A67;
    --gold-soft: #CBA97C;
    --gold-very-soft: rgba(188, 154, 103, 0.14);
    --gold-line: rgba(188, 154, 103, 0.35);

    --line: rgba(43, 38, 54, 0.10);
    --line-soft: rgba(43, 38, 54, 0.06);

    --shadow-xs: 0 1px 4px rgba(42, 33, 64, 0.04);
    --shadow-sm: 0 2px 10px rgba(42, 33, 64, 0.06);
    --shadow-md: 0 12px 34px rgba(42, 33, 64, 0.10);
    --shadow-lg: 0 28px 60px rgba(42, 33, 64, 0.16);
    --shadow-gold: 0 8px 26px rgba(188, 154, 103, 0.22);

    --r-xs: 6px;
    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 22px;
    --r-xl: 30px;

    --font-ar: 'IBM Plex Sans Arabic', 'Tajawal', system-ui, sans-serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-ar);
    background: var(--cream);
    color: var(--ink);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

:focus-visible {
    outline: 3px solid var(--gold-soft);
    outline-offset: 2px;
    border-radius: 4px;
}

::selection {
    background: var(--plum-100);
    color: var(--plum-800);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 24px;
}

@media(min-width:768px) {
    .container {
        padding-inline: 36px;
    }
}

@media(min-width:1200px) {
    .container {
        max-width: 1240px;
    }
}

/* copy-safe max line length for paragraphs */
.copy {
    max-width: 58ch;
}

/* =========================================================
   Typography
   ========================================================= */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.35;
    color: var(--charcoal);
    letter-spacing: -0.01em;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.4px;
    color: var(--plum-600);
    background: var(--plum-50);
    border: 1px solid rgba(106, 79, 155, 0.18);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.section-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
}

.section-head {
    max-width: 680px;
    margin-bottom: 52px;
}

.section-head.center {
    margin-inline: auto;
    text-align: center;
}

.section-head h2 {
    font-size: clamp(26px, 4vw, 40px);
    margin-bottom: 16px;
}

.section-head p {
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.9;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform .3s var(--ease);
}

.btn:hover svg {
    transform: translateX(-3px);
}

[dir="ltr"] .btn:hover svg {
    transform: translateX(3px);
}

.btn-primary {
    background: var(--plum-700);
    color: #fff;
    box-shadow: 0 10px 24px rgba(54, 42, 83, 0.28);
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.12) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform .6s var(--ease);
}

.btn-primary:hover::after {
    transform: translateX(100%);
}

.btn-primary:hover {
    background: var(--plum-600);
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(54, 42, 83, 0.32);
}

.btn-gold {
    background: var(--gold);
    color: var(--charcoal);
    box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
    background: var(--gold-soft);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--charcoal);
    border: 1px solid var(--line);
}

.btn-ghost:hover {
    border-color: var(--plum-500);
    color: var(--plum-600);
    background: var(--plum-50);
}

.btn-ghost-light {
    background: transparent;
    color: var(--cream);
    border: 1px solid rgba(251, 250, 247, 0.28);
}

.btn-ghost-light:hover {
    border-color: var(--gold-soft);
    color: var(--gold-soft);
    background: rgba(188, 154, 103, 0.1);
}

.btn-lg {
    padding: 17px 34px;
    font-size: 16px;
    border-radius: 14px;
}

/* =========================================================
   Navigation
   ========================================================= */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(251, 250, 247, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line-soft);
    transition: box-shadow .3s var(--ease), background .3s var(--ease);
}

.site-nav.nav-scrolled {
    box-shadow: 0 4px 20px rgba(42, 33, 64, 0.06);
    background: rgba(251, 250, 247, 0.92);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(140deg, var(--plum-600), var(--plum-800));
    display: grid;
    place-items: center;
    color: var(--gold-soft);
    box-shadow: 0 6px 16px rgba(54, 42, 83, 0.28);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.brand:hover .brand-mark {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(54, 42, 83, 0.35);
}

.brand-mark svg {
    width: 22px;
    height: 22px;
}

.brand-name {
    font-size: 21px;
    font-weight: 700;
    color: var(--charcoal);
    letter-spacing: -0.01em;
}

.brand-name em {
    color: var(--gold);
    font-style: normal;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    font-size: 14.5px;
    font-weight: 500;
    color: var(--ink-soft);
    transition: color .2s;
    position: relative;
    padding-block: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: width .3s var(--ease);
}

.nav-links a:hover {
    color: var(--plum-600);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--plum-600);
}

.nav-links a.active::after {
    width: 100%;
}

.nav-cta-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-login {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--charcoal);
    padding: 9px 6px;
    transition: color .2s;
}

.nav-login:hover {
    color: var(--plum-600);
}

.nav-register {
    padding: 11px 22px;
    font-size: 14px;
}

.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 4px;
}

.lang-toggle button {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--muted);
    padding: 5px 12px;
    border-radius: 999px;
    transition: .2s;
}

.lang-toggle button.active {
    background: var(--plum-700);
    color: #fff;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}

.nav-toggle:hover {
    background: var(--plum-50);
}

.nav-toggle svg {
    width: 24px;
    height: 24px;
    stroke: var(--charcoal);
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 99999;
    pointer-events: none;
    visibility: hidden;
    transition: visibility 0.3s ease;
}

.mobile-menu .mm-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(29, 26, 38, 0.55);
    opacity: 0;
    transition: opacity .3s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.mobile-menu .mm-panel {
    position: fixed;
    top: 0;
    bottom: 0;
    right: -340px;
    left: auto;
    width: 290px;
    max-width: 85vw;
    background: #FFFFFF;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: right .3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -6px 0 30px rgba(0, 0, 0, 0.25);
    overflow-y: auto;
    z-index: 100000;
}

.mobile-menu.open {
    pointer-events: auto;
    visibility: visible;
}

.mobile-menu.open .mm-backdrop {
    opacity: 1;
}

.mobile-menu.open .mm-panel {
    right: 0 !important;
    transform: none !important;
}

.mm-close {
    align-self: flex-end;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    margin-bottom: 8px;
    transition: background .2s;
}

.mm-close:hover {
    background: var(--plum-50);
}

.mm-close svg {
    width: 22px;
    height: 22px;
    stroke: var(--charcoal);
}

.mm-link {
    padding: 13px 12px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
    border-bottom: 1px solid var(--line-soft);
    transition: background .2s, color .2s, padding-inline-start .2s;
}

.mm-link:hover {
    background: var(--plum-50);
    color: var(--plum-600);
    padding-inline-start: 16px;
}

.mm-cta {
    margin-top: 16px;
}

.mm-cta .btn {
    width: 100%;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(1200px 600px at 85% -10%, rgba(106, 79, 155, 0.16), transparent 60%),
        radial-gradient(900px 500px at -10% 120%, rgba(188, 154, 103, 0.12), transparent 55%),
        linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(106, 79, 155, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(106, 79, 155, 0.03) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
    padding-block: 84px 96px;
    position: relative;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--plum-600);
    background: var(--paper);
    border: 1px solid rgba(106, 79, 155, 0.16);
    padding: 8px 16px;
    border-radius: 999px;
    margin-bottom: 26px;
    box-shadow: var(--shadow-sm);
}

.hero-eyebrow .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 4px var(--gold-very-soft);
}

.hero h1 {
    font-size: clamp(34px, 5.2vw, 58px);
    line-height: 1.22;
    margin-bottom: 22px;
    font-weight: 800;
}

.hero h1 .accent {
    color: var(--plum-600);
    background: linear-gradient(120deg, var(--plum-600), var(--plum-700));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .lead {
    font-size: 18px;
    line-height: 1.95;
    color: var(--ink-soft);
    max-width: 52ch;
    margin-bottom: 34px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-trust {
    display: flex;
    gap: 34px;
    flex-wrap: wrap;
    align-items: center;
    border-top: 1px solid var(--line-soft);
    padding-top: 26px;
}

.hero-trust .ht-item {
    display: flex;
    flex-direction: column;
}

.hero-trust .ht-val {
    font-size: 22px;
    font-weight: 700;
    color: var(--charcoal);
}

.hero-trust .ht-val em {
    color: var(--gold);
    font-style: normal;
}

.hero-trust .ht-lbl {
    font-size: 12.5px;
    color: var(--muted);
}

/* Dashboard mockup */
.hero-visual {
    position: relative;
    min-height: 520px;
}

.app-window {
    position: relative;
    z-index: 2;
    background: var(--paper);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line-soft);
    overflow: hidden;
}

.app-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line-soft);
    background: linear-gradient(180deg, var(--paper), var(--cream));
}

.app-bar .dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.app-bar .d1 {
    background: #E8A0A0;
}

.app-bar .d2 {
    background: var(--gold-soft);
}

.app-bar .d3 {
    background: #9CC297;
}

.app-bar .bar-title {
    margin-inline-start: 10px;
    font-size: 12.5px;
    color: var(--muted);
    font-weight: 500;
}

.app-body {
    padding: 20px;
}

.app-body h4 {
    font-size: 14px;
    color: var(--charcoal);
    margin-bottom: 16px;
    font-weight: 600;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}

.kpi {
    background: var(--cream);
    border: 1px solid var(--line-soft);
    border-radius: 12px;
    padding: 14px;
    transition: border-color .2s, box-shadow .2s;
}

.kpi:hover {
    border-color: rgba(106, 79, 155, 0.2);
    box-shadow: var(--shadow-xs);
}

.kpi .k-label {
    font-size: 11.5px;
    color: var(--muted);
    margin-bottom: 4px;
}

.kpi .k-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--charcoal);
}

.kpi .k-value small {
    font-size: 11px;
    color: var(--gold);
    font-weight: 700;
}

.mini-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mini-row {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 12px;
    background: var(--cream);
    border: 1px solid var(--line-soft);
    border-radius: 11px;
    transition: border-color .2s, box-shadow .2s;
}

.mini-row:hover {
    border-color: rgba(106, 79, 155, 0.2);
    box-shadow: var(--shadow-xs);
}

.mini-ava {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
}

.mini-row .m-main {
    flex: 1;
    min-width: 0;
}

.mini-row .m-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--charcoal);
}

.mini-row .m-sub {
    font-size: 11px;
    color: var(--muted);
}

.mini-row .m-time {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--plum-600);
    white-space: nowrap;
}

/* floating cards */
.float-card {
    position: absolute;
    z-index: 3;
    background: var(--paper);
    border: 1px solid var(--line-soft);
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    padding: 13px 15px;
    display: flex;
    align-items: center;
    gap: 11px;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.float-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: var(--shadow-lg);
}

.float-card .fc-ic {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.float-card .fc-t {
    font-size: 12px;
    color: var(--muted);
}

.float-card .fc-v {
    font-size: 15px;
    font-weight: 700;
    color: var(--charcoal);
}

.fc-1 {
    top: -14px;
    inset-inline-end: 6px;
    animation: floaty 6s ease-in-out infinite;
}

.fc-2 {
    bottom: 34px;
    inset-inline-start: -18px;
    animation: floaty 7s ease-in-out 1s infinite;
}

.fc-3 {
    bottom: -18px;
    inset-inline-end: 26px;
    animation: floaty 6.5s ease-in-out 0.5s infinite;
}

@keyframes floaty {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }
}

/* =========================================================
   Trust / value strip
   ========================================================= */
.trust-strip {
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
    background: var(--paper);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
    padding-block: 34px;
}

.trust-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform .2s var(--ease);
}

.trust-chip:hover {
    transform: translateY(-2px);
}

.trust-chip .t-ic {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: var(--plum-50);
    display: grid;
    place-items: center;
    color: var(--plum-600);
    flex-shrink: 0;
    transition: background .2s, color .2s;
}

.trust-chip:hover .t-ic {
    background: var(--plum-100);
    color: var(--plum-700);
}

.trust-chip .t-ic svg {
    width: 20px;
    height: 20px;
}

.trust-chip .t-txt {
    font-size: 14px;
    font-weight: 600;
    color: var(--charcoal);
    line-height: 1.4;
}

/* =========================================================
   Features
   ========================================================= */
.section {
    padding-block: 96px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.feature-card {
    position: relative;
    background: var(--paper);
    border: 1px solid var(--line-soft);
    border-radius: var(--r-md);
    padding: 30px 26px;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    inset-inline: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), transparent);
    opacity: 0;
    transition: opacity .3s;
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(400px 200px at 100% 0%, rgba(106, 79, 155, 0.04), transparent 60%);
    opacity: 0;
    transition: opacity .3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(106, 79, 155, 0.2);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover::after {
    opacity: 1;
}

.f-ic {
    width: 50px;
    height: 50px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: var(--plum-50);
    color: var(--plum-600);
    margin-bottom: 20px;
    transition: background .3s, color .3s, transform .3s var(--ease);
}

.feature-card:hover .f-ic {
    background: var(--plum-100);
    color: var(--plum-700);
    transform: scale(1.05);
}

.f-ic svg {
    width: 24px;
    height: 24px;
}

.feature-card h3 {
    font-size: 17.5px;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.85;
}

/* =========================================================
   How it works
   ========================================================= */
.how-section {
    background: linear-gradient(180deg, var(--paper), var(--plum-50));
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 50%;
    inset-inline: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-line), transparent);
    transform: translateY(-50%);
    pointer-events: none;
}

.step {
    background: var(--paper);
    border: 1px solid var(--line-soft);
    border-radius: var(--r-md);
    padding: 30px 26px;
    position: relative;
    transition: transform .3s var(--ease), box-shadow .3s;
    z-index: 1;
}

.step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.step-num {
    font-size: 34px;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--gold);
    margin-bottom: 16px;
    line-height: 1;
}

.step h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.step p {
    font-size: 13.5px;
    color: var(--ink-soft);
    line-height: 1.8;
}

.step-connector {
    display: none;
}

/* =========================================================
   Therapy flow (editorial)
   ========================================================= */
.editorial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.editorial-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 26px;
}

.editorial-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 12px;
    border-radius: 12px;
    transition: background .2s, transform .2s var(--ease);
}

.editorial-item:hover {
    background: var(--paper);
    transform: translateX(-4px);
}

[dir="ltr"] .editorial-item:hover {
    transform: translateX(4px);
}

.editorial-item .ei-ic {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: var(--plum-50);
    display: grid;
    place-items: center;
    color: var(--plum-600);
    flex-shrink: 0;
    margin-top: 2px;
}

.editorial-item .ei-ic svg {
    width: 19px;
    height: 19px;
}

.editorial-item h4 {
    font-size: 15.5px;
    margin-bottom: 3px;
}

.editorial-item p {
    font-size: 13.5px;
    color: var(--ink-soft);
}

/* flow diagram */
.flow {
    background: var(--paper);
    border: 1px solid var(--line-soft);
    border-radius: var(--r-lg);
    padding: 34px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.flow::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    inset-inline-start: 50%;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--gold-line) 20%, var(--gold-line) 80%, transparent);
    transform: translateX(-50%);
    pointer-events: none;
}

[dir="ltr"] .flow::before {
    transform: translateX(-50%);
}

.flow-node {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--cream);
    border: 1px solid var(--line-soft);
    border-radius: 13px;
    padding: 15px 18px;
    position: relative;
    transition: transform .25s, box-shadow .25s, border-color .25s;
    z-index: 1;
}

.flow-node:hover {
    transform: translateX(-4px);
    box-shadow: var(--shadow-sm);
    border-color: rgba(106, 79, 155, 0.2);
}

[dir="ltr"] .flow-node:hover {
    transform: translateX(4px);
}

.flow-node .fn-ic {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--plum-50);
    display: grid;
    place-items: center;
    color: var(--plum-600);
    flex-shrink: 0;
}

.flow-node .fn-ic svg {
    width: 20px;
    height: 20px;
}

.flow-node .fn-title {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--charcoal);
}

.flow-node .fn-sub {
    font-size: 12px;
    color: var(--muted);
}

.flow-down {
    width: 2px;
    height: 26px;
    background: linear-gradient(180deg, var(--gold), rgba(188, 154, 103, 0.2));
    margin-inline: auto;
    margin-block: 4px;
    position: relative;
    z-index: 1;
}

/* =========================================================
   Scheduling (dark premium)
   ========================================================= */
.dark-section {
    background: linear-gradient(160deg, var(--charcoal) 0%, var(--plum-900) 60%, var(--charcoal-2) 100%);
    color: var(--cream);
    position: relative;
    overflow: hidden;
}

.dark-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(800px 400px at 20% 0%, rgba(106, 79, 155, 0.15), transparent 60%);
    pointer-events: none;
}

.dark-section .section-tag {
    background: rgba(106, 79, 155, 0.25);
    border-color: rgba(106, 79, 155, 0.4);
    color: var(--lavender);
}

.dark-section .section-head h2 {
    color: var(--cream);
}

.dark-section .section-head p {
    color: rgba(251, 250, 247, 0.72);
}

.sched-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    position: relative;
}

.sched-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 26px;
}

.sched-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 15px;
    background: rgba(251, 250, 247, 0.05);
    border: 1px solid rgba(251, 250, 247, 0.1);
    border-radius: 12px;
    font-size: 13.5px;
    color: rgba(251, 250, 247, 0.9);
    transition: background .2s, border-color .2s, transform .2s var(--ease);
}

.sched-item:hover {
    background: rgba(251, 250, 247, 0.08);
    border-color: rgba(188, 154, 103, 0.3);
    transform: translateY(-2px);
}

.sched-item svg {
    width: 17px;
    height: 17px;
    color: var(--gold-soft);
    flex-shrink: 0;
}

.sched-note {
    margin-top: 22px;
    font-size: 14px;
    color: var(--lavender);
    display: flex;
    gap: 10px;
    align-items: flex-start;
    border-inline-start: 3px solid var(--gold);
    padding-inline-start: 16px;
}

/* calendar visual */
.calendar {
    background: rgba(251, 250, 247, 0.04);
    border: 1px solid rgba(251, 250, 247, 0.1);
    border-radius: var(--r-lg);
    padding: 24px;
    backdrop-filter: blur(8px);
}

.cal-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.cal-top h4 {
    color: var(--cream);
    font-size: 15px;
}

.cal-days {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.cal-day {
    background: rgba(251, 250, 247, 0.05);
    border: 1px solid rgba(251, 250, 247, 0.08);
    border-radius: 10px;
    padding: 10px;
    min-height: 74px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: border-color .2s, background .2s;
}

.cal-day:hover {
    border-color: rgba(188, 154, 103, 0.3);
    background: rgba(251, 250, 247, 0.08);
}

.cal-day .cd-label {
    font-size: 10.5px;
    color: rgba(251, 250, 247, 0.5);
}

.cal-day .cd-slot {
    font-size: 9.5px;
    padding: 2px 6px;
    border-radius: 5px;
    font-weight: 600;
    line-height: 1.4;
}

.slot-therapy {
    background: rgba(106, 79, 155, 0.5);
    color: #fff;
}

.slot-fused {
    background: rgba(188, 154, 103, 0.35);
    color: var(--gold-soft);
}

.slot-block {
    background: rgba(251, 250, 247, 0.08);
    color: rgba(251, 250, 247, 0.45);
}

/* =========================================================
   Therapist / security / whatsapp / payments shared
   ========================================================= */
.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.split-list {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-top: 24px;
}

.split-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 13px 15px;
    background: var(--paper);
    border: 1px solid var(--line-soft);
    border-radius: 12px;
    transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
}

.split-item:hover {
    border-color: rgba(106, 79, 155, 0.2);
    box-shadow: var(--shadow-xs);
    transform: translateX(-3px);
}

[dir="ltr"] .split-item:hover {
    transform: translateX(3px);
}

.split-item svg {
    width: 19px;
    height: 19px;
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 3px;
}

.split-item span {
    font-size: 14px;
    color: var(--ink);
}

/* security badges */
.security-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 30px;
}

.security-item {
    background: var(--paper);
    border: 1px solid var(--line-soft);
    border-radius: var(--r-md);
    padding: 22px;
    text-align: center;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}

.security-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
    border-color: rgba(106, 79, 155, 0.2);
}

.security-item .s-ic {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--plum-50);
    color: var(--plum-600);
    margin-inline: auto;
    margin-bottom: 12px;
    display: grid;
    place-items: center;
    transition: background .2s, color .2s;
}

.security-item:hover .s-ic {
    background: var(--plum-100);
    color: var(--plum-700);
}

.security-item .s-ic svg {
    width: 22px;
    height: 22px;
}

.security-item h4 {
    font-size: 14px;
    margin-bottom: 4px;
}

.security-item p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.7;
}

/* gateways */
.gateway-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.gateway-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--paper);
    border: 1px solid var(--line-soft);
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    color: var(--charcoal);
    transition: border-color .2s, box-shadow .2s;
}

.gateway-chip:hover {
    border-color: rgba(106, 79, 155, 0.2);
    box-shadow: var(--shadow-xs);
}

.gateway-chip .g-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--success, #2E8B57);
    box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.15);
}

/* =========================================================
   Pricing CTA band
   ========================================================= */
.cta-band {
    background: linear-gradient(140deg, var(--plum-800), var(--plum-900));
    border-radius: var(--r-xl);
    padding: 60px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(700px 300px at 50% -20%, rgba(188, 154, 103, 0.25), transparent 60%);
}

.cta-band::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(251, 250, 247, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(251, 250, 247, 0.02) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.cta-band h2 {
    color: #fff;
    font-size: clamp(26px, 4vw, 38px);
    margin-bottom: 14px;
    position: relative;
}

.cta-band p {
    color: rgba(251, 250, 247, 0.75);
    max-width: 52ch;
    margin-inline: auto;
    margin-bottom: 30px;
    font-size: 16px;
    position: relative;
}

.cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.cta-note {
    position: relative;
    margin-top: 22px;
    font-size: 13px;
    color: rgba(188, 154, 103, 0.9);
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-wrap {
    max-width: 760px;
    margin-inline: auto;
}

.faq-item {
    background: var(--paper);
    border: 1px solid var(--line-soft);
    border-radius: var(--r-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
}

.faq-item:hover {
    border-color: rgba(106, 79, 155, 0.15);
}

.faq-item.open {
    border-color: rgba(106, 79, 155, 0.25);
    box-shadow: var(--shadow-sm);
}

.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 20px 24px;
    font-size: 15.5px;
    font-weight: 600;
    color: var(--charcoal);
    text-align: start;
    transition: color .2s;
}

.faq-q:hover {
    color: var(--plum-600);
}

.faq-q .faq-ic {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--plum-50);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition: transform .3s var(--ease), background .2s;
}

.faq-q:hover .faq-ic {
    background: var(--plum-100);
}

.faq-q .faq-ic svg {
    width: 15px;
    height: 15px;
    stroke: var(--plum-600);
}

.faq-item.open .faq-ic {
    transform: rotate(45deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s var(--ease);
}

.faq-a-inner {
    padding: 0 24px 22px;
    font-size: 14.5px;
    color: var(--ink-soft);
    line-height: 1.9;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
    background: var(--charcoal);
    color: rgba(251, 250, 247, 0.65);
    padding: 70px 0 30px;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    inset-inline: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-line), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand .brand-name {
    color: var(--cream);
}

.footer-brand .brand-name em {
    color: var(--gold-soft);
}

.footer-desc {
    font-size: 14px;
    line-height: 1.9;
    color: rgba(251, 250, 247, 0.6);
    margin-top: 16px;
    max-width: 34ch;
}

.footer-col h4 {
    color: var(--cream);
    font-size: 14px;
    margin-bottom: 18px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 24px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    padding: 6px 0;
    color: rgba(251, 250, 247, 0.6);
    transition: color .2s, padding-inline-start .2s;
}

.footer-col a:hover {
    color: var(--gold-soft);
    padding-inline-start: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(251, 250, 247, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 13px;
    color: rgba(251, 250, 247, 0.45);
}

/* =========================================================
   Reveal animation (progressive enhancement)
   Content is ALWAYS visible by default.
   The reveal effect is purely additive — it only adds a
   subtle transform transition when JS is confirmed enabled.
   ========================================================= */
.reveal {
    opacity: 1;
    transform: none;
}

html:not(.no-js) .reveal {
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}

html:not(.no-js) .reveal.in {
    opacity: 1;
    transform: none;
}

/* =========================================================
   Responsive
   ========================================================= */
@media(max-width:1100px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-block: 56px 70px;
    }

    .hero .lead {
        max-width: none;
    }

    .hero-visual {
        min-height: auto;
        max-width: 560px;
        margin-inline: auto;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid::before {
        display: none;
    }

    .split-grid,
    .editorial-grid,
    .sched-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .security-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:900px) {
    .nav-links {
        display: none;
    }

    .nav-cta-group .nav-login {
        display: none;
    }

    .nav-cta-group .nav-register {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .trust-grid {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }

    .security-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .sched-list {
        grid-template-columns: 1fr;
    }

    .cal-days {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-inner {
        padding-block: 44px 60px;
    }

    .cta-band {
        padding: 44px 26px;
    }

    .float-card.fc-2 {
        inset-inline-start: -6px;
    }

    .float-card.fc-3 {
        inset-inline-end: 6px;
    }

    .section {
        padding-block: 68px;
    }
}

@media(max-width:400px) {

    .trust-grid,
    .security-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions .btn {
        width: 100%;
    }
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media(prefers-reduced-motion:reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}