/* =================================================================
   Nems brand layer: dark glass for the public site and auth,
   glass accents for the dashboard. Loaded after app.css and v2.css.
   ================================================================= */
:root {
  --night: #060814;
  --night-2: #0b0f22;
  --glass: rgba(255,255,255,.045);
  --glass-2: rgba(255,255,255,.075);
  --glass-line: rgba(255,255,255,.10);
  --glass-line-2: rgba(255,255,255,.18);
  --glow: 0 0 0 1px rgba(255,255,255,.06), 0 30px 80px -30px rgba(99,102,241,.55);
}

/* Brand mark: glossy gradient tile with a soft ring */
.brand-mark { position: relative; background: var(--grad); box-shadow: 0 8px 22px -8px rgba(139,92,246,.9), inset 0 1px 0 rgba(255,255,255,.35); }
.brand-mark::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, rgba(255,255,255,.28), transparent 55%); pointer-events: none; }

/* ------------------------------------------------ dark glass surfaces */
.site, .auth {
  --ink: #f5f6ff; --ink-2: #c9cdee; --muted: #9096bd;
  --line: var(--glass-line); --line-2: var(--glass-line-2);
  --card: var(--glass); --accent: #a5b4fc; --accent-soft: rgba(129,140,248,.14);
  color: var(--ink);
  background: var(--night);
  color-scheme: dark;
}
.site { background: radial-gradient(1200px 600px at 50% -10%, #141a3d 0%, var(--night) 60%); }

/* Grain + grid over the aurora */
.site .aurora { height: 1100px; }
.site .aurora i { opacity: .45; filter: blur(90px); }
.site .aurora i:nth-child(1) { background: #4f46e5; }
.site .aurora i:nth-child(2) { background: #a21caf; }
.site .aurora i:nth-child(3) { background: #0ea5e9; opacity: .25; }
.site .aurora::after { background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); }
.site::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* Glass primitives */
.site .card, .site .feature-grid article, .site .steps li, .site .faq details, .site .numbers > div, .site .marquee span,
.auth .auth-card {
  background: var(--glass);
  border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

/* Buttons on dark */
.site .btn-ghost, .auth .btn-ghost { background: rgba(255,255,255,.06); color: #fff; border-color: var(--glass-line-2); box-shadow: none; }
.site .btn-ghost:hover, .auth .btn-ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }
.site .btn-primary, .auth .btn-primary { box-shadow: 0 10px 30px -10px rgba(139,92,246,.9), inset 0 1px 0 rgba(255,255,255,.25); }
.lang-label { background: none; padding: 0; color: inherit; font-family: inherit; font-size: inherit; }

/* Nav */
.site .site-nav { background: rgba(10,13,30,.45); border-color: var(--glass-line); }
.site .site-nav.scrolled { background: rgba(10,13,30,.78); border-color: var(--glass-line-2); box-shadow: 0 20px 40px -24px rgba(0,0,0,.8); }
.site .site-nav .link { color: var(--ink-2); }
.site .site-nav .link:hover { color: #fff; }
.site .brand { color: #fff; }

/* Hero */
.site .eyebrow { background: rgba(255,255,255,.05); border-color: var(--glass-line-2); color: #dfe2ff; }
.site .hero h1 { color: #fff; letter-spacing: -0.045em; }
.site .hero h1 em { background: linear-gradient(90deg, #a5b4fc, #c084fc, #f0abfc, #a5b4fc); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; }
.site .lead { color: #aab0d6; }
.site .trust { color: #aab0d6; }
.site .trust span::before { color: #4ade80; }
.site .hero-visual::before { opacity: .55; filter: blur(90px); }
.site .phone { background: #05060f; box-shadow: 0 40px 90px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.08), inset 0 0 0 2px #23284a; }
.site .float-card { background: rgba(17,21,46,.62); border-color: var(--glass-line-2); color: #fff; box-shadow: 0 20px 40px -20px rgba(0,0,0,.8); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.site .fc-icon { background: rgba(255,255,255,.08); }
.site .fc-icon.ok { background: rgba(34,197,94,.18); color: #4ade80; }
.site .fc-icon.px { background: rgba(129,140,248,.2); color: #c7d2fe; }

.site .phone-screen { --ink: #0b1020; --line: #e6e8ef; color: #0b1020; }

/* Numbers */
.site .numbers { background: transparent; border: 0; gap: 14px; box-shadow: none; overflow: visible; }
.site .numbers > div { border-radius: 20px; }
.site .numbers strong { background: linear-gradient(180deg, #fff, #b9bff0); -webkit-background-clip: text; background-clip: text; }

/* Marquee */
.site .marquee span { color: #c9cdee; }

/* Sections */
.site .kicker { color: #c4b5fd; }
.site .section-head h2 { color: #fff; }
.site .section-head p, .site .feature-grid p, .site .steps li p, .site .muted { color: #9096bd; }
.site .steps { background: transparent; }

/* Feature cards: cursor spotlight + gradient edge */
.site .feature-grid article { overflow: hidden; }
.site .feature-grid article::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(139,92,246,.22), transparent 60%); }
.site .feature-grid article:hover::after { opacity: 1; }
.site .feature-grid article:hover { box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); }
.site .feature-grid .f-icon { box-shadow: 0 10px 26px -8px rgba(139,92,246,.9), inset 0 1px 0 rgba(255,255,255,.3); }

/* Plans */
.site .plans .plan { color: var(--ink); }
.site .plan-price { color: #fff; }
.site .plan ul li { color: var(--ink-2); }
.site .plan-highlight { background: linear-gradient(rgba(16,19,44,.92), rgba(16,19,44,.92)) padding-box, var(--grad) border-box; border: 1px solid transparent; box-shadow: var(--glow); }
.site .plan-dark { background: radial-gradient(400px 220px at 0% 0%, rgba(217,70,239,.22), transparent 70%), var(--glass); }
.site .plans .plan:hover { box-shadow: 0 40px 80px -36px rgba(0,0,0,.95), 0 0 0 1px var(--glass-line-2); }

/* FAQ */
.site .faq summary { color: #fff; }
.site .faq details[open] { border-color: rgba(165,180,252,.45); box-shadow: 0 20px 50px -30px rgba(99,102,241,.6); }
.site .faq summary::after { background: rgba(165,180,252,.14); color: #c7d2fe; }

/* Contact band + footer */
.site .contact-band { background: radial-gradient(600px 260px at 15% 0%, rgba(99,102,241,.5), transparent 70%), radial-gradient(500px 260px at 90% 100%, rgba(217,70,239,.35), transparent 70%), rgba(255,255,255,.03); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.site .site-footer { border-top-color: var(--glass-line); color: #7d83ab; }
.site .site-footer a { color: #9096bd; }

/* ------------------------------------------------------------- auth */
.auth { background: radial-gradient(900px 500px at 50% -20%, #1a1f4a 0%, var(--night) 65%); }
.auth::before, .auth::after { content: ""; position: fixed; border-radius: 50%; filter: blur(100px); pointer-events: none; z-index: 0; animation: drift 20s ease-in-out infinite; }
.auth::before { width: 460px; height: 460px; top: -120px; left: -100px; background: #4f46e5; opacity: .5; }
.auth::after { width: 420px; height: 420px; bottom: -140px; right: -100px; background: #a21caf; opacity: .38; animation-delay: -8s; }
.auth .auth-card { position: relative; z-index: 1; background: rgba(14,18,42,.55); border-color: var(--glass-line-2); box-shadow: 0 40px 90px -30px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.08); }
.auth .auth-card > .brand { color: #fff; }
.auth .auth-card h1 { color: #fff; }
.auth .field label { color: #d4d7f5; }
.auth .field input, .auth .field select, .auth .input-prefix span { background: rgba(255,255,255,.05) !important; border-color: var(--glass-line-2) !important; color: #fff; }
.auth .field input::placeholder { color: #6f75a0; }
.auth .field input:focus { border-color: #a5b4fc !important; box-shadow: 0 0 0 4px rgba(129,140,248,.2); }
.auth .input-prefix span { color: #9096bd; }
.auth a { color: #c4b5fd; }
.auth .alert-error { background: rgba(217,45,32,.14); border-color: rgba(253,162,155,.35); color: #fecdca; }
.auth input:-webkit-autofill { -webkit-text-fill-color: #fff; -webkit-box-shadow: 0 0 0 40px #151a3a inset; caret-color: #fff; }

/* -------------------------------------------------------- dashboard */
.sidebar { background: radial-gradient(320px 260px at 0% 0%, rgba(99,102,241,.32), transparent 70%), radial-gradient(260px 220px at 100% 100%, rgba(217,70,239,.16), transparent 70%), var(--night); border-inline-end: 1px solid rgba(255,255,255,.06); }
.side-nav a.active { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), inset 3px 0 0 #a5b4fc; }
[dir="rtl"] .side-nav a.active { box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), inset -3px 0 0 #a5b4fc; }
.btn-sidebar { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.share { border: 1px solid rgba(255,255,255,.08); box-shadow: 0 30px 60px -30px rgba(30,27,75,.6); background: radial-gradient(420px 180px at 0% 0%, rgba(99,102,241,.55), transparent 70%), radial-gradient(320px 160px at 100% 100%, rgba(217,70,239,.35), transparent 70%), var(--night); }
.topbar { background: radial-gradient(240px 120px at 100% 0%, rgba(236,72,153,.45), transparent 70%), linear-gradient(115deg, #4338ca 0%, #6d28d9 55%, #a21caf 100%) !important; border-bottom: 0 !important; color: #fff; box-shadow: 0 10px 24px -14px rgba(76,29,149,.8); }
.topbar .brand-mark { background: #fff; color: #5b21b6; box-shadow: 0 6px 14px -6px rgba(0,0,0,.45); }
.topbar .icon-btn { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.28); color: #fff; }
.topbar .icon-btn:active { background: rgba(255,255,255,.26); }
.topbar .brand { color: #fff; }
.bottom-nav { background: rgba(255,255,255,.82) !important; -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); }

@media (max-width: 640px) {
  .site .numbers { gap: 10px; }
}

/* ------------------------------------------- dashboard: live + hourly */
.live-strip { display: grid; grid-template-columns: 1.4fr repeat(5, 1fr); gap: 1px; margin-bottom: 16px; border-radius: var(--radius); overflow: hidden; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); box-shadow: 0 30px 60px -34px rgba(30,27,75,.7); }
.live-strip > * { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 16px 18px; background: radial-gradient(260px 120px at 0% 0%, rgba(99,102,241,.22), transparent 70%), var(--night); color: #fff; }
.live-strip a:hover { text-decoration: none; background: radial-gradient(260px 120px at 0% 0%, rgba(217,70,239,.28), transparent 70%), var(--night); }
.live-strip strong { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.live-strip strong b { font-weight: inherit; }
.live-strip strong small { font-size: 14px; color: #9096bd; margin-inline-start: 2px; }
.live-strip span { display: flex; align-items: center; gap: 6px; color: #9096bd; font-size: 12.5px; font-weight: 600; }
.live-main { flex-direction: row !important; align-items: center; justify-content: flex-start !important; gap: 14px !important; background: radial-gradient(300px 140px at 0% 0%, rgba(34,197,94,.22), transparent 70%), var(--night) !important; }
.live-main strong { font-size: 34px; }
.live-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: #22c55e; animation: pulse 2s infinite; }
.bump { animation: bump .6s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.18); color: #a5b4fc; } 100% { transform: scale(1); } }

.hourly .legend { display: flex; gap: 14px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-inline-end: 6px; vertical-align: -1px; }
.lg-visits::before { background: #c7d2fe; }
.lg-orders::before { background: var(--grad); }
.hours { display: flex; align-items: stretch; gap: 4px; height: 190px; }
.hour { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hour-bars { position: relative; flex: 1; display: flex; align-items: flex-end; justify-content: center; gap: 2px; border-radius: 6px; background: repeating-linear-gradient(0deg, transparent 0 37px, var(--line) 37px 38px); }
.hour-bars i { display: block; width: 45%; max-width: 14px; border-radius: 4px 4px 2px 2px; transition: height .6s var(--ease); }
.hour-bars .v { background: #c7d2fe; }
.hour-bars .o { background: var(--grad); }
.hour span { height: 16px; font-size: 11px; color: var(--muted); text-align: center; white-space: nowrap; }
.hour.now .hour-bars { background-color: rgba(99,102,241,.07); box-shadow: inset 0 0 0 1px rgba(99,102,241,.25); }
.hour.later { opacity: .45; }
.hour:hover .hour-bars { background-color: rgba(99,102,241,.06); }
.row-done td { opacity: .55; }
.row-actions form { display: inline-flex; gap: 6px; margin-inline-start: 6px; }
.row-actions .btn { margin: 2px 0; }
.row-actions a.btn { margin-left: 6px; }

@media (max-width: 1100px) {
  .live-strip { grid-template-columns: repeat(3, 1fr); }
  .live-main { grid-column: span 3; }
}
@media (max-width: 640px) {
  .live-strip { grid-template-columns: 1fr 1fr; }
  .live-main { grid-column: span 2; }
  .live-strip > * { padding: 12px 14px; }
  .hours { gap: 2px; height: 150px; }
  .hour-bars i { width: 48%; }
}

/* --------------------------------------- landing: bigger + showcase */
.site .hero { padding-top: 96px; padding-bottom: 72px; }
.site .hero h1 { font-size: clamp(42px, 6.4vw, 80px); line-height: 1.02; }
.site .hero .lead { font-size: 20px; line-height: 1.6; max-width: 600px; }
.site .btn-lg { padding: 16px 28px; font-size: 17px; border-radius: 14px; }
.site .section-head { max-width: 760px; margin-bottom: 48px; }
.site .section-head h2, .showcase h2 { font-size: clamp(32px, 4.6vw, 52px); letter-spacing: -0.04em; line-height: 1.08; }
.site .section-head p { font-size: 19px; }
.site .features, .site .pricing, .site .steps { padding-top: 110px; padding-bottom: 110px; }
.site .feature-grid { gap: 20px; }
.site .feature-grid article { padding: 32px; }
.site .feature-grid h3 { font-size: 19px; }
.site .feature-grid p { font-size: 15.5px; line-height: 1.6; }
.site .numbers > div { padding: 34px 20px; }
.site .numbers strong { font-size: clamp(36px, 5vw, 56px); }

.showcase { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; max-width: 1160px; margin: 0 auto; padding: 120px 20px 20px; }
.showcase h2 { color: #fff; margin: 0 0 18px; }
.showcase-copy > p { color: #aab0d6; font-size: 18px; line-height: 1.6; margin-bottom: 24px; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ticks li { position: relative; padding-inline-start: 34px; color: #aab0d6; line-height: 1.55; }
.ticks li strong { color: #fff; }
.ticks li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 1px; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 12px; font-weight: 800; }

.dash-mock { position: relative; padding: 20px; border-radius: 26px; background: rgba(14,18,42,.6); border: 1px solid var(--glass-line-2); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 50px 100px -40px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.04), inset 0 1px 0 rgba(255,255,255,.08); }
.dash-mock::before { content: ""; position: absolute; inset: -40px; z-index: -1; border-radius: 50%; background: var(--grad); filter: blur(90px); opacity: .28; }
.dm-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 10px; }
.dm-top > div { padding: 14px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid var(--glass-line); }
.dm-top b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -0.03em; color: #fff; }
.dm-top small { color: #9096bd; font-size: 12px; font-weight: 600; }
.dm-live { display: flex; align-items: center; gap: 12px; background: radial-gradient(200px 100px at 0% 0%, rgba(34,197,94,.22), transparent 70%), rgba(255,255,255,.05) !important; }
.dm-live b { font-size: 32px !important; }
.dm-chart { display: flex; align-items: flex-end; gap: 6px; height: 170px; margin: 14px 0; padding: 16px 14px 12px; border-radius: 16px; background: repeating-linear-gradient(0deg, transparent 0 35px, rgba(255,255,255,.05) 35px 36px), rgba(255,255,255,.03); border: 1px solid var(--glass-line); }
.dm-chart i { position: relative; flex: 1; height: 100%; }
.dm-chart i::before, .dm-chart i::after { content: ""; position: absolute; bottom: 0; width: 46%; border-radius: 4px 4px 2px 2px; transform-origin: bottom; animation: growUp 1.1s var(--ease) both; }
.dm-chart i::before { left: 0; height: var(--v); background: rgba(199,210,254,.55); }
.dm-chart i::after { right: 0; height: var(--o); background: var(--grad); }
.dm-chart i:nth-child(2n)::before, .dm-chart i:nth-child(2n)::after { animation-delay: .08s; }
.dm-chart i:nth-child(3n)::before, .dm-chart i:nth-child(3n)::after { animation-delay: .16s; }
.dm-rows { display: flex; flex-direction: column; gap: 8px; }
.dm-rows > div { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--glass-line); }
.dm-rows p { flex: 1; margin: 0; min-width: 0; }
.dm-rows strong { display: block; color: #fff; font-size: 14px; }
.dm-rows small { color: #9096bd; font-size: 12px; }
.dm-av { flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: rgba(251,191,36,.18); color: #fcd34d; font-weight: 800; }
.dm-av.ok { background: rgba(34,197,94,.18); color: #4ade80; }
.dm-rows em { font-style: normal; padding: 6px 12px; border-radius: 9px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 700; }
.dm-rows em.ok { background: rgba(34,197,94,.2); color: #4ade80; }

@media (max-width: 960px) {
  .showcase { grid-template-columns: 1fr; gap: 36px; padding-top: 80px; }
  .site .features, .site .pricing, .site .steps { padding-top: 80px; padding-bottom: 80px; }
}
@media (max-width: 640px) {
  .site .hero { padding-top: 56px; }
  .site .hero .lead { font-size: 17px; }
  .dm-top { grid-template-columns: 1fr 1fr; }
  .dm-live { grid-column: span 2; }
  .dm-chart { height: 130px; gap: 3px; }
  .dash-mock { padding: 14px; border-radius: 20px; }
}

/* --------------------------------------------- feature ticker (2 rows) */
.ticker { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; margin: 64px 0 0; padding: 26px 0; border-block: 1px solid var(--glass-line); background: linear-gradient(90deg, rgba(99,102,241,.06), rgba(217,70,239,.06)); direction: ltr; }
.ticker-row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker-track { display: flex; gap: 14px; width: max-content; animation: marquee 48s linear infinite; }
.ticker-row.reverse .ticker-track { animation-direction: reverse; animation-duration: 56s; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 14px; background: rgba(255,255,255,.045); border: 1px solid var(--glass-line); color: #e3e5ff; font-weight: 600; font-size: 15px; white-space: nowrap; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.ticker span .icon { color: #c4b5fd; }
.ticker-row:nth-child(1) span:nth-child(3n+1) .icon { color: #a5b4fc; }
.ticker-row:nth-child(1) span:nth-child(3n+2) .icon { color: #f0abfc; }
.ticker-row:nth-child(2) span:nth-child(3n) .icon { color: #67e8f9; }
[dir="rtl"] .ticker span { direction: rtl; }
@media (max-width: 640px) {
  .ticker { margin-top: 40px; padding: 18px 0; gap: 10px; }
  .ticker span { padding: 9px 14px; font-size: 13.5px; }
}

/* --------------------------------------------- motion layer v3 */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes slideIn { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
@keyframes rippleOut { from { transform: scale(0); opacity: .45; } to { transform: scale(1); opacity: 0; } }
@keyframes glowSpin { to { --ang: 360deg; } }
@keyframes barRise { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }

.m-in { animation: fadeUp .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 35ms + .15s); }
.side-nav a.m-in { animation-name: slideIn; animation-delay: calc(var(--i, 0) * 40ms); }
[dir="rtl"] .side-nav a.m-in { animation-name: fadeUp; }

.ripple { position: absolute; border-radius: 50%; background: currentColor; pointer-events: none; animation: rippleOut .65s var(--ease) forwards; opacity: .3; }
.btn-primary .ripple { background: #fff; }

.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; background: linear-gradient(90deg, #6366f1, #a855f7, #d946ef); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 12px rgba(168,85,247,.7); pointer-events: none; }
[dir="rtl"] .scroll-progress { transform-origin: right; }

.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .4s var(--ease); }
.tilt:hover { transition-duration: .1s; }
.dash-mock.tilt, .plans > .tilt { position: relative; }
.dash-mock.tilt::after, .plans > .tilt::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.09), transparent 45%); opacity: 0; transition: opacity .3s; }
.dash-mock.tilt:hover::after, .plans > .tilt:hover::after { opacity: 1; }
.site .btn-primary, .auth .btn-primary { transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s; }
.site .btn-primary:hover, .auth .btn-primary:hover { box-shadow: 0 14px 34px -10px rgba(168,85,247,.75); filter: saturate(1.15); }
.aurora { transition: transform 1.2s var(--ease); }

/* Rotating glow border on the live strip and the highlighted plan */
.live-strip, .plans > .plan-highlight { position: relative; isolation: isolate; }
.live-strip::before, .plans > .plan-highlight::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--ang), transparent 0 65%, #a855f7 78%, #6366f1 86%, transparent 95%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: glowSpin 5s linear infinite; pointer-events: none; }

/* Dashboard */
.dash .stats .card { transition: transform .4s var(--ease), box-shadow .35s var(--ease); }
.dash .stats .card:hover { box-shadow: 0 18px 40px -18px rgba(99,102,241,.45); }
.dash tbody tr { transition: background-color .2s; }
.dash tbody tr:hover { background: rgba(99,102,241,.05); }
.side-nav a { transition: background-color .2s, transform .25s var(--ease), color .2s; }
.side-nav a:hover { transform: translateX(4px); }
[dir="rtl"] .side-nav a:hover { transform: translateX(-4px); }
.side-nav a .icon, .bottom-nav a .icon { transition: transform .3s var(--ease); }
.side-nav a:hover .icon, .bottom-nav a:hover .icon { transform: scale(1.15) rotate(-6deg); }
.hour-bars i { transform-origin: bottom; animation: barRise .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 28ms + .2s); }
.hour-bars .o { animation-delay: calc(var(--i, 0) * 28ms + .35s); }
.hour:hover .hour-bars i { filter: brightness(1.12); }

/* Landing */
.ticker span { transition: transform .25s var(--ease), border-color .25s, background-color .25s; }
.ticker span:hover { transform: translateY(-3px); border-color: rgba(168,85,247,.5); background: rgba(168,85,247,.1); }
.feature-grid article .icon { transition: transform .4s var(--ease); }
.feature-grid article:hover .icon { transform: scale(1.12) rotate(-8deg); }
.faq details[open] summary { color: #c4b5fd; }

@media (prefers-reduced-motion: reduce) {
  .m-in, .hour-bars i, .live-strip::before, .plans > .plan-highlight::before { animation: none !important; }
  .tilt { transform: none !important; }
  .scroll-progress { display: none; }
}
.js .reveal.in.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }

/* --------------------------------------------- hero device v2 (realistic store page, 10s order loop) */
.hv { --cyc: 10s; min-height: 660px; perspective: 1400px; }
.hv::before { display: none; }
.hv-glow { position: absolute; width: 440px; height: 440px; border-radius: 50%; background: conic-gradient(from 200deg, #6366f1, #a855f7, #d946ef, #6366f1); filter: blur(90px); opacity: .45; animation: drift 14s ease-in-out infinite; }
.device { position: relative; z-index: 1; width: 300px; height: 616px; padding: 11px; border-radius: 54px; background: linear-gradient(145deg, #4a4f66, #1a1d2c 30%, #0d0f19 70%, #3a3f55); box-shadow: 0 60px 120px -40px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.12), inset 0 0 0 1.5px rgba(255,255,255,.18), inset 0 0 0 6px #07080f; animation: floaty 7s ease-in-out infinite; }
.device.tilt { animation: none; }
.dv-btn { position: absolute; width: 4px; border-radius: 3px; background: linear-gradient(90deg, #2a2e40, #575d78); }
.dv-btn-1 { left: -3px; top: 120px; height: 30px; } .dv-btn-2 { left: -3px; top: 165px; height: 54px; } .dv-btn-3 { right: -3px; top: 180px; height: 80px; }
.dv-screen { position: relative; height: 100%; overflow: hidden; border-radius: 44px; background: #f6f7fb; color: #0b1020; font-family: "Cairo", "Tajawal", "Segoe UI", system-ui, sans-serif; display: flex; flex-direction: column; gap: 9px; padding: 0 14px 14px; text-align: right; }
.dv-screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.35), transparent 32%); mix-blend-mode: soft-light; }

.dv-status { direction: ltr; display: flex; align-items: center; justify-content: space-between; height: 44px; padding: 0 12px; font: 700 13px/1 Inter, system-ui, sans-serif; }
.dv-island { width: 96px; height: 28px; border-radius: 20px; background: #000; }
.dv-sys { display: flex; align-items: flex-end; gap: 2px; }
.dv-sys i { width: 3px; border-radius: 1px; background: #0b1020; } .dv-sys i:nth-child(1) { height: 5px; } .dv-sys i:nth-child(2) { height: 8px; } .dv-sys i:nth-child(3) { height: 11px; }
.dv-sys em { width: 22px; height: 11px; margin-left: 5px; border-radius: 3px; border: 1.5px solid #0b1020; background: linear-gradient(90deg, #0b1020 75%, transparent 75%) content-box; padding: 1px; }

.dv-store { display: flex; align-items: center; gap: 8px; margin-top: -2px; }
.dv-store b { flex: 1; font: 800 14px/1 Inter, system-ui, sans-serif; letter-spacing: -.01em; direction: ltr; text-align: right; }
.dv-logo { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: linear-gradient(135deg, #6366f1, #d946ef); color: #fff; font: 800 13px Inter, sans-serif; order: 2; }
.dv-store b { order: 1; text-align: left; }
.dv-cart { position: relative; order: 0; width: 26px; height: 26px; display: grid; place-items: center; }
.dv-cart svg { width: 20px; fill: none; stroke: #0b1020; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dv-cart sup { position: absolute; top: -3px; left: -3px; min-width: 14px; height: 14px; border-radius: 7px; background: #ef4444; color: #fff; font: 700 9px/14px Inter, sans-serif; text-align: center; }

.dv-photo { position: relative; flex: none; height: 178px; border-radius: 20px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(120px 90px at 70% 30%, #fbcfe8, transparent 70%), radial-gradient(140px 110px at 25% 75%, #c7d2fe, transparent 70%), linear-gradient(160deg, #eef0ff, #fdf2f8); }
.dv-product { width: 132px; filter: drop-shadow(0 18px 18px rgba(30,27,75,.35)); animation: dvSpin 10s ease-in-out infinite; }
.dv-ring { animation: dvRing var(--cyc) ease-in-out infinite; }
.dv-off { position: absolute; top: 10px; right: 10px; padding: 3px 9px; border-radius: 999px; background: linear-gradient(90deg, #ef4444, #f97316); color: #fff; font: 800 11px Inter, sans-serif; box-shadow: 0 6px 14px -6px rgba(239,68,68,.8); }
.dv-watch-live { position: absolute; top: 10px; left: 10px; display: flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.85); font-size: 10px; font-weight: 700; color: #0b1020; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.dv-watch-live i { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; animation: pulse 1.8s infinite; }
.dv-dots { position: absolute; bottom: 9px; display: flex; gap: 4px; }
.dv-dots i { width: 5px; height: 5px; border-radius: 3px; background: rgba(11,16,32,.2); } .dv-dots i.on { width: 14px; background: #0b1020; }

.dv-info { display: flex; flex-direction: column; gap: 3px; }
.dv-title { font-size: 14px; font-weight: 800; line-height: 1.3; }
.dv-stars { color: #f59e0b; font-size: 11px; letter-spacing: 1px; } .dv-stars small { color: #6b7280; letter-spacing: 0; font-weight: 600; }
.dv-price { display: flex; align-items: baseline; gap: 7px; }
.dv-price b { font-size: 19px; font-weight: 800; } .dv-price s { color: #9ca3af; font-size: 11px; }
.dv-price em { margin-inline-start: auto; padding: 2px 7px; border-radius: 6px; background: #dcfce7; color: #15803d; font: 700 10px/1.4 inherit; font-style: normal; }

.dv-offers { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.dv-offers span { padding: 7px 4px; border-radius: 10px; border: 1.5px solid #e5e7ef; background: #fff; font-size: 11px; font-weight: 700; text-align: center; }
.dv-offers span.on { border-color: #7c3aed; background: #f5f3ff; color: #6d28d9; box-shadow: 0 0 0 3px rgba(124,58,237,.12); }

.dv-form { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: 16px; background: #fff; box-shadow: 0 8px 22px -14px rgba(15,23,42,.35), 0 0 0 1px #eceef5; }
.dv-field { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 9px; border-radius: 9px; background: #f7f8fc; border: 1px solid #e8eaf2; font-size: 11.5px; font-weight: 600; overflow: hidden; }
.dv-field svg { flex: none; width: 14px; fill: none; stroke: #8b90a6; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dv-field em { font-style: normal; white-space: nowrap; }
.dv-field em.t1 { animation: dvTypeR1 var(--cyc) steps(12) infinite; }
.dv-field em.t2 { animation: dvTypeL var(--cyc) steps(13) infinite; }
.dv-field em.t3 { animation: dvFade3 var(--cyc) ease infinite; }
.dv-field:nth-child(1) { animation: dvFocus1 var(--cyc) infinite; }
.dv-field:nth-child(2) { animation: dvFocus2 var(--cyc) infinite; }
.dv-cta { position: relative; overflow: hidden; margin-top: 2px; padding: 10px 6px; border-radius: 11px; background: linear-gradient(90deg, #4f46e5, #7c3aed, #c026d3); color: #fff; font-size: 12px; font-weight: 800; text-align: center; box-shadow: 0 10px 20px -10px rgba(124,58,237,.9); animation: dvPress var(--cyc) infinite; }
.dv-cta::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); animation: shine 2.6s infinite; }
.dv-trust { display: flex; justify-content: space-between; gap: 6px; font-size: 10px; font-weight: 700; color: #4b5068; }

.dv-done { position: absolute; inset: auto 10px 10px; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 22px 14px 18px; border-radius: 26px; background: rgba(255,255,255,.96); box-shadow: 0 -10px 40px -10px rgba(15,23,42,.35); text-align: center; animation: dvDone var(--cyc) var(--ease) infinite; }
.dv-done b { font-size: 16px; font-weight: 800; } .dv-done small { font-size: 11px; color: #6b7280; }
.dv-check { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #22c55e, #16a34a); box-shadow: 0 0 0 8px #dcfce7; margin-bottom: 8px; }
.dv-check svg { width: 24px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; animation: dvDraw var(--cyc) infinite; }

/* Floating glass notifications */
.hv-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 11px; padding: 11px 14px; border-radius: 18px; background: rgba(17,21,46,.66); border: 1px solid rgba(255,255,255,.14); color: #fff; box-shadow: 0 24px 50px -22px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.08); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); animation: floaty 6s ease-in-out infinite; }
.hv-card strong { display: block; font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.hv-card small { display: block; color: #a9aecb; font-size: 12px; white-space: nowrap; }
.hv-card time { align-self: flex-start; color: #8b90b0; font-size: 11px; white-space: nowrap; }
.hv-app { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, #6366f1, #d946ef); font: 800 16px Inter, sans-serif; box-shadow: 0 6px 16px -6px rgba(168,85,247,.9); }
.hv-ico { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.hv-ico.ok { background: rgba(34,197,94,.18); } .hv-ico svg { width: 18px; fill: none; stroke: #4ade80; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.hv-pulse { flex: none; width: 10px; height: 10px; margin: 0 4px; border-radius: 50%; background: #22c55e; animation: pulse 1.8s infinite; }
.hv-spark { width: 64px; height: 24px; } .hv-spark path { fill: none; stroke: #a5b4fc; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 90; animation: dvSpark 3s ease-out infinite; }
.hv-bar { display: block; width: 120px; height: 4px; margin-top: 7px; border-radius: 2px; background: rgba(255,255,255,.1); overflow: hidden; }
.hv-bar i { display: block; height: 100%; border-radius: 2px; background: linear-gradient(90deg, #22c55e, #4ade80); transform-origin: left; animation: dvBar 4s var(--ease) infinite; }
.hv-brand { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 800 14px Inter, sans-serif; }
.hv-brand.fb { background: #1877f2; } .hv-brand.tt { margin-inline-start: -16px; background: #000; color: #fff; box-shadow: 0 0 0 2px rgba(17,21,46,.9), -2px 0 0 #25f4ee inset, 2px 0 0 #fe2c55 inset; }

.hv-order { top: 96px; left: -34px; animation: hvPop var(--cyc) var(--ease) infinite; }
.hv-live { top: 20px; right: -26px; animation-delay: -2s; }
.hv-ship { bottom: 150px; right: -50px; animation-delay: -3.5s; }
.hv-pixel { bottom: -6px; left: -70px; animation-delay: -1s; }
[dir="rtl"] .hv-order { left: auto; right: -34px; } [dir="rtl"] .hv-live { right: auto; left: -26px; }
[dir="rtl"] .hv-ship { right: auto; left: -50px; } [dir="rtl"] .hv-pixel { left: auto; right: -70px; }

/* 10s loop: type name, type phone, pick wilaya, press, confirmed, notification */
@keyframes dvTypeR1 { 0%, 4% { clip-path: inset(0 0 0 100%); } 13%, 88% { clip-path: inset(0 0 0 0); } 92%, 100% { clip-path: inset(0 0 0 100%); } }
@keyframes dvTypeL { 0%, 15% { clip-path: inset(0 100% 0 0); } 25%, 88% { clip-path: inset(0 0 0 0); } 92%, 100% { clip-path: inset(0 100% 0 0); } }
@keyframes dvFade3 { 0%, 27% { opacity: 0; transform: translateY(4px); } 31%, 88% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; } }
@keyframes dvFocus1 { 0%, 3% { border-color: #e8eaf2; box-shadow: none; } 5%, 13% { border-color: #8b5cf6; box-shadow: 0 0 0 3px rgba(139,92,246,.15); } 15%, 100% { border-color: #e8eaf2; box-shadow: none; } }
@keyframes dvFocus2 { 0%, 14% { border-color: #e8eaf2; box-shadow: none; } 16%, 25% { border-color: #8b5cf6; box-shadow: 0 0 0 3px rgba(139,92,246,.15); } 27%, 100% { border-color: #e8eaf2; box-shadow: none; } }
@keyframes dvPress { 0%, 33% { transform: none; filter: none; } 35% { transform: scale(.95); filter: brightness(1.15); } 38%, 100% { transform: none; filter: none; } }
@keyframes dvDone { 0%, 37% { opacity: 0; transform: translateY(110%); } 41%, 84% { opacity: 1; transform: none; } 89%, 100% { opacity: 0; transform: translateY(110%); } }
@keyframes dvDraw { 0%, 40% { stroke-dashoffset: 24; } 46%, 100% { stroke-dashoffset: 0; } }
@keyframes hvPop { 0%, 42% { opacity: 0; transform: translateY(-14px) scale(.92); } 46%, 88% { opacity: 1; transform: none; } 93%, 100% { opacity: 0; transform: translateY(-8px) scale(.96); } }
@keyframes dvRing { 0%, 100% { stroke-dashoffset: 120; } 50% { stroke-dashoffset: 40; } }
@keyframes dvSpin { 0%, 100% { transform: rotate(-6deg) translateY(0); } 50% { transform: rotate(5deg) translateY(-6px); } }
@keyframes dvSpark { from { stroke-dashoffset: 90; } to { stroke-dashoffset: 0; } }
@keyframes dvBar { 0% { transform: scaleX(.1); } 70%, 100% { transform: scaleX(1); } }

@media (max-width: 900px) {
  .hv { min-height: 620px; }
  .hv-ship { right: -10px; } [dir="rtl"] .hv-ship { left: -10px; }
}
@media (max-width: 640px) {
  .hv { min-height: 540px; transform: none; }
  .device { width: 262px; height: 540px; border-radius: 48px; }
  .dv-screen { border-radius: 39px; gap: 7px; }
  .dv-photo { height: 140px; } .dv-product { width: 104px; }
  .hv-card { padding: 9px 11px; gap: 9px; border-radius: 15px; }
  .hv-card strong { font-size: 12.5px; } .hv-card small { font-size: 11px; }
  .hv-order { left: -6px; top: 70px; } [dir="rtl"] .hv-order { right: -6px; }
  .hv-live, .hv-ship { display: none; }
  .hv-pixel { left: -6px; bottom: 20px; } [dir="rtl"] .hv-pixel { right: -6px; }
}
@media (prefers-reduced-motion: reduce) {
  .dv-field em, .dv-cta, .dv-done, .hv-order, .dv-check svg { animation: none !important; }
  .dv-done { display: none; }
}

/* --------------------------------------------- Funnels | Boutique switch, store hub, themes, AI card */
.mode-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 4px 0 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.mode-switch a { display: flex !important; align-items: center; justify-content: center; gap: 6px !important; padding: 8px 10px !important; border-radius: 999px !important; font-size: 13px !important; font-weight: 700; color: var(--side-ink); box-shadow: none !important; transform: none !important; animation: none !important; }
.mode-switch a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.mode-switch a.on { background: linear-gradient(135deg, #6366f1, #a855f7 60%, #d946ef); color: #fff; box-shadow: 0 6px 18px -6px rgba(168, 85, 247, .7) !important; }
.mode-switch-mobile { display: none; }
@media (max-width: 900px) {
  .mode-switch-mobile { display: grid; max-width: 360px; margin: 0 auto 16px; background: var(--card); border-color: var(--line); box-shadow: var(--shadow-sm); }
  .mode-switch-mobile a { color: var(--ink-2); }
  .mode-switch-mobile a:hover { background: var(--accent-soft); color: var(--ink); }
}

.hub-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-bottom: 28px; }
.hub-link { display: flex; align-items: center; gap: 12px; padding: 14px 16px; color: var(--ink); text-decoration: none !important; transition: transform .25s var(--ease), box-shadow .25s; }
.hub-link:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.hub-link > .icon { flex: none; width: 38px; height: 38px; padding: 9px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); }
.hub-link b { display: block; }
.hub-link small { color: var(--muted); }
.hub-head h2 { font-size: 20px; }

.theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.theme-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.theme-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -20px rgba(99, 102, 241, .45); }
.theme-card.is-current { outline: 2px solid #8b5cf6; outline-offset: -2px; }
.theme-mock { position: relative; height: 150px; padding: 12px; background: var(--t-bg); color: var(--t-ink); display: flex; flex-direction: column; gap: 10px; border-bottom: 1px solid var(--line); }
.tm-bar { display: flex; align-items: center; gap: 6px; font-size: 11px; }
.tm-bar i { width: 14px; height: 14px; border-radius: 4px; background: var(--t-brand); }
.tm-body { flex: 1; display: grid; grid-template-columns: 70px 1fr; gap: 10px; padding: 8px; border-radius: 10px; background: var(--t-surface); }
.tm-photo { border-radius: 8px; background: linear-gradient(135deg, color-mix(in srgb, var(--t-brand) 55%, var(--t-surface)), color-mix(in srgb, var(--t-brand) 15%, var(--t-surface))); }
.tm-lines { display: flex; flex-direction: column; gap: 6px; padding-top: 4px; }
.tm-lines i { height: 7px; border-radius: 4px; background: currentColor; opacity: .75; }
.tm-lines i.short { width: 60%; opacity: .35; }
.tm-lines em { width: 45%; height: 9px; margin-top: auto; border-radius: 4px; background: var(--t-brand); }
.tm-btn { height: 20px; border-radius: 7px; background: var(--t-brand); box-shadow: 0 6px 14px -8px var(--t-brand); }
.tm-current { position: absolute; top: 10px; inset-inline-end: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; background: #8b5cf6; color: #fff; font-size: 11px; font-weight: 700; }
.theme-info { padding: 14px 16px 6px; }
.theme-info h3 { display: flex; align-items: center; gap: 8px; font-size: 16px; margin: 0; }
.theme-info p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.swatch { width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 2px var(--card), 0 0 0 3px var(--line-2); }
.theme-actions { margin-top: auto; padding: 10px 16px 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.theme-actions > div { display: flex; gap: 6px; }
.check-inline { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); cursor: pointer; }
.check-inline input { accent-color: #8b5cf6; }

.ai-card { position: relative; overflow: hidden; }
.ai-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, #6366f1, #a855f7, #d946ef); }
.ai-card .card-head h2 { display: flex; align-items: center; gap: 8px; }
.ai-card .card-head .icon { color: #a855f7; }
.ai-preview { margin: 14px 0; padding: 14px 16px; border-radius: 12px; background: linear-gradient(135deg, rgba(99, 102, 241, .08), rgba(217, 70, 239, .08)); border: 1px solid rgba(139, 92, 246, .25); }
.ai-preview strong { display: block; font-size: 17px; margin: 6px 0 4px; }
.ai-preview p { margin: 0 0 6px; color: var(--ink-2); }
.ai-preview small { color: var(--muted); }
.ai-chip { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #8b5cf6; color: #fff; font-size: 12px; font-weight: 700; }
.ai-form .form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ai-left { font-size: 13px; }
.ai-form.is-busy button[value=generate] { pointer-events: none; opacity: .8; }
.ai-form.is-busy button[value=generate] .icon { animation: aiSpin 1s linear infinite; }
@keyframes aiSpin { to { transform: rotate(360deg); } }

/* --------------------------------------------- Landing v4: app tour, builder, hero chips, mobile CTA */
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hero-chips span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #d6d8f5; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero-chips .icon { color: #c4b5fd; }

.tour { padding: 90px 24px 40px; max-width: 1180px; margin: 0 auto; }
.tour-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.tour-item { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 26px 18px 24px; border-radius: 28px; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.015)); border: 1px solid rgba(255,255,255,.09); position: relative; overflow: hidden; }
.tour-item::before { content: ""; position: absolute; inset: -40% -20% auto; height: 70%; background: radial-gradient(closest-side, var(--glow, rgba(99,102,241,.35)), transparent); pointer-events: none; }
.tour-item:nth-child(2) { --glow: rgba(168,85,247,.35); }
.tour-item:nth-child(3) { --glow: rgba(236,72,153,.32); }
.tour-tag { position: relative; display: inline-flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.tour-tag .icon { width: 34px; height: 34px; padding: 8px; border-radius: 10px; color: #fff; }
.t-blue { color: #93c5fd; } .t-blue .icon { background: linear-gradient(135deg, #3b82f6, #6366f1); }
.t-violet { color: #c4b5fd; } .t-violet .icon { background: linear-gradient(135deg, #8b5cf6, #a855f7); }
.t-pink { color: #f9a8d4; } .t-pink .icon { background: linear-gradient(135deg, #ec4899, #f43f5e); }
.tour-text { position: relative; margin: 0; text-align: center; color: #b9bce0; font-size: 15px; max-width: 280px; }

/* Phone frame */
.pf { position: relative; width: 270px; height: 548px; padding: 10px; border-radius: 46px; background: linear-gradient(145deg, #2b2e44, #0b0c16); box-shadow: 0 0 0 1.5px #3b3f5c inset, 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 6px rgba(255,255,255,.03); transition: transform .5s var(--ease); }
.tour-item:hover .pf { transform: translateY(-6px); }
.pf-screen { position: relative; height: 100%; border-radius: 37px; overflow: hidden; font-family: "Inter", "Cairo", sans-serif; font-size: 11px; color: #0f172a; }
.pf-light { background: #f6f7fb; }
.pf-status { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 12px 22px 6px; font-size: 12px; }
.pf-status > b { justify-self: start; } .pf-status .pf-sys { justify-self: end; }
.pf-status-light { color: #fff; }
.pf-island { width: 82px; height: 22px; border-radius: 20px; background: #000; }
.pf-sys { display: flex; align-items: flex-end; gap: 2px; }
.pf-sys i { width: 3px; background: currentColor; border-radius: 1px; } .pf-sys i:nth-child(1) { height: 5px; } .pf-sys i:nth-child(2) { height: 7px; } .pf-sys i:nth-child(3) { height: 9px; }
.pf-sys em { width: 18px; height: 9px; margin-inline-start: 4px; border-radius: 3px; border: 1.5px solid currentColor; background: linear-gradient(90deg, currentColor 70%, transparent 70%); background-clip: content-box; padding: 1px; }

/* Phone 1: orders */
.pf-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px 8px; }
.pf-head b { font-size: 19px; letter-spacing: -.02em; }
.pf-btn { padding: 6px 10px; border-radius: 10px; background: linear-gradient(135deg, #6366f1, #8b5cf6); color: #fff; font-weight: 700; font-size: 10.5px; box-shadow: 0 6px 14px -6px rgba(99,102,241,.8); }
.pf-tabs { display: flex; gap: 6px; padding: 0 16px; overflow: hidden; }
.pf-tabs span { flex: none; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; font-weight: 600; border: 1px solid; }
.pf-tabs b { font-size: 14px; }
.tb-wait { background: #fef9e7; color: #a16207; border-color: #fde68a; }
.tb-call { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.tb-ok { background: #ecfdf3; color: #15803d; border-color: #bbf7d0; }
.pf-search { display: flex; align-items: center; gap: 6px; margin: 10px 16px 0; padding: 8px 10px; border-radius: 10px; background: #fff; border: 1px solid #e5e7eb; color: #94a3b8; }
.pf-day { margin-top: 10px; padding: 5px 16px; background: #eef0f6; color: #64748b; text-align: center; font-size: 10px; font-weight: 600; }
.pf-orders { background: #fff; }
.po { display: grid; grid-template-columns: 1fr auto; gap: 4px 6px; padding: 9px 16px; border-bottom: 1px solid #f1f2f6; }
.po p { margin: 0; display: flex; flex-direction: column; }
.po p b { font-size: 11.5px; }
.po p span { color: #475569; font-size: 10.5px; }
.po strong { font-size: 12px; }
.po em { grid-column: 1; justify-self: start; display: inline-flex; padding: 2px 7px; border-radius: 6px; font-style: normal; font-size: 9.5px; font-weight: 700; }
.po em + em { grid-column: 1; margin-top: -2px; }
.po:has(em + em) { grid-template-columns: auto auto 1fr auto; }
.po:has(em + em) p { grid-column: 1 / 4; } .po:has(em + em) strong { grid-column: 4; grid-row: 1; }
.po:has(em + em) em { grid-column: auto; margin: 0; }
.st-new { background: #ede9fe; color: #6d28d9; } .st-ok { background: #dcfce7; color: #15803d; } .st-ship { background: #fce7f3; color: #be185d; }
.st-wait { background: #fef3c7; color: #a16207; } .st-done { background: #ede9fe; color: #5b21b6; } .st-cancel { background: #fee2e2; color: #b91c1c; }
.po-new { animation: poIn 6s var(--ease) infinite; background: #faf8ff; }
@keyframes poIn { 0%, 8% { opacity: 0; transform: translateY(-14px); max-height: 0; padding-block: 0; } 18%, 85% { opacity: 1; transform: none; max-height: 60px; padding-block: 9px; } 100% { opacity: 1; } }

/* Phone 2: revenue */
.pf-hero { position: relative; padding-bottom: 46px; color: #fff; background: radial-gradient(120% 90% at 80% 0%, #a855f7, transparent 60%), linear-gradient(160deg, #4f46e5, #312e81); overflow: hidden; }
.pf-hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(1px 1px at 20% 30%, #fff8, transparent), radial-gradient(1px 1px at 70% 20%, #fff6, transparent), radial-gradient(1.5px 1.5px at 40% 70%, #fff5, transparent), radial-gradient(1px 1px at 85% 60%, #fff7, transparent); }
.pf-hello { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 8px 18px 0; }
.pf-hello b { display: block; font-size: 15px; } .pf-hello small { opacity: .75; }
.pf-bell { position: relative; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.15); }
.pf-bell sup { position: absolute; top: -3px; right: -3px; min-width: 15px; height: 15px; border-radius: 8px; background: #ef4444; font-size: 9px; display: grid; place-items: center; }
.pf-money { position: relative; margin-top: 14px; text-align: center; font-size: 15px; font-weight: 600; opacity: .9; }
.pf-money b { font-size: 32px; font-weight: 800; letter-spacing: -.02em; }
.pf-panel { position: relative; margin-top: -30px; padding: 12px 12px 0; border-radius: 22px 22px 0 0; background: #f6f7fb; height: 100%; }
.pf-period { display: flex; justify-content: space-between; padding: 0 4px 10px; color: #94a3b8; font-weight: 600; }
.pf-period .on { padding: 4px 10px; margin: -4px 0; border-radius: 8px; background: #ede9fe; color: #5b21b6; }
.pf-chart-card, .pf-kpis > div, .pf-conv { background: #fff; border: 1px solid #eceef4; border-radius: 14px; padding: 10px 12px; }
.pf-chart-card small, .pf-kpis small, .pf-conv small { color: #64748b; font-weight: 600; display: flex; align-items: center; gap: 4px; }
.pf-bars { height: 82px; display: flex; align-items: flex-end; gap: 7px; margin-top: 8px; padding-bottom: 2px; border-bottom: 1px dashed #e5e7eb; }
.pf-bars i { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: #c7c4fb; transform-origin: bottom; animation: pfBar 6s var(--ease) infinite; }
.pf-bars i.hl { background: linear-gradient(180deg, #8b5cf6, #6366f1); }
.pf-bars i:nth-child(2) { animation-delay: .08s; } .pf-bars i:nth-child(3) { animation-delay: .16s; } .pf-bars i:nth-child(4) { animation-delay: .24s; } .pf-bars i:nth-child(5) { animation-delay: .32s; } .pf-bars i:nth-child(6) { animation-delay: .4s; } .pf-bars i:nth-child(7) { animation-delay: .48s; }
@keyframes pfBar { 0% { transform: scaleY(0); } 14%, 100% { transform: scaleY(1); } }
.pf-days { display: flex; justify-content: space-around; color: #94a3b8; font-size: 9.5px; margin-top: 4px; }
.pf-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0; }
.pf-kpis b { display: block; font-size: 19px; margin-top: 2px; }
.pf-kpis em { font-style: normal; font-size: 10px; font-weight: 700; } .pf-kpis .up { color: #16a34a; }
.pf-conv { display: flex; justify-content: space-between; align-items: center; }
.pf-conv b { font-size: 19px; display: block; }
.pf-conv svg { width: 96px; height: 34px; }
.pf-area { fill: rgba(139,92,246,.18); }
.pf-line { fill: none; stroke: #8b5cf6; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 140; stroke-dashoffset: 140; animation: pfDraw 6s var(--ease) infinite; }
@keyframes pfDraw { 0%, 10% { stroke-dashoffset: 140; } 40%, 100% { stroke-dashoffset: 0; } }

/* Phone 3: lock screen */
.pf-lock { color: #fff; background: radial-gradient(90% 60% at 20% 10%, #22d3ee88, transparent 60%), radial-gradient(80% 60% at 90% 40%, #a855f799, transparent 60%), linear-gradient(180deg, #1e1b4b, #0f172a 70%); }
.pf-clock { text-align: center; margin-top: 26px; }
.pf-clock small { font-size: 13px; opacity: .85; font-weight: 600; }
.pf-clock b { display: block; font-size: 68px; font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.pf-notifs { display: flex; flex-direction: column; gap: 8px; padding: 26px 12px 0; }
.pn { display: flex; gap: 10px; padding: 10px 12px; border-radius: 18px; background: rgba(255,255,255,.82); color: #0f172a; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 10px 24px -14px rgba(0,0,0,.6); opacity: 0; animation: pnIn 9s var(--ease) infinite; }
.pn-1 { animation-delay: 0s; } .pn-2 { animation-delay: .25s; } .pn-3 { animation-delay: .5s; }
@keyframes pnIn { 0% { opacity: 0; transform: translateY(-18px) scale(.96); } 8%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-6px); } }
.pn-app { flex: none; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-weight: 800; background: linear-gradient(135deg, #6366f1, #a855f7, #d946ef); }
.pn-app.warn { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.pn > div { flex: 1; min-width: 0; }
.pn p { margin: 0; display: flex; justify-content: space-between; font-size: 10px; color: #64748b; }
.pn p b { color: #334155; }
.pn strong { display: block; font-size: 12px; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pn small { display: block; color: #475569; font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Builder */
.builder { padding: 70px 24px 40px; max-width: 1180px; margin: 0 auto; }
.bw { margin: 40px auto 0; max-width: 980px; border-radius: 18px; overflow: hidden; background: #0e0f1d; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 50px 100px -40px rgba(99,102,241,.55), 0 0 0 8px rgba(255,255,255,.025); }
.bw-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.07); }
.bw-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ef4444; } .bw-bar i:nth-child(2) { background: #f59e0b; } .bw-bar i:nth-child(3) { background: #22c55e; }
.bw-bar span { margin: 0 auto; padding: 4px 18px; border-radius: 8px; background: rgba(255,255,255,.06); color: #a5a8d0; font-size: 12px; }
.bw-body { display: grid; grid-template-columns: 170px 1fr 210px; min-height: 340px; }
.bw-side, .bw-ai { padding: 16px 14px; display: flex; flex-direction: column; gap: 6px; background: rgba(255,255,255,.025); }
.bw-side { border-inline-end: 1px solid rgba(255,255,255,.06); }
.bw-ai { border-inline-start: 1px solid rgba(255,255,255,.06); }
.bw-side small, .bw-ai small { display: flex; align-items: center; gap: 6px; color: #8d90bd; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.bw-side span { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 10px; color: #c9cbee; font-size: 13px; font-weight: 600; transition: background .3s, color .3s; }
.bw-side span i { width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255,255,255,.15); }
.bw-side span.on { background: linear-gradient(135deg, rgba(99,102,241,.35), rgba(168,85,247,.3)); color: #fff; }
.bw-stage { display: grid; place-items: center; padding: 22px; background: repeating-linear-gradient(45deg, rgba(255,255,255,.015) 0 10px, transparent 10px 20px); }
.bw-shop { width: 100%; max-width: 420px; border-radius: 14px; overflow: hidden; font-family: "Cairo", "Tajawal", sans-serif; --s-bg: #fff; --s-sf: #f6f7f9; --s-ink: #111827; --s-br: #0f172a; --s-on: #fff; --s-cta: var(--s-br); background: var(--s-bg); color: var(--s-ink); box-shadow: 0 24px 50px -20px rgba(0,0,0,.6); transition: background .6s, color .6s; }
.bw-shop * { transition: background .6s, color .6s, border-radius .6s; }
.th-luxe { --s-bg: #0b0b0d; --s-sf: #16161a; --s-ink: #f5f1e6; --s-br: #d4af37; --s-on: #111; --s-cta: linear-gradient(90deg, #b8912f, #f1d27a, #b8912f); }
.th-glass { --s-bg: #0b0a1f; --s-sf: rgba(255,255,255,.07); --s-ink: #eef0ff; --s-br: #8b5cf6; --s-on: #fff; --s-cta: linear-gradient(90deg, #6366f1, #a855f7, #d946ef); }
.th-fresh { --s-bg: #f2fbf7; --s-sf: #fff; --s-ink: #0f2e24; --s-br: #10b981; --s-on: #fff; --s-cta: linear-gradient(90deg, #10b981, #22d3ee); }
.th-candy { --s-bg: #fff5fa; --s-sf: #fff; --s-ink: #3b0a24; --s-br: #ec4899; --s-on: #fff; --s-cta: linear-gradient(90deg, #ec4899, #f9a8d4); }
.th-sport { --s-bg: #0d0d0d; --s-sf: #1a1a1a; --s-ink: #fff; --s-br: #facc15; --s-on: #111; --s-cta: #facc15; }
.bs-bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid color-mix(in srgb, var(--s-ink) 10%, transparent); }
.bs-bar b { font-size: 15px; } .bs-bar span { width: 18px; height: 12px; border-block: 2px solid currentColor; position: relative; } .bs-bar span::after { content: ""; position: absolute; inset: 3px 0 auto; border-top: 2px solid currentColor; }
.bs-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 14px; }
.bs-photo { position: relative; aspect-ratio: 1; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(160deg, color-mix(in srgb, var(--s-br) 35%, var(--s-sf)), var(--s-sf)); }
.bs-photo svg { width: 70%; fill: color-mix(in srgb, var(--s-ink) 70%, transparent); }
.bs-photo em { position: absolute; top: 8px; right: 8px; padding: 2px 8px; border-radius: 999px; background: #ef4444; color: #fff; font-style: normal; font-size: 11px; font-weight: 800; direction: ltr; }
.bs-info { display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.bs-info b { font-size: 15px; line-height: 1.35; }
.bs-price { display: flex; gap: 8px; align-items: baseline; } .bs-price strong { font-size: 18px; color: var(--s-br); } .bs-price s { opacity: .55; font-size: 12px; }
.bs-cta { padding: 10px; border-radius: 10px; text-align: center; font-weight: 800; background: var(--s-cta); color: var(--s-on); animation: nudge 3s ease-in-out infinite; }
.th-candy .bs-cta { border-radius: 999px; } .th-sport .bs-info b { font-style: italic; text-transform: uppercase; }
.bw-type { margin: 4px 0; color: #e7e8ff; font-size: 13px; line-height: 1.5; min-height: 58px; }
.bw-type span { display: inline; background: linear-gradient(90deg, #c4b5fd, #f0abfc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bw-type span::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-inline-start: 2px; vertical-align: -2px; background: #f0abfc; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.bw-lines { display: flex; flex-direction: column; gap: 6px; } .bw-lines i { height: 7px; border-radius: 4px; background: rgba(255,255,255,.1); } .bw-lines .s { width: 60%; }
.bw-gen { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 9px; border-radius: 10px; font-weight: 700; font-size: 12.5px; color: #fff; background: linear-gradient(135deg, #6366f1, #a855f7, #d946ef); box-shadow: 0 10px 24px -10px rgba(168,85,247,.8); }
.bw-gen .icon { animation: aiSpin 3s linear infinite; }
.builder-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 980px; margin: 22px auto 0; }
.builder-points > div { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; padding: 16px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.builder-points .icon { grid-row: span 2; width: 38px; height: 38px; padding: 9px; border-radius: 11px; color: #fff; background: linear-gradient(135deg, #6366f1, #a855f7); }
.builder-points b { color: #fff; } .builder-points span { color: #b0b3da; font-size: 14px; }
@keyframes aiSpin { to { transform: rotate(360deg); } }

/* Mobile sticky CTA */
.m-cta { display: none; }
@media (max-width: 900px) {
  .tour-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 32px -24px 0; padding: 0 24px 12px; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y; }
  .tour-track::-webkit-scrollbar { display: none; }
  .tour-item { flex: 0 0 86%; scroll-snap-align: center; scroll-snap-stop: always; }
  /* phones: the swiped screens stay still (no slide-up reveal, no tap lift) */
  .js .tour-item.reveal { opacity: 1; transform: none; transition: none; }
  .tour-item:hover .pf, .tour-item .pf { transform: none; transition: none; }
  .bw-body { grid-template-columns: 1fr; }
  .bw-side { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; border: 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .bw-side small { display: none; } .bw-side span { flex: none; }
  .bw-ai { border: 0; border-top: 1px solid rgba(255,255,255,.06); }
  .builder-points { grid-template-columns: 1fr; }
  .m-cta { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: 12px; display: flex; gap: 8px; transform: translateY(140%); transition: transform .45s var(--ease); }
  .m-cta.show { transform: none; }
  .m-cta a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 52px; border-radius: 16px; font-weight: 800; text-decoration: none !important; }
  .m-cta .m-go { flex: 1; color: #fff; background: linear-gradient(135deg, #6366f1, #a855f7 60%, #d946ef); box-shadow: 0 14px 30px -10px rgba(168,85,247,.8); }
  .m-cta .m-wa { width: 52px; flex: none; background: rgba(20,20,40,.85); border: 1px solid rgba(255,255,255,.14); color: #4ade80; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  body.site { padding-bottom: 76px; }
}
@media (max-width: 380px) { .pf { width: 240px; height: 490px; } .pf-notifs { padding-inline: 9px; } .pn { gap: 8px; padding: 9px 10px; } .pn-app { width: 26px; height: 26px; } .pn strong { font-size: 11.5px; } }
@media (prefers-reduced-motion: reduce) { .po-new, .pf-bars i, .pf-line, .pn, .bs-cta { animation: none !important; opacity: 1; stroke-dashoffset: 0; } }
@keyframes nudge { 0%, 100% { transform: none; } 50% { transform: scale(1.04); } }
.pf-money b, .po strong, .po p span, .pf-kpis b, .pf-conv b, .pf-tabs b, .bs-price strong, .bs-price s { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* --------------------------------------------- Landing v5: order journey + carriers band */
.journey { padding: 80px 24px 30px; max-width: 1180px; margin: 0 auto; }
.jr-steps { display: flex; flex-direction: column; gap: 70px; margin-top: 56px; }
.jr-step { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.jr-step:nth-child(even) .jr-copy { order: 2; }
.jr-num { display: inline-flex; align-items: center; gap: 10px; color: #a5a8d0; font-weight: 700; font-size: 14px; }
.jr-num b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; color: #fff; font-size: 13px; background: linear-gradient(135deg, #6366f1, #a855f7 60%, #d946ef); box-shadow: 0 8px 20px -8px rgba(168,85,247,.8); }
.jr-copy h3 { margin: 14px 0 12px; font-size: clamp(24px, 3vw, 34px); line-height: 1.15; letter-spacing: -.02em; color: #fff; }
.jr-copy p { margin: 0; color: #b4b7dc; font-size: 17px; line-height: 1.6; max-width: 460px; }
.jr-card { position: relative; min-height: 360px; display: grid; place-items: center; padding: 44px 28px; border-radius: 28px; color: #0f172a; font-size: 13px; background: radial-gradient(80% 70% at 50% 100%, rgba(168,85,247,.25), transparent 70%), linear-gradient(180deg, #f5f6ff, #e9ebfb); box-shadow: 0 40px 80px -40px rgba(99,102,241,.6); overflow: hidden; }
.jf, .jsh, .jt, .jp-main { position: relative; z-index: 1; width: 100%; max-width: 340px; background: #fff; border: 1px solid #e6e8f2; border-radius: 18px; padding: 16px; box-shadow: 0 20px 40px -24px rgba(30,27,75,.35); }
.jr-float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid #e6e8f2; box-shadow: 0 14px 30px -14px rgba(30,27,75,.4); font-weight: 600; font-size: 12px; animation: bob 4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-7px); } }
.jf-tag { top: 22px; inset-inline-start: 22px; }
.jf-tag .icon { color: #ec4899; }
.jf-prod { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.jf-thumb { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: #f1f2f8; }
.jf-thumb svg { width: 26px; fill: #d4d7e6; stroke: #94a3b8; stroke-width: 1.2; }
.jf-prod p { margin: 0; display: flex; flex-direction: column; }
.jf-prod span { color: #64748b; }
.jf label { display: block; color: #64748b; font-size: 12px; margin-bottom: 5px; }
.jf-select { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border: 1px solid #e2e5ef; border-radius: 10px; }
.jf-select i { width: 7px; height: 7px; border-inline-end: 2px solid #64748b; border-bottom: 2px solid #64748b; transform: rotate(45deg) translateY(-2px); }
.jf-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 10px 0; border-radius: 10px; background: #f1f2f8; text-align: center; color: #64748b; }
.jf-seg span { padding: 6px; border-radius: 7px; }
.jf-seg .on { background: #fff; color: #0f172a; font-weight: 700; box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.jf-row { display: flex; justify-content: space-between; padding: 7px 10px; border-radius: 8px; color: #475569; }
.jf-row b { color: #0f172a; }
.jf-hl { animation: hlPulse 4s ease-in-out infinite; }
@keyframes hlPulse { 0%, 20% { background: #fff; } 35%, 100% { background: #eef2ff; } }
.jf-btn { position: relative; margin-top: 10px; padding: 11px; border-radius: 11px; text-align: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, #4f46e5, #7c3aed); animation: press 4s ease-in-out infinite; }
.jf-cursor { position: absolute; width: 22px; fill: #0f172a; stroke: #fff; stroke-width: 1.5; right: 30%; bottom: -14px; animation: cursorIn 4s ease-in-out infinite; }
@keyframes cursorIn { 0% { transform: translate(60px, 40px); opacity: 0; } 40% { transform: none; opacity: 1; } 55% { transform: scale(.85); } 65%, 90% { transform: none; opacity: 1; } 100% { opacity: 0; } }
@keyframes press { 0%, 50% { transform: none; } 55% { transform: scale(.97); filter: brightness(1.15); } 62%, 100% { transform: none; } }
.js-tag { top: 20px; inset-inline-end: 20px; font-size: 11px; color: #334155; }
.js-tag b { padding: 2px 7px; border-radius: 6px; background: #eef2ff; color: #4f46e5; }
.js-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; border-bottom: 1px solid #eef0f6; }
.js-carrier { padding: 3px 10px; border-radius: 7px; background: #fee2e2; color: #b91c1c; font-weight: 800; font-size: 11px; font-style: italic; }
.js-row { display: flex; gap: 12px; align-items: center; padding: 10px 2px; border-bottom: 1px solid #f3f4f8; }
.js-row p { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.js-row code { align-self: start; padding: 2px 8px; border-radius: 6px; background: #e0f2fe; color: #0369a1; font-size: 11px; }
.js-ck { flex: none; width: 20px; height: 20px; border-radius: 6px; border: 2px solid #cbd5e1; position: relative; animation: ck 5s infinite; }
.js-ck::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.js-row:nth-of-type(3) .js-ck { animation-delay: .3s; }
.js-row:nth-of-type(4) .js-ck { animation-delay: .6s; }
@keyframes ck { 0%, 10% { background: #fff; border-color: #cbd5e1; } 18%, 100% { background: #0f172a; border-color: #0f172a; } }
.js-btn { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; padding: 10px; border-radius: 10px; color: #fff; font-weight: 700; background: #16a34a; animation: jsOk 5s infinite; }
@keyframes jsOk { 0%, 30% { opacity: .35; transform: scale(.97); } 40%, 100% { opacity: 1; transform: none; } }
.js-label { position: absolute; z-index: 0; bottom: -18px; width: 62%; max-width: 280px; padding: 12px 14px 30px; border-radius: 10px; background: #fff; border: 1px solid #e6e8f2; animation: labelUp 5s ease-in-out infinite; }
.js-bars { display: block; height: 26px; margin-top: 6px; background: repeating-linear-gradient(90deg, #1e293b 0 3px, transparent 3px 5px, #1e293b 5px 6px, transparent 6px 9px); }
@keyframes labelUp { 0%, 40% { transform: translateY(30px) rotate(-3deg); } 55%, 100% { transform: translateY(0) rotate(-3deg); } }
.jt-head { display: flex; justify-content: space-between; align-items: center; }
.jt-head p { margin: 0; color: #64748b; }
.jt-head b { color: #0f172a; }
.jt-ok { padding: 3px 10px; border-radius: 999px; background: #dcfce7; color: #15803d; font-weight: 700; font-size: 11px; }
.jt-line { position: relative; display: flex; justify-content: space-between; margin: 22px 6px 8px; height: 22px; align-items: center; }
.jt-line::before, .jt-line em { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: #e2e8f0; }
.jt-line em { background: #22d3ee; transform-origin: left; animation: track 5s ease-in-out infinite; }
[dir="rtl"] .jt-line em { transform-origin: right; }
.jt-line i { position: relative; z-index: 1; width: 12px; height: 12px; border-radius: 50%; background: #22d3ee; box-shadow: 0 0 0 4px #ecfeff; }
.jt-line i:last-of-type { width: 22px; height: 22px; background: #fff; border: 3px solid #22d3ee; animation: arrive 5s infinite; }
@keyframes track { 0% { transform: scaleX(0); } 60%, 100% { transform: scaleX(1); } }
@keyframes arrive { 0%, 55% { box-shadow: 0 0 0 0 rgba(34,211,238,.5); } 70% { box-shadow: 0 0 0 10px rgba(34,211,238,0); } }
.jt-lbl { display: flex; justify-content: space-between; color: #64748b; font-size: 11px; }
.jt-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding-top: 10px; border-top: 1px solid #eef0f6; color: #64748b; }
.jt-mini { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: #fff; border: 1px solid #e6e8f2; box-shadow: 0 18px 30px -16px rgba(30,27,75,.45); animation: bob 5s ease-in-out infinite; }
.jt-mini p { margin: 0; display: flex; flex-direction: column; }
.jt-mini span { color: #475569; font-size: 12px; }
.jt-m1 { top: 22px; inset-inline-end: 18px; }
.jt-m2 { bottom: 18px; inset-inline-start: 18px; animation-delay: 1.2s; }
.dot-warn { width: 8px; height: 8px; border-radius: 50%; background: #f59e0b; box-shadow: 0 0 0 4px #fef3c7; }
.jt-ret { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #e0f2fe; color: #0369a1 !important; font-weight: 800; font-size: 14px !important; }
.jt-mini em { font-style: normal; padding: 2px 7px; border-radius: 6px; background: #dcfce7; color: #15803d; font-weight: 700; font-size: 11px; }
.jr-dark { background: radial-gradient(60% 55% at 85% 0%, rgba(217,70,239,.35), transparent 70%), radial-gradient(60% 60% at 0% 100%, rgba(34,211,238,.18), transparent 70%), linear-gradient(160deg, #3730a3, #1e1b4b 55%, #120d33); color: #fff; display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 16px; border: 1px solid rgba(255,255,255,.12); }
.ja-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.ja-livechip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(34,197,94,.15); border: 1px solid rgba(74,222,128,.35); color: #bbf7d0; font-weight: 600; font-size: 12px; }
.ja-livechip i { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; animation: jaPulse 1.6s ease-out infinite; }
@keyframes jaPulse { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,.7); } 100% { box-shadow: 0 0 0 9px rgba(74,222,128,0); } }
.ja-range { display: inline-flex; padding: 3px; border-radius: 10px; background: rgba(255,255,255,.08); font-size: 11.5px; font-weight: 600; color: #c7d2fe; }
.ja-range span { padding: 4px 10px; border-radius: 7px; } .ja-range .on { background: #fff; color: #3730a3; }
.ja-big small { color: #c7d2fe; font-size: 12.5px; }
.ja-big p { margin: 2px 0 0; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-weight: 700; color: #e0e7ff; }
.ja-big b { font-size: 34px; letter-spacing: -.02em; color: #fff; direction: ltr; unicode-bidi: isolate; }
.ja-big em { font-style: normal; padding: 2px 8px; border-radius: 7px; background: rgba(74,222,128,.18); color: #4ade80; font-size: 12px; }
.ja-bars { height: 120px; display: flex; align-items: flex-end; gap: 6px; padding-bottom: 4px; border-bottom: 1px dashed rgba(255,255,255,.18); }
.ja-bars i { position: relative; flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: rgba(199,210,254,.28); transform-origin: bottom; animation: pfBar 6s var(--ease) infinite; }
.ja-bars i:nth-child(odd) { animation-delay: .1s; } .ja-bars i:nth-child(3n) { animation-delay: .2s; }
.ja-bars i.hl { background: linear-gradient(180deg, #f0abfc, #a855f7); box-shadow: 0 0 18px rgba(217,70,239,.55); animation-delay: .3s; }
.ja-bars i.hl span { position: absolute; bottom: calc(100% + 6px); inset-inline-end: 0; white-space: nowrap; padding: 3px 7px; border-radius: 6px; background: #fff; color: #3730a3; font-size: 10.5px; font-weight: 700; font-style: normal; direction: ltr; }
.ja-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ja-tiles > div { padding: 9px 10px; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); min-width: 0; }
.ja-tiles small { display: flex; align-items: center; gap: 5px; color: #c7d2fe; font-size: 11px; white-space: nowrap; }
.ja-tiles b { display: block; margin-top: 2px; font-size: 17px; direction: ltr; unicode-bidi: isolate; }
.jr-profit { background: radial-gradient(60% 60% at 20% 20%, #cffafe, transparent 70%), radial-gradient(60% 60% at 90% 100%, #fde2e4, transparent 70%), #f8fafc; min-height: 400px; }
.jp-main { max-width: 300px; }
.jp-main small { display: block; color: #64748b; font-weight: 600; }
.jp-main b { font-size: 38px; font-weight: 800; letter-spacing: -.02em; direction: ltr; unicode-bidi: isolate; display: inline-block; }
.jp-main span { font-size: 22px; font-weight: 800; }
.jp-main em { display: block; width: max-content; margin-top: 8px; padding: 3px 10px; border-radius: 999px; background: #dcfce7; color: #15803d; font-style: normal; font-weight: 700; font-size: 12px; }
.jp-chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 16px; background: #fff; border: 1px solid #e6e8f2; box-shadow: 0 18px 30px -16px rgba(30,27,75,.45); animation: bob 4.5s ease-in-out infinite; }
.jp-chip p { margin: 0; display: flex; flex-direction: column; }
.jp-chip small { color: #64748b; font-size: 11px; }
.jp-chip b { unicode-bidi: plaintext; }
.jp-ic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #f1f5f9; color: #475569; }
.jp-ret { background: #fef3c7; color: #b45309; font-weight: 800; }
.jp-1 { top: 34px; inset-inline-end: 26px; }
.jp-2 { top: 84px; inset-inline-start: 22px; animation-delay: .8s; }
.jp-3 { bottom: 40px; inset-inline-end: 34px; animation-delay: 1.6s; }
.carriers { max-width: 1180px; margin: 50px auto 0; padding: 34px 0; text-align: center; border-block: 1px solid rgba(255,255,255,.08); }
.carriers p { margin: 0 24px 24px; color: #e7e8ff; font-size: 18px; font-weight: 600; }
.carriers p span { color: #a5a8d0; font-weight: 500; font-size: 16px; }
.cr-track { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.cr-row { display: flex; gap: 12px; width: max-content; animation: crScroll 60s linear infinite; }
.cr-row span { padding: 10px 18px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); color: #c9cbee; font-weight: 700; font-size: 14px; white-space: nowrap; }
.carriers:hover .cr-row { animation-play-state: paused; }
@keyframes crScroll { to { transform: translateX(-50%); } }
[dir="rtl"] .cr-row { animation-name: crScrollR; }
@keyframes crScrollR { to { transform: translateX(50%); } }
@media (max-width: 900px) {
  .jr-steps { gap: 54px; margin-top: 36px; }
  .jr-step { grid-template-columns: 1fr; gap: 22px; }
  .jr-step:nth-child(even) .jr-copy { order: 0; }
  .jr-card { min-height: 330px; padding: 60px 16px 40px; }
  .jr-copy p { font-size: 16px; }
  .ja-big b { font-size: 28px; }
  .ja-tiles b { font-size: 15px; }
  .ja-tiles > div { padding: 8px; }
  .ja-tiles small { font-size: 10px; gap: 4px; overflow: hidden; text-overflow: ellipsis; }
  .ja-tiles small .icon { display: none; }
  .jp-main b { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) { .jr-float, .jt-mini, .jp-chip, .cr-row, .ja-bars i, .ja-livechip i, .jt-line em, .js-label, .jf-cursor { animation: none !important; stroke-dashoffset: 0; } }

/* --------------------------------------------- Theme gallery v2: layout-aware mini storefronts */
.theme-mock { height: 190px; padding: 0; gap: 0; overflow: hidden; font-family: var(--t-font, inherit), system-ui, sans-serif; }
.theme-mock > * { flex: none; }
.tm-bar { justify-content: center; padding: 9px 12px; font-size: 12px; border-bottom: 1px solid color-mix(in srgb, var(--t-ink) 10%, transparent); }
.tm-bar b { font-weight: 700; }
.tm-nav { display: none; align-items: center; gap: 5px; }
.tm-nav u { width: 16px; height: 4px; border-radius: 2px; background: currentColor; opacity: .35; text-decoration: none; }
.tm-nav em { width: 22px; height: 9px; border-radius: 5px; background: var(--t-brand); }
.tm-h-left .tm-bar { justify-content: space-between; }
.tm-h-left .tm-nav, .tm-h-stack .tm-nav { display: flex; }
.tm-h-stack .tm-bar { flex-direction: column; gap: 4px; padding: 7px 12px 6px; }
.tm-h-stack .tm-nav em { display: none; }
.tm-hero { position: relative; display: grid; place-items: center; height: 70px; margin: 8px 10px 0; border-radius: 8px; overflow: hidden; background: var(--t-surface); }
.tm-hero-txt { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.tm-hero-txt strong { font-size: 15px; line-height: 1; letter-spacing: -.01em; }
.tm-hero-txt s { width: 60px; height: 4px; border-radius: 2px; background: currentColor; opacity: .35; text-decoration: none; }
.tm-hero-txt em { width: 34px; height: 9px; border-radius: 5px; background: var(--t-brand); }
.tm-hero-img { display: none; }
.tm-hero-band .tm-hero { background: linear-gradient(135deg, var(--t-brand), color-mix(in srgb, var(--t-brand) 55%, #000)); color: #fff; }
.tm-hero-band .tm-hero-txt em { background: #fff; }
.tm-hero-cover .tm-hero { margin: 0; border-radius: 0; height: 84px; place-items: end start; color: #fff; background: linear-gradient(0deg, rgba(0,0,0,.6), transparent), radial-gradient(70% 90% at 75% 20%, color-mix(in srgb, var(--t-brand) 80%, #fff), transparent 70%), linear-gradient(160deg, #475569, #111); }
.tm-hero-cover .tm-hero-txt { align-items: flex-start; padding: 0 0 10px 12px; }
.tm-hero-cover .tm-hero-txt em { background: #fff; }
.tm-hero-split .tm-hero { grid-template-columns: 1fr 1fr; place-items: stretch; border: 1px solid color-mix(in srgb, var(--t-ink) 10%, transparent); }
.tm-hero-split .tm-hero-txt { align-items: flex-start; justify-content: center; padding-inline-start: 10px; }
.tm-hero-split .tm-hero-img { display: block; background: radial-gradient(60% 60% at 50% 40%, color-mix(in srgb, var(--t-brand) 60%, #fff), color-mix(in srgb, var(--t-brand) 25%, var(--t-surface))); }
.tm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 8px 10px 10px; }
.tm-grid span { display: flex; flex-direction: column; gap: 3px; padding: 3px; border-radius: 6px; background: var(--t-surface); border: 1px solid color-mix(in srgb, var(--t-ink) 8%, transparent); }
.tm-grid i { aspect-ratio: 1; border-radius: 4px; background: linear-gradient(135deg, color-mix(in srgb, var(--t-brand) 45%, var(--t-surface)), color-mix(in srgb, var(--t-brand) 12%, var(--t-surface))); }
.tm-r-portrait .tm-grid i { aspect-ratio: 3 / 4; }
.tm-grid b { height: 3px; border-radius: 2px; background: currentColor; opacity: .5; }
.tm-grid small { height: 6px; border-radius: 3px; background: var(--t-brand); }
.tm-c-plain .tm-grid span { padding: 0; background: none; border: 0; }
.tm-c-plain .tm-grid small { width: 50%; background: currentColor; opacity: .7; height: 3px; }
.tm-c-lined .tm-grid span { border: 1.5px solid currentColor; border-radius: 0; }
.tm-c-lined .tm-grid i { border-radius: 0; }
.tm-c-overlay .tm-grid span { position: relative; padding: 0; border: 0; overflow: hidden; }
.tm-c-overlay .tm-grid b, .tm-c-overlay .tm-grid small { position: absolute; left: 4px; right: 40%; background: #fff; }
.tm-c-overlay .tm-grid b { bottom: 9px; } .tm-c-overlay .tm-grid small { bottom: 3px; height: 3px; }
.tm-b-pill .tm-grid small, .tm-b-pill .tm-hero-txt em, .tm-b-pill .tm-nav em { border-radius: 999px; }
.tm-b-square .tm-grid small, .tm-b-square .tm-hero-txt em, .tm-b-square .tm-nav em, .tm-b-square .tm-hero { border-radius: 0; }
.tm-b-outline .tm-hero-txt em { background: none !important; box-shadow: inset 0 0 0 1.5px currentColor; border-radius: 0; }
.tm-caps .tm-hero-txt strong, .tm-caps .tm-bar b { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.theme-card:hover .tm-grid span { animation: tmPop .5s var(--ease) both; }
.theme-card:hover .tm-grid span:nth-child(2) { animation-delay: .05s; } .theme-card:hover .tm-grid span:nth-child(3) { animation-delay: .1s; } .theme-card:hover .tm-grid span:nth-child(4) { animation-delay: .15s; }
@keyframes tmPop { from { transform: translateY(6px); opacity: .4; } }
.theme-traits { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.theme-traits span { padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; color: var(--muted); background: var(--bg-2, rgba(127, 127, 127, .1)); border: 1px solid var(--line); }
.count-pill { display: inline-grid; place-items: center; min-width: 26px; height: 22px; padding: 0 7px; margin-inline-start: 6px; border-radius: 999px; font-size: 12px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #6366f1, #a855f7); vertical-align: middle; }
.theme-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

/* --------------------------------------------- Dashboard home: simple, calm, Shopify-like */
.dash-main { max-width: 1280px; }
.dx > * + * { margin-top: 16px; }
.dx .card { margin-bottom: 0; border-radius: 14px; box-shadow: 0 1px 2px rgba(16, 24, 40, .05); }
.dx h2 { margin: 0; font-size: 15px; font-weight: 700; }
.dx .card-head { margin-bottom: 14px; }
.dx .card-head > a { font-size: 13px; font-weight: 600; }
.dx-empty { margin: 0; padding: 22px 0; text-align: center; color: var(--muted); font-size: 13.5px; }

.dx-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.dx-date { color: var(--muted); font-size: 13px; font-weight: 500; text-transform: capitalize; }
.dx-head h1 { margin: 2px 0 0; font-size: 24px; letter-spacing: -.02em; }
.dx-head-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dx-live { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 500; }
.dx-live b { color: var(--ink); }
.dx-live i { width: 8px; height: 8px; border-radius: 50%; background: #12b76a; box-shadow: 0 0 0 3px rgba(18, 183, 106, .18); }
.dx-periods { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); }
.dx-periods a { padding: 5px 11px; border-radius: 7px; font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; white-space: nowrap; }
.dx-periods a:hover { color: var(--ink); text-decoration: none; }
.dx-periods a.on { color: var(--ink); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }

.dx-alert, .dx-setup { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 12px; color: var(--ink); text-decoration: none; background: var(--card); border: 1px solid var(--line); font-size: 14px; }
.dx-alert { border-inline-start: 3px solid #6366f1; }
.dx-alert:hover, .dx-setup:hover { text-decoration: none; border-color: #c7c9fd; }
.dx-alert > span:first-child { flex: 1; }
.dx-alert-go, .dx-setup-next { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13.5px; color: var(--accent); white-space: nowrap; }
.dx-setup-txt { white-space: nowrap; }
.dx-setup-bar { flex: 1; height: 6px; border-radius: 999px; background: var(--bg); overflow: hidden; }
.dx-setup-bar i { display: block; height: 100%; border-radius: inherit; background: #6366f1; }
[dir="rtl"] .dx-alert-go svg, [dir="rtl"] .dx-setup-next svg { transform: scaleX(-1); }

.dx-kpis { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; }
.dx-kpi { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px 20px; }
.dx-kpi + .dx-kpi { border-inline-start: 1px solid var(--line); }
.dx-kpi-label { font-size: 13px; font-weight: 500; color: var(--muted); }
.dx-kpi-val { font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; direction: ltr; unicode-bidi: isolate; }
.dx-kpi-val small { font-size: 13px; font-weight: 600; color: var(--muted); }
.dx-delta { font-size: 12.5px; font-weight: 600; color: #067647; direction: ltr; unicode-bidi: isolate; }
.dx-delta.down { color: #b42318; }
.dx-delta.flat { color: var(--muted); }

.dx .legend { display: flex; gap: 14px; font-size: 12.5px; color: var(--muted); font-weight: 500; }
.lg-sales::before { background: #6366f1; height: 3px !important; vertical-align: 3px !important; }
.dx .lg-orders::before { background: #c7d2fe; }
.dx-chart { position: relative; height: 280px; }
.dx-chart svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: visible; }
.dx-gridline { stroke: var(--line); }
.dx-bar { fill: #c7d2fe; }
.dx-line { fill: none; stroke: #6366f1; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.dx-axis { font-size: 11px; fill: var(--muted); text-anchor: middle; }
.dx-cursor { stroke: var(--line-2); stroke-width: 1; }
.dx-dot { fill: #fff; stroke: #6366f1; stroke-width: 2; }
.dx-tip { position: absolute; top: 0; z-index: 2; display: flex; flex-direction: column; gap: 1px; padding: 8px 11px; border-radius: 9px; color: #fff; background: #111827; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .35); pointer-events: none; white-space: nowrap; font-size: 12.5px; }
.dx-tip small { color: #9ca3af; text-transform: capitalize; }
.dx-tip b { font-size: 14.5px; direction: ltr; unicode-bidi: isolate; }
.dx-tip span { color: #d1d5db; }

.dx-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.dx-side { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.dx-count { font-size: 13px; font-weight: 600; }
.dx-stack { display: flex; gap: 2px; height: 8px; border-radius: 999px; overflow: hidden; background: var(--bg); margin-bottom: 12px; }
.dx-legend, .dx-top { list-style: none; margin: 0; padding: 0; }
.dx-legend li { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 13.5px; }
.dx-legend li span { flex: 1; }
.dx-legend i { width: 8px; height: 8px; border-radius: 50%; }
.dx-legend b, .dx-top b { font-weight: 600; }
.dx-top { counter-reset: top; }
.dx-top li { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 13.5px; border-top: 1px solid var(--line); }
.dx-top li:first-child { border-top: 0; padding-top: 0; }
.dx-top li::before { counter-increment: top; content: counter(top); flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; font-size: 12px; font-weight: 700; color: var(--muted); background: var(--bg); }
.dx-top-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 1000px) {
  .dx-grid { grid-template-columns: minmax(0, 1fr); }
  .dx-kpis { grid-template-columns: 1fr 1fr; }
  .dx-kpi:nth-child(3) { border-inline-start: 0; }
  .dx-kpi:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .dx-head h1 { font-size: 21px; }
  .dx-head-actions { width: 100%; }
  .dx-periods { flex: 1; } .dx-periods a { flex: 1; text-align: center; }
  .dx-head-actions .btn { width: 100%; }
  .dx-kpi { padding: 14px; }
  .dx-kpi-val { font-size: 21px; }
  .dx-setup { flex-wrap: wrap; } .dx-setup-bar { order: 3; flex-basis: 100%; }
  .dx-chart { height: 220px; }
}
.dx-alert-plan { border-inline-start-color: #f79009; }

/* --------------------------------------------- AI landing studio */
.ais-crumb a { color: inherit; }
.ais-title { display: flex; align-items: center; gap: 10px; }
.ais-title .icon { color: #a855f7; }
.ais-head-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ais-head-actions .btn { display: inline-flex; align-items: center; gap: 6px; }
.ais { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.ais-main { display: grid; gap: 16px; min-width: 0; }
.ais-main .card { margin: 0; }
.ais-quota b { color: var(--ink); }
.ais-styles { display: flex; flex-wrap: wrap; gap: 8px; }
.ais-style { position: relative; cursor: pointer; margin: 0 !important; }
.ais-style input { position: absolute; opacity: 0; pointer-events: none; }
.ais-style span { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 600; font-size: 14px; color: var(--ink-2); transition: all .15s var(--ease, ease); }
.ais-style input:checked + span { color: #fff; border-color: transparent; background: linear-gradient(135deg, #6366f1, #a855f7, #d946ef); box-shadow: 0 6px 18px -8px rgba(139, 92, 246, .8); }
.ais-style input:focus-visible + span { outline: 2px solid #8b5cf6; outline-offset: 2px; }
.ais .field-row > .field { flex: 0 1 220px; }
.ais .field-row > .ais-notes { flex: 1 1 300px; }
.ais .field-row > .ais-sm { flex: 1 1 200px; }
.ais-hint { margin: 0 0 14px; font-size: 13px; color: var(--muted); }
.ais-gen .form-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 0; }
.ais-gen .btn { display: inline-flex; align-items: center; gap: 6px; }
.ais-gen form.is-busy .btn-primary { opacity: .8; cursor: progress; }
.ais-gen form.is-busy .btn-primary .icon { animation: aisSpin 1.2s linear infinite; }
@keyframes aisSpin { to { transform: rotate(360deg); } }
.ais-warn { font-size: 13px; }
.ais-editor { display: grid; gap: 16px; }
.ais-row { display: grid; gap: 8px; margin-bottom: 8px; }
.ais-row-3 { grid-template-columns: 56px minmax(0, 1fr) minmax(0, 2fr); }
.ais-row-r { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 3fr); }
.ais-row-q { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
.ais-row input { width: 100%; padding: 9px 12px; border: 1px solid var(--line-2); border-radius: 10px; font: inherit; font-size: 14px; background: var(--field-bg, #fff); color: inherit; }
.ais-row-3 input:first-child { text-align: center; font-size: 18px; padding: 6px; }
.ais-row input:focus { outline: none; border-color: #8b5cf6; box-shadow: 0 0 0 3px rgba(139, 92, 246, .18); }
.ais-features { margin: 12px 0 0; }
.ais-savebar { position: sticky; bottom: 12px; z-index: 5; display: flex; justify-content: space-between; gap: 10px; padding: 12px; border-radius: 14px; background: color-mix(in srgb, var(--card, #fff) 88%, transparent); backdrop-filter: blur(10px); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.ais-del { color: var(--danger) !important; }
.ais-empty { text-align: center; padding: 40px 24px; }
.ais-empty h2 { margin: 18px 0 8px; }
.ais-empty p { max-width: 460px; margin: 0 auto; }
.ais-empty-art { display: inline-grid; gap: 6px; width: 150px; padding: 14px; border-radius: 16px; background: linear-gradient(135deg, rgba(99, 102, 241, .1), rgba(217, 70, 239, .1)); border: 1px solid rgba(139, 92, 246, .25); }
.ais-empty-art i { height: 10px; border-radius: 5px; background: linear-gradient(90deg, #6366f1, #d946ef); opacity: .35; animation: aisLine 2.4s ease-in-out infinite; }
.ais-empty-art i:nth-child(1) { width: 60%; justify-self: center; opacity: .9; height: 14px; }
.ais-empty-art i:nth-child(2) { animation-delay: .2s; } .ais-empty-art i:nth-child(3) { width: 80%; animation-delay: .4s; } .ais-empty-art i:nth-child(4) { width: 50%; justify-self: center; height: 16px; opacity: .8; animation-delay: .6s; }
@keyframes aisLine { 50% { transform: scaleX(.85); } }
.ais-side { position: sticky; top: 20px; }
.ais-phone { height: min(720px, calc(100vh - 120px)); border-radius: 34px; padding: 10px; background: #0b1020; box-shadow: 0 30px 60px -30px rgba(17, 24, 39, .6), inset 0 0 0 1px rgba(255, 255, 255, .08); display: flex; flex-direction: column; }
.ais-phone-bar { position: relative; display: flex; justify-content: center; align-items: center; height: 22px; }
.ais-phone-bar span { width: 80px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .18); }
.ais-reload { position: absolute; inset-inline-end: 10px; top: 0; width: 22px; height: 22px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; font-size: 13px; line-height: 1; }
.ais-phone iframe { flex: 1; width: 100%; border: 0; border-radius: 24px; background: #fff; }
.ais-phone-empty { flex: 1; display: grid; place-items: center; margin: 0; padding: 24px; text-align: center; border-radius: 24px; color: #a5b4fc; background: radial-gradient(80% 60% at 50% 30%, rgba(139, 92, 246, .25), transparent), #111827; font-size: 14px; }
.ais-side-note { margin: 10px 4px 0; font-size: 13px; text-align: center; }
@media (max-width: 1100px) { .ais { grid-template-columns: 1fr; } .ais-side { position: static; } .ais-phone { height: 640px; max-width: 380px; margin: 0 auto; } }
@media (max-width: 600px) { .ais-row-3 { grid-template-columns: 48px 1fr; } .ais-row-3 input:last-child { grid-column: 1 / -1; } .ais-row-r, .ais-row-q { grid-template-columns: 1fr 1fr; } .ais-row-r input:last-child { grid-column: 1 / -1; } .ais-row-q { grid-template-columns: 1fr; } }
.ais-editor input, .ais-editor textarea { unicode-bidi: plaintext; }

/* --------------------------------------------- AI product creation + AI photos */
.btn-ai { display: inline-flex; align-items: center; gap: 6px; color: #fff !important; border: 0; background: linear-gradient(135deg, #6366f1, #a855f7, #d946ef); box-shadow: 0 8px 22px -10px rgba(168, 85, 247, .9); }
.btn-ai:hover { filter: brightness(1.08); }
.page-head-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ain-sub { margin: 6px 0 0; max-width: 640px; }
.ain { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.ain-form { margin: 0; }
.ain-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; margin-bottom: 18px; border-radius: 14px; background: var(--bg-2, rgba(127, 127, 127, .08)); border: 1px solid var(--line); }
.ain-tabs a { padding: 11px 12px; border-radius: 10px; text-align: center; font-weight: 700; font-size: 14px; color: var(--muted); text-decoration: none; }
.ain-tabs a.on { color: #fff; background: linear-gradient(135deg, #6366f1, #a855f7, #d946ef); box-shadow: 0 6px 18px -8px rgba(139, 92, 246, .8); }
.ain-drop { position: relative; display: grid; place-items: center; min-height: 230px; margin-bottom: 16px; border-radius: 16px; border: 2px dashed rgba(139, 92, 246, .45); background: radial-gradient(70% 70% at 50% 30%, rgba(139, 92, 246, .1), transparent); cursor: pointer; overflow: hidden; transition: border-color .15s; }
.ain-drop:hover { border-color: #a855f7; }
.ain-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ain-drop img { max-height: 300px; max-width: 100%; object-fit: contain; }
.ain-drop-txt { display: grid; justify-items: center; gap: 6px; padding: 20px; text-align: center; pointer-events: none; }
.ain-drop-txt b { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, #6366f1, #d946ef); }
.ain-drop-txt small { color: var(--muted); }
.ain .field-row > .field { flex: 1 1 200px; }
.ain-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 0; }
.ain-actions .btn { display: inline-flex; align-items: center; gap: 8px; }
.ain-form.is-busy .btn-primary .icon { animation: aisSpin 1.2s linear infinite; }
.ain-steps { margin: 0; position: sticky; top: 20px; }
.ain-steps h2 { font-size: 16px; margin-bottom: 14px; }
.ain-steps ol { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 14px; }
.ain-steps li { display: flex; gap: 12px; align-items: flex-start; }
.ain-steps li > b { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: #fff; font-size: 13px; background: linear-gradient(135deg, #6366f1, #d946ef); }
.ain-steps li span { display: grid; gap: 2px; }
.ain-steps small { color: var(--muted); }
.ais-new { margin: 0; padding: 12px 16px; border-radius: 12px; background: linear-gradient(135deg, rgba(99, 102, 241, .1), rgba(217, 70, 239, .1)); border: 1px solid rgba(139, 92, 246, .3); }
.ais-photos .card-head h2 { display: flex; align-items: center; gap: 8px; }
.ais-kinds { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 6px; }
.ais-kinds .btn { display: inline-flex; align-items: center; gap: 6px; }
.ais-photo-status { min-height: 20px; margin: 4px 0 10px; font-size: 13px; }
.ais-photo-status.err { color: var(--danger); }
.ais-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.ais-gallery:empty { display: none; }
.ais-gallery img, .ais-ph { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.ais-ph { background: linear-gradient(110deg, rgba(139, 92, 246, .08) 30%, rgba(217, 70, 239, .25) 50%, rgba(139, 92, 246, .08) 70%); background-size: 250% 100%; animation: aisShimmer 1.4s linear infinite; }
@keyframes aisShimmer { to { background-position: -150% 0; } }
@media (max-width: 960px) { .ain { grid-template-columns: 1fr; } .ain-steps { position: static; } }

.ais-drop { position: relative; display: flex; align-items: center; gap: 14px; margin: 4px 0 12px; padding: 16px; border-radius: 14px; border: 2px dashed rgba(139, 92, 246, .45); background: radial-gradient(70% 90% at 0% 50%, rgba(139, 92, 246, .1), transparent); cursor: pointer; transition: border-color .15s; }
.ais-drop:hover { border-color: #a855f7; }
.ais-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ais-drop > b { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: #fff; background: linear-gradient(135deg, #6366f1, #d946ef); }
.ais-drop span { display: grid; gap: 2px; }
.ais-drop small { color: var(--muted); }
.ais-drop.is-full { opacity: .6; cursor: not-allowed; }
.ais-drop.is-busy { opacity: .7; }
.ais-drop.is-busy > b .icon { animation: aisSpin 1.2s linear infinite; }
.ais-thumb { position: relative; }
.ais-thumb em { position: absolute; left: 6px; bottom: 6px; padding: 2px 7px; border-radius: 999px; font-size: 10px; font-style: normal; font-weight: 700; color: #fff; background: rgba(17, 24, 39, .75); }
.ais-thumb button { position: absolute; top: 4px; inset-inline-end: 4px; width: 22px; height: 22px; border: 0; border-radius: 50%; color: #fff; background: rgba(17, 24, 39, .7); cursor: pointer; font-size: 15px; line-height: 1; opacity: 0; transition: opacity .15s; }
.ais-thumb:hover button, .ais-thumb button:focus-visible { opacity: 1; }
@media (hover: none) { .ais-thumb button { opacity: 1; } }

/* --------------------------------------------- Landing: light / dark toggle */
.theme-toggle { position: relative; display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--glass-line-2); background: rgba(255,255,255,.06); color: var(--ink); cursor: pointer; transition: background .2s, transform .2s; }
.theme-toggle:hover { background: rgba(255,255,255,.12); transform: rotate(-12deg); }
.theme-toggle svg { grid-area: 1 / 1; transition: opacity .3s, transform .4s var(--ease, ease); }
.theme-toggle .tt-moon { opacity: 0; transform: rotate(-60deg) scale(.6); }
[data-theme="light"] .theme-toggle .tt-sun { opacity: 0; transform: rotate(60deg) scale(.6); }
[data-theme="light"] .theme-toggle .tt-moon { opacity: 1; transform: none; }
.theme-anim, .theme-anim * { transition: background-color .4s ease, color .4s ease, border-color .4s ease, box-shadow .4s ease !important; }

/* Dark palette, refined: deeper night, violet to cyan aurora */
.site { --night: #05071a; background: radial-gradient(1200px 620px at 50% -10%, #17154a 0%, var(--night) 62%); }
.site .aurora i:nth-child(1) { background: #6d28d9; }
.site .aurora i:nth-child(2) { background: #c026d3; }
.site .aurora i:nth-child(3) { background: #06b6d4; opacity: .28; }

/* Light mode */
[data-theme="light"] .site {
  --night: #f7f7fc; --night-2: #ffffff;
  --glass: rgba(255,255,255,.78); --glass-2: #ffffff;
  --glass-line: rgba(30,27,75,.09); --glass-line-2: rgba(30,27,75,.16);
  --ink: #0d1030; --ink-2: #3c4163; --muted: #676d92;
  --line: var(--glass-line); --line-2: var(--glass-line-2);
  --card: #ffffff; --accent: #6d28d9; --accent-soft: rgba(109,40,217,.08);
  color-scheme: light;
  background: radial-gradient(1100px 560px at 50% -12%, #e9e5ff 0%, var(--night) 60%);
}
[data-theme="light"] .site::before { opacity: .025; }
[data-theme="light"] .site .aurora i { opacity: .22; }
[data-theme="light"] .site .aurora i:nth-child(3) { opacity: .14; }
[data-theme="light"] .site .aurora::after { background-image: linear-gradient(rgba(30,27,75,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(30,27,75,.05) 1px, transparent 1px); }
[data-theme="light"] .site .card, [data-theme="light"] .site .feature-grid article, [data-theme="light"] .site .steps li,
[data-theme="light"] .site .faq details, [data-theme="light"] .site .numbers > div, [data-theme="light"] .site .plans .plan {
  background: rgba(255,255,255,.82); border-color: var(--glass-line); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 18px 40px -28px rgba(30,27,75,.28);
}
[data-theme="light"] .site .site-nav { background: rgba(255,255,255,.62); border-color: var(--glass-line); }
[data-theme="light"] .site .site-nav.scrolled { background: rgba(255,255,255,.9); box-shadow: 0 16px 34px -24px rgba(30,27,75,.35); }
[data-theme="light"] .site .site-nav .link:hover, [data-theme="light"] .site .brand { color: var(--ink); }
[data-theme="light"] .site .btn-ghost { background: #fff; color: var(--ink); border-color: var(--glass-line-2); }
[data-theme="light"] .site .btn-ghost:hover { background: #f3f2ff; border-color: rgba(109,40,217,.35); }
[data-theme="light"] .theme-toggle { background: #fff; color: #4c1d95; }
[data-theme="light"] .theme-toggle:hover { background: #f3f2ff; }
[data-theme="light"] .site .eyebrow { background: #fff; color: #4c1d95; border-color: rgba(109,40,217,.2); }
[data-theme="light"] .site .hero h1, [data-theme="light"] .site .section-head h2, [data-theme="light"] .site .plan-price,
[data-theme="light"] .site .faq summary, [data-theme="light"] .site h2, [data-theme="light"] .site h3 { color: var(--ink); }
[data-theme="light"] .site .hero h1 em { background-image: linear-gradient(90deg, #4f46e5, #9333ea, #c026d3, #4f46e5); }
[data-theme="light"] .site .lead, [data-theme="light"] .site .trust, [data-theme="light"] .site .section-head p,
[data-theme="light"] .site .feature-grid p, [data-theme="light"] .site .steps li p, [data-theme="light"] .site .muted { color: var(--muted); }
[data-theme="light"] .site .kicker { color: #7c3aed; }
[data-theme="light"] .site .marquee span { color: var(--ink-2); background: #fff; }
[data-theme="light"] .site .numbers strong { background-image: linear-gradient(180deg, #1e1b4b, #6d28d9); }
[data-theme="light"] .site .float-card { background: rgba(255,255,255,.85); color: var(--ink); box-shadow: 0 20px 40px -22px rgba(30,27,75,.35); }
[data-theme="light"] .site .fc-icon { background: #f1f0ff; }
[data-theme="light"] .site .phone { box-shadow: 0 40px 80px -34px rgba(30,27,75,.45), 0 0 0 1px rgba(30,27,75,.1), inset 0 0 0 2px #23284a; }
[data-theme="light"] .site .plan-highlight { background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; }
[data-theme="light"] .site .plan-dark { background: radial-gradient(400px 220px at 0% 0%, rgba(217,70,239,.1), transparent 70%), #fff; }
[data-theme="light"] .site .plans .plan:hover, [data-theme="light"] .site .feature-grid article:hover { box-shadow: 0 30px 60px -34px rgba(30,27,75,.4); }
[data-theme="light"] .site .faq summary::after { background: #f1f0ff; color: #6d28d9; }
[data-theme="light"] .site .site-footer { color: var(--muted); }
[data-theme="light"] .site .site-footer a { color: var(--ink-2); }
[data-theme="light"] .site .ticks li strong, [data-theme="light"] .site .builder-points b { color: var(--ink); }
[data-theme="light"] .site .builder-points span { color: var(--muted); }
[data-theme="light"] .site .jr-num { color: var(--muted); }
[data-theme="light"] .site .jr-copy h3 { color: var(--ink); }
[data-theme="light"] .site .jr-copy p { color: var(--ink-2); }
[data-theme="light"] .site .carriers { border-color: var(--glass-line); }
[data-theme="light"] .site .carriers p { color: var(--ink); }
[data-theme="light"] .site .carriers p span { color: var(--muted); }
[data-theme="light"] .site .cr-row span { background: #fff; border-color: var(--glass-line); color: var(--ink-2); }
[data-theme="light"] .site .contact-band p, [data-theme="light"] .site .contact-band strong { color: var(--ink-2); }
[data-theme="light"] .site .contact-band { background: radial-gradient(600px 260px at 15% 0%, rgba(99,102,241,.22), transparent 70%), radial-gradient(500px 260px at 90% 100%, rgba(217,70,239,.18), transparent 70%), #fff; }
[data-theme="light"] .site .hero-chips span { color: var(--ink-2); background: rgba(255,255,255,.75); border-color: var(--glass-line); }
[data-theme="light"] .site .hero-chips .icon { color: #7c3aed; }
[data-theme="light"] .site .showcase-copy p, [data-theme="light"] .site .ticks li { color: var(--ink-2); }
[data-theme="light"] .site .plan-tag, [data-theme="light"] .site .plan-price small { color: var(--muted); }
[data-theme="light"] .site .ticker { background: linear-gradient(90deg, rgba(99,102,241,.07), rgba(217,70,239,.07)); }
[data-theme="light"] .site .ticker span { color: var(--ink); background: rgba(255,255,255,.9); border-color: rgba(109,40,217,.16); box-shadow: 0 6px 16px -12px rgba(30,27,75,.35); }
[data-theme="light"] .site .ticker-row:nth-child(1) span:nth-child(3n+1) .icon, [data-theme="light"] .site .ticker span .icon { color: #6d28d9; }
[data-theme="light"] .site .ticker-row:nth-child(1) span:nth-child(3n+2) .icon { color: #c026d3; }
[data-theme="light"] .site .ticker-row:nth-child(2) span:nth-child(3n) .icon { color: #0891b2; }
/* mobile nav: keep language + theme reachable */
@media (max-width: 820px) {
  .site-nav .site-lang { display: inline-flex; }
  .site-nav nav { gap: 8px; }
}
@media (max-width: 640px) {
  .site-nav .site-lang { height: 36px; padding: 0 10px; font-size: 13px; }
  .site-nav .theme-toggle { width: 36px; height: 36px; flex: none; }
  .site-nav .btn-shine, .site-nav .btn-primary { padding: 0 12px; height: 36px; font-size: 13px; }
}
@media (max-width: 380px) { .site-nav .brand { font-size: 0; gap: 0; } }
[data-theme="light"] .site .hv-card { background: rgba(255,255,255,.88); border-color: rgba(109,40,217,.14); color: var(--ink); box-shadow: 0 24px 50px -24px rgba(30,27,75,.45); }
[data-theme="light"] .site .hv-card small, [data-theme="light"] .site .hv-card time { color: var(--muted); }

/* AI credit packs strip under the plans */
.site .credit-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; max-width: 900px; margin: 18px auto 0; padding: 16px 18px; border-radius: 16px; border: 1px dashed rgba(139, 92, 246, .45); text-align: center; }
.site .credit-strip strong { width: 100%; }
.site .credit-chip { padding: 6px 12px; border-radius: 999px; background: rgba(139, 92, 246, .12); font-weight: 700; font-size: 14px; }
.site .credit-chip.best { background: linear-gradient(135deg, #6366f1, #8b5cf6); color: #fff; }
.site .credit-strip small { width: 100%; }

.site .plan-limits { border-color: var(--glass-line-2, rgba(255,255,255,.12)); }
.site .plan-limits dt { color: #fff; }
.site .plan-limits dd, .site .plan-inc { color: var(--muted); }
[data-theme="light"] .site .plan-limits { border-color: #e6e8ef; }
[data-theme="light"] .site .plan-limits dt { color: #0b1020; }

/* Phones: the big blurred, animated glows made scrolling stutter. Keep them still and lighter,
   and keep the floating hero cards inside the screen. */
@media (max-width: 640px) {
  .aurora, .aurora i, .hv-glow, .auth::before, .auth::after { animation: none !important; transform: none !important; }
  .site .aurora i, .hv-glow { filter: blur(60px); }
  .hv-glow { width: 300px; height: 300px; left: 50%; margin-left: -150px; }
  .hv { overflow: hidden; }
  .hv-card { animation: none; max-width: calc(100vw - 32px); }
  .scroll-progress { display: none; }
}
