/* ============================================================
   GSAP safety net — clearProps:'all' on each tween removes
   inline styles when done, so CSS always wins after animation.
   This block only guards against JS not loading at all.
============================================================ */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}


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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overscroll-behavior-y: none;
}

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

ul, ol {
  list-style: none;
}


/* ============================================================
   DESIGN SYSTEM — CSS VARIABLES
============================================================ */
:root {
  /* Colors */
  --bg:              #ffffff;
  --bg-soft:         #faf9ff;
  --bg-card:         #ffffff;

  --text-primary:    #0f0e17;
  --text-secondary:  #4a4660;
  --text-muted:      #9b97b2;

  --border:          #e8e4f5;
  --border-hover:    #cfc9ee;

  /* Brand palette */
  --lav:             #b39ddb;
  --lav-mid:         #9575cd;
  --lav-light:       #ede7f6;
  --pink:            #f48fb1;
  --pink-mid:        #e879a0;
  --blue-soft:       #90caf9;

  /* Gradients */
  --grad-brand:          linear-gradient(135deg, #9575cd, #e879a0, #60a5fa);
  --grad-hero-overlay:   linear-gradient(to bottom, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.60) 40%, rgba(10,10,10,0.92) 100%);
  --grad-page-bg:        linear-gradient(135deg, #f3e8ff 0%, #fce4ec 40%, #e3f2fd 100%);

  /* Telegram */
  --tg:              #2AABEE;
  --tg-dim:          rgba(42, 171, 238, 0.10);
  --tg-border:       rgba(42, 171, 238, 0.25);

  /* Status */
  --green-bg:        rgba(167, 243, 208, 0.30);
  --green-text:      #059669;
  --green-border:    rgba(6, 150, 90, 0.20);

  /* Typography — system fallbacks prevent CLS while web fonts load */
  --font-display:    'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body:       'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --space-xs:        8px;
  --space-sm:        12px;
  --space-md:        20px;
  --space-lg:        32px;
  --space-xl:        56px;

  /* Layout */
  --container:       1100px;
  --section-pad-x:   24px;
  --section-pad-y:   56px;

  /* Radius */
  --radius-sm:       8px;
  --radius-md:       12px;
  --radius-lg:       16px;
  --radius-full:     100px;

  /* Transitions */
  --ease:            0.2s ease;
}


/* ============================================================
   TYPOGRAPHY HELPERS
============================================================ */
.section-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lav-mid);
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 8vw, 48px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.section-sub {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.65;
  margin-bottom: 28px;
}

.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* ============================================================
   LAYOUT HELPERS
============================================================ */
.section {
  padding: var(--section-pad-y) var(--section-pad-x);
  background: var(--bg);
  content-visibility: auto;
  contain-intrinsic-size: 0 600px;
  scroll-margin-top: 64px;
}

.section--soft {
  padding: var(--section-pad-y) var(--section-pad-x);
  background: var(--bg-soft);
  content-visibility: auto;
  contain-intrinsic-size: 0 600px;
  scroll-margin-top: 64px;
}

.section--grad {
  padding: var(--section-pad-y) var(--section-pad-x);
  background: var(--grad-page-bg);
  content-visibility: auto;
  contain-intrinsic-size: 0 400px;
  scroll-margin-top: 64px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 0 var(--section-pad-x);
}


/* ============================================================
   BADGE HELPERS
============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.badge--hot {
  background: var(--lav-light);
  color: var(--lav-mid);
  border: 1px solid rgba(149, 117, 205, 0.25);
}

.badge--stock {
  background: var(--green-bg);
  color: var(--green-text);
  border: 1px solid var(--green-border);
}


/* ============================================================
   NAV
============================================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  /* Solid fallback for in-app browsers that don't support backdrop-filter */
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--ease);
}

#navbar.scrolled {
  box-shadow: 0 2px 20px rgba(149, 117, 205, 0.10);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--section-pad-x);
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--tg);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  transition: opacity var(--ease);
}

