/* ============================================================
   كاشير برو — الصفحة الرئيسية التعريفية (Landing)
   Font: IBM Plex Sans Arabic ONLY
   Palette: White + Gray + Deep Maroon (#6B0F1A) ONLY
   ============================================================ */
:root {
    --k: #6B0F1A;
    --k-dark: #4A0812;
    --k-deep: #2C060C;
    --k-light: #8F2A3A;
    --k-soft: #FBF5F5;
    --k-soft-2: #F6E9EB;
    --k-line: #EDE3E3;
    --ink: #171317;
    --muted: #6E6570;
    --line: #EDE8E8;
    --bg: #F7F5F5;
    --white: #FFFFFF;
    --radius: 20px;
    --shadow-sm: 0 6px 22px rgba(74, 8, 18, .06);
    --shadow-md: 0 20px 50px rgba(74, 8, 18, .12);
    --shadow-lg: 0 34px 80px rgba(44, 6, 12, .22);
    --header-h: 76px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 14px); }
body {
    font-family: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body.nav-locked { overflow: hidden; }
img, svg { max-width: 100%; }
a { color: var(--k); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--k-light); }
h1, h2, h3, h4 { line-height: 1.32; font-weight: 700; color: var(--ink); letter-spacing: -.2px; }
h1 { font-size: clamp(30px, 4.6vw, 54px); }
h2 { font-size: clamp(23px, 3.2vw, 36px); }
h3 { font-size: clamp(17px, 2vw, 21px); }
p { color: var(--muted); }
button { font-family: inherit; }
:focus-visible { outline: 3px solid rgba(107, 15, 26, .45); outline-offset: 3px; border-radius: 8px; }
::selection { background: rgba(107, 15, 26, .22); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 22px; }
.skip-link {
    position: fixed; top: -80px; right: 18px; z-index: 9999;
    background: var(--k); color: #fff; padding: 10px 20px; border-radius: 0 0 12px 12px; font-weight: 700;
    transition: top .2s ease;
}
.skip-link:focus { top: 0; color: #fff; }

/* ===================== Header ===================== */
.site-header {
    position: sticky; top: 0; z-index: 1003;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled { box-shadow: 0 12px 34px rgba(44, 6, 12, .09); }
.site-header .container {
    min-height: var(--header-h);
    display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-logo {
    width: 46px; height: 46px; border-radius: 14px; display: block;
    box-shadow: 0 8px 20px rgba(107, 15, 26, .26);
    transition: transform .25s ease;
}
.brand:hover .brand-logo { transform: rotate(-4deg) scale(1.04); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b { font-size: 20px; font-weight: 700; color: var(--k); letter-spacing: -.4px; }
.brand-text small { font-size: 9.5px; font-weight: 600; letter-spacing: 2.6px; color: #9A8C90; direction: ltr; text-align: right; }

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a.nav-link {
    padding: 9px 13px; border-radius: 10px; font-size: 14.5px; font-weight: 600; color: #3A3236;
    position: relative;
}
.main-nav a.nav-link::after {
    content: ""; position: absolute; bottom: 3px; right: 50%; left: 50%; height: 2px;
    background: var(--k); border-radius: 2px; transition: right .22s ease, left .22s ease;
}
.main-nav a.nav-link:hover { background: var(--k-soft); color: var(--k); }
.main-nav a.nav-link:hover::after, .main-nav a.nav-link.active::after { right: 13px; left: 13px; }
.main-nav a.nav-link.active { color: var(--k); }

.header-actions { display: flex; align-items: center; gap: 9px; }
.nav-cta { display: none; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 21px; border-radius: 12px; font-weight: 700; font-size: 14.5px;
    border: 1.5px solid transparent; cursor: pointer; transition: all .22s ease;
    white-space: nowrap; font-family: inherit; line-height: 1.3;
}
.btn-primary { background: var(--k); color: #fff !important; border-color: var(--k); box-shadow: 0 10px 24px rgba(107, 15, 26, .22); }
.btn-primary:hover { background: var(--k-dark); border-color: var(--k-dark); color: #fff !important; transform: translateY(-2px); box-shadow: 0 16px 32px rgba(107, 15, 26, .28); }
.btn-outline { background: #fff; color: var(--k) !important; border-color: var(--k-line); }
.btn-outline:hover { border-color: var(--k); background: var(--k-soft); transform: translateY(-2px); }
.btn-soft { background: var(--k-soft); color: var(--k) !important; border-color: var(--k-soft-2); }
.btn-soft:hover { background: var(--k-soft-2); transform: translateY(-2px); }
.btn-lg { padding: 15px 30px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }

.nav-toggle {
    display: none; width: 46px; height: 46px; border-radius: 13px;
    border: 1.5px solid var(--k-line); background: #fff; color: var(--k);
    align-items: center; justify-content: center; font-size: 19px; cursor: pointer;
    transition: background .2s ease;
}
.nav-toggle:hover { background: var(--k-soft); }
.nav-backdrop { display: none; }

/* ===================== Hero ===================== */
.hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(900px 480px at 88% -10%, rgba(143, 42, 58, .10), transparent 62%),
        radial-gradient(760px 420px at 0% 18%, rgba(107, 15, 26, .07), transparent 60%),
        linear-gradient(180deg, #FFFFFF 0%, #FBF8F8 58%, #F7F5F5 100%);
    padding: clamp(38px, 6vw, 76px) 0 clamp(44px, 6vw, 72px);
    border-bottom: 1px solid var(--line);
}
.hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background-image: linear-gradient(rgba(107, 15, 26, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(107, 15, 26, .045) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 72%);
    -webkit-mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 72%);
}
.hero-grid {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(28px, 4vw, 56px); align-items: center;
}
.hero-copy { max-width: 610px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; border: 1px solid var(--k-line); color: var(--k);
    padding: 7px 15px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
    box-shadow: var(--shadow-sm); margin-bottom: 18px;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #1F8A4C; position: relative; }
.pulse-dot::after {
    content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(31, 138, 76, .3);
    animation: pulse 1.8s infinite;
}
@keyframes pulse { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }

.hero h1 { margin-bottom: 16px; }
.hero h1 .accent {
    color: var(--k); position: relative; white-space: nowrap;
    background: linear-gradient(120deg, var(--k) 0%, var(--k-light) 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero h1 .accent::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 9px;
    background: rgba(107, 15, 26, .12); border-radius: 6px; z-index: -1;
}
.hero .lead { font-size: clamp(15px, 1.7vw, 17.5px); line-height: 1.95; margin-bottom: 26px; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 11px; align-items: center; margin-bottom: 22px; }
.hero-hint { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: #8A7F83; font-weight: 600; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 9px 18px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: #4E4549; }
.hero-trust i { color: var(--k); font-size: 13px; }

/* --- Hero interactive preview --- */
.hero-visual { position: relative; }
.preview-shell {
    position: relative; background: #fff; border: 1px solid var(--k-line);
    border-radius: 24px; box-shadow: var(--shadow-lg); overflow: hidden;
    transform: perspective(1400px) rotateY(-4deg) rotateX(1.5deg);
    transition: transform .45s ease;
}
.hero-visual:hover .preview-shell { transform: perspective(1400px) rotateY(0deg) rotateX(0deg) translateY(-4px); }
.preview-top {
    display: flex; align-items: center; gap: 10px; padding: 11px 14px;
    background: #FBF8F8; border-bottom: 1px solid var(--line);
}
.preview-dots { display: flex; gap: 5px; }
.preview-dots i { width: 9px; height: 9px; border-radius: 50%; background: #DDD3D4; display: block; }
.preview-dots i:nth-child(1) { background: #E2A3AC; }
.preview-dots i:nth-child(2) { background: #D9BBA0; }
.preview-dots i:nth-child(3) { background: #C9D6C5; }
.preview-url {
    flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 8px;
    font-size: 11px; color: #9C9195; padding: 3px 10px; direction: ltr; text-align: left;
}
.preview-body { padding: 14px; background: linear-gradient(180deg, #fff, #FDFBFB); }
.preview-tabs { display: flex; gap: 6px; margin-bottom: 12px; background: #F7F2F2; padding: 4px; border-radius: 11px; }
.preview-tab {
    flex: 1; border: 0; background: transparent; border-radius: 8px; padding: 7px 4px;
    font-size: 11.5px; font-weight: 700; color: #7C7175; cursor: pointer; transition: all .2s ease;
}
.preview-tab:hover { color: var(--k); }
.preview-tab.active { background: #fff; color: var(--k); box-shadow: 0 4px 12px rgba(74, 8, 18, .10); }
.preview-panel { display: none; animation: fadePanel .35s ease; }
.preview-panel.active { display: block; }
@keyframes fadePanel { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.mini-stat { background: #FAF6F6; border: 1px solid #F2E9E9; border-radius: 11px; padding: 9px 10px; }
.mini-stat span { display: block; font-size: 9.5px; font-weight: 600; color: #94888C; margin-bottom: 2px; }
.mini-stat b { font-size: 15px; color: var(--k); font-weight: 700; }
.mini-stat b small { font-size: 9px; color: #9C8F93; font-weight: 600; }
.mini-chart { display: flex; align-items: flex-end; gap: 6px; height: 76px; background: #FCFAFA; border: 1px solid #F3EBEB; border-radius: 11px; padding: 8px 10px 6px; margin-bottom: 9px; }
.mini-chart i { flex: 1; background: linear-gradient(180deg, #A94456, #6B0F1A); border-radius: 4px 4px 2px 2px; opacity: .9; transform-origin: bottom; animation: barGrow .7s ease both; }
.mini-chart i:nth-child(2n) { opacity: .55; }
@keyframes barGrow { from { transform: scaleY(.15); } to { transform: scaleY(1); } }
.mini-invoice { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: #fff; border: 1px solid #F1E8E8; border-radius: 10px; padding: 7px 10px; font-size: 10.5px; }
.mini-invoice span { color: #8A7F83; }
.mini-invoice b { color: var(--k); direction: ltr; font-size: 10px; }
.badge-ok { background: #EAF7EF; color: #1B7A44; border-radius: 999px; padding: 2px 8px; font-size: 9px; font-weight: 700; }

.mini-tables { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.mini-table { border-radius: 9px; padding: 7px 4px; text-align: center; font-size: 9.5px; font-weight: 700; border: 1px solid transparent; }
.mini-table b { display: block; font-size: 12px; margin-bottom: 1px; }
.mini-table.free { background: #F2F8F4; color: #1B7A44; border-color: #DCEFE3; }
.mini-table.occ { background: #FBF0F1; color: var(--k); border-color: #F0DEE0; }
.mini-table.res { background: #F6F3FA; color: #6B4E8A; border-color: #E9E1F1; }
.mini-table.clean { background: #F7F4EE; color: #8A6A2F; border-color: #EFE5D4; }
.mini-note { margin-top: 9px; font-size: 9.5px; color: #918589; display: flex; align-items: center; gap: 5px; }

.mini-queue { display: grid; gap: 6px; }
.mini-order { display: flex; align-items: center; justify-content: space-between; background: #fff; border: 1px solid #F1E8E8; border-radius: 9px; padding: 6px 9px; font-size: 10px; }
.mini-order b { color: #3A3236; font-weight: 700; }
.mini-order em { font-style: normal; font-size: 9px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.mini-order em.preparing { background: #FBF0E7; color: #A2601C; }
.mini-order em.accepted { background: #EEF2FB; color: #33559B; }
.mini-order em.ready { background: #EAF7EF; color: #1B7A44; }

.mini-menu { display: flex; gap: 11px; align-items: center; }
.mini-qr {
    width: 74px; height: 74px; border-radius: 12px; flex-shrink: 0;
    background:
        linear-gradient(90deg, #6B0F1A 7px, transparent 7px) 0 0/22px 22px,
        linear-gradient(#6B0F1A 7px, transparent 7px) 0 0/22px 22px,
        #fff;
    border: 1px solid #F0E5E6; image-rendering: pixelated;
}
.mini-menu-info { flex: 1; }
.mini-menu-info b { display: block; font-size: 12px; color: var(--k); margin-bottom: 2px; }
.mini-menu-info span { display: block; font-size: 10px; color: #8A7F83; }
.mini-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 9.5px; font-weight: 700; color: var(--k); background: var(--k-soft); border-radius: 6px; padding: 2px 7px; direction: ltr; }

.float-card {
    position: absolute; background: #fff; border: 1px solid var(--k-line); border-radius: 14px;
    box-shadow: 0 16px 38px rgba(44, 6, 12, .16); padding: 9px 13px;
    display: flex; align-items: center; gap: 9px; font-size: 11.5px; font-weight: 700; color: #3A3236;
    animation: floaty 5s ease-in-out infinite;
}
.float-card .ico { width: 30px; height: 30px; border-radius: 9px; background: var(--k-soft); color: var(--k); display: flex; align-items: center; justify-content: center; font-size: 13px; }
.float-card small { display: block; font-size: 9.5px; font-weight: 500; color: #8A7F83; }
.float-card.wa { bottom: -18px; left: -8px; animation-delay: -1.4s; }
.float-card.wa .ico { background: #EAF7EF; color: #1B7A44; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ===================== Stats strip ===================== */
.stats-strip { background: var(--k-deep); color: #fff; padding: 26px 0; position: relative; overflow: hidden; }
.stats-strip::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(600px 200px at 80% 0%, rgba(255, 255, 255, .08), transparent 70%);
}
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.stat b { display: block; font-size: clamp(22px, 3vw, 32px); font-weight: 700; color: #fff; line-height: 1.2; }
.stat b span { font-size: .55em; opacity: .8; }
.stat span { font-size: 12px; color: rgba(255, 255, 255, .66); font-weight: 500; }

/* ===================== Sections ===================== */
.section { padding: clamp(48px, 7vw, 92px) 0; }
.section.alt { background: #fff; border-block: 1px solid var(--line); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.kicker {
    display: inline-flex; align-items: center; gap: 7px;
    background: var(--k-soft); color: var(--k); border: 1px solid var(--k-soft-2);
    padding: 5px 14px; border-radius: 999px; font-size: 12px; font-weight: 700;
    margin-bottom: 12px;
}
.section-head h2 { margin-bottom: 11px; }
.section-head p { font-size: 15px; }

/* ===================== Features ===================== */
.feature-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 26px; }
.filter-btn {
    border: 1.5px solid var(--k-line); background: #fff; color: #574C50;
    border-radius: 999px; padding: 8px 17px; font-size: 13px; font-weight: 700; cursor: pointer;
    transition: all .2s ease;
}
.filter-btn:hover { border-color: var(--k); color: var(--k); }
.filter-btn.active { background: var(--k); border-color: var(--k); color: #fff; box-shadow: 0 8px 20px rgba(107, 15, 26, .20); }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card {
    position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 23px; box-shadow: var(--shadow-sm); overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, opacity .25s ease;
}
.feature-card::before {
    content: ""; position: absolute; inset: 0 0 auto;
    height: 3px; background: linear-gradient(90deg, var(--k), var(--k-light));
    transform: scaleX(0); transform-origin: right; transition: transform .3s ease;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--k-line); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card.hide { display: none; }
.feature-card.pop { animation: cardIn .4s ease both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.feature-icon {
    width: 48px; height: 48px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
    background: var(--k-soft); color: var(--k); border: 1px solid var(--k-soft-2);
    font-size: 19px; margin-bottom: 14px; transition: all .25s ease;
}
.feature-card:hover .feature-icon { background: var(--k); color: #fff; transform: rotate(-4deg); }
.feature-card h3 { margin-bottom: 7px; font-size: 17px; }
.feature-card p { font-size: 13.5px; line-height: 1.8; }
.feature-tag {
    position: absolute; top: 16px; left: 16px; font-size: 9.5px; font-weight: 700;
    color: #1B7A44; background: #EAF7EF; border-radius: 999px; padding: 2px 8px;
}

/* ===================== Advisor ===================== */
.advisor-section {
    position: relative; overflow: hidden; color: #fff;
    background:
        radial-gradient(800px 400px at 92% 0%, rgba(143, 42, 58, .45), transparent 62%),
        radial-gradient(700px 420px at 4% 100%, rgba(143, 42, 58, .22), transparent 60%),
        linear-gradient(145deg, #2C060C 0%, #4A0812 52%, #6B0F1A 100%);
}
.advisor-section::before {
    content: ""; position: absolute; inset: 0; opacity: .18; pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, .55) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(180deg, #000, transparent 75%);
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%);
}
.advisor-grid {
    position: relative; display: grid; grid-template-columns: .92fr 1.08fr;
    gap: clamp(26px, 4vw, 50px); align-items: center;
}
.advisor-copy .kicker { background: rgba(255, 255, 255, .10); border-color: rgba(255, 255, 255, .16); color: #F3D5DA; }
.advisor-copy h2 { color: #fff; margin-bottom: 13px; }
.advisor-copy > p { color: rgba(255, 255, 255, .74); font-size: 15px; margin-bottom: 20px; }
.advisor-points { display: grid; gap: 10px; margin-bottom: 24px; }
.advisor-points li {
    list-style: none; display: flex; gap: 10px; align-items: flex-start;
    font-size: 13.5px; color: rgba(255, 255, 255, .86); font-weight: 500;
}
.advisor-points i { color: #EFBFC7; margin-top: 4px; font-size: 13px; }
.advisor-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08);
    color: #fff; border-radius: 999px; padding: 7px 14px; font-size: 12px; font-weight: 600;
    cursor: pointer; transition: all .2s ease; display: inline-flex; align-items: center; gap: 6px;
}
.chip:hover { background: #fff; color: var(--k); border-color: #fff; transform: translateY(-2px); }
.chip i { font-size: 11px; }

.advisor-window {
    background: #fff; color: var(--ink); border-radius: 22px; overflow: hidden;
    box-shadow: 0 34px 80px rgba(0, 0, 0, .38); border: 1px solid rgba(255, 255, 255, .16);
}
.advisor-head {
    display: flex; align-items: center; gap: 11px; padding: 13px 16px;
    background: #FBF8F8; border-bottom: 1px solid var(--line);
}
.advisor-avatar {
    width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--k-light), var(--k)); color: #fff; font-size: 16px;
    position: relative; flex-shrink: 0;
}
.advisor-avatar::after {
    content: ""; position: absolute; bottom: -1px; left: -1px; width: 10px; height: 10px;
    border: 2px solid #fff; border-radius: 50%; background: #1F8A4C;
}
.advisor-head b { display: block; font-size: 13.5px; color: var(--ink); line-height: 1.3; }
.advisor-head small { font-size: 10.5px; color: #8A7F83; }
.advisor-status {
    margin-inline-start: auto; font-size: 10px; font-weight: 700; color: #1B7A44;
    background: #EAF7EF; border-radius: 999px; padding: 3px 9px;
}
.advisor-body {
    height: 318px; overflow-y: auto; padding: 16px 15px 10px; display: flex; flex-direction: column; gap: 10px;
    background: linear-gradient(180deg, #fff 0%, #FCFAFA 100%); scroll-behavior: smooth;
}
.advisor-body::-webkit-scrollbar { width: 7px; }
.advisor-body::-webkit-scrollbar-thumb { background: #E4D7D9; border-radius: 8px; }
.msg { max-width: 86%; font-size: 12.5px; line-height: 1.75; padding: 9px 13px; border-radius: 13px; animation: msgIn .3s ease both; position: relative; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.msg.user { align-self: flex-start; background: var(--k); color: #fff; border-bottom-right-radius: 4px; }
.msg.bot { align-self: flex-end; background: #F4EFEF; color: #3A3236; border-bottom-left-radius: 4px; }
.msg.bot b { color: var(--k); }
.msg.bot .mini-row { display: flex; justify-content: space-between; gap: 14px; padding: 3px 0; border-bottom: 1px dashed #E7DCDD; }
.msg.bot .mini-row:last-child { border-bottom: 0; }
.typing-dots { display: inline-flex; gap: 4px; padding: 3px 2px; }
.typing-dots i { width: 6px; height: 6px; border-radius: 50%; background: #A99DA0; animation: blink 1.2s infinite; }
.typing-dots i:nth-child(2) { animation-delay: .15s; }
.typing-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.advisor-input {
    display: flex; gap: 8px; padding: 11px 13px; border-top: 1px solid var(--line); background: #fff;
}
.advisor-input input {
    flex: 1; border: 1.5px solid var(--k-line); border-radius: 11px; padding: 9px 13px;
    font-size: 12.5px; font-family: inherit; background: #FBF8F8; color: var(--ink); min-width: 0;
}
.advisor-input input:focus { outline: none; border-color: var(--k); background: #fff; }
.advisor-input button {
    width: 42px; height: 42px; border-radius: 11px; border: 0; background: var(--k); color: #fff;
    cursor: pointer; font-size: 14px; transition: background .2s ease; flex-shrink: 0;
}
.advisor-input button:hover { background: var(--k-dark); }

/* ===================== How ===================== */
.how-wrap { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.steps { display: grid; gap: 10px; }
.step-btn {
    text-align: right; background: #fff; border: 1.5px solid var(--line); border-radius: 15px;
    padding: 15px 17px; display: flex; align-items: flex-start; gap: 13px; cursor: pointer;
    transition: all .22s ease; width: 100%; font-family: inherit;
}
.step-btn:hover { border-color: var(--k-line); background: #FDFBFB; }
.step-btn.active { border-color: var(--k); background: var(--k-soft); box-shadow: 0 10px 26px rgba(107, 15, 26, .09); }
.step-num {
    width: 34px; height: 34px; border-radius: 10px; background: #F1E9E9; color: #8A7A7E;
    display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0;
    transition: all .22s ease;
}
.step-btn.active .step-num { background: var(--k); color: #fff; }
.step-btn b { display: block; font-size: 14.5px; color: var(--ink); margin-bottom: 3px; }
.step-btn p { font-size: 12.5px; line-height: 1.7; }
.step-visual {
    background: #fff; border: 1px solid var(--k-line); border-radius: 22px; padding: 24px;
    box-shadow: var(--shadow-md); min-height: 330px; display: flex; flex-direction: column; justify-content: center;
    position: relative; overflow: hidden;
}
.step-visual::before {
    content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%;
    top: -120px; left: -90px; background: radial-gradient(circle, rgba(143, 42, 58, .10), transparent 70%);
}
.step-pane { display: none; position: relative; animation: fadePanel .35s ease; }
.step-pane.active { display: block; }
.pane-icon {
    width: 52px; height: 52px; border-radius: 14px; background: var(--k-soft); color: var(--k);
    display: flex; align-items: center; justify-content: center; font-size: 21px; margin-bottom: 14px;
    border: 1px solid var(--k-soft-2);
}
.step-pane h3 { margin-bottom: 6px; }
.step-pane > p { font-size: 13px; margin-bottom: 15px; }
.mock-form { display: grid; gap: 8px; }
.mock-field {
    display: flex; align-items: center; gap: 9px; border: 1.5px solid var(--line);
    border-radius: 10px; padding: 9px 12px; font-size: 12px; color: #7B7175; background: #FCFAFA;
}
.mock-field i { color: #B3A5A9; font-size: 12px; }
.mock-field.filled { border-color: var(--k-line); background: #fff; color: var(--ink); }
.mock-field .cursor { width: 1.5px; height: 14px; background: var(--k); margin-inline-start: 2px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.mock-btn { margin-top: 6px; background: var(--k); color: #fff; text-align: center; border-radius: 10px; padding: 9px; font-size: 12.5px; font-weight: 700; }
.mock-products { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mock-product { border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; display: flex; justify-content: space-between; gap: 6px; font-size: 11.5px; background: #FDFCFC; }
.mock-product b { color: var(--ink); font-weight: 600; }
.mock-product span { color: var(--k); font-weight: 700; white-space: nowrap; }
.mock-report { display: grid; gap: 8px; }
.mock-bar { display: grid; grid-template-columns: 88px 1fr 42px; align-items: center; gap: 8px; font-size: 11px; }
.mock-bar span:first-child { color: #7B7175; }
.mock-bar .track { height: 8px; border-radius: 99px; background: #F1E9E9; overflow: hidden; }
.mock-bar .fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--k), var(--k-light)); width: 0; transition: width .9s ease .15s; }
.step-pane.active .mock-bar .fill { width: var(--w); }
.mock-bar b { color: var(--k); font-size: 10.5px; text-align: left; direction: ltr; }

/* ===================== WhatsApp ===================== */
.wa-section { background: #fff; border-block: 1px solid var(--line); }
.wa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.wa-card {
    background: #FBF9F9; border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
    box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
    transition: box-shadow .25s ease, transform .25s ease;
}
.wa-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.wa-head { display: flex; align-items: center; gap: 11px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: #fff; }
.wa-avatar {
    width: 40px; height: 40px; border-radius: 50%; background: #EAF7EF; color: #1B7A44;
    display: flex; align-items: center; justify-content: center; font-size: 18px; position: relative; flex-shrink: 0;
}
.wa-avatar::after { content: ""; position: absolute; bottom: 0; left: 0; width: 9px; height: 9px; border-radius: 50%; background: #1F8A4C; border: 2px solid #fff; }
.wa-card.owner .wa-avatar { background: var(--k-soft); color: var(--k); }
.wa-card.owner .wa-avatar::after { background: var(--k); }
.wa-head b { display: block; font-size: 13.5px; line-height: 1.3; }
.wa-head small { font-size: 10.5px; color: #8A7F83; }
.wa-head .who { display: flex; flex-direction: column; }
.wa-replay {
    margin-inline-start: auto; border: 1px solid var(--k-line); background: #fff; color: var(--k);
    border-radius: 9px; padding: 5px 10px; font-size: 10.5px; font-weight: 700; cursor: pointer;
    display: inline-flex; align-items: center; gap: 5px; transition: background .2s ease;
}
.wa-replay:hover { background: var(--k-soft); }
.wa-body {
    flex: 1; padding: 16px 15px; display: flex; flex-direction: column; gap: 9px;
    background:
        radial-gradient(rgba(107, 15, 26, .035) 1px, transparent 1px) 0 0/18px 18px,
        #FDFBFB;
    min-height: 300px; max-height: 330px; overflow-y: auto;
}
.wa-body::-webkit-scrollbar { width: 6px; }
.wa-body::-webkit-scrollbar-thumb { background: #E4D7D9; border-radius: 8px; }
.wa-msg { max-width: 88%; font-size: 12px; line-height: 1.7; padding: 8px 12px; border-radius: 12px; animation: msgIn .3s ease both; }
.wa-msg.customer { align-self: flex-start; background: #DCF3E4; color: #17452B; border-bottom-right-radius: 3px; }
.wa-msg.customer b { color: #0F5B2E; }
.wa-msg.bot { align-self: flex-end; background: #fff; border: 1px solid #EFE6E6; border-bottom-left-radius: 3px; color: #3A3236; }
.wa-msg.bot b { color: #128C4A; }
.wa-msg .meta { display: flex; align-items: center; justify-content: flex-end; gap: 4px; font-size: 8.5px; color: #A79B9F; margin-top: 2px; }
.wa-msg.customer .meta { color: #7FA28C; }
.wa-msg.voice { display: flex; align-items: center; gap: 8px; padding: 8px 12px; }
.voice-play { width: 26px; height: 26px; border-radius: 50%; background: #C8E8D3; color: #0F5B2E; display: flex; align-items: center; justify-content: center; font-size: 10px; flex-shrink: 0; }
.voice-wave { display: flex; align-items: center; gap: 2.5px; height: 18px; }
.voice-wave i { width: 2.5px; border-radius: 2px; background: #63A97E; height: 8px; animation: wave 1.1s ease-in-out infinite; }
.voice-wave i:nth-child(2n) { height: 14px; animation-delay: .1s; }
.voice-wave i:nth-child(3n) { height: 6px; animation-delay: .2s; }
@keyframes wave { 0%, 100% { transform: scaleY(.6); } 50% { transform: scaleY(1.1); } }
.wa-head-icons { margin-inline-start: auto; display: flex; gap: 16px; color: #5A5054; font-size: 15px; }
.wa-head-icons i { cursor: default; }
.wa-inputbar { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-top: 1px solid var(--line); background: #F0F2F5; }
.wa-inputbar .wa-input { flex: 1; border: none; outline: none; background: #fff; border-radius: 20px; padding: 8px 14px; font-size: 13px; font-family: inherit; }
.wa-inputbar .wa-ibtn { background: transparent; border: none; color: #5A5054; font-size: 18px; cursor: pointer; padding: 4px 6px; }
.wa-inputbar .wa-mic { width: 38px; height: 38px; border-radius: 50%; border: none; background: #25D366; color: #fff; font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.wa-inputbar .wa-send { width: 38px; height: 38px; border-radius: 50%; border: none; background: var(--k); color: #fff; font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.wa-inputbar-form .wa-input { flex: 1; }
.wa-inputbar .wa-input::placeholder { color: #8A7F83; }
.wa-foot i { color: var(--k); }
.wa-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }
.wa-tags span { display: inline-flex; align-items: center; gap: 6px; background: var(--k-soft); border: 1px solid var(--k-soft-2); color: var(--k); font-size: 11.5px; font-weight: 600; border-radius: 999px; padding: 5px 12px; }

/* ===================== Policies ===================== */
.policy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.policy-card {
    display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line);
    border-radius: 16px; padding: 17px 18px; box-shadow: var(--shadow-sm);
    transition: all .22s ease;
}
.policy-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--k-line); }
.policy-card .ico {
    width: 44px; height: 44px; border-radius: 12px; background: var(--k-soft); color: var(--k);
    display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0;
    border: 1px solid var(--k-soft-2);
}
.policy-card h3 { font-size: 14.5px; margin-bottom: 2px; }
.policy-card p { font-size: 12px; line-height: 1.6; }
.policy-card .arrow { margin-inline-start: auto; color: #C3B5B9; font-size: 12px; transition: transform .2s ease, color .2s ease; }
.policy-card:hover .arrow { color: var(--k); transform: translateX(-4px); }

/* ===================== FAQ ===================== */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease; }
.faq-item.open { border-color: var(--k-line); box-shadow: var(--shadow-sm); }
.faq-q {
    width: 100%; text-align: right; background: none; border: 0; padding: 16px 18px;
    display: flex; align-items: center; gap: 12px; cursor: pointer; font-family: inherit;
}
.q-ico { color: var(--k); font-size: 15px; flex-shrink: 0; }
.q-text { flex: 1; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.faq-q .chev { color: #B7A9AC; font-size: 12px; transition: transform .25s ease; }
.faq-item.open .chev { transform: rotate(180deg); color: var(--k); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .32s ease; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p { padding: 0 46px 18px; font-size: 13.5px; line-height: 1.9; }
.faq-a a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ===================== CTA ===================== */
.cta {
    padding: clamp(40px, 6vw, 70px) 0;
}
.cta-box {
    position: relative; overflow: hidden; border-radius: 26px; padding: clamp(32px, 5vw, 56px);
    background:
        radial-gradient(520px 280px at 88% 0%, rgba(255, 255, 255, .14), transparent 65%),
        linear-gradient(135deg, #4A0812 0%, #6B0F1A 58%, #8F2A3A 100%);
    color: #fff; text-align: center; box-shadow: 0 26px 60px rgba(74, 8, 18, .28);
}
.cta-box::before, .cta-box::after {
    content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.cta-box::before { width: 300px; height: 300px; top: -170px; right: -80px; background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 70%); }
.cta-box::after { width: 260px; height: 260px; bottom: -170px; left: -70px; background: radial-gradient(circle, rgba(255, 255, 255, .10), transparent 70%); }
.cta-box > * { position: relative; }
.cta-box h2 { color: #fff; margin-bottom: 9px; }
.cta-box p { color: rgba(255, 255, 255, .78); font-size: 14.5px; margin-bottom: 24px; }
.cta-box .btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.cta-btn-light { background: #fff; color: var(--k) !important; border-color: #fff; }
.cta-btn-light:hover { background: #FDF2F3; transform: translateY(-2px); }
.cta-btn-ghost { background: rgba(255, 255, 255, .10); color: #fff !important; border-color: rgba(255, 255, 255, .38); }
.cta-btn-ghost:hover { background: rgba(255, 255, 255, .20); border-color: #fff; }

/* ===================== Footer ===================== */
.site-footer { background: #1C0A0E; color: rgba(255, 255, 255, .74); padding: 52px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 30px; padding-bottom: 34px; }
.footer-brand { display: flex; align-items: center; gap: 11px; font-size: 19px; font-weight: 700; color: #fff; margin-bottom: 11px; }
.footer-brand img { width: 44px; height: 44px; border-radius: 13px; box-shadow: 0 8px 20px rgba(0, 0, 0, .3); }
.footer-about { font-size: 12.5px; line-height: 1.9; color: rgba(255, 255, 255, .60); max-width: 300px; }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 12px; font-weight: 700; }
.footer-col ul { list-style: none; display: grid; gap: 7px; }
.footer-col a, .footer-col span { color: rgba(255, 255, 255, .62); font-size: 12.5px; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.footer-contact i { color: #D9A7B0; width: 15px; text-align: center; font-size: 11px; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .10); padding: 17px 0;
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
    font-size: 11.5px; color: rgba(255, 255, 255, .48);
}

/* ===================== Reveal ===================== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===================== Responsive ===================== */
@media (max-width: 1080px) {
    .hero-grid { gap: 30px; }
    .preview-shell { transform: none; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .footer-col:last-child { grid-column: 1 / -1; }
    .footer-col:last-child ul { grid-template-columns: repeat(2, minmax(0, 1fr)); display: grid; }
}

@media (max-width: 991.98px) {
    :root { --header-h: 68px; }
    .nav-toggle { display: inline-flex; }
    .header-actions { display: none; }
    .main-nav {
        position: fixed; top: calc(var(--header-h) + 10px); right: 14px; left: 14px;
        z-index: 1002; display: flex; flex-direction: column; align-items: stretch; gap: 3px;
        background: #fff; border: 1px solid var(--k-line); border-radius: 18px;
        padding: 12px; box-shadow: 0 28px 60px rgba(44, 6, 12, .22);
        max-height: calc(100dvh - var(--header-h) - 28px); overflow-y: auto;
        opacity: 0; visibility: hidden; pointer-events: none;
        transform: translateY(-10px) scale(.98); transform-origin: top center;
        transition: opacity .22s ease, transform .22s ease, visibility .22s;
    }
    .site-header.nav-open .main-nav {
        opacity: 1; visibility: visible; pointer-events: auto; transform: none;
    }
    .main-nav a.nav-link { padding: 12px 13px; border-radius: 11px; font-size: 15px; }
    .main-nav a.nav-link::after { display: none; }
    .main-nav a.nav-link:hover, .main-nav a.nav-link.active { background: var(--k-soft); }
    .nav-cta { display: flex; gap: 8px; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
    .nav-cta .btn { flex: 1; }
    .nav-backdrop {
        display: block; position: fixed; inset: 0; z-index: 1001; background: rgba(28, 10, 14, .34);
        opacity: 0; visibility: hidden; transition: opacity .22s ease, visibility .22s;
        backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
    }
    body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-copy { max-width: none; text-align: center; }
    .hero .lead { margin-inline: auto; }
    .hero-cta, .hero-trust, .hero-hint { justify-content: center; }
    .hero-visual { max-width: 620px; margin: 6px auto 0; width: 100%; }
    .advisor-grid { grid-template-columns: 1fr; }
    .advisor-copy { max-width: 680px; }
    .how-wrap { grid-template-columns: 1fr; }
    .step-visual { min-height: 300px; order: -1; }
    .steps { grid-template-columns: 1fr; }
    .wa-grid { grid-template-columns: 1fr; }
    .wa-body { min-height: 260px; }
}

@media (max-width: 767.98px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .features-grid { grid-template-columns: 1fr; }
    .policy-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand-col { grid-column: 1 / -1; }
    .footer-col:last-child { grid-column: 1 / -1; }
    .footer-about { max-width: none; }
    .section-head { margin-bottom: 30px; }
    .float-card { display: none; }
    .preview-tabs { gap: 3px; }
    .preview-tab { font-size: 10.5px; }
    .advisor-body { height: 340px; }
    .footer-bottom { justify-content: center; text-align: center; }
}

@media (max-width: 420px) {
    .brand-text small { display: none; }
    .brand-logo { width: 41px; height: 41px; }
    .hero-cta .btn { width: 100%; }
    .mini-stats { gap: 5px; }
    .mini-stat { padding: 7px; }
    .mini-stat b { font-size: 13px; }
    .advisor-chips .chip { font-size: 11px; padding: 6px 11px; }
    .policy-card { padding: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
}
