/* =========================================================
   NextShop.bg — Main Stylesheet
   Design system, components, layout
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Ink / darks */
  --ink: #0a0a0f;
  --ink2: #14141f;
  --ink3: #1c1c28;
  --ink4: #2a2a3d;

  /* Lights */
  --white: #ffffff;
  --off: #f7f7fb;
  --soft: #f1f1f7;
  --softer: #f9f9fc;

  /* Text */
  --muted: #6b7280;
  --faint: #9ca3af;

  /* Brand — violet */
  --violet: #5b21b6;
  --violet-mid: #7c3aed;
  --violet-light: #8b5cf6;
  --violet-glow: #a78bfa;
  --violet-faint: #ede9fe;
  --violet-pale: #f5f3ff;

  /* Accents */
  --emerald: #059669;
  --emerald-light: #10b981;
  --emerald-faint: #d1fae5;
  --amber: #d97706;
  --amber-faint: #fef3c7;
  --pink: #db2777;

  /* Borders */
  --border: #e6e7ee;
  --border2: #d1d5db;
  --border-strong: #b8bcc8;

  /* Radii */
  --r: 12px;
  --r2: 8px;
  --r3: 20px;
  --r4: 28px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(16, 12, 40, .06), 0 1px 3px rgba(16, 12, 40, .04);
  --shadow: 0 4px 16px rgba(16, 12, 40, .06), 0 2px 6px rgba(16, 12, 40, .04);
  --shadow-md: 0 10px 30px rgba(16, 12, 40, .08), 0 4px 12px rgba(16, 12, 40, .05);
  --shadow-lg: 0 24px 60px rgba(16, 12, 40, .12), 0 8px 24px rgba(16, 12, 40, .06);
  --shadow-violet: 0 12px 40px rgba(124, 58, 237, .35);
  --shadow-glow: 0 0 0 1px rgba(124,58,237,.08), 0 8px 40px rgba(124,58,237,.18);

  /* Type */
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Sora', 'Inter', system-ui, sans-serif;

  /* Layout */
  --container: 1200px;
  --nav-h: 64px;

  color-scheme: light;
}

/* Dark theme */
:root[data-theme="dark"] {
  --ink: #ffffff;
  --ink2: #0d0d16;
  --ink3: #161624;
  --ink4: #20202f;
  --white: #161622;
  --off: #1c1c2a;
  --soft: #22222f;
  --softer: #1a1a26;
  --muted: #a1a1b5;
  --faint: #6f6f82;
  --border: #2a2a3a;
  --border2: #3a3a4d;
  --border-strong: #4a4a5e;
  --violet-faint: #2a1f4a;
  --violet-pale: #1f1838;
  --emerald-faint: #0f3326;
  --amber-faint: #3a2a10;
  color-scheme: dark;
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color .4s ease, color .4s ease;
}
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul[role="list"] { list-style: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -100px; z-index: 9999;
  background: var(--violet-mid); color: #fff; padding: 10px 18px;
  border-radius: 10px; font-weight: 600; font-size: 14px;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

/* ---------- Headings ---------- */
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.02em; line-height: 1.08; }

/* ---------- Gradient text ---------- */
.grad-text {
  background: linear-gradient(110deg, var(--violet-mid), var(--violet-light) 45%, var(--pink) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: gradShift 6s ease-in-out infinite;
}
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* =========================================================
   SCROLL PROGRESS + CURSOR GLOW
   ========================================================= */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--violet-mid), var(--pink));
  z-index: 999; box-shadow: 0 0 12px rgba(124,58,237,.6);
  transition: width .1s linear;
}
.cursor-glow {
  position: fixed; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,.12), transparent 60%);
  pointer-events: none; z-index: 1; transform: translate(-50%, -50%);
  transition: opacity .3s ease; opacity: 0; mix-blend-mode: multiply;
}
:root[data-theme="dark"] .cursor-glow { mix-blend-mode: screen; opacity: 0; }

/* =========================================================
   NAVIGATION
   ========================================================= */
.nav-wrap {
  position: sticky; top: 0; z-index: 200;
  transition: background .3s ease;
}
.nav {
  background: color-mix(in srgb, var(--white) 80%, transparent);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid transparent;
  padding: 0 32px; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  transition: border-color .3s, box-shadow .3s;
}
.nav-wrap.scrolled .nav {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.nav-logo-mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, var(--violet-mid), var(--violet-light));
  display: grid; place-items: center;
  box-shadow: 0 4px 14px rgba(124,58,237,.4);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}