.nav__cta:hover {
  opacity: 0.85;
}


/* ============================================================
   HERO
============================================================ */
#hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0d0b14 0%, #1a1030 50%, #0a0a0a 100%);
}

/* Video background — fills and crops to center on every viewport */
#hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.55;
  filter: blur(3px) brightness(0.75);
  transform: scale(1.04); /* compensate for blur edge bleed */
  z-index: 0;
}

/* Gradient overlay — keeps text readable no matter the video */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--grad-hero-overlay);
  z-index: 1;
}

/* All content sits on top */
.hero__content {
  position: relative;
  z-index: 2;
  padding: 72px var(--section-pad-x) 40px;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}

/* Landscape phones — shorten height, compress padding so CTA stays visible */
@media (max-height: 500px) and (orientation: landscape) {
  #hero {
    min-height: 100dvh;
    align-items: center;
  }

  .hero__content {
    padding-top: 70px;
    padding-bottom: 32px;
  }

  .hero__title {
    font-size: clamp(32px, 8vw, 52px);
    margin-bottom: 10px;
  }

  .hero__sub {
    display: none;
  }

  .hero__trust {
    display: none;
  }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.70);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  backdrop-filter: blur(6px);
  white-space: nowrap;
}

.hero__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lav);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(42px, 12vw, 80px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.045em;
  color: #ffffff;
  margin-bottom: 16px;
}

.hero__title--accent {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.58);
  font-weight: 400;
  line-height: 1.7;
  max-width: 380px;
  margin-bottom: 32px;
}

.hero__ctas {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-bottom: 14px;
}

.hero__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  transition: all var(--ease);
  flex: 1;
  white-space: nowrap;
}

.hero__btn--primary {
  background: var(--grad-brand);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(149, 117, 205, 0.35);
}

.hero__btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(149, 117, 205, 0.50);
}

.hero__btn--secondary {
  background: rgba(255, 255, 255, 0.10);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.hero__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

.hero__vouch-link {
  display: inline-block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.15s;
}

.hero__vouch-link:hover {
  color: rgba(255, 255, 255, 0.90);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.hero__trust-item svg {
  color: var(--lav);
  flex-shrink: 0;
}

/* ---- Hero social proof strip ---- */
.hero__proof-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  backdrop-filter: blur(12px);
  width: fit-content;
}

.hero__avatars {
  display: flex;
}

.hero__avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -6px;
  flex-shrink: 0;
}

.hero__avatars .hero__avatar:first-child {
  margin-left: 0;
}

.hero__proof-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.hero__proof-stars {
  font-size: 10px;
  color: #fbbf24;
  letter-spacing: 1px;
  line-height: 1.2;
}

.hero__proof-label {
  font-size: 10.5px;
  color: rgba(255,255,255,0.75);
  line-height: 1.3;
  white-space: nowrap;
}

@media (max-width: 375px) {
  .hero__proof-label {
    font-size: 9.5px;
    white-space: normal;
  }
  .hero__proof-strip {
    border-radius: 16px;
  }
}


/* ============================================================
   URGENCY BAR
============================================================ */
.urgency-bar {
  background: linear-gradient(90deg, #1a1528 0%, #1e1035 50%, #1a1528 100%);
  border-bottom: 1px solid rgba(149,117,205,0.25);
  padding: 10px 16px;
}

.urgency-bar__inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.urgency-bar__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.25);
  flex-shrink: 0;
  animation: pulse-green 2s ease-in-out infinite;
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,0.25); }
  50%       { box-shadow: 0 0 0 6px rgba(34,197,94,0.10); }
}

.urgency-bar__text {
  font-size: 13px;
  color: rgba(255,255,255,0.80);
  line-height: 1.4;
}

.urgency-bar__text strong {
  color: #fff;
  font-weight: 700;
}

