/* ============================================================
   تجارة+ | Tijara Plus — Design System
   Algerian affiliate & dropshipping platform (Arabic / RTL)
   ============================================================ */

/* ---------- Fonts ---------- */
/* Keep the app usable without waiting for a third-party font stylesheet. The
   system Arabic fonts below are already listed in the design tokens. */

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --brand-900: #0A1F44;
  --brand-800: #0E2A5C;
  --brand-700: #123A8C;
  --brand-600: #1D4ED8;
  --brand-500: #3B6BF5;
  --brand-400: #6E93FB;
  --brand-100: #DCE6FF;
  --brand-50:  #EEF3FF;

  /* Accent (money / growth) */
  --accent-700: #006B46;
  --accent-800: #005639;
  --accent-600: #00A97A;
  --accent-500: #00C48C;
  --accent-100: #C9F5E7;
  --accent-50:  #E9FBF5;

  /* Support */
  --gold-600: #D98700;
  --gold-500: #F5A524;
  --gold-50:  #FFF6E5;
  --rose-600: #BE123C;
  --rose-50:  #FFECF1;

  /* Neutrals */
  --ink: #0F172A;
  --ink-2: #334155;
  --muted: #55647F;
  --muted-2: #5A6982;
  --line: #E6EAF3;
  --line-2: #EEF1F8;
  --bg: #FFFFFF;
  --bg-alt: #F6F8FD;
  --bg-dark: #0A1F44;

  /* Shape */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 999px;

  /* Elevation */
  --sh-xs: 0 1px 2px rgba(15, 23, 42, .06);
  --sh-sm: 0 2px 8px rgba(15, 23, 42, .06);
  --sh-md: 0 8px 24px rgba(15, 23, 42, .08);
  --sh-lg: 0 18px 50px rgba(15, 23, 42, .12);
  --sh-brand: 0 14px 30px rgba(29, 78, 216, .28);

  /* Layout */
  --container: 1180px;
  --header-h: 76px;

  /* Type */
  --font-body: 'Tajawal', 'Cairo', 'Segoe UI', Tahoma, sans-serif;
  --font-head: 'Noto Kufi Arabic', 'Tajawal', 'Cairo', 'Segoe UI', Tahoma, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand-600); }
img, svg { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }

::selection { background: var(--brand-100); color: var(--brand-800); }

:focus-visible {
  outline: 3px solid rgba(29, 78, 216, .45);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: #C7D2E8; border-radius: 99px; border: 3px solid var(--bg-alt); }
::-webkit-scrollbar-thumb:hover { background: var(--brand-400); }

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 22px;
}

.section { padding-block: clamp(56px, 7vw, 104px); position: relative; }
.section--tight { padding-block: clamp(44px, 5vw, 72px); }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--brand-900); color: rgba(255, 255, 255, .82); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.max-720 { max-width: 720px; }
.max-860 { max-width: 860px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  color: var(--brand-700);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  padding: 6px 14px;
  border-radius: var(--r-full);
  margin-bottom: 16px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-500); }
.eyebrow--accent { color: var(--accent-700); background: var(--accent-50); border-color: var(--accent-100); }

.section-title {
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -.5px;
}
.section-sub {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.09rem);
  max-width: 660px;
  margin-inline: auto;
}

.hl { color: var(--brand-600); }
.hl-accent { color: var(--accent-700); }
.grad-text {
  background: linear-gradient(100deg, var(--brand-600), var(--accent-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.muted { color: var(--muted); }
.small { font-size: .875rem; }
.tiny { font-size: .78rem; }
.strong { font-weight: 700; color: var(--ink); }
.nowrap { white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--brand-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1;
  padding: 13px 22px;
  border-radius: var(--r-md);
  border: 1.5px solid transparent;
  transition: transform .18s var(--ease), box-shadow .22s var(--ease),
              background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
  white-space: nowrap;
  text-align: center;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* Inline spinner for submitting buttons */
.spinner {
  width: 16px; height: 16px; flex: none;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  display: inline-block;
  vertical-align: -3px;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.btn-primary {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-700));
  color: #fff;
  box-shadow: var(--sh-brand);
}
.btn-primary:hover { color: #fff; box-shadow: 0 18px 38px rgba(29, 78, 216, .36); }

.btn-accent {
  background: linear-gradient(135deg, var(--accent-700), #00734B);
  color: #fff;
  box-shadow: 0 14px 30px rgba(0, 169, 122, .3);
}
.btn-accent:hover { color: #fff; box-shadow: 0 18px 38px rgba(0, 169, 122, .38); }

.btn-dark { background: var(--brand-900); color: #fff; }
.btn-dark:hover { background: var(--brand-800); color: #fff; }

.btn-ghost {
  background: #fff;
  color: var(--brand-700);
  border-color: var(--line);
  box-shadow: var(--sh-xs);
}
.btn-ghost:hover { border-color: var(--brand-400); color: var(--brand-700); background: var(--brand-50); }

.btn-outline-light {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .35);
  color: #fff;
  backdrop-filter: blur(6px);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, .16); color: #fff; }

.btn-white { background: #fff; color: var(--brand-700); box-shadow: var(--sh-md); }
.btn-white:hover { color: var(--brand-800); }

.btn-sm { padding: 9px 16px; font-size: .86rem; border-radius: var(--r-sm); }
.btn-lg { padding: 16px 30px; font-size: 1.02rem; border-radius: var(--r-lg); max-width: 100%; }
.btn-lg .ic { flex: none; }
.text-center .btn-lg { margin-inline: auto; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--brand-600);
  font-size: .93rem;
}
.btn-link svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.btn-link:hover svg { transform: translateX(-4px); }

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card--pad { padding: clamp(20px, 2.4vw, 30px); }
.card--hover:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: var(--brand-100); }

/* ---------- Badges & pills ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: .76rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: var(--r-full);
  background: var(--bg-alt);
  color: var(--ink-2);
  border: 1px solid var(--line);
}
.pill--brand { background: var(--brand-50); color: var(--brand-700); border-color: var(--brand-100); }
.pill--accent { background: var(--accent-50); color: var(--accent-700); border-color: var(--accent-100); }
.pill--gold { background: var(--gold-50); color: var(--gold-600); border-color: #FBE3B4; }
.pill--rose { background: var(--rose-50); color: var(--rose-600); border-color: #FBD0DA; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: .74rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: var(--r-full);
  white-space: nowrap;
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status--new { background: var(--brand-50); color: var(--brand-700); }
.status--confirmed { background: var(--accent-50); color: var(--accent-700); }
.status--shipping { background: var(--gold-50); color: var(--gold-600); }
.status--delivered { background: #EDFCF3; color: #0F7B4F; }
.status--canceled { background: var(--rose-50); color: var(--rose-600); }

/* ---------- Icon helper ---------- */
.ic { width: 22px; height: 22px; flex: none; }
.ic-sm { width: 17px; height: 17px; flex: none; }
.ic-lg { width: 28px; height: 28px; flex: none; }

.icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--brand-50), #fff);
  border: 1px solid var(--brand-100);
  color: var(--brand-600);
  flex: none;
}
.icon-box .ic { width: 26px; height: 26px; }
.icon-box--accent { background: linear-gradient(140deg, var(--accent-50), #fff); border-color: var(--accent-100); color: var(--accent-700); }
.icon-box--gold { background: linear-gradient(140deg, var(--gold-50), #fff); border-color: #FBE3B4; color: var(--gold-600); }
.icon-box--solid {
  background: linear-gradient(140deg, var(--brand-600), var(--brand-700));
  border-color: transparent;
  color: #fff;
  box-shadow: var(--sh-brand);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease), background-color .25s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(15, 23, 42, .07); }

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.22rem;
  color: var(--ink);
  flex: none;
}
.logo:hover { color: var(--ink); }
.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: linear-gradient(140deg, var(--brand-500), var(--brand-700));
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 8px 20px rgba(29, 78, 216, .3);
  position: relative;
  overflow: hidden;
  flex: none;
}
.logo-mark::after {
  content: "";
  position: absolute;
  inset-inline-end: -14px;
  top: -14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-500);
  opacity: .9;
}
.logo-mark .ic { width: 21px; height: 21px; position: relative; z-index: 1; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text .word {
  font-family: 'Poppins', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-weight: 800;
  font-size: 1.04em;
  letter-spacing: -.6px;
  white-space: nowrap;
  direction: ltr;
  unicode-bidi: isolate;
  line-height: 1.15;
}
.logo-text .plus { color: var(--accent-600); }
.logo-text small {
  font-family: var(--font-body);
  font-size: .62rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .4px;
}

/* Nav */
.main-nav { margin-inline-start: auto; }
.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: block;
  font-family: var(--font-head);
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink-2);
  padding: 9px 14px;
  border-radius: var(--r-sm);
  transition: color .18s var(--ease), background-color .18s var(--ease);
  position: relative;
}
.main-nav a:hover { color: var(--brand-600); background: var(--brand-50); }
.main-nav a.is-active { color: var(--brand-700); }
.main-nav a.is-active::after {
  content: "";
  position: absolute;
  inset-inline: 14px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-600);
}

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.site-header--signup .header-inner { height: auto; min-height: var(--header-h); flex-wrap: wrap; padding-block: 10px; gap: 10px 18px; }
.site-header--signup .header-actions { margin-inline-start: auto; }
.site-header--signup .main-nav { order: 1; flex-basis: 100%; }
.site-header--signup .main-nav ul { justify-content: center; flex-wrap: wrap; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: #fff;
  place-items: center;
  color: var(--ink);
  box-shadow: var(--sh-xs);
}
.nav-toggle .ic { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
body.nav-open .nav-toggle .icon-close { display: block; }
body.nav-open .nav-toggle .icon-menu { display: none; }

/* Mobile drawer */
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--sh-lg);
  padding: 18px 22px 26px;
  z-index: 99;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform .28s var(--ease), opacity .28s var(--ease);
}
body.nav-open .mobile-nav { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-nav ul { display: grid; gap: 2px; margin-bottom: 16px; }
.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-head);
  font-weight: 600;
  padding: 13px 12px;
  border-radius: var(--r-sm);
  border-bottom: 1px solid var(--line-2);
}
.mobile-nav a:hover { background: var(--brand-50); color: var(--brand-700); }
.mobile-nav .btn { width: 100%; }
.mobile-nav .mobile-cta { display: grid; gap: 10px; }
.mobile-nav .mobile-contact {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  color: var(--muted);
  font-size: .84rem;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding-block: clamp(44px, 6vw, 86px) clamp(56px, 7vw, 96px);
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 88% -8%, rgba(59, 107, 245, .16), transparent 62%),
    radial-gradient(720px 420px at 4% 8%, rgba(0, 196, 140, .14), transparent 60%),
    linear-gradient(180deg, #FBFCFE 0%, #FFFFFF 70%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, .045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 75% 60% at 50% 30%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 30%, #000 30%, transparent 78%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(30px, 4vw, 62px);
  align-items: center;
}

.hero-title {
  font-size: clamp(2.05rem, 4.9vw, 3.6rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -1px;
  margin-bottom: 18px;
}
.hero-title .type-line { display: block; min-height: 1.25em; }
.hero-title .caret {
  display: inline-block;
  width: 3px;
  height: .95em;
  vertical-align: -.1em;
  background: var(--accent-500);
  margin-inline-start: 4px;
  animation: blink 1s step-end infinite;
  border-radius: 2px;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.hero-lead {
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 26px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  color: var(--muted);
  font-size: .88rem;
}
.hero-trust li { display: flex; align-items: center; gap: 7px; }
.hero-trust .ic { width: 18px; height: 18px; color: var(--accent-600); }

/* Hero visual */
.hero-visual { position: relative; min-width: 0; }
.hero-phone {
  position: relative;
  width: min(330px, 100%);
  margin-inline: auto;
  background: linear-gradient(165deg, #0B2350, #061631);
  border-radius: 40px;
  padding: 13px;
  box-shadow: 0 30px 70px rgba(10, 31, 68, .35);
  border: 1px solid rgba(255, 255, 255, .12);
}
.hero-phone::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .18);
}
.phone-screen {
  background: #F4F7FE;
  border-radius: 30px;
  padding: 30px 18px 20px;
  overflow: hidden;
}
.phone-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.phone-head .who { display: flex; align-items: center; gap: 9px; }
.phone-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(140deg, var(--brand-500), var(--accent-500));
  display: grid; place-items: center; color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: .82rem;
}
.phone-head .name { font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--ink); line-height: 1.2; }
.phone-head .name span { display: block; font-family: var(--font-body); font-weight: 400; font-size: .7rem; color: var(--muted); }
.phone-head .ic { width: 18px; height: 18px; color: var(--muted); }

