/* ============================================================
   PIXEVIO — Design system (Light theme)
   ============================================================ */

:root {
  /* Surfaces & Backgrounds */
  --bg:        #FFFFFF;
  --bg-soft:   #F2F2F7; /* iOS Light System Gray 6 */
  --bg-tint:   #F1EFFF; /* Lavender hue for focus states */
  --bg-accent: #ECE8FF; /* Soft violet background for accent boxes */
  --card:      #FFFFFF;
  --border:    #E5E5EA; /* iOS System Gray 4 for subtle borders */
  --border-2:  #D1D1D6; /* iOS System Gray 3 */

  /* Text colors */
  --text:      #000000; /* iOS true black for primary text */
  --text-soft: #3C3C43; /* iOS Label color (Secondary) */
  --text-dim:  #8E8E93; /* iOS Label color (Tertiary) / System Gray */

  /* Brand / accent (Vibrant Apple-like Purple) */
  --brand:     #9F47FD; /* iOS System Purple accent */
  --brand-2:   #BF78FF;
  --brand-ink: #8F26FD;
  --accent:    #9F47FD;
  --grad:      linear-gradient(135deg, #9F47FD, #BF78FF);
  --grad-soft: linear-gradient(135deg, rgba(159, 71, 253, 0.08), rgba(191, 120, 255, 0.06));

  /* Semantic */
  --success:  #34C759; /* iOS System Green */
  --gold:     #FFCC00; /* iOS System Yellow */
  --danger:   #FF3B30; /* iOS System Red */

  /* Border Radii (iOS HIG Standard) */
  --radius:    14px; /* Standard card/control radius */
  --radius-sm: 10px; /* Small items radius */
  --radius-lg: 18px; /* Large containers radius */

  /* Soft Shadows (Subtle iOS-style elevate) */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow:    0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.08);

  --maxw: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "SF Pro", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-headings: var(--font); /* iOS uses the same system font stack for headings */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6,
.section-title,
.logo,
.eyebrow,
.btn,
.nav-links a,
.dd-toggle,
.filter-tab,
.duration-switch button,
.cb-btn,
.suggest-fab,
.contact-box-title h3,
.cart-header h3,
.modal-title {
  font-family: var(--font-headings);
  letter-spacing: -0.02em;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

.icon { width: 1.25em; height: 1.25em; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; fill: none; flex-shrink: 0; }
.icon--fill { fill: currentColor; stroke: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 84px 0; position: relative; }
#catalog { padding-bottom: 110px; }
.section--alt { background: var(--bg-soft); }
.section--tight { padding: 52px 0; }

/* Section headings */
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--brand-ink);
  background: var(--grad-soft);
  border: 1px solid rgba(99,102,241,.18);
  padding: 6px 13px; border-radius: 100px; margin-bottom: 16px;
}
.eyebrow .icon { width: 15px; height: 15px; }
.section-title { font-size: clamp(27px, 3.8vw, 42px); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; }
.section-sub { color: var(--text-soft); font-size: 16.5px; max-width: 560px; margin-top: 12px; }
.section-head { margin-bottom: 42px; }
.section-head--center { text-align: center; }
.section-head--center .section-sub { margin-inline: auto; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 15px; padding: 12px 22px; border-radius: 100px;
  transition: transform .16s ease, box-shadow .22s ease, background .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px rgba(95,67,242,.6); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(95,67,242,.7); }
.btn--ghost { background: #fff; border: 1px solid var(--border); color: var(--text); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-ink); background: var(--bg-soft); }
.btn--soft { background: var(--bg-accent); color: var(--brand-ink); }
.btn--soft:hover { background: var(--bg-tint); }
.btn--block { width: 100%; }
.btn--lg { padding: 15px 28px; font-size: 16px; }

/* ---------------- Header ---------------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}
.nav { display: flex; align-items: center; gap: 22px; height: 68px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px; background: var(--grad);
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 6px 16px -6px rgba(99,102,241,.7);
}
.logo-mark .icon { width: 19px; height: 19px; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: 8px; }
.nav-links a { font-size: 14.5px; color: var(--text-soft); padding: 8px 13px; border-radius: 9px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: var(--bg-soft); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 9px; }

/* dropdown (lang / currency) */
.dd { position: relative; }
.dd-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--text-soft);
  padding: 9px 11px; border-radius: 10px; border: 1px solid var(--border);
  background: #fff; transition: border-color .2s, color .2s;
}
.dd-toggle:hover { border-color: var(--border-2); color: var(--text); }
.dd-toggle .icon { width: 16px; height: 16px; }
.dd-toggle .chev { transition: transform .2s; }
.dd.open .chev { transform: rotate(180deg); }
.dd-menu {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 175px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.02);
  padding: 6px; z-index: 120;
  opacity: 0; visibility: hidden; 
  transform: translateY(8px) scale(0.95); 
  transform-origin: top right;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
              visibility 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.dd.open .dd-menu { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.dd-item {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 9px 11px; border-radius: 9px; font-size: 14px; color: var(--text-soft); text-align: left;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.dd-item:hover { 
  background: var(--bg-soft); color: var(--text);
  transform: translateX(2px);
}
.dd-item.active { color: var(--brand-ink); font-weight: 650; background: var(--bg-tint); }
.flag-icon {
  width: 18px;
  height: 13px;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.dd-item .cur { font-weight: 700; min-width: 18px; }

.icon-btn {
  position: relative; width: 42px; height: 42px; border-radius: 11px;
  display: grid; place-items: center; background: #fff; border: 1px solid var(--border);
  color: var(--text); transition: border-color .2s, background .2s;
}
.icon-btn:hover { border-color: var(--border-2); background: var(--bg-soft); }
.icon-btn .icon { width: 20px; height: 20px; }
.cart-count {
  position: absolute; top: -6px; right: -6px; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 100px; background: var(--brand); color: #fff; font-size: 11.5px; font-weight: 700;
  display: grid; place-items: center; border: 2px solid #fff;
  transform: scale(0); transition: transform .25s cubic-bezier(.34,1.56,.64,1);
}
.cart-count.show { transform: scale(1); }
.burger { display: none; }

/* ---------------- Hero ---------------- */
.hero { position: relative; padding: 76px 0 64px; overflow: hidden; }

/* animated gradient background */
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; will-change: transform; }
.hero-orb--1 { width: 520px; height: 520px; top: -160px; right: -80px; background: radial-gradient(circle at 30% 30%, rgba(168,85,247,.38), transparent 70%); animation: orbFloat 16s ease-in-out infinite; }
.hero-orb--2 { width: 460px; height: 460px; top: 40px; left: -140px; background: radial-gradient(circle at 60% 40%, rgba(99,102,241,.32), transparent 70%); animation: orbFloat 20s ease-in-out infinite reverse; }
.hero-orb--3 { width: 380px; height: 380px; bottom: -180px; left: 38%; background: radial-gradient(circle at 50% 50%, rgba(99,179,237,.32), transparent 70%); animation: orbFloat 24s ease-in-out infinite; animation-delay: -6s; }
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(99,102,241,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(99,102,241,.04) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 0%, #000, transparent 75%);
          mask-image: radial-gradient(70% 60% at 50% 0%, #000, transparent 75%);
}
@keyframes orbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(40px,30px) scale(1.08); }
  66%     { transform: translate(-30px,20px) scale(.95); }
}

.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.hero-copy > * { opacity: 0; transform: translateY(18px); animation: heroIn .7s cubic-bezier(.22,.8,.3,1) forwards; }
.hero-copy > .eyebrow      { animation-delay: .05s; }
.hero-copy > h1            { animation-delay: .14s; }
.hero-copy > .lead         { animation-delay: .22s; }
.hero-copy > .hero-cta     { animation-delay: .30s; }
.hero-copy > .hero-proof   { animation-delay: .38s; }
.hero-copy > .trust-strip  { animation-delay: .46s; }
.hero-copy > .pay-row      { animation-delay: .54s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* eyebrow with live pulse */
.hero-eyebrow { position: relative; }
.eyebrow-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--success); position: relative; }
.eyebrow-pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--success); animation: pulseRing 1.8s ease-out infinite; }
@keyframes pulseRing { 0% { box-shadow: 0 0 0 0 rgba(18,161,80,.5); } 100% { box-shadow: 0 0 0 9px rgba(18,161,80,0); } }

.hero h1 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.04; font-weight: 800; letter-spacing: -.03em; }
.hero h1 .grad { background: linear-gradient(110deg, #6366F1, #A855F7 45%, #6366F1 90%); background-size: 220% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: gradShift 6s linear infinite; display: inline-block; white-space: nowrap; }
@keyframes gradShift { to { background-position: 220% center; } }
.hero .lead { font-size: 18.5px; color: var(--text-soft); margin: 20px 0 28px; max-width: 520px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-cta .btn .icon { transition: transform .2s; }
.hero-cta .btn--primary:hover .icon { transform: translateX(3px); }

/* shine sweep on primary CTA */
.btn--shine { position: relative; overflow: hidden; }
.btn--shine::after { content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; background: linear-gradient(120deg, transparent, rgba(255,255,255,.4), transparent); transform: skewX(-20deg); animation: shine 3.6s ease-in-out infinite; }
@keyframes shine { 0%,55% { left: -75%; } 80%,100% { left: 130%; } }

/* social proof */
.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.proof-avatars { display: flex; }
.proof-avatar { width: 38px; height: 38px; border-radius: 50%; border: 2.5px solid #fff; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 13.5px; margin-left: -10px; box-shadow: var(--shadow-sm); }
.proof-avatar:first-child { margin-left: 0; }
.proof-avatar.more { background: var(--bg-tint); color: var(--brand-ink); font-size: 12px; }
.proof-copy { display: flex; flex-direction: column; gap: 1px; }
.proof-stars { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.proof-stars .icon { width: 16px; height: 16px; color: var(--gold); }
.proof-stars b { font-weight: 700; }
.proof-clients { font-size: 13px; color: var(--text-soft); }

.trust-strip { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border); }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-soft); }
.trust-item .icon { width: 18px; height: 18px; color: var(--brand); }
.trust-item.is-star .icon { color: var(--gold); }

.pay-row { display: flex; align-items: center; gap: 8px; margin-top: 22px; flex-wrap: wrap; }
.pay-row .pl { font-size: 13px; color: var(--text-dim); }
.pay-badge { height: 30px; padding: 0 11px; display: grid; place-items: center; background: #fff; border: 1px solid var(--border); border-radius: 8px; font-size: 12px; font-weight: 700; color: var(--text-soft); }

/* Hero visual */
.hero-visual { position: relative; padding-bottom: 56px; opacity: 0; transform: translateY(24px) scale(.98); animation: heroIn .8s cubic-bezier(.22,.8,.3,1) .35s forwards; }
.hero-blob { position: absolute; inset: -8% -6% 6% 4%; background: var(--grad); filter: blur(60px); opacity: .14; border-radius: 50%; z-index: -1; }

.floating-chip {
  position: absolute; padding: 9px 14px; background: #fff; border: 1px solid var(--border);
  border-radius: 12px; font-size: 12.5px; font-weight: 650; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 7px; animation: float 4.5s ease-in-out infinite;
}
.floating-chip .icon { width: 16px; height: 16px; color: var(--brand); }
.fc-1 { top: -16px; right: 14px; }
.fc-2 { bottom: 12px; left: -32px; animation-delay: 1.6s; }
.fc-2 .icon { color: var(--success); }
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-9px) } }