.urgency-bar__cta {
  font-size: 12px;
  font-weight: 700;
  color: var(--lav);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid rgba(179,157,219,0.4);
  padding-bottom: 1px;
  transition: color 0.15s;
}

.urgency-bar__cta:hover {
  color: #fff;
}

@media (max-width: 480px) {
  .urgency-bar__text {
    font-size: 11.5px;
    text-align: center;
  }
}


/* ============================================================
   PRODUCTS
============================================================ */
.products__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.product-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 12px;
  transition: all var(--ease);
}

.product-chip:hover {
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.product-chip__icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  overflow: hidden;
}

.product-chip__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.product-chip__name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.product-chip__type {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}


/* ============================================================
   PRICELIST
============================================================ */
.pricelist__tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 20px;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}

.pricelist__tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.80);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--ease);
}

.tab-btn:hover {
  border-color: var(--lav);
  color: var(--lav-mid);
}

.tab-btn.active {
  background: var(--grad-brand);
  border-color: transparent;
  color: #ffffff;
}

.price-panel {
  display: none;
  flex-direction: column;
  gap: 12px;
}

.price-panel.active {
  display: flex;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  position: relative;
  overflow: hidden;
  transition: all var(--ease);
}

.price-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity var(--ease);
}

.price-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 4px 24px rgba(149, 117, 205, 0.10);
}

.price-card:hover::before {
  opacity: 1;
}

.price-card__top {
  margin-bottom: 12px;
}

.price-card__tier {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 6px 0 3px;
}

.price-card__detail {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 300;
}

/* ── Compact menu row ── */
.product-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  min-height: 64px;
}

.product-row__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid rgba(0,0,0,0.06);
}

.product-row__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-row__name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.product-row__from {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

.product-row__meta {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.row-save {
  font-size: 10px;
  font-weight: 700;
  color: #059669;
  background: rgba(167,243,208,0.35);
  border: 1px solid rgba(6,150,90,0.18);
  border-radius: 100px;
  padding: 2px 6px;
}

.row-badge {
  font-size: 9.5px;
  padding: 2px 6px;
}

.product-row__chevron {
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.product-card.open .product-row__chevron {
  transform: rotate(180deg);
}

/* ── Expandable drawer ── */
.product-drawer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
  border-top: 0px solid var(--border);
}

.product-card.open .product-drawer {
  grid-template-rows: 1fr;
  border-top-width: 1px;
}

.product-drawer__tiers {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 12px;
  transition: padding 0.28s ease;
}

.product-card.open .product-drawer__tiers {
  padding: 12px;
}

/* ── Tier rows inside drawer ── */
.drawer-tier {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
  background: rgba(250,249,255,0.70);
  border: 1.5px solid rgba(232,228,245,0.70);
  border-radius: 11px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  user-select: none;
}

.drawer-tier:hover {
  background: rgba(237,231,246,0.55);
  border-color: rgba(179,157,219,0.55);
}

.drawer-tier.selected {
  background: rgba(237,231,246,0.85);
  border-color: var(--lav-mid);
  box-shadow: 0 0 0 3px rgba(149,117,205,0.10);
}

.drawer-tier__radio {
  display: none;
}

.drawer-tier__dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid rgba(179,157,219,0.55);
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.15s, background 0.15s;
}

.drawer-tier.selected .drawer-tier__dot {
  border-color: var(--lav-mid);
  background: var(--lav-mid);
}

.drawer-tier.selected .drawer-tier__dot::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #fff;
}

.drawer-tier__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.drawer-tier__name {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drawer-tier__detail {
  font-size: 10px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drawer-tier__price {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-primary);
  flex-shrink: 0;
  text-align: right;
}

.drawer-tier__dur {
  font-size: 10px;
  font-weight: 400;
  color: var(--text-muted);
}

/* ── Order CTA inside drawer ── */
.drawer-order-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: calc(100% - 24px);
  margin: 10px 12px 12px;
  padding: 12px;
  background: var(--grad-brand);
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(149,117,205,0.28);
  transition: opacity 0.2s, transform 0.2s;
}