.phone-balance {
  background: linear-gradient(140deg, var(--brand-700), var(--brand-600));
  border-radius: 18px;
  padding: 15px 16px;
  color: #fff;
  box-shadow: 0 12px 26px rgba(29, 78, 216, .3);
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}
.phone-balance::after {
  content: ""; position: absolute; inset-inline-end: -20px; top: -26px;
  width: 78px; height: 78px; border-radius: 50%; background: rgba(255, 255, 255, .12);
}
.phone-balance small { font-size: .72rem; opacity: .85; display: block; }
.phone-balance b { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; letter-spacing: -.5px; }
.phone-balance .trend {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .72rem; background: rgba(255, 255, 255, .18);
  padding: 3px 9px; border-radius: 99px; margin-top: 8px;
}
.phone-balance .trend .ic { width: 13px; height: 13px; }

.phone-rows { display: grid; gap: 8px; }
.phone-row {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 9px 11px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.phone-row .thumb {
  width: 34px; height: 34px; border-radius: 9px; flex: none;
  background: var(--brand-50); display: grid; place-items: center; color: var(--brand-600);
}
.phone-row .thumb .ic { width: 17px; height: 17px; }
.phone-row .meta { flex: 1; min-width: 0; }
.phone-row .meta b { display: block; font-family: var(--font-head); font-size: .78rem; color: var(--ink); font-weight: 700; }
.phone-row .meta span { font-size: .68rem; color: var(--muted); }
.phone-row .amt { font-family: var(--font-head); font-weight: 800; font-size: .84rem; color: var(--accent-700); flex: none; }

/* Floating cards */
.float-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 11px;
  z-index: 3;
  animation: floaty 6s ease-in-out infinite;
}
.float-card .ic { width: 20px; height: 20px; }
.float-card .fc-t { font-family: var(--font-head); font-weight: 800; font-size: 1.02rem; color: var(--ink); line-height: 1.2; }
.float-card .fc-s { font-size: .72rem; color: var(--muted); }
.float-card--commission {
  inset-inline-start: -14px;
  top: 16%;
  border-color: var(--accent-100);
}
.float-card--commission .ic { color: var(--accent-600); }
.float-card--commission .fc-t { color: var(--accent-700); }
.float-card--orders {
  inset-inline-end: -18px;
  bottom: 14%;
  animation-delay: 1.6s;
  border-color: var(--brand-100);
}
.float-card--orders .ic { color: var(--brand-600); }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-11px); }
}

/* ---------- Logo / marquee strip ---------- */
.strip {
  border-block: 1px solid var(--line);
  background: #fff;
  padding-block: 20px;
  overflow: hidden;
}
.strip-label {
  text-align: center;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 14px;
}
.marquee { display: flex; gap: 14px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 14px; flex: none; animation: scroll-x 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .86rem;
  color: var(--ink-2);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  padding: 8px 16px;
  white-space: nowrap;
}
.chip .ic { width: 16px; height: 16px; color: var(--brand-500); }

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band {
  background:
    radial-gradient(700px 300px at 12% 0%, rgba(0, 196, 140, .22), transparent 60%),
    radial-gradient(700px 320px at 90% 100%, rgba(59, 107, 245, .3), transparent 60%),
    var(--brand-900);
  color: #fff;
  padding-block: clamp(36px, 4.5vw, 60px);
  position: relative;
  overflow: hidden;
}
.stats-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .5;
  pointer-events: none;
}
.stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stat {
  text-align: center;
  padding: 20px 14px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(4px);
}
.stat .num {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  background: linear-gradient(180deg, #fff, #B9CCFF);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat .lbl { font-size: .9rem; color: rgba(255, 255, 255, .75); margin-top: 4px; }

/* ============================================================
   FEATURES
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: clamp(30px, 4vw, 52px);
}
.feature { padding: clamp(22px, 2.4vw, 30px); position: relative; overflow: hidden; }
.feature::after {
  content: "";
  position: absolute;
  inset-inline-end: -40px;
  top: -40px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 78, 216, .07), transparent 70%);
  transition: transform .4s var(--ease);
}
.feature:hover::after { transform: scale(1.5); }
.feature h3 { font-size: 1.13rem; margin: 16px 0 8px; }
.feature p { color: var(--muted); font-size: .95rem; }
.feature .icon-box { transition: transform .3s var(--ease); }
.feature:hover .icon-box { transform: rotate(-6deg) scale(1.05); }

/* ============================================================
   STEPS / HOW IT WORKS
   ============================================================ */
.steps-wrap { position: relative; margin-top: clamp(34px, 4vw, 54px); }
.steps-wrap::before {
  content: "";
  position: absolute;
  top: 38px;
  inset-inline: 8%;
  border-top: 2px dashed var(--brand-100);
  z-index: 0;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
  z-index: 1;
}
.step { text-align: center; padding: 26px 20px; }
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  background: #fff;
  color: var(--brand-600);
  border: 2px solid var(--brand-100);
  box-shadow: 0 8px 22px rgba(29, 78, 216, .12);
  transition: all .3s var(--ease);
}
.step:hover .step-num {
  background: linear-gradient(140deg, var(--brand-600), var(--brand-700));
  border-color: transparent;
  color: #fff;
  transform: translateY(-4px);
}
.step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .92rem; }

/* ============================================================
   PRODUCTS
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: clamp(30px, 4vw, 48px);
}
.product-card { overflow: hidden; display: flex; flex-direction: column; }
.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #fff;
  border-bottom: 1px solid var(--line-2);
  overflow: hidden;
}
.product-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.product-card:hover .product-media img { transform: scale(1.07); }
.product-media .tag-commission {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  background: linear-gradient(135deg, var(--accent-700), #00734B);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .76rem;
  padding: 5px 11px;
  border-radius: var(--r-full);
  box-shadow: 0 6px 16px rgba(0, 169, 122, .35);
}
.product-media .tag-hot {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  background: #C2410C;
  color: #fff;
  border: 1px solid #C2410C;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .72rem;
  padding: 4px 10px;
  border-radius: var(--r-full);
  display: inline-flex; align-items: center; gap: 5px;
}
.product-media .tag-hot .ic { width: 13px; height: 13px; }
.product-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-cat { font-size: .76rem; color: var(--brand-600); font-weight: 700; font-family: var(--font-head); }
.product-body h3 { font-size: 1.03rem; line-height: 1.45; }
.product-prices { display: flex; align-items: flex-end; gap: 16px; margin-top: auto; }
.price-box .lbl { font-size: .72rem; color: var(--muted); display: block; }
.price-box .val { font-family: var(--font-head); font-weight: 800; font-size: 1.02rem; color: var(--ink); }
.price-box--sale .val { color: var(--accent-700); }
.product-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; border-top: 1px dashed var(--line); padding-top: 12px;
}
.product-foot .earn { font-size: .82rem; color: var(--muted); }
.product-foot .earn b { color: var(--accent-700); font-family: var(--font-head); }

/* ============================================================
   EARNINGS CALCULATOR
   ============================================================ */
.calc-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 40px);
  align-items: center;
  margin-top: clamp(30px, 4vw, 48px);
}
.calc-panel { padding: clamp(22px, 2.6vw, 32px); }
.calc-field { margin-bottom: 26px; }
.calc-field:last-child { margin-bottom: 0; }
.calc-field .head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.calc-field .head label { font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--ink); }
.calc-field .val-badge {
  font-family: var(--font-head); font-weight: 800; font-size: 1rem;
  background: var(--brand-50); color: var(--brand-700);
  border: 1px solid var(--brand-100); border-radius: var(--r-sm);
  padding: 5px 13px;
}
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 99px;
  direction: ltr;
  background: linear-gradient(90deg, var(--brand-500) var(--pct, 50%), var(--line) var(--pct, 50%));
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--brand-600);
  box-shadow: 0 4px 12px rgba(29, 78, 216, .3);
  cursor: grab;
  transition: transform .15s var(--ease);
}
input[type="range"]::-webkit-slider-thumb:active { transform: scale(1.12); cursor: grabbing; }
input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; border: 4px solid var(--brand-600);
  box-shadow: 0 4px 12px rgba(29, 78, 216, .3); cursor: grab;
}
.range-legend { display: flex; justify-content: space-between; font-size: .74rem; color: var(--muted-2); margin-top: 7px; }

.calc-result { display: grid; gap: 16px; }
.result-main {
  background:
    radial-gradient(500px 240px at 85% 0%, rgba(0, 196, 140, .3), transparent 60%),
    linear-gradient(150deg, var(--brand-800), var(--brand-900));
  border-radius: var(--r-xl);
  padding: clamp(24px, 3vw, 34px);
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(10, 31, 68, .3);
}
.result-main::after {
  content: ""; position: absolute; inset-inline-start: -30px; bottom: -40px;
  width: 150px; height: 150px; border-radius: 50%;
  background: rgba(255, 255, 255, .07);
}
.result-main .lbl { font-size: .88rem; color: rgba(255, 255, 255, .75); display: flex; align-items: center; gap: 7px; }
.result-main .lbl .ic { width: 17px; height: 17px; color: var(--accent-500); }
.result-main .amount {
  font-family: var(--font-head);
  font-size: clamp(2.1rem, 5vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin-block: 6px 4px;
}
.result-main .amount span { font-size: .42em; font-weight: 700; opacity: .8; margin-inline-start: 6px; }
.result-main .sub { font-size: .86rem; color: rgba(255, 255, 255, .7); position: relative; z-index: 1; }
.result-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.result-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 14px; text-align: center;
}
.result-card .lbl { font-size: .76rem; color: var(--muted); }
.result-card .val { font-family: var(--font-head); font-weight: 800; font-size: 1.12rem; color: var(--ink); margin-top: 2px; }
.result-card--hl { background: var(--accent-50); border-color: var(--accent-100); }
.result-card--hl .val { color: var(--accent-700); }