/* 3D perspective visual deck */
.hero-cards-3d {
  position: relative;
  height: 425px;
  width: 100%;
  perspective: 1200px;
  margin-bottom: 24px;
  display: none;
}
@media (min-width: 769px) {
  .hero-cards-3d {
    display: block;
  }
  .hero-visual {
    padding-bottom: 10px !important;
  }
  .card-3d {
    width: 320px !important;
    height: 360px !important;
    padding: 26px !important;
  }
  .card-3d--gemini {
    width: 360px !important;
    height: 395px !important;
  }
  .card-3d-logo {
    width: 56px !important;
    height: 56px !important;
    margin-bottom: 16px !important;
  }
  .card-3d-logo img {
    width: 30px !important;
    height: 30px !important;
  }
  .card-3d-name {
    font-size: 19px !important;
    margin-bottom: 6px !important;
  }
  .card-3d-features {
    gap: 9px !important;
    margin: 16px 0 !important;
  }
  .card-3d-features li {
    font-size: 15px !important;
    gap: 9px !important;
  }
  .card-3d-features li .icon {
    width: 17px !important;
    height: 17px !important;
  }
  .card-3d-price {
    font-size: 24px !important;
  }
  .card-3d-price .old-price {
    font-size: 15px !important;
  }
  .card-3d-btn {
    width: 42px !important;
    height: 42px !important;
  }
  .card-3d-btn .icon {
    width: 18px !important;
    height: 18px !important;
  }
  .delivery-simulator {
    font-size: 13px !important;
    padding: 14px !important;
  }
  .hero-blob {
    inset: -25% -25% -15% -25% !important;
    opacity: .24 !important;
    filter: blur(80px) !important;
  }
  
  /* Fade and scale down other cards when one is focused */
  @media (hover: hover) {
    .hero-cards-3d:has(.card-3d:hover) .card-3d:not(:hover) {
      opacity: 0.35 !important;
      filter: blur(1.5px) !important;
    }
    .hero-cards-3d:has(.card-3d:hover) .card-3d--spotify:not(:hover) {
      transform: translateX(-270px) rotate(-6deg) scale(0.85) !important;
    }
    .hero-cards-3d:has(.card-3d:hover) .card-3d--youtube:not(:hover) {
      transform: translateX(-50px) rotate(6deg) scale(0.85) !important;
    }
    .hero-cards-3d:has(.card-3d:hover) .card-3d--gemini:not(:hover) {
      transform: translateX(-50%) translateY(0) scale(0.86) !important;
    }
  }
}
.card-3d {
  position: absolute;
  width: 290px;
  height: 360px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 15px 35px -12px rgba(20, 21, 43, 0.12), 0 2px 8px rgba(20, 21, 43, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1),
              box-shadow 0.8s cubic-bezier(0.25, 0.8, 0.25, 1),
              opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1),
              filter 0.8s cubic-bezier(0.25, 0.8, 0.25, 1),
              border-color 0.3s,
              z-index 0s;
}
.card-3d-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 100px;
  border: 1px solid transparent;
}
.card-3d-badge--hot {
  color: #E0612F;
  background: #FFF1EC;
  border-color: rgba(224,97,47,.15);
}
.card-3d-badge--value {
  color: #12A150;
  background: #E9F8EF;
  border-color: rgba(18,161,80,.15);
}
.card-3d-badge--new {
  color: var(--brand-ink);
  background: var(--bg-tint);
  border-color: rgba(99,102,241,.15);
}
.card-3d-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}
.card-3d-logo img {
  width: 26px;
  height: 26px;
}
.card-3d-name {
  font-size: 16px;
  font-weight: 750;
  color: var(--text);
  margin-bottom: 4px;
}
.card-3d-price-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.card-3d-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--brand-ink);
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.card-3d-price .old-price {
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: line-through;
  font-weight: 400;
}
.card-3d-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.card-3d-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
}
.card-3d-btn:active {
  transform: scale(0.95);
}
.card-3d-btn .icon {
  width: 16px;
  height: 16px;
  stroke-width: 2.2;
}

.card-3d-features {
  list-style: none;
  padding: 0;
  margin: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.card-3d-features li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  color: var(--text-soft);
}
.card-3d-features li .icon {
  width: 15px;
  height: 15px;
  color: var(--success);
  flex-shrink: 0;
}

/* Flat Stack positions (Stripe/Linear styled offset stack) */
.card-3d--spotify {
  top: 35px;
  left: 50%;
  transform: translateX(-270px) rotate(-6deg) scale(0.92);
  z-index: 1;
  background: linear-gradient(135deg, rgba(29, 185, 84, 0.04), #ffffff 75%);
  border-color: rgba(29, 185, 84, 0.18);
  box-shadow: 0 10px 25px -10px rgba(20, 21, 43, 0.08), var(--shadow-sm);
}
.card-3d--youtube {
  top: 35px;
  left: 50%;
  transform: translateX(-50px) rotate(6deg) scale(0.92);
  z-index: 2;
  background: linear-gradient(135deg, rgba(255, 0, 51, 0.04), #ffffff 75%);
  border-color: rgba(255, 0, 51, 0.18);
  box-shadow: 0 10px 25px -10px rgba(20, 21, 43, 0.08), var(--shadow-sm);
}
.card-3d--gemini {
  top: 15px;
  left: 50%;
  transform: translateX(-50%) scale(1);
  z-index: 3;
  width: 320px;
  height: 390px;
  background: linear-gradient(135deg, rgba(109, 77, 242, 0.04), #ffffff 65%);
  border-color: rgba(109, 77, 242, 0.25);
  box-shadow: 0 25px 55px -15px rgba(20, 21, 43, 0.15), var(--shadow-lg);
}

/* Hover effects: Cards fan out nicely and flatten slightly */
@media (hover: hover) {
  .hero-cards-3d:hover .card-3d--spotify {
    transform: translateX(-400px) translateY(-10px) rotate(-10deg) scale(0.96);
    box-shadow: 0 15px 35px -12px rgba(29, 185, 84, 0.15), var(--shadow-sm);
  }
  .hero-cards-3d:hover .card-3d--youtube {
    transform: translateX(80px) translateY(-10px) rotate(10deg) scale(0.96);
    box-shadow: 0 15px 35px -12px rgba(255, 0, 51, 0.12), var(--shadow-sm);
  }
  .hero-cards-3d:hover .card-3d--gemini {
    transform: translateX(-50%) translateY(-15px) scale(1.03);
    box-shadow: 0 35px 70px -15px rgba(20, 21, 43, 0.22), var(--shadow-lg);
  }
  .card-3d:hover {
    z-index: 10 !important;
    border-color: rgba(99, 102, 241, 0.5) !important;
    background: #ffffff !important;
    box-shadow: 0 20px 45px -12px rgba(99, 102, 241, 0.22), var(--shadow-sm) !important;
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1),
                box-shadow 0.8s cubic-bezier(0.25, 0.8, 0.25, 1),
                opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1),
                filter 0.8s cubic-bezier(0.25, 0.8, 0.25, 1),
                border-color 0.3s,
                z-index 0s 0s;
  }
}

/* Delivery simulator */
.delivery-simulator {
  flex: 1;
  background: var(--bg-tint);
  border: 1px solid rgba(95, 67, 242, 0.12);
  border-radius: var(--radius-sm);
  margin: 12px 0 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 106px;
  font-size: 13px;
  position: relative;
  overflow: hidden;
}
.sim-step {
  display: none;
  flex-direction: column;
  gap: 6px;
  animation: simFadeIn 0.3s ease forwards;
}
.sim-step.active {
  display: flex;
}
@keyframes simFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}
.sim-label {
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.sim-input {
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  border-bottom: 2px solid var(--brand);
  padding-bottom: 2px;
  width: fit-content;
  min-width: 140px;
  height: 22px;
}
.sim-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid var(--border-2);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: simSpin 0.8s linear infinite;
  align-self: center;
  margin-bottom: 4px;
}
@keyframes simSpin {
  to { transform: rotate(360deg); }
}
.sim-success-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--success);
  font-weight: 700;
}
.sim-success-badge .icon {
  width: 16px;
  height: 16px;
  color: var(--success);
}
.sim-key {
  font-family: monospace;
  font-size: 11px;
  background: #E9F8EF;
  color: var(--success);
  padding: 4px 8px;
  border-radius: 6px;
  margin-top: 4px;
  border: 1px solid rgba(18, 161, 80, 0.15);
  width: fit-content;
}

/* Full-width trust and pay strip at the bottom of hero */
.hero-bottom-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.hero-bottom-strip .trust-strip {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.hero-bottom-strip .pay-row {
  margin-top: 0;
}

/* ---------------- Brands marquee ---------------- */
.marquee { overflow: hidden; padding: 26px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-soft);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 56px; width: max-content; animation: scroll 110s linear infinite; }
.marquee-logo { height: 30px; display: grid; place-items: center; opacity: .72; transition: opacity .2s; }
.marquee-logo img { height: 28px; width: auto; }
.marquee-logo:hover { opacity: 1; }
@keyframes scroll { from { transform: translateX(0) } to { transform: translateX(-50%) } }

/* ---------------- Catalog ---------------- */
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.toolbar-left { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; max-width: 100%; }
.search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 100px;
  height: 38px;
  width: 240px;
  transition: border-color 0.2s, box-shadow 0.2s, width 0.2s;
}
.search-box:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3.5px rgba(95, 67, 242, 0.12);
  width: 280px;
}
.search-box input {
  width: 100%;
  height: 100%;
  background: none;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  padding: 0 36px 0 38px;
}
.search-icon {
  position: absolute;
  left: 13px;
  color: var(--text-dim);
  pointer-events: none;
  width: 16px;
  height: 16px;
}
.search-clear {
  position: absolute;
  right: 8px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: none;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
.search-clear:hover {
  color: var(--text);
  background: var(--border);
}
.search-clear .icon {
  width: 12px;
  height: 12px;
}

.catalog-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 480px;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-sm);
}
.ces-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--text-dim);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.ces-icon .icon {
  width: 26px;
  height: 26px;
}
.catalog-empty-state h3 {
  font-size: 19px;
  font-weight: 750;
  color: var(--text);
  margin-bottom: 8px;
}
.catalog-empty-state p {
  font-size: 14.5px;
  color: var(--text-soft);
  margin-bottom: 20px;
  line-height: 1.5;
}