.drawer-order-btn:hover {
  opacity: 0.90;
  transform: translateY(-1px);
}

/* keep old .card-order-btn alias working for GSAP hover refs */
.card-order-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: calc(100% - 24px);
  margin: 10px 12px 12px;
  padding: 12px;
  background: var(--grad-brand);
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(149,117,205,0.28);
  transition: opacity 0.2s, transform 0.2s;
}


/* ============================================================
   HOW IT WORKS
============================================================ */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  position: relative;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 52px;
  bottom: -8px;
  width: 1px;
  background: linear-gradient(to bottom, var(--lav-light), transparent);
}

.step__num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(149, 117, 205, 0.30);
}

.step__content {
  padding-top: 8px;
}

.step__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.step__desc {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.6;
}




/* ============================================================
   SOCIAL PROOF — merged video + reviews
============================================================ */
.proof-reviews-wrap {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 28px;
}

@media (min-width: 640px) {
  .proof-reviews-wrap {
    flex-direction: row;
    align-items: flex-start;
    gap: 32px;
  }
}

/* Portrait phone video */
.proof-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.proof-phone__frame {
  width: min(180px, 50vw);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
  background: #000;
  aspect-ratio: 9 / 16;
}

.proof-phone__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.proof-phone__label {
  text-align: center;
}

/* Reviews column */
.proof-reviews {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ============================================================
   TESTIMONIALS
============================================================ */
/* More reviews dropdown — mobile only toggle, always open on desktop */
.testi-more {
  margin-top: 4px;
}

.testi-more__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 0;
  cursor: pointer;
  list-style: none;
  color: var(--lav-mid);
  font-size: 13px;
  font-weight: 600;
}

.testi-more__toggle::-webkit-details-marker { display: none; }

.testi-more__chevron {
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.testi-more[open] .testi-more__chevron {
  transform: rotate(180deg);
}

.testi-more .testi-stack {
  margin-top: 12px;
}

/* Desktop only — force open, hide the toggle button */
@media (min-width: 1024px) {
  .testi-more[open],
  .testi-more {
    display: block;
  }
  .testi-more__toggle {
    display: none;
  }
  .testi-more .testi-stack {
    margin-top: 0;
  }
}

.testi-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.testi-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  box-shadow: 0 2px 12px rgba(149,117,205,0.06), 0 1px 3px rgba(0,0,0,0.04);
}

.vouch-link {
  color: var(--lav-mid);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(149,117,205,0.35);
  padding-bottom: 1px;
  transition: color 0.15s;
}

.vouch-link:hover {
  color: var(--pink-mid);
}

.testi-card--featured {
  border-color: var(--lav-mid);
  background: linear-gradient(135deg, rgba(237,231,246,0.6) 0%, rgba(255,255,255,1) 60%);
  box-shadow: 0 4px 24px rgba(149,117,205,0.12), 0 1px 3px rgba(0,0,0,0.04);
  margin-bottom: 8px;
  width: 100%;
  overflow: hidden;
}

.testi-card__purchases {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.testi-purchase {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--lav-mid);
  background: rgba(149,117,205,0.10);
  border: 1px solid rgba(149,117,205,0.20);
  border-radius: 100px;
  padding: 3px 10px;
}

.testi-card__stars {
  font-size: 13px;
  color: #f59e0b;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.testi-card__text {
  font-size: 14px;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 14px;
}

.testi-card__author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testi-card__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  flex-shrink: 0;
}

.testi-card__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.testi-card__handle {
  font-size: 11px;
  color: var(--text-muted);
}


