/* =========================================================================
   MotoMast Marketing Website — shared stylesheet
   Built 2026-08-23. Reuses the exact brand palette already shipping in the
   product itself (design/css/theme.css "Fleet" direction: indigo #4F46E5 on
   near-white, single-family Inter body text) so the website and the actual
   in-app experience feel like the same company — just dialed up for a
   marketing context with a display headline face (Manrope) layered on top.
   ========================================================================= */

:root{
  --ink:#0F172A; --brand:#4F46E5; --brand-dark:#4338CA; --brand-light:#EEF2FF;
  --bg:#F8FAFC; --surface:#FFFFFF; --border:#E2E8F0; --muted:#64748B;
  --success:#10B981; --success-bg:#ECFDF5; --warning:#F59E0B; --warning-bg:#FFFBEB;
  --danger:#EF4444; --danger-bg:#FEF2F2; --cyan:#22D3EE;
  --text-2:#334155; --text-3:#94A3B8;
  --radius:16px; --radius-sm:10px; --radius-lg:24px;
  --shadow-sm:0 1px 2px rgba(15,23,42,.04), 0 2px 8px -2px rgba(15,23,42,.06);
  --shadow-md:0 4px 16px -4px rgba(15,23,42,.10), 0 12px 32px -12px rgba(15,23,42,.12);
  --shadow-lg:0 16px 48px -12px rgba(15,23,42,.22);
  --ink-rgb:15,23,42;
  --container: 1180px;
  --font-display: 'Manrope', 'Inter', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-arabic: 'Cairo', 'Tajawal', 'Manrope', 'Inter', -apple-system, sans-serif;
}

/* ---------- Arabic / RTL support ---------- */
html[dir="rtl"] body{ font-family: var(--font-arabic); }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4{ font-family: var(--font-arabic); letter-spacing:0; }
html[dir="rtl"] .eyebrow .dot, html[dir="rtl"] .ai-eyebrow .dot{ margin-left:0; }
html[dir="rtl"] .nav-links{ text-align:right; }
html[dir="rtl"] .hero-flavors, html[dir="rtl"] .hero-ctas, html[dir="rtl"] .trust-strip,
html[dir="rtl"] .showcase-tabs, html[dir="rtl"] .currency-row, html[dir="rtl"] .plan-select-row{ flex-direction:row-wrap; }
html[dir="rtl"] .field-row, html[dir="rtl"] .type-select-grid{ direction:rtl; }
html[dir="rtl"] .subdomain-input-row{ flex-direction:row-reverse; }
html[dir="rtl"] .subdomain-input-row .suffix{ border-left:none; border-right:1px solid var(--border); }
html[dir="rtl"] .check-row, html[dir="rtl"] .contact-info-item, html[dir="rtl"] .feature-card,
html[dir="rtl"] .ai-card .badge-audience, html[dir="rtl"] .mega-item, html[dir="rtl"] .how-step{ text-align:right; }
html[dir="rtl"] .legal-body ul{ padding-left:0; padding-right:20px; }
html[dir="rtl"] #mm-chat-launcher{ right:auto; left:24px; }
html[dir="rtl"] #mm-chat-panel{ right:auto; left:24px; }
html[dir="rtl"] .mm-msg.user{ align-self:flex-start; border-bottom-right-radius:14px; border-bottom-left-radius:4px; }
html[dir="rtl"] .mm-msg.bot{ align-self:flex-end; border-bottom-left-radius:14px; border-bottom-right-radius:4px; }

/* ---------- Language switcher ---------- */
.lang-switch{ display:flex; align-items:center; border:1.5px solid var(--border); border-radius:999px; padding:3px; gap:2px; flex-shrink:0; }
.lang-switch button{ border:none; background:none; cursor:pointer; font-size:12.5px; font-weight:800; padding:6px 11px; border-radius:999px; color:var(--muted); font-family:inherit; }
.lang-switch button.active{ background:var(--ink); color:#fff; }

/* ---------- Shared custom icon sizing (js/icons.js fills [data-icon] spans) ---------- */
.ic svg{ width:1.15em; height:1.15em; display:inline-block; vertical-align:middle; }

/* ---------- Payment step (get-started flow) ---------- */
.pay-method-row{ display:flex; gap:12px; flex-wrap:wrap; margin-bottom:22px; }
.pay-method-card{ flex:1; min-width:150px; border:1.5px solid var(--border); border-radius:12px; padding:16px 14px; text-align:center; cursor:pointer; transition:.12s; }
.pay-method-card:hover{ border-color:var(--brand); }
.pay-method-card.selected{ border-color:var(--brand); background:var(--brand-light); }
.pay-method-card .ic{ font-size:22px; margin-bottom:8px; color:var(--brand); }
.pay-method-card .lbl{ font-size:13px; font-weight:700; }
.pay-summary{ background:var(--bg); border:1px dashed var(--border); border-radius:12px; padding:16px 18px; margin-bottom:22px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:8px; }
.pay-summary .plan{ font-weight:800; font-size:14.5px; }
.pay-summary .amount{ font-family:var(--font-display); font-weight:800; font-size:18px; color:var(--brand); }
.pay-note{ font-size:12px; color:var(--muted); background:var(--success-bg); border:1px solid #A7F3D0; border-radius:10px; padding:10px 14px; margin-top:6px; display:flex; gap:8px; align-items:flex-start; }
.card-fields{ margin-top:18px; }

*, *::before, *::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family:var(--font-body); font-size:16px; line-height:1.6;
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; }
h1,h2,h3,h4{ font-family:var(--font-display); font-weight:800; line-height:1.15; margin:0; letter-spacing:-0.01em; }
p{ margin:0; }

.container{ max-width:var(--container); margin:0 auto; padding:0 28px; }
@media (max-width:640px){ .container{ padding:0 20px; } }

.section{ padding:96px 0; }
.section-tight{ padding:64px 0; }
@media (max-width:820px){ .section{ padding:64px 0; } .section-tight{ padding:44px 0; } }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12.5px; font-weight:800; letter-spacing:.08em; text-transform:uppercase;
  color:var(--brand); background:var(--brand-light); padding:7px 14px; border-radius:999px;
  margin-bottom:18px;
}
.eyebrow .dot{ width:6px; height:6px; border-radius:50%; background:var(--cyan); }