.filter-tabs {
  display: flex;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.filter-tabs::-webkit-scrollbar {
  display: none;
}
.filter-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 99px;
  background: rgba(20, 21, 43, 0.04);
  border: 1px solid rgba(20, 21, 43, 0.02);
  color: var(--text-soft);
  cursor: pointer;
  transition: all .2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  flex-shrink: 0;
}
.filter-tab .icon { width: 16px; height: 16px; }
.filter-tab:hover {
  color: var(--text);
  background: rgba(20, 21, 43, 0.08);
}
.filter-tab.active {
  background: var(--brand);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.22);
}

.duration-switch {
  display: inline-flex;
  background: rgba(120, 120, 128, 0.12);
  border: none;
  border-radius: 99px;
  padding: 2px;
}
.duration-switch button {
  position: relative;
  font-size: 13.5px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 99px;
  color: var(--text-soft);
  transition: color .2s, background .2s, box-shadow .2s;
}
.duration-switch button.active {
  color: var(--text);
  background: #ffffff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12), 0 3px 1px rgba(0, 0, 0, 0.04);
}
.duration-switch button .ds-note {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .05em;
  background: #34C759; /* Apple iOS success green */
  color: #fff;
  padding: 2.5px 7px;
  border-radius: 100px;
  box-shadow: 0 2px 6px rgba(52, 199, 89, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  white-space: nowrap;
}

/* Product grid */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform .28s cubic-bezier(0.16, 1, 0.3, 1), border-color .28s ease, box-shadow .28s ease;
  box-shadow: 0 6px 20px -8px rgba(95,67,242,.03);
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-color, var(--border-2)) !important;
  box-shadow: 0 20px 40px -15px var(--brand-color-alpha, rgba(95,67,242,.12)), 0 0 0 1px var(--brand-color-alpha, rgba(95,67,242,.12)) !important;
}
.product-card:active {
  transform: scale(0.98);
  transition: transform 0.1s ease;
}
.pc-discount { display: inline-flex; align-items: center; background: #E9F8EF; color: #12A150; font-size: 11px; font-weight: 750; padding: 2px 6px; border-radius: 6px; margin-left: 6px; align-self: center; line-height: 1; }
.product-card--featured {
  background: linear-gradient(135deg, #F5F3FF 0%, #FFFFFF 50%, #FFF5FB 100%) !important;
  border-color: #8E75F8 !important;
  border-width: 1.5px !important;
  box-shadow: 0 10px 30px -8px rgba(142, 117, 248, 0.25) !important;
  animation: featured-glow 3.5s infinite alternate ease-in-out;
}
.product-card--featured:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 22px 50px -10px rgba(142, 117, 248, 0.45) !important;
}
@keyframes featured-glow {
  0% {
    box-shadow: 0 10px 25px -8px rgba(142, 117, 248, 0.2);
    border-color: #8E75F8;
  }
  100% {
    box-shadow: 0 16px 38px -6px rgba(168, 85, 247, 0.35);
    border-color: #A855F7;
  }
}
.pc-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 14px; }
.pc-logo { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.pc-logo img { width: 30px; height: 30px; }
.pc-logo .fallback { font-weight: 800; font-size: 22px; color: var(--brand); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9.5px;
  font-weight: 800;
  padding: 4.5px 10px;
  border-radius: 50px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}
.badge .icon {
  width: 11px;
  height: 11px;
  stroke-width: 2.5;
}
.badge--hot {
  background: rgba(229, 72, 77, 0.07);
  color: #E5484D;
  border-color: rgba(229, 72, 77, 0.2);
  box-shadow: 0 2px 8px rgba(229, 72, 77, 0.04);
}
.badge--new {
  background: rgba(99, 102, 241, 0.07);
  color: #6366F1;
  border-color: rgba(99, 102, 241, 0.2);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.04);
}
.badge--value {
  background: rgba(18, 161, 80, 0.07);
  color: #12A150;
  border-color: rgba(18, 161, 80, 0.2);
  box-shadow: 0 2px 8px rgba(18, 161, 80, 0.04);
}
.badge--low {
  background: rgba(245, 166, 35, 0.07);
  color: #E68A00;
  border-color: rgba(245, 166, 35, 0.2);
  box-shadow: 0 2px 8px rgba(245, 166, 35, 0.04);
}
.badge--best-benefit {
  background: linear-gradient(135deg, #AF52DE 0%, #FF2D55 100%);
  background-size: 200% auto;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 14px rgba(255, 45, 85, 0.35), 0 2px 8px rgba(175, 82, 222, 0.25);
  padding: 4px 10px 4px 8px;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.05em;
  animation: shimmer-badge 4s linear infinite;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
@keyframes shimmer-badge {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.badge--best-benefit .icon {
  color: #FBBF24 !important;
  fill: #FBBF24;
  width: 12px;
  height: 12px;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.15));
  animation: gentle-crown-pulse 2s ease-in-out infinite alternate;
}
@keyframes gentle-crown-pulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.15) rotate(5deg); }
}

.pc-name { font-size: 16.5px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 4px; }
.pc-tagline { font-size: 13px; color: var(--text-soft); margin: 0 0 10px; min-height: 36px; }
.pc-rating { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--text-soft); margin-bottom: 10px; font-weight: 500; }
.pc-star-icon { display: inline-flex; color: var(--gold); }
.pc-star-icon .icon { width: 13.5px; height: 13.5px; }
.pc-reviews-count { color: var(--text-dim); font-size: 12px; }
.pc-delivery { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--text-dim); margin-bottom: 12px; }
.pc-delivery .icon { width: 13px; height: 13px; color: #34C759; }
.pc-bottom { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.pc-price-block { display: flex; flex-direction: column; gap: 1px; }
.pc-price-row { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.pc-price { font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--text); }
.pc-original { font-size: 13px; color: var(--text-dim); text-decoration: line-through; font-weight: 500; }
.pc-term-row { display: flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 500; }
.pc-term { color: var(--text-soft); }
.pc-monthly-eq { color: var(--brand); font-weight: 700; }
.pc-add { width: 100%; transition: all 0.22s ease; }

/* ---------------- Steps ---------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; }
.step-ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-soft); color: var(--brand-ink); border: 1px solid rgba(99,102,241,.16); margin-bottom: 16px; }
.step-ico .icon { width: 24px; height: 24px; }
.step .num { position: absolute; top: 22px; right: 24px; font-size: 30px; font-weight: 800; color: var(--bg-tint); letter-spacing: -.04em; }
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 7px; }
.step p { color: var(--text-soft); font-size: 14.5px; }
.step-arrow { position: absolute; right: -20px; top: 50%; transform: translateY(-50%); color: var(--border-2); z-index: 2; }
.step-arrow .icon { width: 22px; height: 22px; }

/* ---------------- Why ---------------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: transform .2s, box-shadow .2s; }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-ico { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: var(--grad-soft); color: var(--brand-ink); margin-bottom: 14px; }
.why-ico .icon { width: 23px; height: 23px; }
.why-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 7px; }
.why-card p { color: var(--text-soft); font-size: 14px; }

/* ---------------- Reviews ---------------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 4px 20px -10px rgba(95,67,242,.03);
  transition: transform .22s cubic-bezier(0.16, 1, 0.3, 1), border-color .22s, box-shadow .22s;
}
.review-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: var(--shadow);
}
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
  background: var(--bg-tint) !important; /* Uniform soft background like screenshots */
  color: var(--brand) !important; /* Brand purple text */
  flex-shrink: 0;
}
.review-name { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 6px; color: var(--text); }
.review-meta { font-size: 12px; color: var(--text-dim); margin-top: 2px; }
.verified { display: inline-flex; align-items: center; gap: 3px; color: var(--brand); font-size: 11px; font-weight: 700; }
.verified .icon { width: 12px; height: 12px; }
.review-stars { display: inline-flex; color: var(--gold); margin-bottom: 8px; }
.review-stars .icon { width: 14px; height: 14px; }
.review-text {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.55;
  margin: 6px 0;
}
.review-text::before { content: "«"; color: var(--text-dim); }
.review-text::after { content: "»"; color: var(--text-dim); }
.review-product {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 100px;
  font-weight: 600;
}
.review-product img { width: 14px; height: 14px; border-radius: 50%; }

.reviews-actions { display: flex; justify-content: center; margin-top: 32px; }

/* Review form (modal) */
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; }
.input, .textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--border); border-radius: 14px;
  font-family: inherit; font-size: 14.5px; color: var(--text); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.input:focus, .textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3.5px rgba(95, 67, 242, 0.12); }
.textarea { resize: vertical; min-height: 96px; }
.star-input { display: inline-flex; gap: 4px; }
.star-input button { color: var(--border-2); transition: color .15s, transform .15s; }
.star-input button .icon { width: 26px; height: 26px; }
.star-input button:hover { transform: scale(1.12); }
.star-input button.on { color: var(--gold); }