/* ============================================================
   FAQ
============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item[open] {
  border-color: var(--lav-mid);
}

.faq-item__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 20px 18px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  min-height: 56px;
}

.faq-item__q::-webkit-details-marker { display: none; }

.faq-item__q::after {
  content: '+';
  font-size: 18px;
  font-weight: 300;
  color: var(--lav-mid);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item[open] .faq-item__q::after {
  transform: rotate(45deg);
}

.faq-item__a {
  padding: 0 18px 16px;
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.65;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}


/* ============================================================
   FOOTER CTA BANNER
============================================================ */
.footer-cta-banner {
  background: var(--grad-brand);
  padding: 32px 20px;
}

.footer-cta-banner__inner {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-cta-banner__headline {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.footer-cta-banner__sub {
  font-size: 14px;
  color: rgba(255,255,255,0.82);
  line-height: 1.6;
  margin-top: 6px;
}

.footer-cta-banner__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--lav-mid);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 50px;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  white-space: nowrap;
}

.footer-cta-banner__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
}

@media (min-width: 560px) {
  .footer-cta-banner__inner {
    flex-direction: row;
    text-align: left;
    gap: 28px;
  }
  .footer-cta-banner__text {
    flex: 1;
  }
}


/* ============================================================
   FOOTER
============================================================ */
#footer {
  padding: 48px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding: 0 var(--section-pad-x) 40px;
}

@media (min-width: 640px) {
  .footer__grid {
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 48px;
  }
}

/* Brand column */
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer__tagline {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 260px;
}

.footer__tg-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.80);
  border: 1px solid var(--tg-border);
  color: var(--tg);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  width: fit-content;
  margin-top: 4px;
  transition: background 0.15s;
}

.footer__tg-btn:hover {
  background: #fff;
}

/* Link columns */
.footer__col-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.footer__links a:hover {
  color: var(--lav-mid);
}

/* Trust pills */
.footer__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}

.footer__trust-item {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(149,117,205,0.08);
  border: 1px solid rgba(149,117,205,0.15);
  border-radius: 100px;
  padding: 3px 10px;
}

/* Bottom bar */
.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 16px var(--section-pad-x);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.footer__copy {
  font-size: 11.5px;
  color: var(--text-muted);
}


/* ============================================================
   FLOATING TELEGRAM BUTTON
============================================================ */
#float-tg {
  position: fixed;
  bottom: max(28px, calc(env(safe-area-inset-bottom) + 16px));
  right: 20px;
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--tg);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  /* Icon-only on mobile — smaller, less intrusive */
  padding: 14px;
  border-radius: 50%;
  box-shadow: 0 6px 28px rgba(42, 171, 238, 0.40), 0 2px 8px rgba(0,0,0,0.12);
  transition: all var(--ease);
  animation: floatIn 0.4s ease 0.5s both;
}

/* Hide label text on mobile, show on desktop */
#float-tg span {
  display: none;
}

#float-tg:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(42, 171, 238, 0.45);
}

@keyframes floatIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ============================================================
   SMALL PHONES (max 390px)
============================================================ */
@media (max-width: 390px) {
  .hero__title {
    font-size: clamp(36px, 11vw, 52px);
  }

  .hero__sub {
    font-size: 13px;
  }

  .hero__btn {
    font-size: 12.5px;
    padding: 13px 14px;
  }

  /* Nav — hide CTA label, show icon only */
  .nav__cta span {
    display: none;
  }

  .nav__cta {
    padding: 9px 12px;
  }

  /* Urgency bar — single line, smaller */
  .urgency-bar__text {
    font-size: 11px;
  }

  .urgency-bar__cta {
    display: none;
  }

  /* FAQ — bigger tap target */
  .faq-item__q {
    padding: 18px 16px;
    font-size: 13.5px;
  }

  /* Drawer tier — prevent price overflow */
  .drawer-tier__price {
    font-size: 11.5px;
  }

  .drawer-tier__name {
    font-size: 11px;
  }

  /* Proof strip — wrap label */
  .hero__proof-label {
    font-size: 9.5px;
    white-space: normal;
    max-width: 160px;
  }

  .hero__proof-strip {
    border-radius: 16px;
  }
}