.nav-logo:hover .nav-logo-mark { transform: rotate(-8deg) scale(1.06); }
.nav-logo-mark svg { width: 18px; height: 18px; fill: #fff; }
.nav-logo-name { font-size: 17px; letter-spacing: -.5px; color: var(--ink); font-family: var(--font-display); }
.nav-logo-dot { color: var(--violet-mid); }

.nav-links { display: flex; gap: 2px; list-style: none; }
.nav-link {
  display: inline-block; padding: 8px 14px; font-size: 14px; font-weight: 500;
  color: var(--muted); border-radius: 8px; position: relative;
  transition: color .2s, background .2s;
}
.nav-link::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; background: var(--violet-mid); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav-link:hover, .nav-link.active { color: var(--ink); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-right { display: flex; gap: 10px; align-items: center; }
.theme-toggle {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--white); color: var(--ink); display: grid; place-items: center;
  position: relative; overflow: hidden;
}
.theme-toggle i { position: absolute; font-size: 18px; transition: transform .4s, opacity .3s; }
.theme-toggle .ti-sun { transform: translateY(0); opacity: 1; }
.theme-toggle .ti-moon { transform: translateY(28px); opacity: 0; }
:root[data-theme="dark"] .theme-toggle .ti-sun { transform: translateY(-28px); opacity: 0; }
:root[data-theme="dark"] .theme-toggle .ti-moon { transform: translateY(0); opacity: 1; }

.nav-login {
  background: none; border: 1px solid var(--border2); padding: 8px 16px;
  border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
  transition: background .2s, border-color .2s;
}
.nav-login:hover { background: var(--soft); border-color: var(--border-strong); }
.nav-cta-btn {
  background: linear-gradient(135deg, var(--violet-mid), var(--violet-light));
  border: none; padding: 9px 18px; border-radius: 9px; font-size: 14px; font-weight: 600;
  color: #fff; display: inline-flex; align-items: center; gap: 6px;
  box-shadow: var(--shadow-violet);
  transition: transform .2s, box-shadow .2s;
}
.nav-cta-btn:hover { transform: translateY(-1px); box-shadow: 0 16px 44px rgba(124,58,237,.45); }

.nav-burger {
  display: none; width: 40px; height: 40px; background: none; border: 1px solid var(--border);
  border-radius: 9px; flex-direction: column; gap: 4px; align-items: center; justify-content: center;
}
.nav-burger span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .2s; }
.nav-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-mobile {
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 16px 20px 24px; display: flex; flex-direction: column; gap: 4px;
  transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform .35s cubic-bezier(.4,0,.2,1), opacity .3s ease, visibility .3s;
  z-index: 199;
}
.nav-mobile.open {
  transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto;
  box-shadow: var(--shadow-md);
}
.nav-mobile a { padding: 12px 8px; font-size: 16px; font-weight: 500; border-bottom: 1px solid var(--border); }
.nav-mobile .nav-cta-btn { margin-top: 12px; justify-content: center; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 11px; font-weight: 600; font-size: 15px;
  border: none; padding: 12px 22px; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
  font-family: inherit;
}
.btn-lg { padding: 14px 26px; font-size: 15px; border-radius: 12px; }
.btn-primary {
  background: linear-gradient(135deg, var(--violet-mid), var(--violet-light));
  color: #fff; box-shadow: var(--shadow-violet);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 50px rgba(124,58,237,.5); }
.btn-ghost {
  background: var(--white); color: var(--ink); border: 1.5px solid var(--border2);
}
.btn-ghost:hover { border-color: var(--violet-light); color: var(--violet-mid); transform: translateY(-2px); }

.glow { position: relative; }
.glow::before {
  content: ''; position: absolute; inset: -3px; border-radius: inherit;
  background: linear-gradient(135deg, var(--violet-mid), var(--pink));
  filter: blur(14px); opacity: .35; z-index: -1; transition: opacity .3s;
}
.glow:hover::before { opacity: .6; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; padding: 80px 32px 64px; overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55;
  will-change: transform;
}
.blob-1 { width: 520px; height: 520px; top: -120px; left: -100px; background: radial-gradient(circle, #a78bfa, transparent 70%); animation: float1 18s ease-in-out infinite; }
.blob-2 { width: 460px; height: 460px; top: -60px; right: -120px; background: radial-gradient(circle, #f0abfc, transparent 70%); animation: float2 22s ease-in-out infinite; }
.blob-3 { width: 420px; height: 420px; bottom: -160px; left: 40%; background: radial-gradient(circle, #93c5fd, transparent 70%); animation: float3 20s ease-in-out infinite; }
:root[data-theme="dark"] .blob { opacity: .3; }

.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  opacity: .5;
}

.hero-inner { max-width: var(--container); margin: 0 auto; text-align: center; position: relative; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--violet-pale); border: 1px solid color-mix(in srgb, var(--violet-light) 30%, transparent);
  border-radius: 100px; padding: 6px 16px; font-size: 12px; font-weight: 600;
  color: var(--violet-mid); margin-bottom: 28px; letter-spacing: .2px;
  transition: box-shadow .3s;
}
.hero-eyebrow:hover { box-shadow: var(--shadow-glow); }
.hero-eyebrow i { transition: transform .25s; }
.hero-eyebrow:hover i { transform: translateX(3px); }
.hero-eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--violet-light); box-shadow: 0 0 0 4px color-mix(in srgb, var(--violet-light) 25%, transparent); animation: pulse 2s infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--violet-light) 40%, transparent); }
  50% { box-shadow: 0 0 0 8px transparent; }
}