/* ---------------- Promo capture ---------------- */
.promo { background: var(--grad); border-radius: var(--radius-lg); padding: 50px; color: #fff; position: relative; overflow: hidden; }
.promo::after { content: ""; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px; background: rgba(255,255,255,.12); border-radius: 50%; }
.promo-inner { position: relative; z-index: 1; max-width: 560px; }
.promo .icon-badge { width: 50px; height: 50px; border-radius: 14px; background: rgba(255,255,255,.18); display: grid; place-items: center; margin-bottom: 18px; }
.promo .icon-badge .icon { width: 26px; height: 26px; }
.promo h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; }
.promo p { color: rgba(255,255,255,.86); font-size: 16px; margin: 12px 0 26px; }
.promo-form { display: flex; gap: 10px; flex-wrap: wrap; }
.promo-form .input { flex: 1; min-width: 220px; border: none; padding: 15px 18px; }
.promo-form .btn { background: #fff; color: var(--brand-ink); }
.promo-form .btn:hover { background: #EEF2FF; }
.promo-note { margin-top: 14px; font-size: 12.5px; color: rgba(255,255,255,.72); }
.promo-success { display: none; align-items: center; gap: 14px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); border-radius: 14px; padding: 18px 20px; }
.promo-success.show { display: flex; }
.promo-success .code { font-size: 22px; font-weight: 800; letter-spacing: .08em; background: #fff; color: var(--brand-ink); padding: 8px 16px; border-radius: 10px; }

/* ---------------- FAQ ---------------- */
.faq-wrap { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 11px; background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item.open { border-color: var(--border-2); box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 22px; font-size: 15.5px; font-weight: 650; text-align: left; }
.faq-q .icon { width: 20px; height: 20px; color: var(--brand); transition: transform .25s; flex-shrink: 0; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 22px 20px; color: var(--text-soft); font-size: 14.5px; }

/* ---------------- Footer ---------------- */
.footer { border-top: 1px solid var(--border); padding: 56px 0 28px; background: var(--bg-soft); }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-about p { color: var(--text-soft); font-size: 14px; margin: 14px 0; max-width: 320px; }
.footer-col h4 { font-size: 13.5px; font-weight: 700; margin-bottom: 14px; }
.footer-col a { display: block; color: var(--text-soft); font-size: 14px; padding: 6px 0; transition: color .2s; }
.footer-col a:hover { color: var(--brand-ink); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-dim); }
.footer-bottom .secure { display: inline-flex; align-items: center; gap: 6px; }
.footer-bottom .secure .icon { width: 15px; height: 15px; }

/* ---------------- Cart drawer ---------------- */
.overlay { position: fixed; inset: 0; z-index: 200; background: rgba(20,21,43,.4); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.overlay.open { opacity: 1; visibility: visible; }
.cart-drawer { position: fixed; top: 0; right: 0; height: 100vh; height: 100dvh; z-index: 210; width: min(420px, 100vw); background: #fff; border-left: 1px solid var(--border); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1); }
.cart-drawer.open { transform: translateX(0); }
.cart-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--border); }
.cart-header h3 { font-size: 18px; font-weight: 700; }
.cart-body { flex: 1; overflow-y: auto; padding: 16px 22px; }
.cart-empty { text-align: center; padding: 56px 20px; color: var(--text-dim); }
.cart-empty .icon { width: 44px; height: 44px; margin: 0 auto 14px; color: var(--border-2); }
.cart-item { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--border); }
.cart-item-logo { width: 46px; height: 46px; border-radius: 11px; flex-shrink: 0; display: grid; place-items: center; background: var(--bg-soft); border: 1px solid var(--border); }
.cart-item-logo img { width: 26px; height: 26px; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info b { font-size: 14px; font-weight: 650; }
.cart-item-info small { display: block; color: var(--text-dim); font-size: 12px; }
.qty { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; }
.qty button { width: 26px; height: 26px; border: 1px solid var(--border-2); border-radius: 8px; display: grid; place-items: center; color: var(--text-soft); transition: border-color .2s, color .2s; }
.qty button:hover { border-color: var(--brand); color: var(--brand-ink); }
.qty button .icon { width: 14px; height: 14px; }
.qty span { font-size: 13.5px; min-width: 18px; text-align: center; font-weight: 600; }
.cart-item-right { text-align: right; }
.cart-item-price { font-weight: 700; color: var(--brand-ink); font-size: 14.5px; }
.cart-item-remove { color: var(--text-dim); margin-top: 8px; transition: color .2s; }
.cart-item-remove:hover { color: var(--danger); }
.cart-item-remove .icon { width: 16px; height: 16px; }
.cart-footer { padding: 18px 22px; border-top: 1px solid var(--border); background: var(--bg-soft); }
.cart-line { display: flex; justify-content: space-between; font-size: 14px; color: var(--text-soft); margin-bottom: 8px; }
.cart-line .save { color: var(--success); font-weight: 650; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin: 12px 0 16px; }
.cart-total b { font-size: 23px; font-weight: 800; }
.cart-secure { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--text-dim); margin-top: 11px; }
.cart-secure .icon { width: 14px; height: 14px; }

/* ---------------- Modal (product detail / forms) ---------------- */
.modal-overlay { position: fixed; inset: 0; z-index: 220; background: rgba(20,21,43,.5); backdrop-filter: blur(4px); display: flex; justify-content: center; align-items: flex-start; overflow-y: auto; padding: 24px 12px; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal { width: 100%; max-width: 760px; max-height: 90vh; margin: auto 0; overflow-y: auto; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); transform: translateY(16px) scale(.98); transition: transform .28s cubic-bezier(.34,1.3,.6,1); }
.modal-overlay.open .modal { transform: none; }
.modal-sm { max-width: 480px; }
.modal-close { position: absolute; top: 16px; right: 16px; z-index: 3; }
.modal-pad { padding: 28px; }

/* Sticky footer product modal layout */
#productModal {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: 90vh;
}
#productModal .modal-body {
  flex: 1;
  overflow-y: auto;
  padding-bottom: 24px;
}
#productModal .modal-footer {
  flex-shrink: 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 20px 28px;
  z-index: 10;
  box-shadow: 0 -8px 24px rgba(20, 21, 43, 0.04);
}

.pd-head { display: flex; gap: 18px; align-items: flex-start; padding: 28px 28px 0; }
.pd-logo { width: 78px; height: 78px; border-radius: 18px; display: grid; place-items: center; flex-shrink: 0; background: var(--bg-soft); border: 1px solid var(--border); }
.pd-logo img { width: 46px; height: 46px; }
.pd-logo .fallback { font-weight: 800; font-size: 34px; color: var(--brand); }
.pd-head-info { flex: 1; }
.pd-name { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.pd-rating { display: flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--text-soft); margin-top: 6px; }
.pd-rating .stars { display: inline-flex; color: var(--gold); }
.pd-rating .stars .icon { width: 15px; height: 15px; }
.pd-desc { color: var(--text-soft); font-size: 15px; padding: 18px 28px 0; white-space: pre-line; }
.pd-features { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 28px 0; flex-wrap: wrap; }
.pd-feature { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--text); }
.pd-feature .icon { width: 17px; height: 17px; color: var(--success); }
.pd-buy { margin: 24px 28px 28px; padding: 20px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); }
.pd-buy-label { font-size: 13px; font-weight: 650; color: var(--text-soft); margin-bottom: 9px; }
.pd-durations { display: flex; background: rgba(20, 21, 43, 0.04); border-radius: 14px; padding: 4px; gap: 4px; margin-bottom: 16px; }
.pd-dur { position: relative; flex: 1; padding: 10px 4px; border: none; border-radius: 10px; background: none; text-align: center; transition: background .2s, box-shadow .2s; }
.pd-dur b { display: block; font-size: 13.5px; font-weight: 700; }
.pd-dur small { font-size: 10.5px; color: var(--text-dim); }
.pd-dur:hover:not([disabled]) { background: rgba(255, 255, 255, 0.45); }
.pd-dur.active { background: #fff !important; border-color: transparent !important; color: var(--brand-ink) !important; box-shadow: var(--shadow-sm); }
.pd-dur.active small { color: var(--text-soft) !important; }
.pd-dur .ds-note { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); font-size: 8.5px; font-weight: 800; text-transform: uppercase; background: var(--success); color: #fff; padding: 2px 6px; border-radius: 100px; white-space: nowrap; }
.pd-buy-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pd-price-block .row { display: flex; align-items: baseline; gap: 8px; }
.pd-price-block .price { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.pd-price-block .orig { font-size: 15px; color: var(--text-dim); text-decoration: line-through; }
.pd-price-block .save { font-size: 12.5px; font-weight: 700; color: var(--success); }
.pd-buy-actions { display: flex; align-items: center; gap: 10px; }
.pd-qty { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border-2); border-radius: 11px; padding: 5px; }
.pd-qty button { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: var(--text-soft); }
.pd-qty button:hover { background: #fff; color: var(--brand-ink); }
.pd-qty button .icon { width: 15px; height: 15px; }
.pd-qty span { min-width: 22px; text-align: center; font-weight: 700; }

.pd-modal-trust {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-2);
}
.pd-modal-trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-soft);
}
.pd-modal-trust-item .icon {
  width: 14px;
  height: 14px;
  color: var(--success);
}

.modal-title { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 6px; }
.modal-subtitle { color: var(--text-soft); font-size: 14.5px; margin-bottom: 20px; }

/* ---------------- Toast ---------------- */
/* ---- Toast ---- */
.toast {
  position: fixed; top: 28px; bottom: auto; left: 50%;
  transform: translateX(-50%) translateY(-120px) scale(0.96);
  z-index: 3000;
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border-2);
  border-radius: 16px;
  padding: 14px 20px 14px 14px;
  min-width: 320px; max-width: 440px;
  box-shadow: 0 8px 32px rgba(0,0,0,.18), 0 2px 8px rgba(0,0,0,.1);
  transition: transform .42s cubic-bezier(.34,1.56,.64,1), opacity .3s ease;
  opacity: 0;
  pointer-events: none;
}
.toast.show { transform: translateX(-50%) translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.toast .toast-ico {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--grad); color: #fff;
  display: grid; place-items: center; flex-shrink: 0;
}
.toast .toast-ico .icon { width: 18px; height: 18px; }
.toast b { font-size: 14px; font-weight: 700; color: var(--text); display: block; }
.toast small { display: block; color: var(--text-soft); font-size: 12.5px; margin-top: 1px; max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---- Cart Floating Bar (Island) ---- */
.cart-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  z-index: 2400;
  width: calc(100% - 32px);
  max-width: 600px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 99px;
  box-shadow: 0 20px 48px -12px rgba(99, 102, 241, 0.22), 0 8px 24px -4px rgba(20, 21, 43, 0.06);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
}
.cart-bar.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cart-bar.cb-bump {
  animation: cbBump 0.5s ease-out;
}
@keyframes cbBump {
  0% { transform: translateX(-50%) translateY(0) scale(1); }
  25% { transform: translateX(-50%) translateY(-10px) scale(1.04); }
  50% { transform: translateX(-50%) translateY(4px) scale(0.97); }
  75% { transform: translateX(-50%) translateY(-2px) scale(1.01); }
  100% { transform: translateX(-50%) translateY(0) scale(1); }
}
.cb-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px 8px 20px;
  gap: 16px;
}
.cb-left {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  min-width: 0;
  flex: 1;
}
.cb-cart-ico {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--brand);
  flex-shrink: 0;
}
.cb-cart-ico .icon {
  width: 20px;
  height: 20px;
}
.cb-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--brand);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #fff;
  box-shadow: var(--shadow-sm);
}
.cb-info {
  min-width: 0;
}
.cb-title {
  display: block;
  font-size: 13.5px;
  font-weight: 750;
  color: var(--text);
  line-height: 1.2;
}
.cb-summary {
  display: block;
  font-size: 12px;
  color: var(--text-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}
.cb-logos {
  display: flex;
  align-items: center;
  margin-left: auto;
  flex-shrink: 0;
}
.cb-logo-wrap {
  margin-left: -12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.cb-logo-wrap:first-child {
  margin-left: 0;
}
.cb-logo-item {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.cb-logo-wrap .fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  color: #fff;
  background: var(--brand);
}
.cb-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.cb-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  border-radius: 99px;
  font-size: 13.5px;
  font-weight: 600;
  padding: 0 20px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.cb-btn .icon {
  width: 16px;
  height: 16px;
}
.cb-btn--ghost {
  background: var(--bg-soft);
  color: var(--text);
  border: 1px solid var(--border);
}
.cb-btn--ghost:hover {
  background: var(--bg-tint);
  border-color: var(--border-2);
}
.cb-btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}
.cb-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.4);
}
.cb-btn--primary:active {
  transform: translateY(0);
}
@media (max-width: 520px) {
  .cart-bar {
    bottom: 16px;
    border-radius: 99px;
    width: calc(100% - 20px);
  }
  .cb-inner {
    padding: 6px 6px 6px 12px;
    flex-wrap: nowrap;
    gap: 8px;
  }
  .cb-left {
    width: auto;
    flex: 1;
    min-width: 0;
    gap: 10px;
  }
  .cb-cart-ico {
    width: 36px;
    height: 36px;
  }
  .cb-cart-ico .icon {
    width: 18px;
    height: 18px;
  }
  .cb-cart-ico .cb-count {
    top: -5px;
    right: -5px;
    min-width: 16px;
    height: 16px;
    font-size: 9px;
    border-width: 1.5px;
  }
  .cb-info {
    min-width: 0;
  }
  .cb-title {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .cb-summary {
    font-size: 11.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .cb-logos {
    display: none;
  }
  .cb-actions {
    width: auto;
    gap: 0;
    flex-shrink: 0;
  }
  .cb-btn {
    height: 38px;
    padding: 0 16px;
    font-size: 13px;
  }
  .cb-btn--ghost {
    display: none !important;
  }
}


/* ---------------- Reveal ---------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------------- Mobile menu ---------------- */
.mobile-menu { position: fixed; inset: 0; z-index: 250; background: #fff; transform: translateX(100%); transition: transform .3s; display: flex; flex-direction: column; }
.mobile-menu.open { transform: translateX(0); }
.mm-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid var(--border); }
.mm-body { padding: 16px 22px; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; }
.mm-body > a { font-size: 17px; font-weight: 600; padding: 14px 14px; border-radius: 12px; color: var(--text); }
.mm-body > a:hover { background: var(--bg-soft); }
.mm-section { margin-top: 18px; }
.mm-section h5 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text-dim); margin: 0 14px 8px; }
.mm-options { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 8px; }
.mm-opt { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--border-2); border-radius: 100px; font-size: 14px; font-weight: 600; color: var(--text-soft); cursor: pointer; }
.mm-opt.active { background: var(--bg-tint); color: var(--brand-ink); border-color: transparent; }