/* ============================================================
   MOBILE TOUCH — active states for tappable elements
============================================================ */
@media (hover: none) {
  .product-row:active {
    background: rgba(149,117,205,0.06);
  }

  .drawer-tier:active {
    background: rgba(237,231,246,0.85);
    border-color: var(--lav-mid);
  }

  .faq-item__q:active {
    background: rgba(149,117,205,0.04);
  }

  .hero__btn--primary:active {
    transform: scale(0.98);
  }

  .hero__btn--secondary:active {
    background: rgba(255,255,255,0.22);
  }
}


/* ============================================================
   RESPONSIVE — SMALL TABLET (640px+)
============================================================ */
@media (min-width: 640px) {

  .hero__ctas {
    flex-direction: row;
  }

  .hero__btn {
    flex: 1;
  }

  .products__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}


/* ============================================================
   RESPONSIVE — IPAD / TABLET (768px+)
============================================================ */
@media (min-width: 768px) {

  :root {
    --section-pad-x: 36px;
    --section-pad-y: 64px;
  }

  /* Products — 4 cols on iPad */
  .products__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Product cards — 2 columns on iPad */
  .product-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  /* Steps — horizontal on iPad */
  .steps {
    flex-direction: row;
    gap: 0;
  }

  .step {
    flex-direction: column;
    flex: 1;
    padding: 0 24px 0 0;
    align-items: flex-start;
  }

  .step:not(:last-child)::after {
    top: 19px;
    left: 52px;
    bottom: auto;
    right: 0;
    width: auto;
    height: 1px;
    background: linear-gradient(to right, var(--lav-light), transparent);
  }

  .step__content {
    padding-top: 16px;
  }

  /* Proof video — slightly larger on iPad */
  .proof-phone__frame {
    width: 200px;
  }

  /* Pricelist search — constrain width */
  .search__wrap {
    max-width: 480px;
  }

  /* Section titles — bigger on iPad */
  .section-title {
    font-size: clamp(36px, 6vw, 52px);
  }
}


/* ============================================================
   RESPONSIVE — DESKTOP (1024px+)
============================================================ */
@media (min-width: 1024px) {

  :root {
    --section-pad-x: 48px;
    --section-pad-y: 96px;
  }

  /* Hero — constrain text to left, give more breathing room */
  .hero__content {
    padding-top: 96px;
    padding-bottom: 56px;
    max-width: 680px;
  }

  .hero__title {
    font-size: clamp(52px, 5.5vw, 76px);
  }

  .hero__sub {
    font-size: 16px;
    max-width: 420px;
  }

  .hero__btn {
    flex: none;
    padding: 16px 32px;
    font-size: 15px;
  }

  /* Products — 6 columns on desktop */
  .products__grid {
    grid-template-columns: repeat(6, 1fr);
  }

  /* Product cards — 2 columns on desktop */
  .product-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  /* Pricelist search — constrain width on desktop */
  .search__wrap {
    max-width: 520px;
  }

  /* Section titles — bigger on desktop */
  .section-title {
    font-size: clamp(40px, 5vw, 56px);
  }

  /* Float button — pill with label on desktop */
  #float-tg {
    padding: 14px 22px;
    border-radius: var(--radius-full);
  }

  #float-tg span {
    display: inline;
  }

  /* Steps — horizontal, more padding */
  .steps {
    flex-direction: row;
    gap: 0;
  }

  .step {
    flex-direction: column;
    flex: 1;
    padding: 0 40px 0 0;
    align-items: flex-start;
  }

  .step:not(:last-child)::after {
    top: 19px;
    left: 52px;
    bottom: auto;
    right: 0;
    width: auto;
    height: 1px;
    background: linear-gradient(to right, var(--lav-light), transparent);
  }

  .step__content {
    padding-top: 16px;
  }

  /* Proof video — comfortable size on desktop */
  .proof-phone__frame {
    width: 220px;
  }

  /* Testimonials — 2×2 grid on desktop */
  .testi-stack {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  /* FAQ — 2 column layout on desktop */
  .faq-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    align-items: start;
  }

  /* Footer grid already 3-col, increase gap */
  .footer__grid {
    gap: 64px;
  }
}