.section-head{ max-width:680px; margin:0 auto 52px; text-align:center; }
.section-head h2{ font-size:36px; margin-bottom:14px; }
.section-head p{ color:var(--muted); font-size:17px; line-height:1.6; }
@media (max-width:640px){ .section-head h2{ font-size:28px; } }

.muted{ color:var(--muted); }
.text-center{ text-align:center; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  border:none; border-radius:11px; font-weight:700; font-size:15px;
  padding:13px 24px; cursor:pointer; transition:.15s ease; white-space:nowrap;
  font-family:var(--font-body);
}
.btn-lg{ padding:16px 30px; font-size:16px; border-radius:12px; }
.btn-sm{ padding:9px 16px; font-size:13.5px; border-radius:9px; }
.btn-primary{ background:var(--brand); color:#fff; box-shadow:0 6px 18px -6px rgba(79,70,229,.55); }
.btn-primary:hover{ background:var(--brand-dark); transform:translateY(-1px); }
.btn-secondary{ background:var(--surface); color:var(--ink); border:1.5px solid var(--border); }
.btn-secondary:hover{ border-color:var(--brand); color:var(--brand); }
.btn-ghost{ background:transparent; color:var(--ink); border:1.5px solid rgba(255,255,255,.28); }
.btn-ghost:hover{ background:rgba(255,255,255,.08); }
.btn-block{ width:100%; }
.btn[disabled]{ opacity:.55; cursor:not-allowed; }

/* ---------- Top nav ---------- */
/* The frosted-glass effect lives on a ::before rather than directly on
   .site-header. A `backdrop-filter` (like `filter`/`transform`) makes its
   element the containing block for `position:fixed` descendants — and the
   mobile slide-out menu (#mmMobileMenu, a descendant of this header) relies
   on being fixed relative to the *viewport*, not this 74px-tall bar. Keeping
   the filter off the header itself avoids trapping that panel inside it. */
.site-header{
  position:sticky; top:0; z-index:200;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.site-header::before{
  content:''; position:absolute; inset:0; z-index:-1;
  background:rgba(15,23,42,.94);
  backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
}
.nav-row{ display:flex; align-items:center; gap:32px; height:74px; }
.brand{ display:flex; align-items:center; gap:10px; font-family:var(--font-display); font-weight:800; font-size:20px; flex-shrink:0; }
.brand .mark{ width:30px; height:30px; flex-shrink:0; }
.brand .word-ink{ color:var(--ink); }
.brand .word-brand{ color:var(--brand); }
.site-header .brand .word-ink{ color:#fff; }
.site-header .brand .word-brand{ color:var(--cyan); }
.nav-links{ display:flex; align-items:center; gap:6px; flex:1; }
.nav-links a{ font-size:14.5px; font-weight:600; color:var(--nav-text,#CBD5E1); padding:6px 10px; border-bottom:2px solid transparent; }
.nav-links a:hover, .nav-links a.active{ color:#fff; border-bottom-color:var(--cyan); }
.nav-item{ position:relative; }
.nav-drop-btn{
  display:inline-flex; align-items:center; gap:5px; background:none; border:none; cursor:pointer;
  font:inherit; font-size:14.5px; font-weight:600; color:var(--nav-text,#CBD5E1);
  padding:6px 10px; border-bottom:2px solid transparent;
}
.nav-drop-btn:hover, .nav-drop-btn[aria-expanded="true"], .nav-drop-btn.active{ color:#fff; border-bottom-color:var(--cyan); }
.nav-drop-btn .chev{ transition:transform .15s ease; flex-shrink:0; }
.nav-drop-btn[aria-expanded="true"] .chev{ transform:rotate(180deg); }
.nav-actions{ display:flex; align-items:center; gap:10px; flex-shrink:0; }
.site-header .lang-switch{ border-color:rgba(255,255,255,.25); }
.site-header .lang-switch button{ color:var(--nav-text,#CBD5E1); }
.site-header .lang-switch button.active{ background:var(--cyan); color:var(--ink); }
.site-header .btn-secondary{ background:transparent; border-color:rgba(255,255,255,.32); color:#fff; }
.site-header .btn-secondary:hover{ border-color:var(--cyan); color:var(--cyan); }
.nav-toggle{ display:none; background:none; border:none; cursor:pointer; padding:8px; }
.nav-toggle span{ display:block; width:22px; height:2px; background:#fff; margin:5px 0; border-radius:2px; }

/* ---------- Mega-menu dropdowns (Solutions / Features) ----------
   position:fixed + a JS-computed `top` (see positionMegaPanel() in main.js)
   so the panel is centered on the viewport and sized independently of
   which nav item triggered it — a wide, full "menu bar" style dropdown
   rather than a narrow box hanging off one button. */
.mega-panel{
  display:none; position:fixed; left:50%; transform:translateX(-50%);
  background:var(--surface); border-radius:20px; box-shadow:0 24px 60px -20px rgba(15,23,42,.35);
  padding:28px 28px 22px; width:min(1040px,94vw); max-height:calc(100vh - 110px);
  overflow-y:auto; z-index:60;
}
.mega-panel.open{ display:block; }
.mega-grid{ display:grid; gap:14px; }
.mega-grid--cols-4{ grid-template-columns:repeat(4,1fr); }
.mega-grid--cols-3{ grid-template-columns:repeat(3,1fr); }
@media (max-width:1100px){ .mega-grid--cols-4{ grid-template-columns:repeat(3,1fr); } }
.mega-item{
  display:flex; flex-direction:column; padding:18px; border:1px solid var(--border);
  border-radius:14px; transition:.15s ease;
}
.mega-item:hover{ border-color:var(--brand-border,#C7D2FE); box-shadow:var(--shadow-sm); transform:translateY(-2px); }
.mega-item .ic{ width:56px; height:56px; border-radius:14px; background:var(--brand-light); color:var(--brand); display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-bottom:16px; }
.mega-item .ic svg{ width:28px; height:28px; }
.mega-item:hover .ic{ background:var(--brand); color:#fff; }
.mega-item h4{ font-family:var(--font-body); font-size:14px; font-weight:700; margin:0 0 6px; color:var(--ink); }
.mega-item p{ font-size:12.5px; color:var(--muted); margin:0 0 10px; line-height:1.5; }
.mega-link{ font-size:12px; font-weight:700; color:var(--brand); display:inline-flex; align-items:center; gap:4px; }
.mega-link-arrow{ transition:transform .15s ease; }
.mega-item:hover .mega-link-arrow{ transform:translateX(3px); }
html[dir="rtl"] .mega-link-arrow{ transform:scaleX(-1); }
html[dir="rtl"] .mega-item:hover .mega-link-arrow{ transform:scaleX(-1) translateX(3px); }
.mega-foot{ margin-top:14px; padding-top:16px; border-top:1px solid var(--border); text-align:center; }
.mega-foot a{ font-size:13px; font-weight:700; color:var(--brand); }

@media (max-width:920px){
  .nav-row{ gap:14px; }
  .nav-links{ position:fixed; top:74px; left:0; right:0; bottom:0; background:var(--surface);
    flex-direction:column; align-items:stretch; gap:0; padding:12px 24px 24px;
    transform:translateX(100%); transition:.2s ease; overflow-y:auto; }
  .nav-links.open{ transform:translateX(0); }
  .nav-links a, .nav-drop-btn{ padding:14px 0; border-bottom:1px solid var(--border); color:var(--ink); width:100%; justify-content:space-between; }
  .nav-links a:hover, .nav-links a.active, .nav-drop-btn:hover, .nav-drop-btn[aria-expanded="true"], .nav-drop-btn.active{ color:var(--brand); border-bottom-color:var(--brand); }
  /* Login and Get Started already appear as full-width buttons inside the
     mobile menu itself (.nav-cta-mobile below); hiding both header pills on
     mobile keeps the always-visible nav-actions row (brand + lang-switch +
     hamburger) narrow enough to never overflow the viewport width. */
  .nav-actions .btn-secondary, .nav-actions .btn-primary{ display:none; }
  .nav-toggle{ display:block; }
  .nav-cta-mobile{ display:flex !important; }
  .mega-panel{ position:static; width:auto; max-height:none; overflow-y:visible; box-shadow:none; padding:0 0 10px 14px; background:transparent; border-radius:0; transform:none; left:auto; top:auto; }
  .mega-grid, .mega-grid--cols-4, .mega-grid--cols-3{ grid-template-columns:1fr; gap:0; }
  .mega-item{ flex-direction:row; align-items:center; gap:12px; border:none; padding:9px 4px; box-shadow:none; }
  .mega-item:hover{ border-color:transparent; box-shadow:none; transform:none; }
  .mega-item .ic{ margin-bottom:0; }
  .mega-link{ display:none; }
  .mega-foot{ text-align:left; border-top:none; margin-top:4px; padding-top:0; }
}
.nav-cta-mobile{ display:none; gap:10px; margin-top:16px; }

/* ---------- Hero ---------- */
.hero{ padding:88px 0 40px; position:relative; overflow:hidden; }
.hero-mesh{
  position:absolute; inset:-20% -10% auto -10%; height:120%; z-index:-1; pointer-events:none;
  background:
    radial-gradient(480px 380px at 12% 15%, rgba(79,70,229,.14), transparent 65%),
    radial-gradient(560px 420px at 88% 8%, rgba(34,211,238,.16), transparent 60%),
    radial-gradient(500px 400px at 55% 95%, rgba(79,70,229,.08), transparent 65%);
  filter:blur(6px);
  animation:heroMeshDrift 22s ease-in-out infinite alternate;
}
@keyframes heroMeshDrift{
  0%{ transform:translate3d(0,0,0) scale(1); }
  100%{ transform:translate3d(-2%,1.5%,0) scale(1.04); }
}
@media (prefers-reduced-motion: reduce){ .hero-mesh{ animation:none; } }
.hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; }
@media (max-width:980px){ .hero-grid{ grid-template-columns:1fr; } }
.hero h1{ font-size:52px; letter-spacing:-0.02em; margin-bottom:22px; }
.hero h1 .accent{ color:var(--brand); }
.hero .lede{ font-size:19px; color:var(--text-2); max-width:540px; margin-bottom:32px; line-height:1.6; }
.hero-ctas{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:36px; }
.hero-flavors{ display:flex; flex-wrap:wrap; gap:9px; }
.flavor-pill{
  font-size:12.5px; font-weight:700; color:var(--text-2); background:var(--surface);
  border:1px solid var(--border); padding:7px 13px; border-radius:999px;
}
@media (max-width:640px){ .hero h1{ font-size:36px; } .hero .lede{ font-size:16.5px; } }

.hero-visual{ position:relative; }
.hero-illustration{ width:100%; display:block; padding:8px; }
.hero-illustration > svg{ width:100%; height:auto; display:block; }
@media (max-width:980px){ .hero-illustration{ padding:0; max-width:420px; margin:0 auto; } }
.browser-frame{
  background:var(--surface); border-radius:var(--radius-lg); box-shadow:var(--shadow-lg);
  border:1px solid var(--border); overflow:hidden;
}
.browser-chrome{
  display:flex; align-items:center; gap:6px; padding:12px 16px; background:#F1F5F9; border-bottom:1px solid var(--border);
}
.browser-chrome .dot{ width:10px; height:10px; border-radius:50%; }
.browser-frame img{ width:100%; display:block; }
.hero-badge-float{
  position:absolute; background:var(--surface); border:1px solid var(--border); border-radius:14px;
  box-shadow:var(--shadow-md); padding:14px 16px; display:flex; align-items:center; gap:10px; font-size:13px; font-weight:700;
}
.hero-badge-float .ic{ width:34px; height:34px; border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:16px; flex-shrink:0; }
@media (max-width:980px){ .hero-badge-float{ display:none; } }

/* ---------- Logo bug (used standalone in footer/nav) ---------- */
.logo-svg rect{ fill:var(--brand); }
.logo-svg circle{ fill:var(--cyan); }

/* ---------- Business-type cards ---------- */
.flavor-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
@media (max-width:980px){ .flavor-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .flavor-grid{ grid-template-columns:1fr; } }
.flavor-card{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius);
  padding:28px 24px; transition:.18s ease;
}
.flavor-card:hover{ box-shadow:var(--shadow-md); transform:translateY(-4px); border-color:var(--brand-border,#C7D2FE); }
.flavor-card .ic{
  width:64px; height:64px; border-radius:50%; background:var(--brand-light); color:var(--brand);
  display:flex; align-items:center; justify-content:center; margin-bottom:18px; transition:.18s ease;
}
.flavor-card .ic svg{ width:30px; height:30px; }
.flavor-card:hover .ic{ background:var(--brand); color:#fff; }
.flavor-card h3{ font-size:19px; margin-bottom:9px; }
.flavor-card p{ color:var(--muted); font-size:15px; line-height:1.6; }
.flavor-card .modlist{ margin-top:12px; font-size:12.5px; color:var(--brand); font-weight:700; }

/* ---------- Category / feature cards ---------- */
.cat-block{ margin-bottom:56px; }
.cat-head{ display:flex; align-items:center; gap:12px; margin-bottom:24px; }
.cat-head .ic{ width:42px; height:42px; border-radius:11px; display:flex; align-items:center; justify-content:center; font-size:20px; flex-shrink:0; color:var(--brand); }
.cat-head h3{ font-size:22px; }
.cat-head .sub{ font-size:13.5px; color:var(--muted); margin-top:2px; }
.feature-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
@media (max-width:900px){ .feature-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .feature-grid{ grid-template-columns:1fr; } }
.feature-card{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-sm);
  padding:20px; display:flex; gap:14px; align-items:flex-start;
}
.feature-card.featured{
  grid-column:span 2; background:linear-gradient(135deg, var(--brand-light) 0%, var(--surface) 65%);
  border-color:var(--brand-border,#C7D2FE);
}
@media (max-width:900px){ .feature-card.featured{ grid-column:span 2; } }
@media (max-width:640px){ .feature-card.featured{ grid-column:span 1; } }
.feature-card .ic{ width:36px; height:36px; border-radius:9px; background:var(--brand-light); color:var(--brand); display:flex; align-items:center; justify-content:center; font-size:17px; flex-shrink:0; }
.feature-card.featured .ic{ background:rgba(255,255,255,.7); }
.feature-card h4{ font-family:var(--font-body); font-size:15px; font-weight:700; margin-bottom:5px; }
.feature-card p{ font-size:13.5px; color:var(--muted); line-height:1.55; }

/* ---------- Modular-by-design category chips ---------- */
.module-badge{ display:inline-block; font-size:11px; font-weight:800; letter-spacing:.03em; padding:4px 10px; border-radius:999px; margin:0 6px 6px 0; }
.mb-workshop{ background:#FFF7ED; color:#C2410C; }
.mb-retail{ background:#ECFDF5; color:#047857; }
.mb-core{ background:#EFF6FF; color:#1D4ED8; }
.mb-backoffice{ background:#FDF4FF; color:#A21CAF; }

/* ---------- Screenshot showcase / tabbed demo ---------- */
.showcase-tabs{ display:flex; justify-content:center; gap:8px; flex-wrap:wrap; margin-bottom:32px; }
.showcase-tab{
  font-size:13.5px; font-weight:700; padding:10px 18px; border-radius:999px; cursor:pointer;
  border:1.5px solid var(--border); background:var(--surface); color:var(--text-2); transition:.15s;
}
.showcase-tab.active{ background:var(--ink); border-color:var(--ink); color:#fff; }
.showcase-frame{ max-width:980px; margin:0 auto; }
.showcase-caption{ text-align:center; margin-top:18px; color:var(--muted); font-size:14px; }

/* ---------- AI section (dark, signal accent) ---------- */
.ai-section{ background:var(--ink); color:#fff; border-radius:32px; margin:0 28px; padding:72px 44px; position:relative; overflow:hidden; }
@media (max-width:640px){ .ai-section{ margin:0 12px; padding:52px 22px; border-radius:22px; } }
.ai-section::before{
  content:''; position:absolute; top:-140px; right:-100px; width:420px; height:420px; border-radius:50%;
  background:radial-gradient(circle, rgba(34,211,238,.28), transparent 70%);
}
.ai-section::after{
  content:''; position:absolute; bottom:-160px; left:-120px; width:420px; height:420px; border-radius:50%;
  background:radial-gradient(circle, rgba(79,70,229,.35), transparent 70%);
}
.ai-section .inner{ position:relative; z-index:1; max-width:var(--container); margin:0 auto; }
.ai-eyebrow{ display:inline-flex; align-items:center; gap:8px; font-size:12.5px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--cyan); background:rgba(34,211,238,.12); padding:7px 14px; border-radius:999px; margin-bottom:18px; }
.ai-section .section-head h2{ color:#fff; }
.ai-section .section-head p{ color:#CBD5E1; }
.ai-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
@media (max-width:900px){ .ai-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .ai-grid{ grid-template-columns:1fr; } }
.ai-card{ background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.10); border-radius:16px; padding:22px; }
.ai-card .ic{ width:38px; height:38px; border-radius:10px; background:rgba(34,211,238,.15); color:var(--cyan); display:flex; align-items:center; justify-content:center; font-size:18px; margin-bottom:14px; }
.ai-card h4{ font-family:var(--font-body); font-size:15px; font-weight:700; margin-bottom:6px; }
.ai-card p{ font-size:13.5px; color:#CBD5E1; line-height:1.55; }
.ai-card .badge-audience{ display:inline-block; font-size:10.5px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; color:var(--cyan); margin-bottom:10px; }
.ai-note{ margin-top:32px; font-size:13px; color:#94A3B8; text-align:center; max-width:640px; margin-left:auto; margin-right:auto; line-height:1.6; }

/* ---------- Testimonials ---------- */
.testi-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
@media (max-width:900px){ .testi-grid{ grid-template-columns:1fr; } }
.testi-card{ background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:26px; display:flex; flex-direction:column; gap:16px; }
.testi-stars{ color:#F59E0B; font-size:14px; letter-spacing:2px; }
.testi-quote{ font-size:15px; line-height:1.65; color:var(--text-2); flex:1; }
.testi-person{ display:flex; align-items:center; gap:12px; }
.testi-avatar{ width:42px; height:42px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:800; color:#fff; font-size:14px; flex-shrink:0; }
.testi-person .name{ font-weight:700; font-size:14px; }
.testi-person .role{ font-size:12.5px; color:var(--muted); }

/* ---------- Pricing ---------- */
.billing-toggle{ display:flex; align-items:center; justify-content:center; gap:14px; margin-bottom:16px; }
.switch-toggle{ position:relative; width:52px; height:28px; border-radius:999px; background:var(--border); cursor:pointer; flex-shrink:0; border:none; padding:0; }
.switch-toggle::after{ content:''; position:absolute; top:3px; left:3px; width:22px; height:22px; border-radius:50%; background:#fff; box-shadow:0 1px 3px rgba(0,0,0,.3); transition:.18s; }
.switch-toggle.on{ background:var(--brand); }
.switch-toggle.on::after{ left:27px; }
.save-badge{ font-size:11.5px; font-weight:800; color:var(--success); background:var(--success-bg); padding:3px 9px; border-radius:999px; }
.currency-row{ display:flex; justify-content:center; gap:8px; margin-bottom:52px; flex-wrap:wrap; }
.currency-pill{ font-size:12.5px; font-weight:700; padding:7px 14px; border-radius:999px; border:1.5px solid var(--border); background:var(--surface); cursor:pointer; color:var(--text-2); }
.currency-pill.active{ background:var(--ink); border-color:var(--ink); color:#fff; }

.plan-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; align-items:stretch; }
@media (max-width:980px){ .plan-grid{ grid-template-columns:1fr; max-width:440px; margin:0 auto; } }
.plan-card{ background:var(--surface); border:1.5px solid var(--border); border-radius:var(--radius); padding:32px 28px; display:flex; flex-direction:column; position:relative; }
.plan-card.popular{ border-color:var(--brand); box-shadow:0 0 0 1px var(--brand), var(--shadow-md); }
.plan-badge{ position:absolute; top:-13px; left:50%; transform:translateX(-50%); background:var(--brand); color:#fff; font-size:11.5px; font-weight:800; padding:5px 14px; border-radius:999px; letter-spacing:.02em; }
.plan-name{ font-size:14px; font-weight:800; text-transform:uppercase; letter-spacing:.04em; color:var(--muted); margin-bottom:10px; }
.plan-price{ font-family:var(--font-display); font-size:40px; font-weight:800; margin-bottom:4px; }
.plan-price .per{ font-size:14px; font-weight:600; color:var(--muted); }
.plan-price-sub{ font-size:12.5px; color:var(--muted); margin-bottom:22px; min-height:16px; }
.plan-desc{ font-size:13.5px; color:var(--text-2); margin-bottom:20px; line-height:1.55; }
.plan-features{ flex:1; margin-bottom:24px; }
.plan-features li{ display:flex; gap:9px; align-items:flex-start; font-size:13.5px; padding:7px 0; color:var(--text-2); }
.plan-features li .chk{ color:var(--success); flex-shrink:0; font-weight:800; }
.addon-card{ background:var(--brand-light); border:1px dashed var(--brand-border,#C7D2FE); border-radius:var(--radius); padding:24px 28px; display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap; margin-top:36px; }
.addon-card h4{ font-family:var(--font-body); font-size:15.5px; margin-bottom:4px; }
.addon-card p{ font-size:13.5px; color:var(--text-2); }
.addon-price{ font-family:var(--font-display); font-size:22px; font-weight:800; white-space:nowrap; }

/* ---------- FAQ accordion ---------- */
.faq-list{ max-width:760px; margin:0 auto; }
.faq-item{ border-bottom:1px solid var(--border); }
.faq-q{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding:20px 4px; cursor:pointer; font-weight:700; font-size:15.5px; }
.faq-q .plus{ font-size:20px; color:var(--brand); transition:.15s; flex-shrink:0; }
.faq-item.open .plus{ transform:rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .2s ease; }
.faq-item.open .faq-a{ max-height:400px; }
.faq-a-inner{ padding:0 4px 20px; color:var(--muted); font-size:14.5px; line-height:1.65; }

/* ---------- Stat / trust strip ---------- */
.trust-strip{ display:flex; flex-wrap:wrap; justify-content:center; gap:36px; padding:28px 0; }
.trust-item{ display:flex; align-items:center; gap:9px; font-size:13.5px; font-weight:600; color:var(--text-2); }
.trust-item .ic{ font-size:17px; }

/* ---------- Stat strip (homepage proof strip) ---------- */
.stat-strip{
  display:grid; grid-template-columns:repeat(4,1fr); gap:24px; padding:36px 0;
  border-top:1px solid var(--border); border-bottom:1px solid var(--border);
}
@media (max-width:820px){ .stat-strip{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:480px){ .stat-strip{ grid-template-columns:1fr; } }
.stat-item{ text-align:center; }
.stat-num{
  font-family:var(--font-display); font-size:36px; font-weight:800; color:var(--brand);
  letter-spacing:-0.02em; line-height:1.1;
}
.stat-label{ margin-top:6px; font-size:13px; font-weight:600; color:var(--muted); }

/* ---------- How It Works ---------- */
.how-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:8px; }
@media (max-width:820px){ .how-grid{ grid-template-columns:1fr; } }
.how-step{
  position:relative; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius);
  padding:30px 24px 26px;
}
.how-num{
  width:40px; height:40px; border-radius:12px; background:var(--brand); color:#fff;
  display:flex; align-items:center; justify-content:center; font-family:var(--font-display);
  font-weight:800; font-size:17px; margin-bottom:16px;
}
.how-step h3{ font-size:17px; margin-bottom:8px; }
.how-step p{ color:var(--muted); font-size:14px; line-height:1.6; }
.how-step:not(:last-child)::after{
  content:''; position:absolute; top:50px; right:-24px; width:24px; height:2px;
  background:var(--border);
}
@media (max-width:820px){ .how-step:not(:last-child)::after{ display:none; } }
html[dir="rtl"] .how-step:not(:last-child)::after{ right:auto; left:-24px; }

/* ---------- Scroll-reveal ---------- */
.reveal{ opacity:0; transform:translateY(22px); transition:opacity .6s ease, transform .6s ease; }
.reveal.in-view{ opacity:1; transform:translateY(0); }
.how-grid .how-step.reveal:nth-child(2){ transition-delay:.08s; }
.how-grid .how-step.reveal:nth-child(3){ transition-delay:.16s; }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
}

/* ---------- CTA banner ---------- */
.cta-banner{ background:linear-gradient(135deg, var(--brand), var(--brand-dark)); border-radius:var(--radius-lg); padding:64px 44px; text-align:center; color:#fff; margin:0 28px; }
@media (max-width:640px){ .cta-banner{ margin:0 12px; padding:44px 24px; } }
.cta-banner h2{ color:#fff; font-size:32px; margin-bottom:14px; }
.cta-banner p{ color:#E0E7FF; font-size:16px; margin-bottom:30px; }
.cta-banner .btn-secondary{ background:#fff; border-color:#fff; }

/* ---------- Footer ---------- */
.site-footer{ background:var(--ink); color:#CBD5E1; padding:64px 0 28px; margin-top:96px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:36px; margin-bottom:44px; }
@media (max-width:820px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .footer-grid{ grid-template-columns:1fr; } }
.footer-brand .brand{ color:#fff; margin-bottom:14px; }
.footer-brand p{ font-size:13.5px; color:#94A3B8; line-height:1.6; max-width:280px; margin-bottom:20px; }
.footer-col h5{ font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.06em; color:#64748B; margin-bottom:16px; }
.footer-col a{ display:block; font-size:14px; color:#CBD5E1; padding:6px 0; }
.footer-col a:hover{ color:#fff; }
.footer-social{ display:flex; gap:10px; }
.footer-social a{ width:36px; height:36px; border-radius:10px; background:rgba(255,255,255,.06); display:flex; align-items:center; justify-content:center; font-size:15px; padding:0; }
.footer-social a:hover{ background:var(--brand); }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.08); padding-top:24px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; font-size:13px; color:#64748B; }

/* ---------- Forms ---------- */
.form-card{ background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:36px; max-width:640px; margin:0 auto; }
.field{ margin-bottom:18px; }
.field label{ display:block; font-size:13.5px; font-weight:700; margin-bottom:7px; }
.field .hint{ font-size:12px; color:var(--muted); margin-top:6px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea{
  width:100%; padding:12px 14px; border:1.5px solid var(--border); border-radius:10px; font-size:14.5px;
  font-family:inherit; background:var(--surface); color:var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color:var(--brand); box-shadow:0 0 0 3px var(--brand-light); }
.field textarea{ resize:vertical; min-height:110px; }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
@media (max-width:560px){ .field-row{ grid-template-columns:1fr; } }
.check-row{ display:flex; align-items:flex-start; gap:10px; font-size:13.5px; color:var(--text-2); line-height:1.5; }
.check-row input{ margin-top:3px; flex-shrink:0; width:16px; height:16px; }
.subdomain-input-row{ display:flex; align-items:center; border:1.5px solid var(--border); border-radius:10px; overflow:hidden; }
.subdomain-input-row input{ border:none; flex:1; padding:12px 14px; font-size:14.5px; font-family:inherit; }
.subdomain-input-row input:focus{ outline:none; }
.subdomain-input-row .suffix{ padding:12px 14px; background:var(--bg); color:var(--muted); font-size:14px; font-weight:600; border-left:1px solid var(--border); }
.subdomain-status{ font-size:12.5px; font-weight:700; margin-top:7px; }
.subdomain-status.ok{ color:var(--success); }
.subdomain-status.taken{ color:var(--danger); }

.type-select-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
@media (max-width:560px){ .type-select-grid{ grid-template-columns:1fr 1fr; } }
.type-select-card{ border:1.5px solid var(--border); border-radius:12px; padding:16px 12px; text-align:center; cursor:pointer; transition:.12s; }
.type-select-card:hover{ border-color:var(--brand); }
.type-select-card.selected{ border-color:var(--brand); background:var(--brand-light); }
.type-select-card .ic{ font-size:24px; margin-bottom:8px; }
.type-select-card .lbl{ font-size:12.5px; font-weight:700; }

.plan-select-row{ display:flex; gap:10px; flex-wrap:wrap; }
.plan-select-chip{ flex:1; min-width:140px; border:1.5px solid var(--border); border-radius:12px; padding:14px; cursor:pointer; text-align:center; }
.plan-select-chip.selected{ border-color:var(--brand); background:var(--brand-light); }
.plan-select-chip .nm{ font-weight:800; font-size:14px; }
.plan-select-chip .pr{ font-size:12.5px; color:var(--muted); margin-top:3px; }

.step-indicator{ display:flex; justify-content:center; gap:8px; margin-bottom:36px; }
.step-dot{ width:32px; height:6px; border-radius:999px; background:var(--border); }
.step-dot.active{ background:var(--brand); }

.confirm-panel{ text-align:center; padding:20px 0; }
.confirm-icon{ width:64px; height:64px; border-radius:50%; background:var(--success-bg); color:var(--success); display:flex; align-items:center; justify-content:center; font-size:30px; margin:0 auto 20px; }
.confirm-ref{ display:inline-block; background:var(--bg); border:1px dashed var(--border); border-radius:8px; padding:8px 16px; font-family:monospace; font-weight:700; font-size:14px; margin:14px 0; }

/* ---------- Simple page hero (non-home pages) ---------- */
.page-hero{ padding:64px 0 12px; text-align:center; }
.page-hero .eyebrow{ margin-left:auto; margin-right:auto; }
.page-hero h1{ font-size:42px; margin-bottom:16px; }
.page-hero p{ color:var(--muted); font-size:17px; max-width:600px; margin:0 auto; }
@media (max-width:640px){ .page-hero h1{ font-size:30px; } }

/* ---------- Legal pages ---------- */
.legal-notice{ background:var(--warning-bg); border:1px solid var(--warning-border,#FDE68A); color:#92400E; border-radius:12px; padding:16px 20px; font-size:13.5px; line-height:1.6; margin-bottom:40px; }
.legal-body{ max-width:760px; margin:0 auto; }
.legal-body h2{ font-size:20px; margin:36px 0 12px; }
.legal-body h2:first-child{ margin-top:0; }
.legal-body p, .legal-body li{ font-size:14.5px; color:var(--text-2); line-height:1.75; margin-bottom:12px; }
.legal-body ul{ padding-left:20px; list-style:disc; }
.legal-body .updated{ color:var(--muted); font-size:13px; margin-bottom:28px; }

/* ---------- Support page ---------- */
.support-grid{ display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:start; }
@media (max-width:860px){ .support-grid{ grid-template-columns:1fr; } }
.contact-info-item{ display:flex; gap:14px; margin-bottom:22px; }
.contact-info-item .ic{ width:40px; height:40px; border-radius:10px; background:var(--brand-light); color:var(--brand); display:flex; align-items:center; justify-content:center; font-size:18px; flex-shrink:0; }
.contact-info-item h4{ font-family:var(--font-body); font-size:14.5px; margin-bottom:3px; }
.contact-info-item p{ font-size:13.5px; color:var(--muted); }

/* ---------- Login page ---------- */
.login-wrap{ max-width:920px; margin:0 auto; display:grid; grid-template-columns:1fr 1fr; gap:22px; }
@media (max-width:760px){ .login-wrap{ grid-template-columns:1fr; } }
.login-card{ background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:32px; }
.login-card h3{ font-size:19px; margin-bottom:8px; }
.login-card p{ font-size:13.5px; color:var(--muted); margin-bottom:20px; line-height:1.6; }
.login-card.alt{ background:var(--ink); color:#fff; border-color:var(--ink); }
.login-card.alt p{ color:#CBD5E1; }
.login-card.alt h3{ color:#fff; }

/* ---------- Chat widget ---------- */
#mm-chat-launcher{
  position:fixed; bottom:24px; right:24px; z-index:500;
  width:60px; height:60px; border-radius:50%; background:var(--brand); color:#fff;
  border:none; cursor:pointer; box-shadow:0 10px 30px -8px rgba(79,70,229,.6);
  display:flex; align-items:center; justify-content:center; font-size:26px;
  transition:.15s;
}
#mm-chat-launcher:hover{ transform:scale(1.06); }
#mm-chat-panel{
  position:fixed; bottom:96px; right:24px; z-index:500; width:340px; max-width:calc(100vw - 32px);
  background:var(--surface); border-radius:18px; box-shadow:var(--shadow-lg); border:1px solid var(--border);
  display:none; flex-direction:column; overflow:hidden; max-height:70vh;
}
#mm-chat-panel.open{ display:flex; }
.mm-chat-head{ background:var(--ink); color:#fff; padding:16px 18px; display:flex; align-items:center; gap:10px; }
.mm-chat-head .avatar{ width:34px; height:34px; border-radius:50%; background:var(--brand); display:flex; align-items:center; justify-content:center; font-size:16px; flex-shrink:0; }
.mm-chat-head .ttl{ font-weight:700; font-size:14px; }
.mm-chat-head .sub{ font-size:11.5px; color:#94A3B8; display:flex; align-items:center; gap:5px; }
.mm-chat-head .sub .lv{ width:6px; height:6px; border-radius:50%; background:var(--success); }
.mm-chat-close{ margin-left:auto; background:none; border:none; color:#94A3B8; cursor:pointer; font-size:18px; padding:4px; }
.mm-chat-body{ flex:1; overflow-y:auto; padding:16px; display:flex; flex-direction:column; gap:10px; background:var(--bg); }
.mm-msg{ max-width:82%; padding:10px 13px; border-radius:14px; font-size:13.5px; line-height:1.5; }
.mm-msg.bot{ background:var(--surface); border:1px solid var(--border); align-self:flex-start; border-bottom-left-radius:4px; }
.mm-msg.user{ background:var(--brand); color:#fff; align-self:flex-end; border-bottom-right-radius:4px; }
.mm-msg a{ color:var(--brand); font-weight:700; text-decoration:underline; }
.mm-msg.user a{ color:#fff; }
.mm-suggest-row{ display:flex; flex-wrap:wrap; gap:6px; padding:0 16px 12px; background:var(--bg); }
.mm-suggest{ font-size:11.5px; font-weight:700; background:var(--surface); border:1px solid var(--border); color:var(--text-2); padding:6px 11px; border-radius:999px; cursor:pointer; }
.mm-suggest:hover{ border-color:var(--brand); color:var(--brand); }
.mm-chat-input-row{ display:flex; gap:8px; padding:12px; border-top:1px solid var(--border); background:var(--surface); }
.mm-chat-input-row input{ flex:1; border:1.5px solid var(--border); border-radius:999px; padding:10px 15px; font-size:13.5px; font-family:inherit; }
.mm-chat-input-row input:focus{ outline:none; border-color:var(--brand); }
.mm-chat-input-row button{ width:38px; height:38px; border-radius:50%; background:var(--brand); color:#fff; border:none; cursor:pointer; font-size:15px; flex-shrink:0; }
.mm-typing{ display:flex; gap:4px; padding:10px 13px; }
.mm-typing span{ width:6px; height:6px; border-radius:50%; background:var(--text-3); animation:mmTyping 1s infinite ease-in-out; }
.mm-typing span:nth-child(2){ animation-delay:.15s; }
.mm-typing span:nth-child(3){ animation-delay:.3s; }
@keyframes mmTyping{ 0%,60%,100%{ transform:translateY(0); opacity:.4; } 30%{ transform:translateY(-4px); opacity:1; } }

/* ---------- Toast (used by mock forms) ---------- */
#mm-toast{
  position:fixed; bottom:24px; left:50%; transform:translateX(-50%) translateY(20px); z-index:600;
  background:var(--ink); color:#fff; padding:13px 22px; border-radius:999px; font-size:13.5px; font-weight:600;
  opacity:0; pointer-events:none; transition:.2s ease; box-shadow:var(--shadow-lg);
}
#mm-toast.show{ opacity:1; transform:translateX(-50%) translateY(0); }