/* ---------------- Responsive ---------------- */

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-visual { max-width: 440px; margin: 0 auto; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  #catalog { padding-bottom: 130px !important; }
  .nav { height: 60px; gap: 12px; }
  .nav-links, .nav-right .dd, .nav-right .btn-cta-desktop { display: none; }
  .burger { display: grid; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pc-tagline { min-height: 0; display: none; }
  .pc-logo { width: 46px; height: 46px; }
  .pc-name { font-size: 15px; }
  .steps { grid-template-columns: 1fr; }
  .step-arrow { display: none; }
  .step .num { font-size: 26px; }
  .promo { padding: 32px 24px; }
  .pd-features { justify-content: flex-start; gap: 8px 16px; }
  .pd-durations { flex-wrap: wrap; }
  .pd-durations .pd-dur { flex: 1 1 calc(50% - 4px); }
  .pd-head { flex-direction: column; }
  .pd-buy-bottom { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; }
  .pd-buy-actions { display: flex; flex-direction: row; align-items: center; gap: 8px; }
  .catalog-toolbar { gap: 14px; }
  .toolbar-left {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    position: relative;
  }
  .toolbar-left::after {
    content: "";
    position: absolute;
    top: 0;
    right: -22px;
    bottom: 0;
    width: 60px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), #ffffff 80%);
    pointer-events: none;
    z-index: 2;
  }
  .filter-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: auto;
    background: transparent;
    padding: 6px 22px;
    margin: 0 -22px;
    gap: 8px;
  }
  .filter-tabs::-webkit-scrollbar { display: none; }
  .filter-tab {
    padding: 8px 16px;
    font-size: 13.5px;
    flex-shrink: 0;
  }
  .duration-switch { width: 100%; justify-content: space-between; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  /* --- Hero: swipeable mobile --- */
  .hero { padding: 40px 0 16px; }
  .hero-grid { display: flex !important; flex-direction: column !important; gap: 0 !important; }
  .hero-copy { display: contents !important; }
  .hero-eyebrow { order: 1; margin-bottom: 0 !important; }
  .hero-visual {
    order: 2;
    max-width: 100%;
    min-width: 0;
    padding-bottom: 0;
    overflow: visible !important;
  }
  .hero h1 { order: 3; }
  .hero .lead { order: 4; margin: 10px 0 14px; font-size: 16.5px; }
  .hero-cta { order: 5; }
  .hero-proof { order: 6; margin-top: 14px; }
  .section-head { margin-bottom: 20px; }
  .marquee { padding: 14px 0; }
  .section#catalog { padding-top: 24px; }
  .hero-cards-3d {
    display: block !important;
    height: 375px;
    transform: none;
    margin: 10px auto 8px;
    max-width: 290px;
    width: 100%;
    perspective: none;
    position: relative;
  }
  .hero-cards-3d .card-3d {
    position: absolute;
    width: 290px !important;
    height: 350px !important;
    left: 50% !important;
    background: #ffffff !important; /* Fully opaque on mobile to prevent overlay text bleed-through */
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(20, 21, 43, 0.08);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.4s ease, border-color 0.3s, box-shadow 0.4s;
    display: flex !important;
  }
  .hero-cards-3d .card-3d.pos-left {
    top: 5px;
    z-index: 1;
    opacity: 0.65;
    transform: translateX(-225px) rotate(-6deg) scale(0.85) !important;
  }
  .hero-cards-3d .card-3d.pos-right {
    top: 5px;
    z-index: 2;
    opacity: 0.75;
    transform: translateX(-65px) rotate(6deg) scale(0.85) !important;
  }
  .hero-cards-3d .card-3d.pos-center {
    top: 15px;
    z-index: 3;
    opacity: 1;
    transform: translateX(-50%) scale(1) !important;
  }

  /* Brand specifics based on position */
  .hero-cards-3d .card-3d.pos-left.card-3d--spotify,
  .hero-cards-3d .card-3d.pos-right.card-3d--spotify,
  .hero-cards-3d .card-3d.pos-center.card-3d--spotify {
    border-color: rgba(29, 185, 84, 0.18);
  }
  .hero-cards-3d .card-3d.pos-left.card-3d--youtube,
  .hero-cards-3d .card-3d.pos-right.card-3d--youtube,
  .hero-cards-3d .card-3d.pos-center.card-3d--youtube {
    border-color: rgba(255, 0, 51, 0.18);
  }
  .hero-cards-3d .card-3d.pos-left.card-3d--gemini,
  .hero-cards-3d .card-3d.pos-right.card-3d--gemini,
  .hero-cards-3d .card-3d.pos-center.card-3d--gemini {
    border-color: rgba(109, 77, 242, 0.25);
  }

  /* Active center card premium shadows */
  .hero-cards-3d .card-3d.pos-center.card-3d--spotify {
    box-shadow: 0 20px 45px -12px rgba(29, 185, 84, 0.22), var(--shadow-lg) !important;
    border-color: rgba(29, 185, 84, 0.3) !important;
  }
  .hero-cards-3d .card-3d.pos-center.card-3d--youtube {
    box-shadow: 0 20px 45px -12px rgba(255, 0, 51, 0.22), var(--shadow-lg) !important;
    border-color: rgba(255, 0, 51, 0.3) !important;
  }
  .hero-cards-3d .card-3d.pos-center.card-3d--gemini {
    box-shadow: 0 20px 45px -12px rgba(109, 77, 242, 0.22), var(--shadow-lg) !important;
    border-color: rgba(109, 77, 242, 0.35) !important;
  }

  /* Tap press effect on center card */
  .hero-cards-3d .card-3d.pos-center:active {
    transform: translateX(-50%) translateY(-6px) scale(1.02) !important;
    box-shadow: 0 25px 50px -10px rgba(109, 77, 242, 0.28), var(--shadow-lg) !important;
  }


  .fc-1, .fc-2 { display: none; }

  /* Увеличение line-height для заголовка во избежание наложения строк на мобильных */
  .hero h1 { line-height: 1.18; }

  .search-box { width: 100%; }
  .search-box:focus-within { width: 100%; }

  /* Горизонтальный скролл на мобильных для блоков ниже каталога (Чому ми / Відгуки) */
  .why-grid, .reviews-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 10px;
    scroll-padding-right: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -10px;
    padding: 0 10px 12px;
  }
  .why-grid::-webkit-scrollbar, .reviews-grid::-webkit-scrollbar {
    display: none;
  }
  .why-card, .review-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
  }
  .hero-bottom-strip {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-card { padding: 12px 10px 10px; border-radius: 14px; min-height: 0; }
  .product-card:hover { transform: none; box-shadow: 0 4px 12px rgba(0,0,0,0.03) !important; border-color: var(--border) !important; }
  .product-card:active { transform: scale(0.97); }
  .pc-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 8px; }
  .pc-logo { width: 40px; height: 40px; border-radius: 10px; }
  .pc-logo img { width: 22px; height: 22px; }
  .pc-logo .fallback { font-size: 17px; }
  .badge { font-size: 7.5px; padding: 2px 5.5px; gap: 2.5px; letter-spacing: 0.02em; }
  .badge .icon { width: 8px; height: 8px; }
  .pc-name { font-size: 13.5px; line-height: 1.25; margin-bottom: 3px; font-weight: 700; }
  .pc-rating { font-size: 11.5px; margin-bottom: 6px; gap: 4px; }
  .pc-star-icon .icon { width: 11.5px; height: 11.5px; }
  .pc-reviews-count { font-size: 11px; }
  .pc-delivery { display: inline-flex !important; margin-bottom: 8px; font-size: 9.5px; gap: 4px; }
  .pc-delivery .icon { width: 11.5px; height: 11.5px; }
  .pc-tagline { display: none !important; }
  .pc-bottom { display: flex; flex-direction: column; gap: 10px; margin-top: auto; border-top: 1px solid var(--border); padding-top: 8px; }
  .pc-price-block { gap: 0; }
  .pc-price-row { gap: 4px; }
  .pc-price { font-size: 16px; font-weight: 800; }
  .pc-original { font-size: 11px; }
  .pc-discount { font-size: 9.5px; padding: 1px 4.5px; border-radius: 4px; }
  .pc-term-row { font-size: 10.5px; }
  .btn.pc-add {
    width: 100%;
    height: 34px;
    padding: 0 8px;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 11.5px;
    font-weight: 700;
  }
  .btn.pc-add:hover { transform: none !important; }
  .btn.pc-add .icon { width: 12px; height: 12px; margin-right: 0; color: #fff; }
  .pc-add-text { display: inline !important; }

  .filter-tab { padding: 8px 14px; font-size: 13px; }
  .qty button { width: 36px; height: 36px; }

  .pd-buy-bottom {
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: nowrap !important;
  }
  .pd-buy-actions {
    flex-direction: row !important;
    align-items: center;
    width: auto;
    gap: 8px;
    flex: 1;
    justify-content: flex-end;
  }
  .pd-qty {
    width: auto;
    gap: 4px;
    padding: 3px;
  }
  .pd-qty button {
    width: 26px;
    height: 26px;
    border-radius: 6px;
  }
  .pd-qty span {
    min-width: 18px;
    font-size: 13px;
  }
  #pdAdd {
    width: auto;
    flex: 1;
    height: 38px;
    font-size: 13px;
    padding: 0 12px;
    border-radius: 100px;
    font-weight: 700;
  }
  .pd-price-block .price {
    font-size: 20px;
  }
  .pd-price-block .orig {
    font-size: 13px;
  }
  .pd-price-block .save {
    font-size: 11px;
  }
}