/* ============================================================
   SEARCH BAR
============================================================ */
.search__wrap {
  position: relative;
  margin-bottom: 16px;
}

.search__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--lav);
  pointer-events: none;
}

.search__input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-md);
  padding: 14px 16px 14px 44px;
  font-family: var(--font-body);
  font-size: 16px; /* 16px prevents iOS auto-zoom on focus */
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--ease);
}

.search__input::placeholder {
  color: var(--text-muted);
}

.search__input:focus {
  border-color: var(--lav-mid);
  box-shadow: 0 0 0 3px rgba(149, 117, 205, 0.10);
}


/* ============================================================
   PRODUCT CARDS — one card per product, tiers inside
============================================================ */
.product-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ── Card shell — frosted glass, Apple-style rounded rect ── */
.product-card {
  /* Solid fallback first — in-app browsers that skip backdrop-filter get clean white */
  background: #ffffff;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(232, 228, 245, 0.9);
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 1px 0 0 rgba(255,255,255,0.9) inset,
    0 2px 12px rgba(149, 117, 205, 0.06),
    0 1px 3px rgba(0,0,0,0.04);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.product-card:hover {
  box-shadow:
    0 1px 0 0 rgba(255,255,255,0.9) inset,
    0 8px 32px rgba(149, 117, 205, 0.14),
    0 2px 8px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

/* ── Header — image banner area + identity row ── */
.product-card__header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 16px 14px;
}

/* Subtle brand-accent top stripe */
.product-card__header::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(135deg, rgba(179,157,219,0.10) 0%, rgba(244,143,177,0.06) 100%);
  pointer-events: none;
}

.product-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.product-card__name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 2px;
  letter-spacing: -0.02em;
}

.product-card__cat {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.product-card__identity {
  flex: 1;
  min-width: 0;
}

/* Savings anchor — retail strikethrough + % badge */
.card-savings {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
  margin-left: auto;
}

.card-savings__retail {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: rgba(149,117,205,0.5);
}

.card-savings__badge {
  font-size: 10.5px;
  font-weight: 700;
  color: #059669;
  background: rgba(167, 243, 208, 0.35);
  border: 1px solid rgba(6, 150, 90, 0.18);
  padding: 2px 7px;
  border-radius: 100px;
  letter-spacing: 0.01em;
}

.product-card__header .badge {
  flex-shrink: 0;
}

/* ── Tiers container ── */
.product-card__tiers {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0 12px 12px;
}


/* ============================================================
   SEE MORE BUTTON
============================================================ */
.see-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin-top: 16px;
  padding: 13px;
  background: transparent;
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--ease);
}

.see-more-btn:hover {
  border-color: var(--lav);
  color: var(--lav-mid);
  background: var(--lav-light);
}

.see-more-btn svg {
  transition: transform var(--ease);
}

.see-more-btn.expanded svg {
  transform: rotate(180deg);
}

.see-more-btn[hidden] {
  display: none;
}


/* ============================================================
   PRICELIST EMPTY STATE
============================================================ */
.pricelist__empty {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 14px;
  color: var(--text-muted);
}

.pricelist__empty.visible {
  display: block;
}


/* ============================================================
   IN-APP BROWSER FIXES
============================================================ */
/* Float button sits higher in IABs to avoid toolbar overlap */
.in-app-browser #float-tg {
  bottom: max(72px, calc(env(safe-area-inset-bottom) + 60px));
}

/* IABs often break backdrop-filter — ensure nav is always readable */
.in-app-browser #navbar {
  background: rgba(255, 255, 255, 0.99);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