/* ============================================================
   COMPARISON
   ============================================================ */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: clamp(30px, 4vw, 48px);
}
.compare-col { padding: clamp(22px, 2.6vw, 30px); }
.compare-col--good {
  border-color: var(--accent-100);
  background: linear-gradient(180deg, var(--accent-50), #fff 55%);
  box-shadow: 0 18px 44px rgba(0, 169, 122, .12);
}
.compare-col h3 { font-size: 1.15rem; display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.compare-col h3 .ic { width: 22px; height: 22px; }
.compare-col--bad h3 .ic { color: var(--rose-600); }
.compare-col--good h3 .ic { color: var(--accent-600); }
.compare-list { display: grid; gap: 12px; }
.compare-list li { display: flex; gap: 11px; align-items: flex-start; font-size: .94rem; }
.compare-list .ic { width: 20px; height: 20px; flex: none; margin-top: 4px; }
.compare-col--bad .compare-list .ic { color: var(--rose-600); }
.compare-col--good .compare-list .ic { color: var(--accent-600); }
.compare-col--good .compare-list li { color: var(--ink); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: clamp(30px, 4vw, 48px);
}
.testi { padding: clamp(22px, 2.4vw, 28px); display: flex; flex-direction: column; gap: 14px; }
.testi .stars { display: flex; gap: 3px; color: var(--gold-500); }
.testi .stars .ic { width: 17px; height: 17px; }
.testi blockquote { color: var(--ink-2); font-size: .96rem; line-height: 1.85; flex: 1; }
.testi-who { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line-2); padding-top: 14px; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: .95rem; color: #fff;
}
.avatar--1 { background: linear-gradient(140deg, #3B6BF5, #123A8C); }
.avatar--2 { background: linear-gradient(140deg, #00C48C, #00875A); }
.avatar--3 { background: linear-gradient(140deg, #F5A524, #D98700); }
.avatar--4 { background: linear-gradient(140deg, #8B5CF6, #5B21B6); }
.avatar--5 { background: linear-gradient(140deg, #06B6D4, #0E7490); }
.testi-who .n { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: .95rem; line-height: 1.3; }
.testi-who .w { font-size: .8rem; color: var(--muted); }

/* ============================================================
   PAYMENTS / TRUST
   ============================================================ */
.pay-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: clamp(28px, 3.5vw, 44px);
}
.pay-card { padding: 22px 18px; text-align: center; }
.pay-card .icon-box { margin: 0 auto 14px; }
.pay-card h4 { font-size: 1rem; margin-bottom: 5px; }
.pay-card p { font-size: .85rem; color: var(--muted); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 820px; margin: clamp(28px, 3.5vw, 44px) auto 0; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.faq-item.is-open { border-color: var(--brand-100); box-shadow: 0 10px 30px rgba(29, 78, 216, .09); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 20px;
  text-align: start;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}
.faq-q .ic { width: 22px; height: 22px; margin-inline-start: auto; color: var(--brand-600); flex: none; transition: transform .3s var(--ease); }
.faq-item.is-open .faq-q .ic { transform: rotate(180deg); }
.faq-q .q-num {
  width: 28px; height: 28px; border-radius: 8px; flex: none;
  background: var(--brand-50); color: var(--brand-700);
  display: grid; place-items: center; font-size: .8rem; font-weight: 800;
}
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a-inner { padding: 0 20px 18px 62px; color: var(--muted); font-size: .94rem; line-height: 1.85; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  padding: clamp(34px, 5vw, 64px) clamp(24px, 4vw, 56px);
  background:
    radial-gradient(600px 300px at 88% 10%, rgba(0, 196, 140, .35), transparent 60%),
    linear-gradient(140deg, var(--brand-700), var(--brand-900));
  color: #fff;
  text-align: center;
  box-shadow: 0 30px 70px rgba(10, 31, 68, .3);
}
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px);
  background-size: 20px 20px; opacity: .55; pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; margin-bottom: 14px; }
.cta-band p { color: rgba(255, 255, 255, .82); max-width: 620px; margin: 0 auto 26px; font-size: 1.03rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cta-note { margin-top: 18px; font-size: .84rem; color: rgba(255, 255, 255, .65); display: flex; align-items: center; justify-content: center; gap: 7px; }
.cta-note .ic { width: 16px; height: 16px; color: var(--accent-500); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--brand-900);
  color: rgba(255, 255, 255, .68);
  padding-top: clamp(44px, 5vw, 68px);
  margin-top: 0;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: ""; position: absolute; top: 0; inset-inline: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(24px, 3vw, 44px);
  padding-bottom: clamp(30px, 4vw, 48px);
}
.footer-brand .logo { color: #fff; }
.footer-brand .logo:hover { color: #fff; }
.footer-brand .logo-text small { color: rgba(255, 255, 255, .5); }
.footer-brand p { margin-top: 16px; font-size: .92rem; line-height: 1.85; max-width: 340px; }
.platform-social-block { margin-top: 18px; }
.platform-social-title { margin: 0 0 10px; font-size: .9rem; font-weight: 800; color: inherit; }
.platform-social-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.platform-social-links a { width: 42px; height: 42px; border-radius: 50%; display: inline-grid; place-items: center; color: var(--brand-700); background: #fff; border: 1px solid var(--line); transition: transform .2s var(--ease), color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease); }
.platform-social-links a:hover { color: #fff; background: var(--brand-600); border-color: var(--brand-600); transform: translateY(-2px); }
.platform-social-links a:focus-visible { outline: 3px solid var(--accent-500); outline-offset: 3px; }
.platform-social-links svg { width: 20px; height: 20px; fill: currentColor; }
.site-footer .platform-social-title { color: #fff; }
.site-footer .platform-social-links a { color: #fff; background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18); }
.site-footer .platform-social-links a:hover { color: var(--brand-900); background: #fff; border-color: #fff; }
.platform-social-footer { margin-top: 28px; padding: 24px 16px; background: #fff; border-top: 1px solid var(--line); text-align: center; }
.platform-social-footer .platform-social-block { display: grid; justify-items: center; margin: 0 auto; }
.lp-footer-social { display: grid; justify-items: center; margin: 0; }
.lp-footer-social .platform-social-title { color: var(--ink); }
.lp-footer-in { justify-content: center; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #fff;
  transition: all .22s var(--ease);
}
.socials a:hover { background: var(--brand-600); border-color: transparent; transform: translateY(-3px); color: #fff; }
.socials .ic { width: 18px; height: 18px; }

.footer-col h4 {
  color: #fff; font-size: 1rem; margin-bottom: 16px;
  font-family: var(--font-head); font-weight: 700;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: .92rem; transition: color .18s var(--ease), padding .18s var(--ease); display: inline-block; }
.footer-col a:hover { color: #fff; padding-inline-end: 5px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; margin-bottom: 12px; }
.footer-contact .ic { width: 18px; height: 18px; color: var(--accent-500); flex: none; margin-top: 5px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-block: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  font-size: .85rem;
}
.footer-bottom .made { display: flex; align-items: center; gap: 6px; }
.footer-bottom .made .ic { width: 15px; height: 15px; color: var(--rose-600); }
.footer-bottom-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .09s; }
.reveal[data-delay="2"] { transition-delay: .18s; }
.reveal[data-delay="3"] { transition-delay: .27s; }
.reveal[data-delay="4"] { transition-delay: .36s; }
.reveal[data-delay="5"] { transition-delay: .45s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .float-card, .caret { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   TOAST
   ============================================================ */
.toast-wrap {
  position: fixed;
  inset-block-end: 22px;
  inset-inline-start: 22px;
  z-index: 9999;
  display: grid;
  gap: 10px;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 11px;
  background: #fff;
  border: 1px solid var(--line);
  border-inline-start: 4px solid var(--accent-500);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  padding: 13px 18px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .92rem;
  color: var(--ink);
  animation: toast-in .35s var(--ease);
  max-width: 340px;
}
.toast .ic { width: 20px; height: 20px; color: var(--accent-600); flex: none; }
.toast--info { border-inline-start-color: var(--brand-500); }
.toast--info .ic { color: var(--brand-600); }
.toast.is-out { animation: toast-out .3s var(--ease) forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateY(10px) scale(.97); } }

/* ============================================================
   AUTH PAGES
   ============================================================ */
.auth-page { background: var(--bg-alt); min-height: 100vh; }
.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
}
.auth-aside {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 4vw, 58px);
  display: flex;
  flex-direction: column;
  color: #fff;
  background:
    radial-gradient(700px 380px at 80% 5%, rgba(0, 196, 140, .3), transparent 62%),
    linear-gradient(150deg, var(--brand-700), var(--brand-900));
}
.auth-aside::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px);
  background-size: 22px 22px; opacity: .5;
}
.auth-aside > * { position: relative; z-index: 1; }
.auth-aside .logo { color: #fff; }
.auth-aside .logo-text small { color: rgba(255, 255, 255, .55); }
.auth-hero-copy { margin-block: auto; }
.auth-hero-copy h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; color: #fff; margin-bottom: 14px; line-height: 1.35; }
.auth-hero-copy p { color: rgba(255, 255, 255, .78); max-width: 440px; }
.auth-points { display: grid; gap: 14px; margin-top: 28px; }
.auth-points li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: rgba(255, 255, 255, .85); }
.auth-points .ic { width: 22px; height: 22px; color: var(--accent-500); flex: none; margin-top: 3px; }
.auth-quote {
  margin-top: 34px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  backdrop-filter: blur(6px);
}
.auth-quote p { font-size: .93rem; color: rgba(255, 255, 255, .85); }
.auth-quote .who { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.auth-quote .who .n { font-family: var(--font-head); font-weight: 700; font-size: .88rem; color: #fff; line-height: 1.2; }
.auth-quote .who .w { font-size: .76rem; color: rgba(255, 255, 255, .6); }
.auth-quote .avatar { width: 38px; height: 38px; font-size: .8rem; }

.auth-main { display: grid; place-items: center; padding: clamp(26px, 4vw, 54px) 22px; }
.auth-card { width: 100%; max-width: 440px; }
.auth-card .head { margin-bottom: 26px; }
.auth-card .head h1 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); font-weight: 800; margin-bottom: 8px; }
.auth-card .head p { color: var(--muted); font-size: .95rem; }
.auth-mobile-brand { display: none; margin-bottom: 22px; }
.signup-roles { min-width: 0; border: 0; margin-bottom: 22px; }
.signup-roles legend { font-family: var(--font-head); font-weight: 800; margin-bottom: 10px; color: var(--ink); }
.signup-role-options { display: grid; gap: 10px; }
.signup-role { position: relative; cursor: pointer; }
.signup-role input { position: absolute; inset-inline-start: 14px; top: 18px; width: 19px; height: 19px; accent-color: var(--brand-600); cursor: pointer; }
.signup-role-card { display: grid; gap: 3px; border: 2px solid var(--line); border-radius: var(--r-md); background: #fff; padding: 12px 14px; padding-inline-start: 46px; }
.signup-role-card strong { font-family: var(--font-head); color: var(--ink); }
.signup-role-card > span { font-size: .88rem; color: var(--muted); }
.signup-role input:checked + .signup-role-card { border-color: var(--brand-600); background: var(--brand-50); }
.signup-role input:focus-visible + .signup-role-card { outline: 3px solid var(--brand-400); outline-offset: 3px; }
.signup-roles .hint { font-size: .78rem; color: var(--muted); margin-top: 10px; }

/* Forms */
.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--font-head); font-weight: 700; font-size: .88rem; color: var(--ink); margin-bottom: 7px; }
.field .hint { font-size: .78rem; color: var(--muted); margin-top: 6px; }
.input-wrap { position: relative; display: flex; align-items: center; }
.input-wrap > .ic {
  position: absolute;
  inset-inline-start: 14px;
  width: 19px; height: 19px;
  color: var(--muted-2);
  pointer-events: none;
}
.input {
  width: 100%;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px 15px;
  font-size: .95rem;
  color: var(--ink);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
  font-family: var(--font-body);
}
.input::placeholder { color: var(--muted-2); }
.input:hover { border-color: #CFDAEC; }
.input:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(29, 78, 216, .12);
}
.input--icon { padding-inline-start: 44px; }
.input--with-btn { padding-inline-end: 48px; }
.input-btn {
  position: absolute;
  inset-inline-end: 8px;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  color: var(--muted);
}
.input-btn:hover { background: var(--bg-alt); color: var(--brand-600); }
.input-btn .ic { width: 18px; height: 18px; }
select.input { appearance: none; padding-inline-end: 42px; background-image: none; cursor: pointer; }
.select-wrap { position: relative; }
.select-wrap .ic { position: absolute; inset-inline-end: 14px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--muted-2); pointer-events: none; }
textarea.input { resize: vertical; min-height: 110px; line-height: 1.8; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.form-check input[type="checkbox"], .form-check input[type="radio"] {
  width: 19px; height: 19px; margin-top: 3px; accent-color: var(--brand-600); flex: none; cursor: pointer;
}
.form-check a { color: var(--brand-600); font-weight: 700; }
.form-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.link-sm { font-size: .87rem; font-weight: 700; color: var(--brand-600); }
.link-sm:hover { text-decoration: underline; }

.divider {
  display: flex; align-items: center; gap: 14px;
  color: var(--muted-2); font-size: .82rem; margin-block: 22px;
}
.divider::before, .divider::after { content: ""; height: 1px; background: var(--line); flex: 1; }

.auth-alt { text-align: center; margin-top: 22px; font-size: .92rem; color: var(--muted); }
.auth-alt a { font-weight: 700; color: var(--brand-600); }
.auth-alt a:hover { text-decoration: underline; }

.demo-note {
  margin-top: 18px;
  background: var(--brand-50);
  border: 1px dashed var(--brand-100);
  border-radius: var(--r-md);
  padding: 13px 15px;
  font-size: .84rem;
  color: var(--brand-800);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.demo-note .ic { width: 18px; height: 18px; flex: none; margin-top: 3px; }
.demo-note code {
  background: #fff; border: 1px solid var(--brand-100);
  border-radius: 5px; padding: 1px 6px; font-family: ui-monospace, monospace;
  direction: ltr; display: inline-block;
}

/* ============================================================
   DASHBOARD
   ============================================================ */
.app-shell { display: grid; grid-template-columns: 268px 1fr; min-height: 100vh; background: var(--bg-alt); }

/* Sidebar */
.app-side {
  background: #fff;
  border-inline-start: 1px solid var(--line);
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 18px 16px;
  overflow-y: auto;
  z-index: 60;
}
.side-brand { display: flex; align-items: center; gap: 11px; padding: 6px 6px 18px; border-bottom: 1px solid var(--line-2); margin-bottom: 14px; }
.side-brand .logo { font-size: 1.08rem; }
.side-user {
  display: flex; align-items: center; gap: 11px;
  background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 11px 12px; margin-bottom: 16px;
}
.side-user .avatar { width: 40px; height: 40px; font-size: .88rem; }
.side-user .n { font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--ink); line-height: 1.3; }
.side-user .w { font-size: .74rem; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.side-user .w .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-500); }

.side-nav { display: grid; gap: 3px; flex: 1; }
.side-nav .group-label {
  font-size: .72rem; font-weight: 700; color: var(--muted-2);
  font-family: var(--font-head); padding: 14px 10px 6px;
}
.side-nav a {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 12px;
  border-radius: var(--r-sm);
  font-family: var(--font-head);
  font-weight: 600; font-size: .92rem;
  color: var(--ink-2);
  transition: all .18s var(--ease);
  position: relative;
}
.side-nav a .ic { width: 20px; height: 20px; color: var(--muted); transition: color .18s var(--ease); }
.side-nav a:hover { background: var(--brand-50); color: var(--brand-700); }
.side-nav a:hover .ic { color: var(--brand-600); }
.side-nav a.is-active { background: linear-gradient(100deg, var(--brand-600), var(--brand-700)); color: #fff; box-shadow: 0 10px 22px rgba(29, 78, 216, .25); }
.side-nav a.is-active .ic { color: #fff; }
.side-nav a .badge {
  margin-inline-start: auto;
  background: var(--rose-50); color: var(--rose-600);
  font-size: .7rem; font-weight: 800; font-family: var(--font-head);
  border-radius: 99px; padding: 2px 8px;
}
.side-nav a.is-active .badge { background: rgba(255, 255, 255, .22); color: #fff; }

.side-card {
  background: linear-gradient(150deg, var(--brand-800), var(--brand-900));
  border-radius: var(--r-lg);
  padding: 16px;
  color: #fff;
  margin-top: 14px;
  position: relative;
  overflow: hidden;
}
.side-card::after { content: ""; position: absolute; inset-inline-end: -24px; top: -24px; width: 74px; height: 74px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.side-card h5 { color: #fff; font-size: .92rem; margin-bottom: 6px; position: relative; z-index: 1; }
.side-card p { font-size: .78rem; color: rgba(255, 255, 255, .72); margin-bottom: 12px; position: relative; z-index: 1; }
.side-card .btn { width: 100%; position: relative; z-index: 1; }

/* Main */
.app-main { min-width: 0; display: flex; flex-direction: column; }
.app-topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 13px clamp(16px, 2.4vw, 28px);
  display: flex; align-items: center; gap: 14px;
}
.app-topbar .menu-btn { display: none; }
.app-search { position: relative; flex: 1; max-width: 380px; }
.app-search .ic { position: absolute; inset-inline-start: 13px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted-2); }
.app-search .input { padding-inline-start: 40px; background: var(--bg-alt); border-color: transparent; }
.app-search .input:focus { background: #fff; }
.topbar-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: var(--r-sm);
  display: grid; place-items: center;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  position: relative;
  transition: all .18s var(--ease);
}
.icon-btn:hover { border-color: var(--brand-400); color: var(--brand-600); background: var(--brand-50); }
.icon-btn .ic { width: 19px; height: 19px; }
.icon-btn .dot {
  position: absolute; top: 7px; inset-inline-end: 7px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--rose-600); border: 2px solid #fff;
}
.topbar-user { display: flex; align-items: center; gap: 10px; padding-inline-start: 10px; border-inline-start: 1px solid var(--line); }
.topbar-user .avatar { width: 38px; height: 38px; font-size: .82rem; }
.topbar-user .n { font-family: var(--font-head); font-weight: 700; font-size: .88rem; color: var(--ink); line-height: 1.2; }
.topbar-user .w { font-size: .74rem; color: var(--muted); }

.app-content { padding: clamp(18px, 2.6vw, 30px); flex: 1; }
.page-head { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; justify-content: space-between; margin-bottom: 22px; }
.page-head h1 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-weight: 800; }
.page-head p { color: var(--muted); font-size: .93rem; margin-top: 4px; }
.page-head .actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Dashboard stat cards */
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.stat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 18px; position: relative; overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.stat-card .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.stat-card .icon-box { width: 44px; height: 44px; border-radius: 12px; }
.stat-card .icon-box .ic { width: 21px; height: 21px; }
.stat-card .lbl { font-size: .84rem; color: var(--muted); }
.stat-card .val { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--ink); letter-spacing: -.6px; line-height: 1.2; }
.stat-card .val small { font-size: .6em; font-weight: 700; color: var(--muted); margin-inline-start: 3px; }
.stat-card .trend { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-head); font-weight: 700; font-size: .78rem; padding: 3px 9px; border-radius: 99px; }
.stat-card .trend.up { background: var(--accent-50); color: var(--accent-700); }
.stat-card .trend.down { background: var(--rose-50); color: var(--rose-600); }
.stat-card .trend .ic { width: 13px; height: 13px; }
.stat-card--accent { background: linear-gradient(150deg, var(--brand-700), var(--brand-900)); border-color: transparent; color: #fff; }
.stat-card--accent .lbl, .stat-card--accent .val { color: #fff; }
.stat-card--accent .val small { color: rgba(255, 255, 255, .7); }
.stat-card--accent .icon-box { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .2); color: #fff; }

/* Dashboard panels */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-xs); }
.tips-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.panel-head {
  padding: 16px 20px; border-bottom: 1px solid var(--line-2);
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
}
.panel-head h3 { font-size: 1.02rem; }
.panel-head p { font-size: .82rem; color: var(--muted); margin-top: 2px; }
.panel-body { padding: 20px; }
.panel-body--flush { padding: 0; }

.dash-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; margin-bottom: 22px; }
.dash-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* Chart */
.chart-legend { display: flex; flex-wrap: wrap; gap: 16px; }
.chart-legend li { display: flex; align-items: center; gap: 7px; font-size: .82rem; color: var(--muted); }
.chart-legend .swatch { width: 11px; height: 11px; border-radius: 3px; }
.chart-wrap { position: relative; }
.chart-tooltip {
  position: absolute;
  transform: translate(50%, -110%);
  background: var(--brand-900);
  color: #fff;
  font-size: .78rem;
  font-family: var(--font-head);
  padding: 7px 11px;
  border-radius: var(--r-sm);
  pointer-events: none;
  opacity: 0;
  transition: opacity .16s var(--ease);
  white-space: nowrap;
  z-index: 5;
  box-shadow: var(--sh-md);
}
.chart-tooltip.is-on { opacity: 1; }
.chart-tooltip b { color: var(--accent-500); }

/* Tables */
.table-scroll { overflow-x: auto; }
table.data { font-size: .89rem; min-width: 620px; }
table.data thead th {
  text-align: start;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--bg-alt);
  padding: 11px 16px;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
}
table.data tbody td { padding: 13px 16px; border-bottom: 1px solid var(--line-2); vertical-align: middle; white-space: nowrap; }
table.data tbody tr { transition: background-color .16s var(--ease); }
table.data tbody tr:hover { background: var(--brand-50); }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data .num { font-family: var(--font-head); font-weight: 700; }
table.data .mono { font-family: ui-monospace, monospace; direction: ltr; display: inline-block; font-size: .84rem; }
.cell-product { display: flex; align-items: center; gap: 11px; }
.cell-product .thumb {
  width: 40px; height: 40px; border-radius: 10px; flex: none;
  border: 1px solid var(--line); overflow: hidden; background: #fff;
}
.cell-product .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cell-product .t { font-family: var(--font-head); font-weight: 700; font-size: .88rem; color: var(--ink); }
.cell-product .s { font-size: .76rem; color: var(--muted); }
.cell-customer { display: flex; align-items: center; gap: 10px; }
.cell-customer .avatar { width: 34px; height: 34px; font-size: .76rem; }
.cell-customer .t { font-weight: 700; color: var(--ink); font-size: .88rem; }
.cell-customer .s { font-size: .76rem; color: var(--muted); }
.row-actions { display: flex; gap: 6px; }
.row-actions .icon-btn { width: 32px; height: 32px; border-radius: 8px; }
.row-actions .icon-btn .ic { width: 15px; height: 15px; }

/* Tabs / filters */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--r-md); padding: 5px; }
.tabs button {
  font-family: var(--font-head); font-weight: 700; font-size: .85rem;
  padding: 8px 14px; border-radius: var(--r-sm); color: var(--muted);
  transition: all .18s var(--ease); display: inline-flex; align-items: center; gap: 7px;
}
.tabs button:hover { color: var(--brand-700); }
.tabs button.is-active { background: #fff; color: var(--brand-700); box-shadow: var(--sh-xs); }
.tabs button .count { font-size: .72rem; background: var(--line); color: var(--ink-2); border-radius: 99px; padding: 1px 7px; }
.tabs button.is-active .count { background: var(--brand-50); color: var(--brand-700); }

/* Catalog price setter */
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.catalog-card { overflow: hidden; display: flex; flex-direction: column; }
.catalog-card .product-media { aspect-ratio: 16 / 11; }
.catalog-body { padding: 15px 16px 16px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.catalog-body h4 { font-size: .98rem; }
.price-setter .row { display: flex; align-items: center; gap: 10px; }
.price-setter .row .input { text-align: center; font-family: var(--font-head); font-weight: 700; }
.price-setter .sep { color: var(--muted-2); font-size: .8rem; flex: none; }
.commission-preview {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--accent-50); border: 1px dashed var(--accent-100);
  border-radius: var(--r-sm); padding: 10px 13px;
}
.commission-preview .lbl { font-size: .8rem; color: var(--accent-700); font-family: var(--font-head); font-weight: 700; }
.commission-preview .val { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: var(--accent-700); }
.catalog-foot { display: flex; gap: 8px; margin-top: auto; }
.catalog-foot .btn { flex: 1; }

/* Withdraw */
.wallet-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 18px; margin-bottom: 20px; }
.wallet-card {
  background:
    radial-gradient(400px 220px at 85% 0%, rgba(0, 196, 140, .28), transparent 62%),
    linear-gradient(150deg, var(--brand-800), var(--brand-900));
  border-radius: var(--r-lg); padding: 22px; color: #fff;
  position: relative; overflow: hidden;
}
.wallet-card::after { content: ""; position: absolute; inset-inline-start: -30px; bottom: -46px; width: 140px; height: 140px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.wallet-card .lbl { font-size: .84rem; color: rgba(255, 255, 255, .72); display: flex; align-items: center; gap: 7px; }
.wallet-card .lbl .ic { width: 17px; height: 17px; color: var(--accent-500); }
.wallet-card .amount { font-family: var(--font-head); font-size: 2.3rem; font-weight: 800; letter-spacing: -1px; margin-block: 6px 4px; position: relative; z-index: 1; }
.wallet-card .amount span { font-size: .44em; opacity: .8; margin-inline-start: 5px; }
.wallet-card .meta { display: flex; gap: 20px; margin-top: 18px; position: relative; z-index: 1; }
.wallet-card .meta div { font-size: .78rem; color: rgba(255, 255, 255, .68); }
.wallet-card .meta b { display: block; font-family: var(--font-head); font-size: 1rem; color: #fff; }
.wallet-card .pending { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; background: rgba(255, 255, 255, .14); padding: 4px 11px; border-radius: 99px; margin-top: 14px; position: relative; z-index: 1; }

.pay-methods { display: grid; gap: 12px; }
.pay-method {
  display: flex; align-items: center; gap: 12px;
  border: 1.5px solid var(--line); border-radius: var(--r-md);
  padding: 13px 15px; cursor: pointer;
  transition: all .18s var(--ease);
}
.pay-method:hover { border-color: var(--brand-400); background: var(--brand-50); }
.pay-method input { accent-color: var(--brand-600); width: 18px; height: 18px; flex: none; cursor: pointer; }
.pay-method.is-on { border-color: var(--brand-500); background: var(--brand-50); box-shadow: 0 0 0 3px rgba(29, 78, 216, .1); }
.pay-method .pm-ico {
  width: 42px; height: 42px; border-radius: 11px; flex: none;
  display: grid; place-items: center; background: #fff; border: 1px solid var(--line);
  color: var(--brand-600);
}
.pay-method .pm-ico .ic { width: 21px; height: 21px; }
.pay-method .t { font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--ink); }
.pay-method .s { font-size: .78rem; color: var(--muted); }

/* Marketing materials */
.assets-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.asset-card { overflow: hidden; }
.asset-media {
  aspect-ratio: 4 / 3;
  display: grid; place-items: center;
  color: #fff; text-align: center; padding: 18px;
  position: relative; overflow: hidden;
}
.asset-media::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px); background-size: 16px 16px; }
.asset-media--1 { background: linear-gradient(140deg, #3B6BF5, #123A8C); }
.asset-media--2 { background: linear-gradient(140deg, #00C48C, #00875A); }
.asset-media--3 { background: linear-gradient(140deg, #F5A524, #D98700); }
.asset-media .kicker { font-family: var(--font-head); font-size: .76rem; opacity: .85; position: relative; z-index: 1; }
.asset-media .big { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.35; position: relative; z-index: 1; }
.asset-media .ic { width: 34px; height: 34px; margin-bottom: 10px; position: relative; z-index: 1; opacity: .9; }
.asset-body { padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.asset-body .t { font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--ink); }
.asset-body .s { font-size: .78rem; color: var(--muted); }

.copy-box {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 14px 16px; font-size: .9rem; line-height: 1.9; color: var(--ink-2);
  position: relative;
}
.copy-box .btn { position: absolute; top: 10px; inset-inline-start: 10px; }

/* Progress bars */
.bar { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--brand-500), var(--brand-700)); transition: width 1s var(--ease); }
.bar--accent > span { background: linear-gradient(90deg, var(--accent-500), var(--accent-700)); }

.mini-list { display: grid; gap: 16px; }
.mini-item .top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 7px; }
.mini-item .name { display: flex; align-items: center; gap: 9px; font-family: var(--font-head); font-weight: 700; font-size: .89rem; color: var(--ink); }
.mini-item .name .thumb { width: 32px; height: 32px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); flex: none; }
.mini-item .name .thumb img { width: 100%; height: 100%; object-fit: cover; }
.mini-item .v { font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--muted); }

/* Toggle switches */
.switch { position: relative; display: inline-flex; align-items: center; gap: 12px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch .track {
  width: 46px; height: 26px; border-radius: 99px; background: var(--line);
  position: relative; transition: background-color .22s var(--ease); flex: none;
}
.switch .track::after {
  content: ""; position: absolute; top: 3px; inset-inline-start: 3px;
  width: 20px; height: 20px; border-radius: 50%; background: #fff;
  box-shadow: var(--sh-xs); transition: transform .22s var(--ease);
}
.switch input:checked + .track { background: var(--accent-600); }
.switch input:checked + .track::after { transform: translateX(-20px); }
.switch input:focus-visible + .track { box-shadow: 0 0 0 4px rgba(29, 78, 216, .18); }
.switch .txt { font-size: .9rem; }
.switch .txt b { display: block; font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: .92rem; }
.switch .txt span { color: var(--muted); font-size: .8rem; }

.settings-list { display: grid; gap: 4px; }
.settings-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 15px 0; border-bottom: 1px solid var(--line-2);
}
.settings-row:last-child { border-bottom: 0; }

/* Empty state */
.empty { text-align: center; padding: 46px 20px; }
.empty .icon-box { margin: 0 auto 16px; width: 62px; height: 62px; }
.empty h4 { font-size: 1.05rem; margin-bottom: 6px; }
.empty p { color: var(--muted); font-size: .9rem; }

/* View switcher (dashboard pages) */
.view { display: none; }
.view.is-active { display: block; animation: view-in .35s var(--ease); }
@keyframes view-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .features-grid, .products-grid, .testi-grid, .assets-grid, .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-wrap::before { display: none; }
  .pay-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-grid { grid-template-columns: 1fr; }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .wallet-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1120px) {
  .main-nav, .header-actions .btn { display: none; }
  .site-header--signup .header-inner { height: var(--header-h); flex-wrap: nowrap; padding-block: 0; }
  .site-header--signup .header-actions .vendor-signup { display: inline-flex; }
  .nav-toggle { display: grid; }
  .mobile-nav { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin-bottom: 8px; }
  .calc-layout { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .auth-mobile-brand { display: block; }
  .app-shell { grid-template-columns: 1fr; }
  .app-side {
    position: fixed; inset-block: 0; inset-inline-start: 0;
    width: 280px; transform: translateX(105%);
    transition: transform .3s var(--ease); box-shadow: var(--sh-lg);
  }
  body.side-open .app-side { transform: none; }
  body.side-open::after { content: ""; position: fixed; inset: 0; background: rgba(10, 31, 68, .42); z-index: 55; }
  body.side-open .app-topbar { z-index: 70; background: #fff; }
  .app-topbar .menu-btn { display: grid; }
  .topbar-user .meta { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid, .products-grid, .testi-grid, .steps-grid, .pay-grid,
  .assets-grid, .catalog-grid, .dash-grid--3, .tips-grid, .result-cards, .stat-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .float-card--commission { inset-inline-start: -6px; }
  .float-card--orders { inset-inline-end: -6px; }
  .faq-a-inner { padding-inline-end: 20px; padding-inline-start: 20px; }
  .app-search { max-width: none; }
  .app-content { padding: 16px 14px 28px; }
  .page-head { flex-direction: column; align-items: flex-start; }
  .tabs { width: 100%; }
  .tabs button { flex: 1; justify-content: center; }
}

@media (max-width: 480px) {
  .site-header--signup .header-inner { gap: 8px; }
  .site-header--signup .logo .logo-img { width: 100px; height: auto; }
  .site-header--signup .vendor-signup { max-width: 112px; padding: 8px; font-size: .78rem; line-height: 1.5; white-space: normal; text-align: center; }
  .hero-title { letter-spacing: -.5px; }
  .hero-cta .btn { width: 100%; }
  .cta-actions .btn { width: 100%; }
  .result-cards { grid-template-columns: 1fr; }
  .product-prices { gap: 12px; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .mobile-nav, .app-side, .app-topbar, .toast-wrap { display: none !important; }
  body { background: #fff; }
}

/* ============================================================
   DASHBOARD v2 — orders, products, wallet, customers, store
   ============================================================ */

/* Page title with greeting */
.page-title { display: flex; align-items: center; gap: 12px; }
.page-title .wave { font-size: 1.1em; }
.page-title .sub { font-size: .86rem; color: var(--muted); font-weight: 400; margin-top: 2px; }

/* Chips (categories) */
.chips {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px;
  scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip-btn {
  font-family: var(--font-head); font-weight: 700; font-size: .85rem;
  padding: 8px 16px; border-radius: var(--r-full);
  background: #fff; border: 1px solid var(--line); color: var(--muted);
  white-space: nowrap; cursor: pointer;
  transition: all .18s var(--ease);
}
.chip-btn:hover { border-color: var(--brand-400); color: var(--brand-700); }
.chip-btn.is-active {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-700));
  border-color: transparent; color: #fff; box-shadow: 0 8px 18px rgba(29, 78, 216, .25);
}

/* Toolbar */
.toolbar {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  justify-content: space-between; margin-bottom: 18px;
}
.toolbar .left, .toolbar .right { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.toolbar .app-search { max-width: 340px; flex: 1; min-width: 220px; }

/* Stat grid 2x2 */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.stat-tile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 16px 18px; box-shadow: var(--sh-xs);
}
.stat-tile .lbl { font-size: .84rem; color: var(--muted); font-family: var(--font-head); }
.stat-tile .val { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--ink); letter-spacing: -.5px; margin-top: 2px; }
.stat-tile .val small { font-size: .55em; color: var(--muted); font-weight: 700; margin-inline-start: 3px; }
.stat-tile--green .val { color: var(--accent-700); }
.stat-tile--red .val { color: var(--rose-600); }
.stat-tile--blue .val { color: var(--brand-600); }

/* Product tiles (catalog) */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.tile:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: var(--brand-100); }
.tile-media { position: relative; aspect-ratio: 1 / 1; background: #fff; border-bottom: 1px solid var(--line-2); overflow: hidden; }
.tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.tile:hover .tile-media img { transform: scale(1.06); }
.tile-media .ready {
  position: absolute; top: 10px; inset-inline-start: 10px;
  background: linear-gradient(135deg, var(--brand-600), var(--brand-700));
  color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .7rem;
  padding: 4px 10px; border-radius: var(--r-full); display: inline-flex; align-items: center; gap: 5px;
  box-shadow: 0 6px 14px rgba(29, 78, 216, .3);
}
.tile-media .ready .ic { width: 12px; height: 12px; }
.tile-media .fav {
  position: absolute; top: 8px; inset-inline-end: 8px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255, 255, 255, .94); border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--muted-2);
  transition: all .18s var(--ease); box-shadow: var(--sh-xs);
}
.tile-media .fav:hover { color: var(--rose-600); border-color: #FBD0DA; transform: scale(1.08); }
.tile-media .fav.is-on { color: var(--rose-600); background: var(--rose-50); border-color: #FBD0DA; }
.tile-media .fav .ic { width: 17px; height: 17px; }
.tile-body { padding: 12px 13px 14px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.tile-body .cat { font-size: .72rem; color: var(--brand-600); font-weight: 700; font-family: var(--font-head); }
.tile-body h4 { font-size: .9rem; line-height: 1.5; font-weight: 700; min-height: 2.7em; }
.tile-body .wholesale {
  display: flex; align-items: baseline; gap: 6px;
  font-size: .78rem; color: var(--muted); font-family: var(--font-head);
}
.tile-body .wholesale b { font-size: 1.05rem; color: var(--ink); font-weight: 800; }
.tile-foot { margin-top: auto; display: grid; gap: 8px; }
.tile-foot .btn { width: 100%; }
.tile-foot .price-row { display: flex; align-items: center; gap: 8px; }
.tile-foot .price-row .input { padding: 8px 10px; font-size: .88rem; text-align: center; font-family: var(--font-head); font-weight: 700; }
.tile-foot .price-row .muted { font-size: .74rem; flex: none; }

/* Order cards */
.orders-list { display: grid; gap: 12px; }
.order-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 15px 17px; box-shadow: var(--sh-xs);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.order-card:hover { border-color: var(--brand-100); box-shadow: var(--sh-md); }
.order-card .oc-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.order-card .oc-id { font-family: ui-monospace, monospace; font-size: .8rem; color: var(--muted); direction: ltr; }
.order-card .oc-date { font-size: .76rem; color: var(--muted-2); }
.order-card .oc-cust { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.order-card .oc-cust .avatar { width: 42px; height: 42px; font-size: .9rem; }
.order-card .oc-cust .n { font-family: var(--font-head); font-weight: 700; font-size: .98rem; color: var(--ink); line-height: 1.3; }
.order-card .oc-cust .p { font-size: .82rem; color: var(--brand-600); direction: ltr; font-weight: 700; }
.order-card .oc-body {
  border-top: 1px dashed var(--line); padding-top: 11px;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: space-between;
}
.order-card .oc-prod { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.order-card .oc-prod .thumb { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); overflow: hidden; flex: none; }
.order-card .oc-prod .thumb img { width: 100%; height: 100%; object-fit: cover; }
.order-card .oc-prod .t { font-size: .88rem; font-weight: 700; color: var(--ink); }
.order-card .oc-prod .s { font-size: .76rem; color: var(--muted); }
.order-card .oc-profit { text-align: center; flex: none; }
.order-card .oc-profit .lbl { font-size: .72rem; color: var(--muted); }
.order-card .oc-profit .v { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: var(--accent-700); }
.order-card .oc-actions { display: flex; gap: 7px; flex: none; }
.order-card .oc-actions .icon-btn { width: 36px; height: 36px; border-radius: 10px; }
.order-card .oc-actions .icon-btn .ic { width: 16px; height: 16px; }
.oc-deliv { font-size: .76rem; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; }
.oc-deliv .ic { width: 14px; height: 14px; }

/* Segmented control */
.seg { display: inline-flex; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--r-md); padding: 4px; gap: 4px; }
.seg button {
  font-family: var(--font-head); font-weight: 700; font-size: .86rem;
  padding: 9px 18px; border-radius: var(--r-sm); color: var(--muted);
  display: inline-flex; align-items: center; gap: 7px; transition: all .18s var(--ease);
}
.seg button .ic { width: 16px; height: 16px; }
.seg button:hover { color: var(--brand-700); }
.seg button.is-active { background: linear-gradient(135deg, var(--brand-600), var(--brand-700)); color: #fff; box-shadow: 0 8px 18px rgba(29, 78, 216, .25); }

/* Form sections (create order) */
.form-section {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 20px; margin-bottom: 16px; box-shadow: var(--sh-xs);
}
.form-section > h3 {
  font-size: 1.02rem; margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 1px solid var(--line-2);
  display: flex; align-items: center; gap: 9px;
}
.form-section > h3 .ic { width: 20px; height: 20px; color: var(--brand-600); }
.form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.form-grid--2 { grid-template-columns: repeat(2, 1fr); }

/* Order summary */
.summary {
  background: linear-gradient(160deg, var(--brand-50), #fff);
  border: 1px dashed var(--brand-100); border-radius: var(--r-lg);
  padding: 18px 20px; margin-top: 4px;
}
.summary h4 { font-size: .95rem; margin-bottom: 14px; color: var(--brand-800); }
.summary-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; font-size: .9rem; }
.summary-row + .summary-row { border-top: 1px solid rgba(29, 78, 216, .1); }
.summary-row .k { color: var(--muted); }
.summary-row .v { font-family: var(--font-head); font-weight: 800; color: var(--ink); }
.summary-row--profit .v { color: var(--accent-700); }
.summary-row--total { font-size: 1.02rem; }
.summary-row--total .v { font-size: 1.25rem; color: var(--brand-700); }

/* Warning note */
.warn-note {
  background: #FFF7ED; border: 1px solid #FED7AA; border-inline-start: 4px solid var(--gold-500);
  border-radius: var(--r-md); padding: 14px 16px;
  display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px;
}
.warn-note .ic { width: 22px; height: 22px; color: var(--gold-600); flex: none; margin-top: 2px; }
.warn-note b { color: #9A3412; font-family: var(--font-head); }
.warn-note p { font-size: .88rem; color: #9A3412; line-height: 1.8; }

/* Customer cards */
.cust-list { display: grid; gap: 12px; }
.cust-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 15px 17px; box-shadow: var(--sh-xs);
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.cust-card:hover { border-color: var(--brand-100); box-shadow: var(--sh-md); }
.cust-card .avatar { width: 46px; height: 46px; font-size: .95rem; }
.cust-card .info { flex: 1; min-width: 150px; }
.cust-card .info .n { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: .98rem; display: flex; align-items: center; gap: 8px; }
.cust-card .info .p { font-size: .84rem; color: var(--brand-600); direction: ltr; font-weight: 700; }
.cust-card .info .m { font-size: .76rem; color: var(--muted); }
.cust-card .nums { display: flex; gap: 22px; }
.cust-card .nums div { text-align: center; }
.cust-card .nums .lbl { font-size: .72rem; color: var(--muted); }
.cust-card .nums .v { font-family: var(--font-head); font-weight: 800; color: var(--ink); }
.cust-card .nums .v.green { color: var(--accent-700); }
.cust-card .acts { display: flex; gap: 8px; }
.cust-card .acts .icon-btn { width: 40px; height: 40px; border-radius: var(--r-sm); }
.cust-card .acts .icon-btn .ic { width: 18px; height: 18px; }
.cust-card .acts .wa { background: #EDFCF3; border-color: #BBF7D0; color: #15803D; }
.cust-card .acts .wa:hover { background: #DCFCE7; border-color: #86EFAC; color: #15803D; }

/* Delivery table */
.deliv-table td, .deliv-table th { text-align: center; }
.deliv-table td:first-child, .deliv-table th:first-child { text-align: start; font-family: var(--font-head); font-weight: 700; }
.deliv-table .price { color: var(--brand-600); font-weight: 800; font-family: var(--font-head); }

/* Store editor */
.store-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.store-slug { display: flex; align-items: stretch; gap: 0; }
.store-slug .pre {
  display: inline-flex; align-items: center; padding: 0 12px;
  background: var(--bg-alt); border: 1.5px solid var(--line);
  border-inline-end: 0; border-start-start-radius: var(--r-md); border-end-start-radius: var(--r-md);
  font-size: .84rem; color: var(--muted); direction: ltr; white-space: nowrap;
}
.store-slug .input { border-start-start-radius: 0; border-end-start-radius: 0; direction: ltr; }
.store-preview {
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  background: #fff; box-shadow: var(--sh-sm);
}
.store-preview .bar {
  background: var(--bg-alt); border-bottom: 1px solid var(--line);
  padding: 9px 12px; display: flex; align-items: center; gap: 8px;
  font-size: .76rem; color: var(--muted); direction: ltr;
}
.store-preview .bar .dots { display: flex; gap: 4px; }
.store-preview .bar .dots i { width: 8px; height: 8px; border-radius: 50%; background: #CBD5E1; display: block; }
.store-preview .hero {
  padding: 20px; text-align: center;
  background: linear-gradient(140deg, var(--brand-700), var(--brand-900)); color: #fff;
}
.store-preview .hero .logo-preview {
  width: 52px; height: 52px; border-radius: 14px; margin: 0 auto 10px;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .25);
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem;
}
.store-preview .hero h4 { color: #fff; font-size: 1.1rem; }
.store-preview .hero p { font-size: .8rem; color: rgba(255, 255, 255, .72); margin-top: 4px; }
.store-preview .mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px; }
.store-preview .mini { border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.store-preview .mini img { width: 100%; aspect-ratio: 1/1; object-fit: contain; background: #fff; padding: 8px; }
.store-preview .mini .t { font-size: .68rem; padding: 5px 6px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.store-preview .mini .p { font-size: .72rem; padding: 0 6px 6px; font-family: var(--font-head); font-weight: 800; color: var(--accent-700); }
.store-preview .foot {
  padding: 10px 14px; border-top: 1px solid var(--line-2);
  font-size: .72rem; color: var(--muted); text-align: center;
}
.store-products { display: grid; gap: 10px; max-height: 380px; overflow-y: auto; padding-inline-end: 4px; }
.store-product {
  display: flex; align-items: center; gap: 11px; padding: 9px 11px;
  border: 1px solid var(--line); border-radius: var(--r-md); background: #fff;
}
.store-product .thumb { width: 42px; height: 42px; border-radius: 9px; overflow: hidden; border: 1px solid var(--line); flex: none; }
.store-product .thumb img { width: 100%; height: 100%; object-fit: cover; }
.store-product .info { flex: 1; min-width: 0; }
.store-product .info .t { font-size: .85rem; font-weight: 700; color: var(--ink); }
.store-product .info .s { font-size: .74rem; color: var(--muted); }
.store-product .input { width: 96px; padding: 7px 9px; text-align: center; font-size: .85rem; font-family: var(--font-head); font-weight: 700; }
.store-product .field { display: grid; gap: 4px; margin: 0; flex: none; }
.store-product .field .label { font-size: .72rem; color: var(--muted); white-space: nowrap; }
.store-product .switch { flex: none; }
.store-product > .btn { white-space: nowrap; }

/* Empty state */
.empty-state { text-align: center; padding: 48px 20px; }
.empty-state .icon-box { margin: 0 auto 16px; width: 64px; height: 64px; }
.empty-state h4 { font-size: 1.05rem; margin-bottom: 6px; }
.empty-state p { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }

/* Modal (bottom sheet) */
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: flex-end; justify-content: center;
  background: rgba(10, 31, 68, .5); backdrop-filter: blur(3px);
  padding: 20px;
}
.modal.is-open { display: flex; animation: fade-in .2s var(--ease); }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.modal-sheet {
  background: #fff; border-radius: var(--r-xl); width: 100%; max-width: 460px;
  box-shadow: var(--sh-lg); animation: sheet-up .3s var(--ease);
  max-height: 90vh; overflow-y: auto;
}
@keyframes sheet-up { from { transform: translateY(28px); opacity: .6; } to { transform: none; opacity: 1; } }
.modal-sheet .grab { width: 44px; height: 5px; border-radius: 99px; background: var(--line); margin: 10px auto 4px; }
.modal-sheet .m-head { padding: 12px 22px 4px; }
.modal-sheet .m-head h3 { font-size: 1.15rem; }
.modal-sheet .m-body { padding: 16px 22px 22px; }
.methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.method {
  border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 14px 8px;
  text-align: center; cursor: pointer; transition: all .18s var(--ease); background: #fff;
}
.method:hover { border-color: var(--brand-400); }
.method.is-on { border-color: var(--brand-500); background: var(--brand-50); box-shadow: 0 0 0 3px rgba(29, 78, 216, .1); }
.method .ic { width: 24px; height: 24px; margin: 0 auto 7px; color: var(--brand-600); }
.method .t { font-family: var(--font-head); font-weight: 700; font-size: .84rem; color: var(--ink); }
.amount-input { position: relative; }
.amount-input .cur {
  position: absolute; inset-inline-start: 14px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--muted);
}
.amount-input .input { padding-inline-start: 42px; font-size: 1.05rem; font-family: var(--font-head); font-weight: 800; }
.breakdown { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--r-md); padding: 13px 15px; margin-bottom: 16px; }
.breakdown .row { display: flex; justify-content: space-between; font-size: .85rem; padding: 5px 0; }
.breakdown .row .k { color: var(--muted); }
.breakdown .row .v { font-family: var(--font-head); font-weight: 700; }
.breakdown .row--net { border-top: 1px solid var(--line); margin-top: 5px; padding-top: 9px; }
.breakdown .row--net .v { color: var(--accent-700); font-size: 1rem; }

/* Quick actions grid */
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.quick {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 16px; display: flex; align-items: center; gap: 12px;
  transition: all .2s var(--ease); text-align: start;
}
.quick:hover { border-color: var(--brand-400); background: var(--brand-50); transform: translateY(-3px); box-shadow: var(--sh-sm); }
.quick .icon-box { width: 44px; height: 44px; border-radius: 12px; }
.quick .icon-box .ic { width: 21px; height: 21px; }
.quick .t { font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--ink); line-height: 1.35; }
.quick .s { font-size: .76rem; color: var(--muted); }

@media (max-width: 1180px) {
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .store-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid, .form-grid--2 { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .tiles { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .quick-grid { grid-template-columns: 1fr; }
  .methods { grid-template-columns: 1fr; }
  .cust-card .nums { gap: 14px; }
  .order-card .oc-body { flex-direction: column; align-items: stretch; }
  .order-card .oc-actions { justify-content: flex-end; }
}

/* ============================================================
   LANDING — wholesale pricing & store showcase
   ============================================================ */
.product-prices .price-box--sale .val { color: var(--accent-700); }
.price-box .note { display: block; font-size: .68rem; color: var(--muted-2); margin-top: 2px; }
.wholesale-flag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-size: .74rem; font-weight: 700;
  color: var(--brand-700); background: var(--brand-50);
  border: 1px solid var(--brand-100); border-radius: var(--r-full);
  padding: 3px 10px;
}
.wholesale-flag .ic { width: 13px; height: 13px; }

/* Store showcase */
.store-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3.5vw, 48px);
  align-items: center;
  margin-top: clamp(30px, 4vw, 50px);
}
.store-benefits { display: grid; gap: 14px; }
.store-benefits li {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 16px 18px; box-shadow: var(--sh-xs);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.store-benefits li:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--accent-100); }
.store-benefits .icon-box { width: 48px; height: 48px; border-radius: 13px; }
.store-benefits .icon-box .ic { width: 23px; height: 23px; }
.store-benefits h4 { font-size: 1.02rem; margin-bottom: 4px; }
.store-benefits p { font-size: .9rem; color: var(--muted); line-height: 1.7; }
.store-benefits code {
  background: var(--brand-50); border: 1px solid var(--brand-100); color: var(--brand-700);
  border-radius: 5px; padding: 1px 6px; font-family: ui-monospace, monospace;
  font-size: .82rem; direction: ltr; display: inline-block;
}

/* How the marketer profit works */
.flow-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(28px, 3.5vw, 44px); }
.flow-step { text-align: center; padding: 24px 20px; position: relative; }
.flow-step .num {
  width: 40px; height: 40px; border-radius: 50%; margin: 0 auto 14px;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 800;
  background: linear-gradient(140deg, var(--brand-600), var(--brand-700)); color: #fff;
  box-shadow: var(--sh-brand);
}
.flow-step h4 { font-size: 1.02rem; margin-bottom: 8px; }
.flow-step p { font-size: .9rem; color: var(--muted); }
.flow-step .math {
  margin-top: 12px; background: var(--bg-alt); border: 1px dashed var(--line);
  border-radius: var(--r-sm); padding: 9px 12px; font-family: var(--font-head);
  font-size: .82rem; color: var(--ink);
}
.flow-step .math b { color: var(--accent-700); }

@media (max-width: 980px) {
  .store-showcase { grid-template-columns: 1fr; }
  .flow-steps { grid-template-columns: 1fr; }
}

/* Order item rows (create order) */
.co-item { display: grid; grid-template-columns: 1.4fr .8fr .6fr 44px; gap: 10px; align-items: end; margin-bottom: 10px; }
.co-item .field { margin: 0; }
@media (max-width: 620px) {
  .co-item { grid-template-columns: 1fr 1fr; }
  .co-item > :first-child { grid-column: 1 / -1; }
}

/* Order card middle block */
.order-card .oc-mid { display: flex; gap: 22px; flex: none; padding-inline: 22px; }
.order-card .oc-mid .lbl { font-size: .72rem; color: var(--muted); }
.order-card .oc-mid .v { font-family: var(--font-head); font-weight: 800; font-size: .95rem; color: var(--ink); margin-top: 2px; }
.order-card .oc-total { text-align: center; }
.order-card .oc-qty { text-align: center; }
@media (max-width: 860px) {
  .order-card .oc-mid { padding-inline: 0; gap: 18px; }
}

/* avoid sticky topbar overlapping scrolled content */
.page-head, .panel, .form-section, .stat-grid, .toolbar { scroll-margin-top: 84px; }

/* ============================================================
   BRAND LOGO (user artwork)
   ============================================================ */
.logo-img { display: block; height: 42px; width: auto; flex: none; }
.logo-img--circle { height: 76px; width: 76px; }
.logo-img--sm { height: 40px; width: 40px; }
.site-footer .logo-img { height: 40px; }
.auth-aside .logo { margin-bottom: 26px; }
@media (max-width: 600px) {
  .site-header .logo-img { height: 33px; }
  .auth-aside .logo-img--circle { height: 60px; width: 60px; }
}
@media (max-width: 400px) {
  .site-header .logo-img { height: 30px; }
}
.logo-img--side { height: 34px; }
.side-brand-sub { display: block; font-size: .68rem; color: var(--muted); margin-top: 3px; font-weight: 600; }
.side-brand { flex-direction: column; align-items: flex-start; gap: 9px; }
.side-brand .logo { flex-direction: column; align-items: flex-start; gap: 8px; }

/* ============================================================
   PRODUCT LANDING PAGE (product.html)
   ============================================================ */
.lp-body { background: #F6F8FC; color: var(--ink); font-family: var(--font-body); }
.lp-container { width: min(1140px, 100% - 32px); margin-inline: auto; }

/* promo bar */
.lp-topbar { background: linear-gradient(90deg, var(--brand-700), var(--brand-500)); color: #fff; }
.lp-topbar-in {
  width: min(1140px, 100% - 32px); margin-inline: auto; padding: 9px 0;
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
  font-size: .84rem; font-weight: 700; font-family: var(--font-head);
}
.lp-timer { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); border-radius: 99px; padding: 3px 12px; font-size: .78rem; }
.lp-timer b { font-family: ui-monospace, monospace; letter-spacing: .5px; }

/* header */
.lp-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.lp-header-in { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 0; }
.lp-brand { display: flex; align-items: center; gap: 10px; }
.lp-brand img { display: block; }
.lp-brand-txt { display: flex; flex-direction: column; line-height: 1.25; }
.lp-brand-txt b { font-family: var(--font-head); font-size: 1.02rem; }
.lp-brand-txt small { font-size: .68rem; color: var(--muted); }
.lp-trust-mini { display: flex; gap: 10px; font-size: .78rem; font-weight: 700; color: var(--accent-700); font-family: var(--font-head); }
.lp-trust-mini span { background: var(--accent-50, #E9F9F2); border: 1px solid #C9F0E0; border-radius: 99px; padding: 5px 11px; }

/* hero */
.lp-hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  grid-template-areas: "visual info";
  gap: clamp(20px, 3vw, 40px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl, 20px);
  padding: clamp(16px, 2.4vw, 26px); margin: clamp(18px, 2.6vw, 30px) 0; box-shadow: var(--sh-sm);
}
.lp-visual-column { grid-area: visual; min-width: 0; display: grid; align-content: start; gap: 16px; }
.lp-gallery { min-width: 0; }
.lp-info { grid-area: info; min-width: 0; }
.lp-main-img {
  position: relative; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: #fff; overflow: hidden; aspect-ratio: 1/1; display: grid; place-items: center;
}
.lp-main-img img { width: 100%; height: 100%; object-fit: cover; }
.lp-badge {
  position: absolute; top: 12px; inset-inline-start: 12px;
  background: linear-gradient(135deg, #C2410C, #9A3412); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: .74rem;
  padding: 5px 11px; border-radius: 99px; box-shadow: 0 6px 16px rgba(249,115,22,.35);
}
.lp-sold {
  position: absolute; bottom: 12px; inset-inline-start: 12px;
  background: rgba(10,31,68,.78); color: #fff; font-size: .72rem; font-weight: 700;
  padding: 5px 11px; border-radius: 99px; backdrop-filter: blur(4px);
}
.lp-thumbs { display: flex; gap: 9px; margin-top: 10px; }
.lp-thumb {
  width: 66px; height: 66px; border-radius: var(--r-sm); overflow: hidden;
  border: 2px solid var(--line); background: #fff; padding: 0; cursor: pointer; transition: border-color .18s var(--ease);
}
.lp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lp-thumb.is-on { border-color: var(--brand-600); }

.lp-cat {
  display: inline-block; font-family: var(--font-head); font-size: .74rem; font-weight: 700;
  color: var(--brand-700); background: var(--brand-50); border: 1px solid var(--brand-100);
  border-radius: 99px; padding: 3px 11px; margin-bottom: 10px;
}
.lp-info h1 { font-family: var(--font-head); font-size: clamp(1.25rem, 2.4vw, 1.72rem); line-height: 1.4; margin-bottom: 10px; }
.lp-rate { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; flex-wrap: wrap; }
.lp-stars { color: #A85F00; letter-spacing: 2px; font-size: 1.02rem; }
.lp-stars i { color: #D7DEE9; font-style: normal; }
.lp-rate-txt { font-size: .82rem; color: var(--muted); }
.lp-desc { font-size: .98rem; line-height: 1.9; color: var(--ink-2); margin-bottom: 14px; }

.lp-ticks { display: grid; gap: 9px; margin-bottom: 18px; }
.lp-ticks li { display: flex; flex-direction: column; gap: 2px; padding-inline-start: 26px; position: relative; font-size: .9rem; }
.lp-ticks li::before {
  content: "✓"; position: absolute; inset-inline-start: 0; top: 1px;
  width: 18px; height: 18px; border-radius: 50%; background: var(--accent-500); color: #fff;
  font-size: .68rem; display: grid; place-items: center; font-weight: 800;
}
.lp-ticks li b { font-family: var(--font-head); font-size: .94rem; }
.lp-ticks li span { color: var(--muted); font-size: .84rem; line-height: 1.6; }
.lp-ticks--light li { color: rgba(255,255,255,.92); }
.lp-ticks--light li span { color: rgba(255,255,255,.72); }

.lp-price-box { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 16px; margin-bottom: 16px; }
.lp-price-row { display: flex; align-items: baseline; gap: 11px; flex-wrap: wrap; }
.lp-price { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--brand-700); }
.lp-old { text-decoration: line-through; color: var(--muted-2); font-size: 1rem; }
.lp-off { background: var(--rose, #E11D48); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: .8rem; padding: 3px 10px; border-radius: 99px; }
.lp-price-note { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 8px; font-size: .8rem; color: var(--muted); }
.lp-stock { font-weight: 700; color: var(--ink-2); }
.lp-cod { color: var(--accent-700); font-weight: 700; }

.lp-cta {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  width: 100%; padding: 16px; border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--accent-700), #00734B); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: 1.06rem;
  box-shadow: 0 12px 26px rgba(0,115,75,.34); text-decoration: none;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
  animation: lpPulse 2.4s var(--ease) infinite;
}
.lp-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(0,115,75,.44); color: #fff; }
@keyframes lpPulse { 0%,100% { box-shadow: 0 12px 26px rgba(0,115,75,.34); } 50% { box-shadow: 0 12px 34px rgba(0,169,122,.5); } }

.lp-guarantees { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-top: 16px; }
.lp-g { text-align: center; border: 1px solid var(--line); border-radius: var(--r-md); padding: 11px 6px; background: #fff; }
.lp-g span { display: block; font-size: 1.15rem; margin-bottom: 4px; }
.lp-g b { display: block; font-family: var(--font-head); font-size: .8rem; }
.lp-g small { display: block; font-size: .68rem; color: var(--muted); margin-top: 2px; }

/* sections */
.lp-section { margin: clamp(20px, 3vw, 34px) 0; }
.lp-order-section { margin: 0; min-width: 0; }
.lp-h2 { font-family: var(--font-head); font-size: clamp(1.12rem, 2vw, 1.42rem); margin-bottom: 16px; }
.lp-share-section { margin-top: clamp(26px, 4vw, 44px); }
.lp-share-card { display: grid; justify-items: center; text-align: center; padding: clamp(22px, 4vw, 38px) 18px; border: 1px solid var(--line); border-radius: var(--r-xl, 20px); background: linear-gradient(135deg, #fff, #f5f8ff); }
.lp-share-card .lp-h2 { margin: 0 0 7px; }
.lp-share-intro { color: var(--muted); font-size: .92rem; line-height: 1.8; margin: 0; }
.lp-share-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 18px; }
.lp-share-button { width: 48px; height: 48px; border: 0; border-radius: 50%; display: inline-grid; place-items: center; color: #fff; background: var(--brand-700); box-shadow: 0 5px 14px rgba(15, 35, 70, .16); cursor: pointer; text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.lp-share-button:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 8px 18px rgba(15, 35, 70, .2); }
.lp-share-button:focus-visible { outline: 3px solid var(--accent-500); outline-offset: 3px; }
.lp-share-button svg { width: 22px; height: 22px; fill: currentColor; }
.lp-share-button[data-share-platform="instagram"] { background: #c13584; }
.lp-share-button[data-share-platform="tiktok"] { background: #111; }
.lp-share-button[data-share-platform="youtube"] { background: #e62117; }
.lp-share-status { min-height: 1.6em; color: var(--brand-700); font-size: .84rem; font-weight: 700; margin: 12px 0 0; }
.lp-section--alt { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl, 20px); padding: clamp(18px, 2.4vw, 26px); }

.lp-benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.lp-benefit { display: flex; gap: 13px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 15px; box-shadow: var(--sh-xs); }
.lp-benefit-ic { font-size: 1.5rem; flex: none; }
.lp-benefit b { display: block; font-family: var(--font-head); font-size: .98rem; margin-bottom: 4px; }
.lp-benefit p { font-size: .86rem; color: var(--muted); line-height: 1.75; }

.lp-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.lp-spec { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; }
.lp-spec span { font-size: .84rem; color: var(--muted); }
.lp-spec b { font-family: var(--font-head); font-size: .9rem; }
.lp-full-description { white-space: pre-line; overflow-wrap: anywhere; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(16px, 2.4vw, 24px); color: var(--ink-2); font-size: .94rem; line-height: 2; box-shadow: var(--sh-xs); }

.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.lp-step { text-align: center; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 14px; }
.lp-step-n {
  width: 38px; height: 38px; border-radius: 50%; margin: 0 auto 10px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--brand-600), var(--brand-700)); color: #fff;
  font-family: var(--font-head); font-weight: 800; box-shadow: var(--sh-brand);
}
.lp-step b { display: block; font-family: var(--font-head); font-size: .96rem; margin-bottom: 5px; }
.lp-step small { display: block; font-size: .8rem; color: var(--muted); line-height: 1.6; }

.lp-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.lp-review { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 15px; box-shadow: var(--sh-xs); }
.lp-review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.lp-avatar {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--brand-600); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: .92rem;
}
.lp-review-head b { display: block; font-family: var(--font-head); font-size: .9rem; }
.lp-review-head small { display: block; font-size: .72rem; color: var(--muted); }
.lp-review-head .lp-stars { margin-inline-start: auto; font-size: .82rem; }
.lp-review p { font-size: .86rem; color: var(--ink-2); line-height: 1.75; }

/* faq */
.lp-faq { display: grid; gap: 9px; }
.lp-faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.lp-faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; background: none; border: 0; cursor: pointer; text-align: start;
  font-family: var(--font-head); font-weight: 700; font-size: .94rem; color: var(--ink);
}
.lp-faq-ic { width: 22px; height: 22px; border-radius: 50%; background: var(--brand-50); color: var(--brand-700); flex: none; position: relative; }
.lp-faq-ic::before, .lp-faq-ic::after { content: ""; position: absolute; background: currentColor; border-radius: 2px; }
.lp-faq-ic::before { top: 50%; inset-inline: 5px; height: 2px; transform: translateY(-50%); }
.lp-faq-ic::after { inset-inline-start: 50%; inset-block: 5px; width: 2px; transform: translateX(-50%); transition: transform .2s var(--ease); }
.lp-faq-item.is-open .lp-faq-ic::after { transform: translateX(-50%) scaleY(0); }
.lp-faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.lp-faq-item.is-open .lp-faq-a { max-height: 260px; }
.lp-faq-a-in { padding: 0 16px 14px; font-size: .88rem; color: var(--muted); line-height: 1.85; }

/* order */
.lp-order-wrap {
  display: grid; grid-template-columns: 1fr; gap: 12px;
  background: linear-gradient(150deg, var(--brand-900), var(--brand-700)); color: #fff;
  border-radius: var(--r-xl, 20px); padding: 14px;
}
.lp-order-copy { display: none; }
.lp-order-copy h2 { color: #fff; }
.lp-order-sub { color: rgba(255,255,255,.8); font-size: .94rem; margin-bottom: 16px; line-height: 1.8; }
.lp-order-call { margin-top: 20px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .86rem; color: rgba(255,255,255,.75); }
.lp-order-call a { color: #fff; font-family: var(--font-head); font-weight: 700; text-decoration: underline; }

.lp-form { background: #fff; border-radius: var(--r-lg); padding: clamp(16px, 2.2vw, 22px); color: var(--ink); }
.lp-form-head { display: flex; align-items: center; gap: 11px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.lp-form-head b { display: block; font-family: var(--font-head); font-size: 1rem; }
.lp-form-head small { display: block; font-size: .74rem; color: var(--accent-700); font-weight: 700; }
.lp-field { margin-bottom: 12px; }
.lp-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.lp-field label { display: block; font-family: var(--font-head); font-size: .82rem; font-weight: 700; margin-bottom: 6px; }
.lp-field input, .lp-field select, .lp-field textarea {
  width: 100%; padding: 12px 13px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  font-family: var(--font-body); font-size: .94rem; background: #fff; color: var(--ink);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.lp-field input:focus, .lp-field select:focus, .lp-field textarea:focus {
  outline: 0; border-color: var(--brand-500); box-shadow: 0 0 0 4px rgba(29,78,216,.12);
}
.lp-field textarea { resize: vertical; min-height: 62px; }
.lp-total {
  display: grid; gap: 9px;
  background: var(--bg-alt); border: 1px dashed var(--line); border-radius: var(--r-sm);
  padding: 11px 14px; margin: 14px 0; font-size: .88rem; color: var(--muted);
}
.lp-total-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lp-total-line em { color: var(--ink-2); font-style: normal; font-weight: 700; }
.lp-total-line b { font-family: var(--font-head); font-weight: 800; font-size: 1.04rem; color: var(--brand-700); white-space: nowrap; }
.lp-total-line--grand { border-top: 1px solid var(--line); padding-top: 9px; color: var(--ink); font-family: var(--font-head); font-weight: 800; }
.lp-total-line--grand b { font-size: 1.22rem; }
.lp-submit {
  display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%;
  padding: 15px; border: 0; border-radius: var(--r-md); cursor: pointer;
  background: linear-gradient(135deg, var(--brand-600), var(--brand-700)); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: 1.02rem; text-decoration: none;
  box-shadow: var(--sh-brand); transition: transform .18s var(--ease);
}
.lp-submit:hover { transform: translateY(-2px); color: #fff; }
.lp-submit:disabled { opacity: .7; cursor: wait; transform: none; }
.lp-secure { margin-top: 10px; font-size: .74rem; color: var(--muted); text-align: center; }
.lp-ghost {
  width: 100%; margin-top: 9px; padding: 13px; border: 1.5px solid var(--line); border-radius: var(--r-md);
  background: #fff; color: var(--ink-2); font-family: var(--font-head); font-weight: 700; cursor: pointer;
}

/* footer */
.lp-footer { background: #fff; border-top: 1px solid var(--line); margin-top: 30px; padding: 26px 0; }
.lp-footer-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.lp-footer-brand { display: flex; align-items: center; gap: 11px; }
.lp-footer-brand b { display: block; font-family: var(--font-head); font-size: 1rem; }
.lp-footer-brand small { display: block; font-size: .7rem; color: var(--muted); }
.lp-footer-links { display: flex; gap: 16px; font-size: .84rem; font-weight: 700; }
.lp-footer-links a { color: var(--muted); }
.lp-footer-links a:hover { color: var(--brand-600); }
.lp-copy { width: 100%; text-align: center; font-size: .76rem; color: var(--muted-2); margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-2); }

/* whatsapp float */
.lp-wa-float {
  position: fixed; inset-inline-start: 18px; bottom: 18px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #0C7C46; color: #fff; box-shadow: 0 12px 26px rgba(12,124,70,.42);
  animation: lpFloat 2.6s ease-in-out infinite;
}
@keyframes lpFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* success */
.lp-success { position: fixed; inset: 0; z-index: 90; background: rgba(10,31,68,.6); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 20px; }
.lp-success[hidden] { display: none; }
.lp-success-card { background: #fff; border-radius: var(--r-xl, 20px); padding: clamp(24px, 3vw, 36px); max-width: 420px; text-align: center; box-shadow: var(--sh-lg); }
.lp-success-ic { font-size: 3rem; margin-bottom: 10px; }
.lp-success-card h2 { font-family: var(--font-head); font-size: 1.4rem; margin-bottom: 8px; }
.lp-success-card p { font-size: .94rem; color: var(--ink-2); }
.lp-success-sub { color: var(--muted); font-size: .88rem; line-height: 1.8; margin-top: 6px; }
.lp-success-actions { margin-top: 18px; }

/* 404 */
.lp-404 { max-width: 460px; margin: 80px auto; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl, 20px); padding: 40px 26px; }
.lp-404-ic { font-size: 3rem; margin-bottom: 12px; }
.lp-404 h1 { font-family: var(--font-head); font-size: 1.4rem; margin-bottom: 8px; }
.lp-404 p { color: var(--muted); margin-bottom: 20px; }

@media (max-width: 980px) {
  .lp-hero {
    grid-template-columns: 1fr;
    grid-template-areas: "visual" "info";
  }
  .lp-reviews { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .lp-benefits, .lp-specs, .lp-steps { grid-template-columns: 1fr; }
  .lp-guarantees { grid-template-columns: repeat(2, 1fr); }
  .lp-trust-mini { display: none; }
  .lp-footer-in { justify-content: center; text-align: center; }
}

/* Landing page actions in tiles / store rows */
.tile-actions { display: flex; flex-direction: column; gap: 7px; grid-column: 1 / -1; }
.tile-actions .btn { width: 100%; justify-content: center; }
.store-product .btn { flex: none; }
.oc-src {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-head); font-size: .7rem; font-weight: 700;
  color: var(--brand-700); background: var(--brand-50); border: 1px solid var(--brand-100);
  border-radius: 99px; padding: 3px 9px;
}
.oc-src .ic { width: 12px; height: 12px; }
@media (max-width: 620px) {
  .store-product { flex-wrap: wrap; }
  .store-product .btn { width: 100%; justify-content: center; margin-top: 4px; }
}

/* ============================================================
   LANDING PAGES showcase (index.html)
   ============================================================ */
.lp-showcase {
  display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(24px, 3.5vw, 46px);
  align-items: center; margin-top: clamp(30px, 4vw, 48px);
}
.lp-points { display: grid; gap: 13px; }
.lp-points li {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 15px 17px; box-shadow: var(--sh-xs);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.lp-points li:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--brand-100); }
.lp-points .icon-box { width: 46px; height: 46px; border-radius: 13px; flex: none; }
.lp-points .icon-box .ic { width: 22px; height: 22px; }
.lp-points h4 { font-size: 1rem; margin-bottom: 4px; }
.lp-points p { font-size: .88rem; color: var(--muted); line-height: 1.75; }
.lp-points code {
  background: var(--brand-50); border: 1px solid var(--brand-100); color: var(--brand-700);
  border-radius: 5px; padding: 1px 6px; font-family: ui-monospace, monospace;
  font-size: .78rem; direction: ltr; display: inline-block;
}

/* mockup of the landing page */
.lp-shot {
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  background: #fff; box-shadow: var(--sh-lg);
}
.lp-shot .bar {
  background: var(--bg-alt); border-bottom: 1px solid var(--line);
  padding: 9px 12px; display: flex; align-items: center; gap: 8px;
  font-size: .72rem; color: var(--muted); direction: ltr;
}
.lp-shot .bar .dots { display: flex; gap: 4px; }
.lp-shot .bar .dots i { width: 8px; height: 8px; border-radius: 50%; background: #CBD5E1; display: block; }
.lp-shot-body { padding: 13px; background: #F6F8FC; }
.lp-shot-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 11px; }
.lp-shot-badge {
  background: linear-gradient(135deg, #C2410C, #9A3412); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: .68rem; padding: 4px 10px; border-radius: 99px;
}
.lp-shot-sold { font-size: .68rem; color: var(--muted); font-weight: 700; }
.lp-shot-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 12px; }
.lp-shot-img { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: #fff; aspect-ratio: 1/1; }
.lp-shot-img img { width: 100%; height: 100%; object-fit: cover; }
.lp-shot-info b { display: block; font-family: var(--font-head); font-size: .82rem; line-height: 1.5; margin-bottom: 5px; }
.lp-shot-rate { font-size: .72rem; color: #A85F00; letter-spacing: 1px; }
.lp-shot-rate i { color: var(--muted); font-style: normal; letter-spacing: 0; }
.lp-shot-price { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; margin: 7px 0 9px; }
.lp-shot-price { font-family: var(--font-head); font-weight: 800; font-size: 1.06rem; color: var(--brand-700); }
.lp-shot-price s { color: var(--muted-2); font-size: .76rem; font-weight: 500; }
.lp-shot-price em {
  font-style: normal; background: var(--rose, #E11D48); color: #fff; font-size: .64rem;
  padding: 2px 7px; border-radius: 99px; font-weight: 800;
}
.lp-shot-cta {
  background: linear-gradient(135deg, var(--accent-700), #00734B); color: #fff;
  border-radius: var(--r-sm); padding: 9px; text-align: center;
  font-family: var(--font-head); font-weight: 800; font-size: .78rem;
  box-shadow: 0 8px 18px rgba(0,115,75,.3);
}
.lp-shot-trust { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 9px; }
.lp-shot-trust span {
  font-size: .62rem; font-weight: 700; color: var(--muted);
  border: 1px solid var(--line); border-radius: 99px; padding: 3px 8px; background: #fff;
}
.lp-shot-form {
  margin-top: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 11px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px;
}
.lp-shot-form span {
  border: 1px dashed var(--line); border-radius: var(--r-sm); padding: 8px 6px;
  font-size: .64rem; color: var(--muted-2); text-align: center; background: var(--bg-alt);
}
.lp-shot-form b {
  grid-column: 1 / -1; background: linear-gradient(135deg, var(--brand-600), var(--brand-700)); color: #fff;
  border-radius: var(--r-sm); padding: 9px; text-align: center;
  font-family: var(--font-head); font-size: .76rem;
}
@media (max-width: 980px) {
  .lp-showcase { grid-template-columns: 1fr; }
}

/* Landing page gallery zoom views */
.lp-main-img img { transition: transform .35s var(--ease); }
.lp-main-img img.zoom-0 { transform: scale(1); object-position: center; }
.lp-main-img img.zoom-1 { transform: scale(1.85); object-position: 50% 32%; }
.lp-main-img img.zoom-2 { transform: scale(2.4); object-position: 50% 78%; }
.lp-thumb img { transition: transform .25s var(--ease); }
.lp-thumb img.zoom-1 { transform: scale(1.7); object-position: 50% 32%; }
.lp-thumb img.zoom-2 { transform: scale(2.2); object-position: 50% 78%; }

/* ============================================================
   PRODUCT LANDING v2 — visual use cases and buyer options
   ============================================================ */
.lp-info h1 { font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.45; }
.lp-desc { font-size: 1.02rem; line-height: 1.95; }
.lp-section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.lp-section-head .lp-h2 { margin: 4px 0 0; }
.lp-section-head > p { max-width: 430px; color: var(--muted); font-size: .92rem; line-height: 1.75; }
.lp-kicker { display: inline-flex; padding: 4px 10px; border-radius: 99px; background: var(--accent-50); color: var(--accent-700); font-family: var(--font-head); font-size: .76rem; font-weight: 800; }
.lp-usecases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.lp-usecase { min-height: 250px; position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--brand-900); box-shadow: var(--sh-sm); }
.lp-usecase > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.lp-usecase::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,25,54,.92), rgba(8,25,54,.06) 75%); }
.lp-usecase:hover > img { transform: scale(1.05); }
.lp-usecase-copy { position: absolute; inset-inline: 0; bottom: 0; z-index: 1; padding: 18px; color: #fff; }
.lp-usecase-copy span { display: inline-flex; border: 1px solid rgba(255,255,255,.32); background: rgba(255,255,255,.14); border-radius: 99px; padding: 3px 9px; font-size: .7rem; font-family: var(--font-head); font-weight: 800; margin-bottom: 8px; }
.lp-usecase-copy h3 { font-family: var(--font-head); font-size: 1.03rem; margin-bottom: 5px; color: #fff; }
.lp-usecase-copy p { color: rgba(255,255,255,.88); font-size: .84rem; line-height: 1.7; }
.lp-variant-options { display: grid; gap: 12px; margin: 14px 0; }
.lp-option-group { min-inline-size: 0; border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px; background: var(--bg-alt); }
.lp-option-group legend { padding: 0 5px; font-family: var(--font-head); font-size: .91rem; font-weight: 800; color: var(--ink); }
.lp-option-group legend em { color: var(--rose-600); font-size: .75rem; font-style: normal; margin-inline-start: 5px; }
.lp-option-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.lp-option { min-height: 46px; padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); cursor: pointer; font-family: var(--font-head); font-weight: 700; font-size: .94rem; transition: transform .16s var(--ease), border-color .16s var(--ease), background .16s var(--ease), color .16s var(--ease); }
.lp-option:hover { transform: translateY(-1px); border-color: var(--brand-400); }
.lp-option[aria-pressed=true] { border-color: var(--brand-600); background: var(--brand-700); color: #fff; box-shadow: var(--sh-brand); }
.lp-form .lp-field label { font-size: .9rem; margin-bottom: 8px; }
.lp-form .lp-field input, .lp-form .lp-field select, .lp-form .lp-field textarea { min-height: 52px; padding: 13px 14px; font-size: 16px; border-radius: 11px; }
.lp-form .lp-field textarea { min-height: 86px; }
.lp-total { padding: 14px 15px; font-size: .96rem; }
.lp-submit { min-height: 55px; font-size: 1.08rem; }
@media (max-width: 720px) {
  .lp-section-head { align-items: flex-start; flex-direction: column; gap: 7px; }
  .lp-section-head > p { font-size: .95rem; }
  .lp-usecases { grid-template-columns: 1fr; }
  .lp-usecase { min-height: 210px; }
  .lp-info h1 { font-size: 1.45rem; }
  .lp-desc { font-size: 1rem; }
  .lp-option { flex: 1 0 auto; text-align: center; }
}

/* Shared interactive form states */
[hidden]{display:none!important}.form-error{color:#a61b38;background:#fff0f3;border:1px solid #efb7c5;border-radius:10px;padding:12px;margin:12px 0;overflow-wrap:anywhere}.form-notice{background:#eef5ff;border:1px solid #c6d9f4;border-radius:10px;padding:12px;margin:12px 0}.status-message{padding:12px;border-radius:10px;background:#edf8f0;margin:12px 0;overflow-wrap:anywhere}.input-wrap input[dir="ltr"]{padding-left:44px;padding-right:48px}.field,.form-row>*{min-width:0}.input{min-width:0}button,a,input,select{touch-action:manipulation}@media(max-width:760px){input,select,textarea{font-size:16px!important}.campaign{flex-wrap:wrap}.header-actions{gap:6px}}