@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .modal-pad { padding: 22px; }
  .pd-head { padding: 22px 22px 0; }
  .pd-desc, .pd-features { padding-left: 22px; padding-right: 22px; }
  .pd-buy { margin: 20px 22px 22px; }
  .hero-proof { gap: 11px; }
  .proof-avatar { width: 34px; height: 34px; }
  .fc-1, .fc-2 { display: none; }
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-orb, .hero h1 .grad, .btn--shine::after, .eyebrow-pulse::after, .floating-chip { animation: none; }
  .hero-copy > *, .hero-visual { opacity: 1; transform: none; animation: none; }
}

/* User Profile & Checkout Custom Styling */
/* ======================================================
   PROFILE MODAL — новый дизайн
   ====================================================== */
#profileModal {
  display: flex; flex-direction: column;
  max-height: 90vh; overflow: hidden;
  padding: 0 !important;
}

/* --- Шапка профиля --- */
.pm-header {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  background: var(--bg-soft);
  position: relative;
}
.pm-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--grad); color: #fff;
  display: grid; place-items: center;
  font-size: 15px; font-weight: 800;
  flex-shrink: 0; letter-spacing: 0.5px;
}
.pm-header-info { flex: 1; min-width: 0; }
.pm-header-name { display: block; font-size: 14px; font-weight: 700; color: var(--text); }
.pm-header-email { display: block; font-size: 11.5px; color: var(--text-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-logout-btn {
  display: flex; align-items: center; gap: 5px;
  background: none; border: 1px solid var(--border-2);
  border-radius: 8px; padding: 5px 10px;
  font-size: 12px; font-weight: 600; color: var(--text-soft);
  cursor: pointer; transition: all .18s; flex-shrink: 0;
}
.pm-logout-btn .icon { width: 12px; height: 12px; }
.pm-logout-btn:hover { color: var(--danger); border-color: var(--danger); background: rgba(239,68,68,.05); }
.pm-close { position: absolute; top: 12px; right: 12px; }

/* --- Тело --- */
.pm-body {
  flex: 1; overflow-y: auto; padding: 16px 18px 20px;
  scrollbar-width: thin; scrollbar-color: var(--border-2) transparent;
}
.pm-body::-webkit-scrollbar { width: 4px; }
.pm-body::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 4px; }

/* --- Лоадер --- */
.pm-loading { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 50px 20px; color: var(--text-dim); font-size: 13.5px; }
.pm-spinner {
  width: 28px; height: 28px;
  border: 3px solid var(--border);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.pm-spinner-sm {
  display: inline-block; width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  vertical-align: middle;
}
.pm-error { text-align: center; padding: 30px 20px; color: var(--danger); font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; }

/* --- Пустой кабинет --- */
.pm-empty { text-align: center; padding: 50px 20px 30px; }
.pm-empty-icon { width: 56px; height: 56px; margin: 0 auto 14px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 16px; display: grid; place-items: center; color: var(--text-dim); }
.pm-empty-icon .icon { width: 26px; height: 26px; }
.pm-empty-title { font-size: 14px; color: var(--text-soft); margin-bottom: 18px; }

/* --- Заголовок списка --- */
.pm-orders-header { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.pm-orders-title { font-size: 14px; font-weight: 700; color: var(--text); }
.pm-orders-count { background: var(--bg-soft); border: 1px solid var(--border-2); border-radius: 20px; padding: 1px 9px; font-size: 11.5px; font-weight: 700; color: var(--brand); }
.pm-orders-list { display: flex; flex-direction: column; gap: 12px; }

/* --- Карточка заказа --- */
.pm-order-card {
  border: 1px solid var(--border-2);
  border-radius: 14px;
  background: var(--bg-soft);
  overflow: hidden;
  transition: box-shadow .18s;
}
.pm-order-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.09); }
.pm-order-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.pm-order-num-wrap { display: flex; flex-direction: column; gap: 1px; }
.pm-order-num { font-size: 14px; font-weight: 800; color: var(--text); }
.pm-order-date { font-size: 11px; color: var(--text-dim); }

/* Статус-чипы */
.pm-status-chip { display: inline-flex; align-items: center; border-radius: 20px; padding: 3px 10px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.pms-pending    { background: rgba(245,158,11,.12); color: #D97706; }
.pms-pending-verification { background: rgba(139, 92, 246, 0.12); color: #8B5CF6; }
.pms-paid       { background: rgba(16,185,129,.12);  color: #059669; }
.pms-processing { background: rgba(99,102,241,.12);  color: var(--brand); }
.pms-delivered,
.pms-completed  { background: rgba(16,185,129,.15);  color: #047857; }
.pms-refunded   { background: rgba(107,114,128,.12); color: var(--text-soft); }

/* Товары в заказе */
.pm-items { padding: 10px 14px; display: flex; flex-direction: column; gap: 8px; }
.pm-item { display: flex; align-items: center; gap: 10px; }
.pm-item-logo { width: 28px; height: 28px; object-fit: contain; border-radius: 6px; flex-shrink: 0; background: var(--bg); padding: 3px; border: 1px solid var(--border); }
.pm-item-logo--fallback { width: 28px; height: 28px; border-radius: 6px; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 13px; flex-shrink: 0; }
.pm-item-info { flex: 1; min-width: 0; }
.pm-item-name { display: block; font-size: 13px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-item-sub { font-size: 11px; color: var(--text-dim); }
.pm-item-price { font-size: 13px; font-weight: 700; color: var(--brand); flex-shrink: 0; }

/* Итого */
.pm-order-total {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 14px 12px;
  font-size: 13px; color: var(--text-soft);
}
.pm-order-total b { font-size: 14.5px; font-weight: 800; color: var(--text); }

/* Ключи */
.pm-keys {
  margin: 0 10px 12px;
  background: var(--bg);
  border: 1px dashed var(--border-2);
  border-radius: 10px;
  padding: 10px 12px;
}
.pm-keys-title { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; color: var(--text-soft); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .04em; }
.pm-keys-title .icon { width: 13px; height: 13px; color: var(--brand); }
.pm-key-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.pm-key-row:last-child { margin-bottom: 0; }
.pm-key-dur { flex-shrink: 0; background: rgba(99,102,241,.1); color: var(--brand); border-radius: 5px; padding: 2px 7px; font-size: 11px; font-weight: 700; }
.pm-key-val { flex: 1; font-family: monospace; font-size: 12px; font-weight: 600; color: var(--brand-ink); background: var(--bg-soft); border: 1px solid var(--border); border-radius: 6px; padding: 4px 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-copy-btn { flex-shrink: 0; background: none; border: 1px solid var(--border-2); border-radius: 6px; padding: 5px; cursor: pointer; color: var(--brand); display: grid; place-items: center; transition: all .15s; }
.pm-copy-btn .icon { width: 13px; height: 13px; }
.pm-copy-btn:hover { background: var(--brand); color: #fff; border-color: var(--brand); transform: scale(1.05); }

/* Статус-бары */
.pm-status-bar {
  display: flex; align-items: center; gap: 8px;
  margin: 0 10px 12px; border-radius: 10px;
  padding: 10px 12px; font-size: 12.5px; font-weight: 500;
}
.pm-status-bar .icon { width: 15px; height: 15px; flex-shrink: 0; }
.pm-status-bar--processing { background: rgba(99,102,241,.07); color: var(--brand); border: 1px solid rgba(99,102,241,.15); }
.pm-status-bar--pending { background: rgba(245,158,11,.07); color: #D97706; border: 1px solid rgba(245,158,11,.2); }

/* --- Экран авторизации --- */
.pm-auth {
  display: flex; flex-direction: column; align-items: center;
  padding: 32px 24px 28px; text-align: center;
}
.pm-auth-icon {
  width: 60px; height: 60px; border-radius: 18px;
  background: var(--grad); color: #fff;
  display: grid; place-items: center; margin-bottom: 18px;
  box-shadow: 0 6px 20px rgba(99,102,241,.3);
}
.pm-auth-icon .icon { width: 28px; height: 28px; }
.pm-auth-title { font-size: 20px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.pm-auth-sub { font-size: 13.5px; color: var(--text-soft); margin-bottom: 24px; line-height: 1.5; }
.pm-auth-form { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.pm-input-wrap { position: relative; }
.pm-input-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-dim); pointer-events: none; }
.pm-input-icon .icon { width: 16px; height: 16px; }
.pm-input {
  width: 100%; box-sizing: border-box;
  background: var(--bg-soft); border: 1.5px solid var(--border-2);
  border-radius: 12px; padding: 13px 14px 13px 38px;
  font-size: 14px; color: var(--text); outline: none;
  transition: border-color .18s, box-shadow .18s;
}
.pm-input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(99,102,241,.15); }
.pm-otp-input {
  width: 100%; box-sizing: border-box;
  background: var(--bg-soft); border: 2px solid var(--border-2);
  border-radius: 14px; padding: 16px;
  font-size: 28px; font-weight: 800; letter-spacing: 10px; text-align: center;
  color: var(--brand-ink); outline: none;
  transition: border-color .18s, box-shadow .18s;
}
.pm-otp-input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(99,102,241,.15); }
.pm-otp-input::placeholder { color: var(--text-dim); letter-spacing: 4px; font-size: 22px; }
.pm-auth-btn { border-radius: 12px !important; padding: 14px !important; font-size: 15px !important; font-weight: 700 !important; }
.pm-back-btn { color: var(--text-soft) !important; font-size: 13px !important; }
.pm-auth-hint { font-size: 12px; color: var(--text-dim); margin-top: 12px; display: flex; align-items: center; gap: 5px; }
.pm-auth-hint .icon { width: 12px; height: 12px; color: #10b981; flex-shrink: 0; }

/* old .profile-* and .order-card kept for checkout modal compatibility */
.profile-user-info { display: none; }
.profile-email { font-weight: 700; color: var(--brand-ink); font-size: 14.5px; }
.order-list { display: flex; flex-direction: column; gap: 14px; }
.order-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; background: var(--bg-soft); }
.order-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.order-card-num { font-weight: 700; font-size: 14px; }
.order-card-date { font-size: 11px; color: var(--text-dim); }
.order-card-items { font-size: 13px; margin-bottom: 8px; color: var(--text-soft); }
.order-card-item { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px solid rgba(0,0,0,0.02); }
.order-card-keys { margin-top: 10px; padding: 10px; background: var(--bg); border: 1px dashed var(--border-2); border-radius: 8px; }
.order-card-key-title { font-size: 11.5px; font-weight: 700; color: var(--text-soft); margin-bottom: 6px; }
.order-card-key-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-family: monospace; font-size: 11px; margin-bottom: 6px; }
.order-card-key-item:last-child { margin-bottom: 0; }
.order-card-key-val { background: var(--bg-soft); padding: 4px 8px; border-radius: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; border: 1px solid var(--border); color: var(--brand-ink); font-weight: 600; }
.btn-copy { border: none; background: none; cursor: pointer; color: var(--brand); padding: 4px; display: grid; place-items: center; transition: color 0.2s, transform 0.1s; }
.btn-copy:hover { color: var(--brand-ink); transform: scale(1.1); }
.btn-copy:active { transform: scale(0.95); }
.checkout-summary { margin-bottom: 20px; padding: 14px; background: var(--bg-soft); border-radius: var(--radius); border: 1px solid var(--border); }
.checkout-summary-title { font-size: 13px; font-weight: 750; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.03em; color: var(--text-soft); }
.checkout-summary-item { display: flex; justify-content: space-between; font-size: 13.5px; padding: 4px 0; color: var(--text); }
.checkout-summary-total { display: flex; justify-content: space-between; font-size: 16px; font-weight: 800; border-top: 1px solid var(--border); margin-top: 8px; padding-top: 8px; color: var(--brand-ink); }
.payment-methods-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0 20px; }
.payment-method-card { border: 1.5px solid var(--border-2); border-radius: 10px; padding: 10px 4px; text-align: center; cursor: pointer; font-size: 11.5px; font-weight: 650; color: var(--text-soft); transition: all 0.2s; }
.payment-method-card:hover { border-color: var(--border-2); color: var(--text); }
.payment-method-card.active { border-color: var(--brand); background: var(--bg-tint); color: var(--brand-ink); }
.order-status-badge { display: inline-flex; align-items: center; font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 100px; text-transform: capitalize; }
.status-pending { background: #FFF6E5; color: #C98A12; }
.status-paid { background: #EEF0FF; color: #5A56E0; }
.status-processing { background: #FFF1EC; color: #E0612F; }
.status-delivered, .status-completed { background: #E9F8EF; color: #12A150; }
.status-refunded { background: #FCE8E6; color: #E5484D; }

/* Prevent auto-zooming on focus in iOS and other mobile devices */
@media screen and (max-width: 768px) {
  .input, .textarea {
    font-size: 16px !important;
  }
}


/* Plan: unavailable duration button */
.pd-dur--disabled{opacity:.45;cursor:not-allowed;background:var(--bg-soft);}
.pd-dur--disabled b,.pd-dur--disabled small{color:var(--text-dim)!important;}
.pd-dur-unavail{display:block;font-size:9.5px;color:var(--danger);font-weight:700;margin-top:2px;}

/* ============================================================
   FLOATING SUPPORT BUTTON & CONTACT MODAL
   ============================================================ */

/* Floating "Write to us" button */
.support-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 14px 20px 14px 16px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  box-shadow: 0 8px 28px -8px rgba(99,102,241,.7), 0 2px 8px rgba(0,0,0,.1);
  transition: transform .22s cubic-bezier(.34,1.56,.64,1), box-shadow .22s ease, opacity .3s;
  white-space: nowrap;
  animation: sfBounceIn .6s cubic-bezier(.34,1.56,.64,1) .8s both;
}
.support-float:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 14px 36px -8px rgba(99,102,241,.85), 0 2px 8px rgba(0,0,0,.12);
}
.support-float:active { transform: scale(.97); }
.support-float svg { width: 20px; height: 20px; flex-shrink: 0; }
@keyframes sfBounceIn {
  from { opacity: 0; transform: translateY(20px) scale(.8); }
  to   { opacity: 1; transform: none; }
}

/* Hide floating support button when drawer or modals are open to prevent overlapping CTA buttons */
.cart-drawer.open ~ .support-float,
.modal-overlay.open ~ .support-float,
.contact-overlay.open ~ .support-float {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(20px) scale(0.8) !important;
}

/* Pulsing dot on button */
.support-float-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(74,222,128,.6);
  animation: sfPulse 2s ease-out infinite;
}
@keyframes sfPulse {
  0%   { box-shadow: 0 0 0 0 rgba(74,222,128,.6); }
  70%  { box-shadow: 0 0 0 7px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}

/* Contact modal overlay */
.contact-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20,21,43,.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0 28px 100px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.contact-overlay.open {
  opacity: 1;
  visibility: visible;
}
.contact-box {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  width: 360px;
  max-width: calc(100vw - 40px);
  box-shadow: 0 30px 80px -20px rgba(20,21,43,.3), 0 4px 16px rgba(0,0,0,.08);
  transform: translateY(30px) scale(.95);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), opacity .25s ease;
  opacity: 0;
}
.contact-overlay.open .contact-box {
  transform: none;
  opacity: 1;
}

.contact-box-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}
.contact-box-title {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.contact-box-title h3 {
  font-size: 17px;
  font-weight: 750;
  color: var(--text);
}
.contact-box-title p {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.45;
}
.contact-box-close {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: none;
  background: var(--bg-soft);
  color: var(--text-soft);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s, color .2s;
  flex-shrink: 0;
}
.contact-box-close:hover { background: var(--bg-tint); color: var(--text); }
.contact-box-close .icon { width: 15px; height: 15px; }

/* Form fields */
.contact-field {
  margin-bottom: 14px;
}
.contact-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--text-soft);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.contact-field input,
.contact-field textarea {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 11px 14px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.contact-field input:focus,
.contact-field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(99,102,241,.12);
  background: #fff;
}
.contact-field textarea {
  resize: none;
  height: 90px;
  line-height: 1.5;
}

.contact-submit {
  width: 100%;
  padding: 13px;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
  box-shadow: 0 8px 20px -8px rgba(99,102,241,.6);
  transition: transform .18s ease, box-shadow .18s ease, opacity .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.contact-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(99,102,241,.75); }
.contact-submit:active { transform: scale(.98); }
.contact-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.contact-submit svg { width: 17px; height: 17px; }

/* Success state */
.contact-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 0 8px;
  gap: 12px;
}
.contact-success.show { display: flex; }
.contact-success-ico {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #E9F8EF;
  display: grid;
  place-items: center;
  color: var(--success);
}
.contact-success-ico svg { width: 28px; height: 28px; stroke: currentColor; fill:none; stroke-width:2.2; }
.contact-success h4 { font-size: 17px; font-weight: 750; color: var(--text); }
.contact-success p { font-size: 13.5px; color: var(--text-soft); line-height: 1.5; }

/* Mobile adjustments */
@media (max-width: 480px) {
  .support-float { bottom: 20px; right: 16px; padding: 12px 16px 12px 14px; font-size: 13.5px; }
  .contact-overlay { padding: 0 12px 90px; justify-content: center; }
  .contact-box { width: 100%; }
}

.pd-groups {
  display: flex;
  background: rgba(20, 21, 43, 0.04);
  padding: 4px;
  border-radius: 99px;
  gap: 4px;
  margin-bottom: 16px;
}
.pd-group-tab {
  flex: 1;
  text-align: center;
  padding: 8px 12px;
  border: none;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-soft);
  background: none;
  cursor: pointer;
  transition: all 0.18s ease;
}
.pd-group-tab:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.4);
}
.pd-group-tab.active {
  background: #fff;
  color: var(--brand-ink);
  box-shadow: var(--shadow-sm);
}

/* Catalog Card Highlight Tiers */
.product-card--highlight-medium {
  background: linear-gradient(135deg, var(--brand-color-alpha) 0%, #FFFFFF 100%) !important;
  border-color: var(--brand-color) !important;
  border-width: 1.5px !important;
  box-shadow: 0 10px 25px -8px var(--brand-color-alpha) !important;
}
.product-card--highlight-medium:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 18px 36px -8px var(--brand-color-alpha) !important;
}

.product-card--highlight-strong {
  background: linear-gradient(135deg, rgba(142, 117, 248, 0.05) 0%, #FFFFFF 100%) !important;
  border-color: #8E75F8 !important;
  border-width: 1.5px !important;
  box-shadow: 0 10px 25px -8px rgba(142, 117, 248, 0.3) !important;
  animation: strong-pulsing-glow 3s infinite alternate ease-in-out;
}
.product-card--highlight-strong:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 18px 38px -6px rgba(142, 117, 248, 0.5) !important;
  border-color: #A855F7 !important;
}

@keyframes strong-pulsing-glow {
  0% {
    box-shadow: 0 10px 25px -8px rgba(142, 117, 248, 0.25);
    border-color: #8E75F8;
  }
  100% {
    box-shadow: 0 16px 38px -6px rgba(168, 85, 247, 0.42);
    border-color: #A855F7;
  }
}

@keyframes gradient-pulsing-glow {
  0% {
    box-shadow: 0 10px 25px -8px rgba(142, 117, 248, 0.2), 0 0 10px -2px rgba(142, 117, 248, 0.1) !important;
    border-color: #8E75F8 !important;
  }
  100% {
    box-shadow: 0 16px 36px -6px rgba(142, 117, 248, 0.35), 0 0 18px 2px rgba(142, 117, 248, 0.2) !important;
    border-color: #A855F7 !important;
  }
}

.product-card--highlight-gradient {
  background: linear-gradient(135deg, rgba(142, 117, 248, 0.08) 0%, rgba(255, 255, 255, 0.96) 60%, #FFFFFF 100%) !important;
  border-color: #8E75F8 !important;
  border-width: 2px !important;
  position: relative;
  overflow: hidden;
  animation: gradient-pulsing-glow 3s infinite alternate ease-in-out;
}
.product-card--highlight-gradient:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 22px 48px -10px rgba(142, 117, 248, 0.45) !important;
}

/* Glowing best-value duration option buttons */
.pd-dur--glow {
  animation: term-pulse-glow 2.5s infinite alternate ease-in-out;
  border: 1px solid rgba(142, 117, 248, 0.3) !important;
}

/* Background state when inactive but glowing */
.pd-dur--glow:not(.active):not([disabled]) {
  background: rgba(142, 117, 248, 0.05) !important;
  color: var(--text-soft) !important;
}

/* Background state when active and glowing */
.pd-dur--glow.active {
  background: #F3EEFF !important; /* soft violet/indigo tint */
  border-color: #8E75F8 !important; /* purple/indigo border */
  color: var(--brand-ink) !important;
}

@keyframes term-pulse-glow {
  0% {
    box-shadow: 0 0 0 1px rgba(142, 117, 248, 0.2), 0 0 6px rgba(142, 117, 248, 0.12) !important;
  }
  100% {
    box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.55), 0 0 12px rgba(168, 85, 247, 0.25) !important;
  }
}

/* Custom premium feedback for copy buttons */
.btn-copy-waiting {
  transition: background-color 0.22s, border-color 0.22s, transform 0.22s, color 0.22s !important;
}
.btn-copy-waiting.copied {
  background: rgba(18, 161, 80, 0.08) !important;
  border-color: rgba(18, 161, 80, 0.35) !important;
  color: var(--success) !important;
  transform: scale(1.04) !important;
}

/* Category Tabs Scroll Behavior */
.filter-tabs {
  scroll-behavior: smooth;
}

/* ============================================================
   DISCOUNT TIMER (FOMO)
   ============================================================ */
.discount-timer {
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(229,72,77,.06), rgba(245,166,35,.06));
  border: 1px solid rgba(229,72,77,.15);
  border-radius: 8px;
  padding: 6px 10px;
  margin-top: 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: #D93E42;
  animation: timer-fadein .4s ease;
}
.discount-timer .icon { width: 14px; height: 14px; stroke: #E5484D; flex-shrink: 0; }
.discount-timer-digits {
  font-family: 'Inter', monospace;
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: .3px;
  color: #E5484D;
}
@keyframes timer-fadein { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

/* Timer on product card */
.pc-timer {
  margin-top: 6px;
  padding: 5px 8px;
  font-size: 10.5px;
  border-radius: 6px;
}

/* Timer in product modal */
.pd-timer {
  margin: 10px 0 4px;
}

/* ============================================================
   TRUST BLOCK
   ============================================================ */
.trust-block {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 10.5px;
  font-weight: 650;
  color: var(--text-soft);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  white-space: nowrap;
  transition: background .2s, border-color .2s;
}
.trust-badge .icon {
  width: 13px; height: 13px;
  stroke-width: 2.2;
}
.trust-badge--shield .icon { stroke: var(--success); }
.trust-badge--lock .icon { stroke: var(--brand); }
.trust-badge--bolt .icon { stroke: #F59E0B; }
.trust-badge--refund .icon { stroke: var(--danger); }

/* ============================================================
   SAVINGS BADGE ON PLAN BUTTONS
   ============================================================ */
.pd-dur .save-badge {
  position: absolute;
  top: -7px;
  right: -5px;
  background: var(--success);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 5px;
  line-height: 1.2;
  letter-spacing: .02em;
  pointer-events: none;
  z-index: 2;
  animation: badge-pop .35s cubic-bezier(.34,1.56,.64,1);
}
.pd-dur {
  position: relative;
}
@keyframes badge-pop { from { opacity: 0; transform: scale(.5) translateY(4px); } to { opacity: 1; transform: scale(1) translateY(0); } }

/* ============================================================
   SUGGEST A PRODUCT — Floating Button + Modal
   ============================================================ */
.suggest-fab {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 18px;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 28px -6px rgba(99,102,241,.45);
  transition: transform .2s, box-shadow .2s;
}
.suggest-fab:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 36px -6px rgba(99,102,241,.55);
}
.suggest-fab .icon { width: 16px; height: 16px; stroke: #fff; }

/* Suggest Modal */
.suggest-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(20,21,43,.55);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.suggest-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.suggest-modal {
  background: var(--card);
  border-radius: 20px;
  width: 92%;
  max-width: 460px;
  padding: 28px 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(20px) scale(.96);
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.suggest-overlay.open .suggest-modal {
  transform: translateY(0) scale(1);
}
.suggest-modal .modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
}
.suggest-modal h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 4px;
}
.suggest-modal p {
  font-size: 13.5px;
  color: var(--text-soft);
  margin-bottom: 16px;
  line-height: 1.45;
}
.suggest-form { display: flex; flex-direction: column; gap: 10px; }
.suggest-form .input {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 14px;
  background: var(--bg-soft);
  color: var(--text);
  transition: border-color .2s;
}
.suggest-form .input:focus {
  border-color: var(--brand);
  outline: none;
  box-shadow: 0 0 0 3px rgba(99,102,241,.12);
}
.suggest-form textarea.input {
  resize: vertical;
  min-height: 72px;
}
.suggest-form .btn {
  margin-top: 4px;
}
.suggest-success {
  text-align: center;
  padding: 20px 0;
}
.suggest-success .icon {
  width: 48px;
  height: 48px;
  stroke: var(--success);
  margin: 0 auto 12px;
}
.suggest-success h4 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 6px;
}
.suggest-success p {
  font-size: 13px;
  color: var(--text-soft);
}

/* ============================================================
   DELIVERY METHOD SELECTOR
   ============================================================ */
.delivery-method {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.delivery-method-option {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  cursor: pointer;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.delivery-method-option:hover {
  border-color: var(--brand);
  background: rgba(99,102,241,.04);
}
.delivery-method-option.active {
  border-color: var(--brand);
  background: rgba(99,102,241,.06);
  box-shadow: 0 0 0 3px rgba(99,102,241,.1);
}
.delivery-method-option .dm-radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color .2s;
}
.delivery-method-option.active .dm-radio {
  border-color: var(--brand);
}
.delivery-method-option.active .dm-radio::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}
.delivery-method-option .dm-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.delivery-method-option .dm-label {
  font-size: 12.5px;
  font-weight: 650;
  color: var(--text);
}

@media (max-width: 480px) {
  .delivery-method { flex-direction: column; }
  .suggest-fab span { display: none; }
  .suggest-fab { padding: 14px; border-radius: 50%; }
}

/* Hide suggest-fab when any modal overlay or cart overlay is active */
body:has(.modal-overlay.open) .suggest-fab,
body:has(.overlay.open) .suggest-fab,
body:has(.suggest-overlay.open) .suggest-fab,
body:has(.contact-overlay.open) .suggest-fab,
body:has(.mobile-menu.open) .suggest-fab {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s, visibility 0.2s;
}

@media (max-width: 520px) {
  /* iOS Bottom Sheet Modals */
  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }
  .modal {
    border-radius: 20px 20px 0 0;
    margin-bottom: 0;
    max-height: 80vh;
    max-height: 80dvh;
    transform: translateY(100%);
    transition: transform .32s cubic-bezier(0.15, 1, 0.3, 1);
  }
  .modal-overlay.open .modal {
    transform: translateY(0) scale(1) !important;
  }
  
  /* iOS Bottom Sheet Cart Drawer */
  .cart-drawer {
    top: auto;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 80vh;
    height: 80dvh;
    border-left: none;
    border-top: 1px solid var(--border);
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
    transition: transform .32s cubic-bezier(0.15, 1, 0.3, 1);
  }
  .cart-drawer.open {
    transform: translateY(0);
  }
  
  /* iOS drag handle indicator for bottom sheets */
  .modal::before,
  .cart-drawer::before {
    content: "";
    display: block;
    width: 36px;
    height: 5px;
    background: var(--border-2);
    border-radius: 100px;
    margin: 8px auto 0 auto;
    flex-shrink: 0;
  }
}

/* ============================================================
   FEATURE COMPARISON TABLE (Catalog Improvement)
   ============================================================ */
.pd-comparison-section {
  margin: 20px 28px 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.pd-comparison-title {
  font-size: 14px;
  font-weight: 750;
  color: var(--brand-ink);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.pd-comparison-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.pd-comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  text-align: left;
}
.pd-comparison-table th,
.pd-comparison-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.pd-comparison-table th {
  font-weight: 700;
  color: var(--text-soft);
  font-size: 11px;
  background: rgba(20, 21, 43, 0.02);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.pd-comparison-table th:first-child,
.pd-comparison-table td:first-child {
  padding-left: 0;
  font-weight: 700;
}
.pd-comparison-table th:last-child,
.pd-comparison-table td:last-child {
  padding-right: 0;
}
.pd-comparison-table tr:last-child td {
  border-bottom: none;
}
.comp-feature-name {
  color: var(--text);
  min-width: 130px;
}
.comp-cell {
  display: flex;
  align-items: center;
  gap: 6px;
}
.comp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
}
.comp-icon .icon {
  width: 10px;
  height: 10px;
  stroke-width: 3;
}
.comp-icon--check {
  background: rgba(52, 199, 89, 0.12);
  color: #34C759;
}
.comp-icon--check .icon {
  stroke: #34C759;
}
.comp-icon--minus {
  background: rgba(142, 142, 147, 0.12);
  color: #8E8E93;
}
.comp-icon--minus .icon {
  stroke: #8E8E93;
  stroke-width: 4;
}
.comp-icon--info {
  background: rgba(0, 122, 255, 0.12);
  color: #007AFF;
}
.comp-icon--info .icon {
  stroke: #007AFF;
}
.comp-icon--sparkles {
  background: rgba(142, 117, 248, 0.12);
  color: #8E75F8;
}
.comp-icon--sparkles .icon {
  stroke: #8E75F8;
}

/* Recommended plan style improvements */
.best-value-badge {
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  background: #34C759; /* iOS green for premium success look */
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 100px;
  white-space: nowrap;
  z-index: 2;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  animation: badge-pop .35s cubic-bezier(.34,1.56,.64,1);
}
.pd-monthly-eq {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: var(--brand);
  margin-top: 2px;
}

/* Button loading & success states */
.btn-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.9;
  background: var(--brand) !important;
  color: transparent !important;
}
.btn-loading::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  top: 50%;
  left: 50%;
  margin-top: -9px;
  margin-left: -9px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: simSpin 0.6s linear infinite;
}
.btn-success {
  pointer-events: none;
  background: #34C759 !important; /* iOS Green */
  color: #fff !important;
  border-color: #34C759 !important;
  box-shadow: 0 0 12px rgba(52, 199, 89, 0.4) !important;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Premium Collapsible Accordions (Details/Summary) */
.pd-accordion {
  border: 1px solid var(--border-2);
  border-radius: 12px;
  margin-top: 12px;
  background: var(--bg-soft);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.pd-accordion:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.pd-accordion summary {
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  outline: none;
  user-select: none;
}
/* Hide default details marker */
.pd-accordion summary::-webkit-details-marker {
  display: none;
}
.pd-accordion summary::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid var(--text-soft);
  border-bottom: 2px solid var(--text-soft);
  transform: rotate(45deg);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  margin-left: 10px;
}
.pd-accordion[open] {
  background: #ffffff;
  border-color: rgba(142, 117, 248, 0.25);
  box-shadow: 0 4px 16px rgba(142, 117, 248, 0.05);
}
.pd-accordion[open] summary {
  border-bottom: 1px solid var(--border-2);
  padding-bottom: 10px;
}
.pd-accordion[open] summary::after {
  transform: rotate(-135deg);
}
.pd-accordion-content {
  padding: 12px 18px 16px;
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.5;
}
.pd-accordion-content p {
  margin-bottom: 8px;
}
.pd-accordion-content p:last-child {
  margin-bottom: 0;
}
.pd-accordion-content ul {
  padding-left: 20px;
  list-style-type: disc;
}
.pd-accordion-content li {
  margin-bottom: 6px;
}
.pd-accordion-content li:last-child {
  margin-bottom: 0;
}

/* Social Proof Badge in Modal */
.pd-social-proof {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 59, 48, 0.08); /* light red tint */
  color: #FF3B30; /* iOS red */
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
  margin: 12px 28px 0;
  align-self: flex-start;
  animation: badge-pop 0.3s cubic-bezier(.34,1.56,.64,1);
}
.pd-social-proof .icon {
  width: 13px;
  height: 13px;
}