.hero-title {
  font-size: clamp(38px, 6vw, 72px); font-weight: 800; letter-spacing: -.035em;
  line-height: 1.02; color: var(--ink); margin-bottom: 22px;
  max-width: 880px; margin-left: auto; margin-right: auto;
}
.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px); color: var(--muted);
  max-width: 560px; margin: 0 auto 36px; line-height: 1.65;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-trust {
  margin-top: 26px; font-size: 13px; color: var(--faint);
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
}
.trust-faces { display: flex; }
.face {
  width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--white);
  margin-left: -8px; font-size: 10px; font-weight: 700; display: grid; place-items: center; color: #fff;
  box-shadow: var(--shadow-sm);
}
.face:first-child { margin-left: 0; }
.f1 { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.f2 { background: linear-gradient(135deg, #059669, #34d399); }
.f3 { background: linear-gradient(135deg, #d97706, #fbbf24); }
.f4 { background: linear-gradient(135deg, #db2777, #f472b6); }

/* ---------- Hero screen mockup ---------- */
.hero-screen {
  margin: 56px auto 0; max-width: 880px;
  background: var(--off); border: 1px solid var(--border);
  border-radius: var(--r3); overflow: hidden; position: relative;
  box-shadow: var(--shadow-lg);
  transform-style: preserve-3d;
  will-change: transform;
}
.screen-glow {
  position: absolute; inset: -2px; border-radius: inherit; z-index: -1;
  background: linear-gradient(135deg, var(--violet-light), var(--pink), #60a5fa);
  filter: blur(24px); opacity: .25;
}
.screen-bar {
  background: color-mix(in srgb, var(--white) 90%, transparent);
  border-bottom: 1px solid var(--border); padding: 12px 16px;
  display: flex; align-items: center; gap: 12px;
}
.screen-dots { display: flex; gap: 6px; }
.sdot { width: 12px; height: 12px; border-radius: 50%; }
.sdot-r { background: #ff5f57; } .sdot-y { background: #ffbd2e; } .sdot-g { background: #28ca41; }
.screen-url {
  flex: 1; background: var(--soft); border-radius: 7px; padding: 6px 12px;
  font-size: 12px; color: var(--muted); font-weight: 500; display: flex; align-items: center; gap: 6px;
}
.screen-url i { color: var(--emerald); font-size: 12px; }
.screen-bar-meta { display: flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 700; color: var(--muted); letter-spacing: 1px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #ef4444; animation: pulse 1.6s infinite; }
.screen-body { padding: 22px 26px; }
.screen-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.screen-logo { font-size: 15px; font-weight: 800; color: var(--ink); letter-spacing: -.3px; font-family: var(--font-display); }
.screen-nav-mini { display: flex; gap: 18px; }
.screen-nav-mini span { font-size: 11px; color: var(--muted); font-weight: 500; }
.screen-cart { position: relative; color: var(--ink); }
.screen-cart i { font-size: 16px; }
.cart-badge { position: absolute; top: -6px; right: -8px; background: var(--violet-mid); color: #fff; font-size: 9px; font-weight: 700; padding: 1px 5px; border-radius: 100px; }
.screen-hero-mini {
  background: linear-gradient(135deg, #4c1d95, #6d28d9);
  border-radius: 12px; padding: 26px; color: #fff; margin-bottom: 14px;
  position: relative; overflow: hidden;
}
.shm-tag { display: inline-block; background: rgba(255,255,255,.18); backdrop-filter: blur(8px); font-size: 10px; font-weight: 600; padding: 4px 12px; border-radius: 100px; margin-bottom: 12px; letter-spacing: .6px; }
.shm-h1 { font-size: 22px; font-weight: 800; letter-spacing: -.5px; margin-bottom: 6px; line-height: 1.2; font-family: var(--font-display); }
.shm-sub { font-size: 12px; opacity: .75; margin-bottom: 16px; }
.shm-btn { background: #fff; color: #5b21b6; border: none; padding: 9px 18px; border-radius: 8px; font-size: 12px; font-weight: 700; position: relative; z-index: 1; }
.shm-spark {
  position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244,114,182,.5), transparent 60%);
  animation: float1 10s ease-in-out infinite;
}
.shm-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sprod { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 10px; transition: transform .25s, box-shadow .25s; }
.sprod:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.sprod-img { height: 52px; border-radius: 6px; margin-bottom: 8px; }
.sprod-img-1 { background: linear-gradient(135deg, #ede9fe, #c4b5fd); }
.sprod-img-2 { background: linear-gradient(135deg, #d1fae5, #6ee7b7); }
.sprod-img-3 { background: linear-gradient(135deg, #fef3c7, #fcd34d); }
.sprod-name { font-size: 11px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.sprod-price { font-size: 12px; font-weight: 700; color: var(--violet-mid); }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  padding: 36px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--softer); overflow: hidden; display: flex; align-items: center; gap: 40px;
}
.marquee-label {
  font-size: 11px; font-weight: 700; color: var(--faint); letter-spacing: 2.5px;
  text-transform: uppercase; white-space: nowrap; padding-left: 32px; flex-shrink: 0;
}
.marquee-track {
  flex: 1; display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-group { display: flex; gap: 56px; padding-right: 56px; flex-shrink: 0; animation: marquee 28s linear infinite; }
.marquee:hover .marquee-group { animation-play-state: paused; }
.sp-logo { font-size: 18px; font-weight: 800; color: var(--border-strong); letter-spacing: -.5px; display: flex; align-items: center; gap: 8px; transition: color .25s; white-space: nowrap; font-family: var(--font-display); }
.sp-logo i { font-size: 20px; }
.marquee-group:hover .sp-logo:hover { color: var(--violet-mid); }
@keyframes marquee { to { transform: translateX(-100%); } }

/* =========================================================
   STATS
   ========================================================= */
.stats { padding: 64px 32px; }
.stats-grid {
  max-width: var(--container); margin: 0 auto; display: grid;
  grid-template-columns: repeat(4, 1fr); gap: 20px;
  background: linear-gradient(135deg, var(--ink2), var(--ink3));
  border-radius: var(--r4); padding: 40px; position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.stats-grid::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at top left, rgba(124,58,237,.25), transparent 50%),
              radial-gradient(ellipse at bottom right, rgba(236,72,153,.18), transparent 50%);
}
.stat { position: relative; text-align: center; }
.stat-val { font-size: clamp(28px, 3vw, 40px); font-weight: 800; color: #fff; letter-spacing: -.02em; font-family: var(--font-display); }
.stat-val .grad-text { display: inline; }
.stat-lbl { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 4px; }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: 96px 32px; max-width: var(--container); margin: 0 auto; }
.section-center { text-align: center; }
.section-head { max-width: 720px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; color: var(--violet-mid);
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px;
  background: var(--violet-pale); padding: 5px 12px; border-radius: 100px;
}
h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; color: var(--ink); margin-bottom: 16px; }
.section-sub { font-size: 17px; color: var(--muted); max-width: 520px; line-height: 1.65; margin: 0 auto; }

/* =========================================================
   BENTO GRID (FEATURES)
   ========================================================= */
.bento {
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(220px, auto); gap: 18px;
}
.bento-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r3);
  padding: 28px; position: relative; overflow: hidden;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s, border-color .3s;
  transform-style: preserve-3d; display: flex; flex-direction: column;
}
.bento-card:hover { border-color: color-mix(in srgb, var(--violet-light) 40%, var(--border)); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.bento-lg { grid-column: span 2; grid-row: span 2; background: linear-gradient(135deg, var(--ink2), var(--ink3)); color: #fff; padding: 36px; }
.bento-md { grid-column: span 2; }
.bento-glow { position: absolute; width: 280px; height: 280px; border-radius: 50%; right: -80px; top: -80px; background: radial-gradient(circle, rgba(124,58,237,.45), transparent 60%); filter: blur(40px); pointer-events: none; }
.bento-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; letter-spacing: -.02em; }
.bento-lg h3 { font-size: 26px; color: #fff; max-width: 90%; }
.bento-card p { font-size: 14px; color: var(--muted); line-height: 1.65; }
.bento-lg p { color: rgba(255,255,255,.7); font-size: 15px; max-width: 86%; }
.bento-tag { display: inline-flex; align-items: center; gap: 6px; background: rgba(124,58,237,.15); border: 1px solid rgba(167,139,250,.3); color: var(--violet-glow); font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 100px; letter-spacing: .6px; width: fit-content; margin-bottom: 18px; }
.bento-icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  font-size: 22px; margin-bottom: 18px;
}
.bento-icon.violet { background: var(--violet-faint); color: var(--violet-mid); }
.bento-icon.emerald { background: var(--emerald-faint); color: var(--emerald); }
.bento-icon.amber { background: var(--amber-faint); color: var(--amber); }
.bento-icon i { font-size: 22px; }

.mini-metric { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.mini-metric b { color: var(--emerald); font-size: 16px; font-family: var(--font-display); }
.pay-row { margin-top: auto; display: flex; gap: 6px; flex-wrap: wrap; padding-top: 14px; }
.pay-pill { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 6px; background: var(--soft); color: var(--ink); border: 1px solid var(--border); }

.mini-chart { margin-top: auto; display: flex; align-items: flex-end; gap: 6px; height: 70px; padding-top: 14px; }
.mc-bar { width: 100%; background: var(--soft); border-radius: 5px 5px 0 0; height: var(--h); border: 1px solid var(--border); transition: background .3s; }
.mc-bar.hi { background: linear-gradient(180deg, var(--violet-light), var(--violet-mid)); border: none; }

/* AI demo block */
.ai-demo { margin-top: auto; padding-top: 20px; }
.ai-row { margin-bottom: 10px; }
.ai-prompt { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); padding: 8px 14px; border-radius: 100px; font-size: 13px; color: rgba(255,255,255,.85); }
.ai-typing { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.06); border-radius: 12px; padding: 14px 16px; min-height: 58px; position: relative; }
.ai-typing::before { content: ''; width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--violet-light), var(--pink)); flex-shrink: 0; }
.ai-typing::after {
  content: 'Генериране на SEO описание на български…';
  color: rgba(255,255,255,.5); font-size: 13px;
}
.ai-cursor { display: inline-block; width: 2px; height: 16px; background: var(--violet-glow); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* =========================================================
   HOW IT WORKS
   ========================================================= */
.how-section { position: relative; }
.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  position: relative;
}
.step-line {
  position: absolute; top: 70px; left: 16%; right: 16%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--violet-light), var(--pink), var(--violet-light), transparent);
  background-size: 200% 100%; z-index: 0; opacity: .35;
  animation: lineFlow 6s linear infinite;
}
@keyframes lineFlow { to { background-position: 200% 0; } }
.step-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r3);
  padding: 32px 26px; position: relative; z-index: 1;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--violet-light); }
.step-num { font-size: 12px; font-weight: 700; color: var(--violet-mid); letter-spacing: 1px; margin-bottom: 22px; display: flex; align-items: center; gap: 10px; text-transform: uppercase; }
.step-num-circle { width: 30px; height: 30px; border-radius: 50%; background: var(--violet-faint); display: grid; place-items: center; font-size: 14px; font-weight: 800; color: var(--violet-mid); }
.step-icon { width: 48px; height: 48px; background: var(--violet-pale); border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; transition: transform .3s; }
.step-card:hover .step-icon { transform: scale(1.08) rotate(-4deg); }
.step-icon i { font-size: 22px; color: var(--violet-mid); }
.step-title { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 8px; letter-spacing: -.02em; }
.step-body { font-size: 14px; color: var(--muted); line-height: 1.65; }
.step-time { display: inline-flex; align-items: center; gap: 5px; background: var(--emerald-faint); color: var(--emerald); font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 100px; margin-top: 16px; }

/* =========================================================
   SHOWCASE (alternating features)
   ========================================================= */
.showcase { padding-top: 0; }
.features-alt {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  align-items: center; margin-bottom: 80px;
}
.features-alt.reverse .feat-visual { order: 2; }
.feat-visual {
  background: var(--off); border: 1px solid var(--border); border-radius: var(--r3);
  padding: 28px; overflow: hidden; position: relative;
}
.feat-content { padding: 12px 0; }
.feat-eyebrow { font-size: 11px; font-weight: 700; color: var(--violet-mid); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 14px; }
.feat-h { font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); margin-bottom: 14px; line-height: 1.12; }
.feat-p { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 24px; }
.feat-list { display: flex; flex-direction: column; gap: 12px; list-style: none; }
.feat-li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); }
.feat-li-check { width: 22px; height: 22px; min-width: 22px; background: var(--emerald-faint); border-radius: 50%; display: grid; place-items: center; margin-top: 1px; }
.feat-li-check i { font-size: 12px; color: var(--emerald); }
.feat-li strong { color: var(--ink); font-weight: 600; }

/* Mini dashboard */
.mini-dash { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 18px; margin-bottom: 12px; }
.mini-dash-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mini-dash-title { font-size: 12px; font-weight: 700; color: var(--ink); }
.mini-dash-badge { background: var(--emerald-faint); color: var(--emerald); font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 100px; }
.dash-bars { display: flex; gap: 6px; align-items: flex-end; height: 70px; }
.dbar { flex: 1; border-radius: 4px 4px 0 0; background: var(--soft); transition: background .3s; animation: barRise .9s cubic-bezier(.34,1.56,.64,1) backwards; }
.dbar.mid { background: var(--violet-glow); }
.dbar.hi { background: linear-gradient(180deg, var(--violet-light), var(--violet-mid)); }
@keyframes barRise { from { transform: scaleY(0); transform-origin: bottom; } }
.dash-kpis { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.dkpi { background: var(--off); border-radius: 8px; padding: 12px; border: 1px solid var(--border); }
.dkpi-val { font-size: 18px; font-weight: 800; color: var(--ink); letter-spacing: -.5px; font-family: var(--font-display); }
.dkpi-lbl { font-size: 10px; color: var(--faint); margin-top: 2px; }

/* Mini builder */
.mini-builder { background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.mb-header { padding: 12px 14px; border-bottom: 1px solid var(--border); display: flex; gap: 8px; align-items: center; }
.mb-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border2); }
.mb-title { font-size: 11px; color: var(--muted); font-weight: 600; margin-left: 6px; }
.mb-body { display: grid; grid-template-columns: 52px 1fr; min-height: 140px; }
.mb-sidebar { background: var(--off); border-right: 1px solid var(--border); padding: 10px; display: flex; flex-direction: column; gap: 7px; }
.mb-tool { background: var(--white); border: 1px solid var(--border); border-radius: 6px; padding: 8px; display: grid; place-items: center; transition: all .2s; cursor: pointer; }
.mb-tool:hover { border-color: var(--violet-light); color: var(--violet-mid); transform: translateY(-2px); }
.mb-tool i { font-size: 15px; color: var(--muted); }
.mb-canvas { padding: 12px; display: flex; flex-direction: column; gap: 7px; }
.mb-block { border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; transition: transform .25s; cursor: pointer; }
.mb-block:hover { transform: translateX(4px); }
.mb-block-hero { background: linear-gradient(135deg, var(--violet-faint), var(--violet-pale)); height: 48px; color: var(--violet); }
.mb-block-prod { background: var(--off); height: 40px; color: var(--muted); border: 1px dashed var(--border2); }
.mb-block-cta { background: linear-gradient(135deg, var(--violet-mid), var(--violet-light)); height: 26px; color: #fff; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials-section { background: var(--off); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); max-width: none; }
.testimonials-section .section-head { margin-bottom: 48px; }
.testi-grid { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testi { background: var(--white); border: 1px solid var(--border); border-radius: var(--r3); padding: 28px; display: flex; flex-direction: column; gap: 16px; transition: transform .3s, box-shadow .3s, border-color .3s; }
.testi:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--violet-light); }
.testi-stars { display: flex; gap: 2px; color: #f59e0b; }
.testi-stars span { font-size: 14px; }
.testi-quote { font-size: 15px; color: var(--ink); line-height: 1.7; font-style: italic; flex: 1; }
.testi-person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.tav { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #fff; }
.tav1 { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.tav2 { background: linear-gradient(135deg, #059669, #34d399); }
.tav3 { background: linear-gradient(135deg, #d97706, #fbbf24); }
.tpname { font-size: 14px; font-weight: 700; color: var(--ink); }
.tprole { font-size: 12px; color: var(--muted); }

/* =========================================================
   PRICING
   ========================================================= */
.pricing-toggle { display: inline-flex; background: var(--off); border: 1px solid var(--border); border-radius: 100px; padding: 4px; margin: 28px auto 0; gap: 2px; }
.ptog { padding: 9px 22px; border-radius: 100px; border: none; background: none; font-size: 14px; font-weight: 600; color: var(--muted); transition: all .25s; display: inline-flex; align-items: center; gap: 4px; }
.ptog.active { background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); }
.save-pill { background: var(--emerald-faint); color: var(--emerald); font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 100px; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; align-items: stretch; }
.plan { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--r3); padding: 32px 28px; position: relative; transition: transform .3s, box-shadow .3s, border-color .3s; display: flex; flex-direction: column; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--border2); }
.plan.popular { border-color: var(--violet-mid); box-shadow: var(--shadow-glow); }
.popular-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--violet-mid), var(--violet-light)); color: #fff; font-size: 11px; font-weight: 700; padding: 5px 16px; border-radius: 100px; white-space: nowrap; letter-spacing: .3px; box-shadow: var(--shadow-violet); }
.plan-name { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.plan-price-row { display: flex; align-items: baseline; gap: 2px; margin-bottom: 6px; }
.plan-curr { font-size: 18px; font-weight: 700; color: var(--ink); margin-top: 4px; }
.plan-curr-sm { font-size: 14px; margin-top: 8px; }
.plan-num { font-size: 52px; font-weight: 900; letter-spacing: -.04em; color: var(--ink); line-height: 1; font-family: var(--font-display); transition: color .2s; }
.plan-num-sm { font-size: 42px; }
.plan-period { font-size: 13px; color: var(--muted); margin-left: 2px; }
.plan-desc { font-size: 13px; color: var(--muted); line-height: 1.6; min-height: 40px; margin-bottom: 22px; }
.plan-hr { border: none; border-top: 1px solid var(--border); margin: 0 0 20px; }
.plan-feats { display: flex; flex-direction: column; gap: 11px; margin-bottom: 28px; list-style: none; }
.pf { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--muted); }
.pf-ck { width: 20px; height: 20px; min-width: 20px; border-radius: 50%; background: var(--emerald-faint); display: grid; place-items: center; margin-top: 1px; }
.pf-ck i { font-size: 11px; color: var(--emerald); }
.pf-x { width: 20px; height: 20px; min-width: 20px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; margin-top: 1px; }
.pf-x i { font-size: 11px; color: var(--faint); }
.pf strong { color: var(--ink); font-weight: 600; }
.pf-off { opacity: .55; }
.plan-btn { width: 100%; padding: 12px; border-radius: 10px; font-size: 14px; font-weight: 700; border: 1.5px solid var(--border2); background: var(--white); color: var(--ink); transition: all .2s; margin-top: auto; display: block; text-align: center; text-decoration: none; }
.plan-btn:hover { border-color: var(--violet-light); color: var(--violet-mid); transform: translateY(-2px); }
.plan-btn-primary { background: linear-gradient(135deg, var(--violet-mid), var(--violet-light)); border-color: transparent; color: #fff; box-shadow: var(--shadow-violet); }
.plan-btn-primary:hover { color: #fff; box-shadow: 0 18px 50px rgba(124,58,237,.5); }

.guarantee { display: flex; justify-content: center; gap: 32px; padding: 36px 0 8px; flex-wrap: wrap; margin-top: 12px; }
.guar-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); font-weight: 500; }
.guar-item i { font-size: 17px; color: var(--violet-mid); }

/* Comparison */
.comp-section { max-width: 880px; margin: 48px auto 0; }
.comp-title { text-align: center; font-size: 28px; margin-bottom: 8px; }
.comp-sub { text-align: center; color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.comp-tbl-wrap { overflow-x: auto; border-radius: var(--r3); border: 1px solid var(--border); }
.comp-tbl { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 540px; }
.comp-tbl thead th { padding: 14px 16px; text-align: center; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--border); background: var(--off); }
.comp-tbl thead th:first-child { text-align: left; }
.comp-tbl tbody td { padding: 14px 16px; border-bottom: 1px solid var(--border); text-align: center; color: var(--muted); }
.comp-tbl tbody td:first-child { text-align: left; color: var(--ink); font-weight: 500; }
.comp-tbl tbody tr { transition: background .15s; }
.comp-tbl tbody tr:hover td { background: var(--off); }
.ck { color: var(--emerald); font-size: 15px; font-weight: 700; }
.cx { color: var(--border2); font-size: 14px; }
.ct { color: var(--violet-mid); font-size: 12px; font-weight: 700; }
.col-hi { background: var(--violet-pale); }
.col-hi-h { background: var(--violet-faint); color: var(--violet); }

/* =========================================================
   FAQ
   ========================================================= */
.faq-section { background: var(--off); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); max-width: none; }
.faq-wrap { max-width: 720px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q { width: 100%; background: none; border: none; padding: 22px 0; text-align: left; font-size: 16px; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q i { color: var(--violet-mid); font-size: 20px; flex-shrink: 0; transition: transform .35s cubic-bezier(.34,1.56,.64,1); width: 28px; height: 28px; background: var(--violet-pale); border-radius: 50%; display: grid; place-items: center; }
.faq-item.open .faq-q i { transform: rotate(135deg); background: var(--violet-mid); color: #fff; }
.faq-a { font-size: 14.5px; color: var(--muted); line-height: 1.75; max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s; }
.faq-item.open .faq-a { max-height: 220px; padding-bottom: 22px; }

/* =========================================================
   FINAL CTA
   ========================================================= */
.final-cta { position: relative; background: var(--ink); color: #fff; padding: 96px 32px; text-align: center; overflow: hidden; isolation: isolate; }
.final-cta-bg { position: absolute; inset: 0; z-index: -1; }
.final-cta-bg .blob { opacity: .4; }
.final-cta-inner { max-width: 720px; margin: 0 auto; position: relative; }
.final-cta h2 { color: #fff; font-size: clamp(30px, 4.2vw, 52px); letter-spacing: -.035em; margin-bottom: 16px; }
.final-cta p { font-size: 18px; color: rgba(255,255,255,.65); margin-bottom: 36px; }
.final-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-cta-white { background: #fff; color: var(--ink); border: none; padding: 15px 30px; border-radius: 12px; font-size: 15px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; transition: transform .2s, box-shadow .2s; }
.btn-cta-white:hover { transform: translateY(-2px); box-shadow: 0 18px 50px rgba(255,255,255,.2); }
.btn-cta-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(255,255,255,.2); padding: 14px 28px; border-radius: 12px; font-size: 15px; font-weight: 600; transition: background .2s, transform .2s; }
.btn-cta-ghost:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--ink2); padding: 64px 32px 32px; color: rgba(255,255,255,.7); }
.footer-grid { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand-name { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; font-family: var(--font-display); }
.footer-brand-mark { width: 26px; height: 26px; background: linear-gradient(135deg, var(--violet-mid), var(--violet-light)); border-radius: 7px; display: grid; place-items: center; }
.footer-brand-mark svg { width: 14px; height: 14px; fill: #fff; }
.footer-tagline { font-size: 13px; line-height: 1.7; max-width: 260px; margin-bottom: 18px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; border-radius: 9px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); display: grid; place-items: center; color: rgba(255,255,255,.7); transition: all .25s; }
.footer-social a:hover { background: var(--violet-mid); color: #fff; transform: translateY(-3px); border-color: var(--violet-mid); }
.footer-col-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,.4); margin-bottom: 18px; }
.footer-col a { display: block; font-size: 13.5px; color: rgba(255,255,255,.62); margin-bottom: 11px; transition: color .15s, transform .15s; }
.footer-col a:hover { color: #fff; transform: translateX(3px); }
.footer-bottom { max-width: var(--container); margin: 0 auto; border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: rgba(255,255,255,.4); }
.footer-legal a { color: rgba(255,255,255,.5); }
.footer-legal a:hover { color: #fff; }

/* =========================================================
   BACK TO TOP
   ========================================================= */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 150;
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, var(--violet-mid), var(--violet-light));
  color: #fff; border: none; box-shadow: var(--shadow-violet);
  display: grid; place-items: center; font-size: 20px;
  opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none;
  transition: opacity .3s, transform .3s;
}
.to-top.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.to-top:hover { transform: translateY(-3px) scale(1.05); }

/* =========================================================
   FLOAT ANIMATIONS
   ========================================================= */
@keyframes float1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(40px,30px); } }
@keyframes float2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-30px,40px); } }
@keyframes float3 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(20px,-30px); } }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
