/* ShopWithMe Premium Outlets - Shared Styles */
/* Design spec: outputs/content/landing-design-spec.md */

/* ─── Google Fonts ─── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400&family=Playfair+Display:wght@300;400;500&display=swap');

/* ─── Custom Properties ─── */
:root {
  /* Colors */
  --color-bg:              #080808;
  --color-surface:         #111111;
  --color-surface-alt:     #1A1A1A;
  --color-brand-purple:    #7000B6;
  --color-brand-purple-hover: #8A00E0;
  /* Readable purple for text accents on dark backgrounds */
  --color-accent-text:     #B581E6;
  --color-text-primary:    #F5F0EA;
  --color-text-secondary:  #9E9490;
  --color-text-muted:      #5C5856;
  --color-live-green:      #2ECC71;
  --color-live-pulse:      rgba(46, 204, 113, 0.25);
  --color-border:          rgba(255, 255, 255, 0.08);
  --color-overlay:         rgba(8, 8, 8, 0.55);

  /* Typography sizes */
  --type-hero:          clamp(38px, 6vw, 68px);
  --type-hero-sub:      clamp(17px, 2vw, 22px);
  --type-section-title: clamp(28px, 4vw, 40px);
  --type-card-title:    20px;
  --type-body:          16px;
  --type-caption:       13px;
  --type-label:         11px;
  --type-cta:           15px;

  /* Spacing */
  --section-pad-top:    120px;
  --section-pad-bot:    100px;
  --container-max:      1200px;
  --container-gutter:   48px;
  --radius-card:        12px;
  --radius-pill:        100px;
}

@media (max-width: 1279px) {
  :root {
    --section-pad-top:  80px;
    --section-pad-bot:  64px;
    --container-gutter: 32px;
  }
}

@media (max-width: 767px) {
  :root {
    --section-pad-top:  64px;
    --section-pad-bot:  48px;
    --container-gutter: 20px;
  }
}

/* ─── Light theme (scoped) ───
   Sections alternate dark and light. Apply .theme-light to a section and
   every component inside picks up light-mode values via these overrides. */
.theme-light {
  --color-bg:             #FFFFFF;
  --color-surface:        #FFFFFF;
  --color-surface-alt:    #F5F2F8;
  --color-text-primary:   #16101E;
  --color-text-secondary: #5C5564;
  --color-text-muted:     #8B8492;
  --color-border:         rgba(22, 16, 30, 0.10);
  --color-accent-text:    var(--color-brand-purple);
  background-color: var(--color-bg);
  color: var(--color-text-primary);
}

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

html { scroll-behavior: smooth; }

body {
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: var(--type-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ─── Layout ─── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-gutter);
  padding-right: var(--container-gutter);
}

/* ─── Typography ─── */
h1, h2, h3, .display {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  color: var(--color-text-primary);
}

.label {
  display: block;
  font-size: var(--type-label);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-text);
  margin-bottom: 16px;
}

p { color: var(--color-text-secondary); line-height: 1.65; }

/* ─── Buttons ─── */
.btn-primary {
  display: inline-block;
  background: var(--color-brand-purple);
  color: #FFFFFF;
  font-size: var(--type-cta);
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  border-radius: var(--radius-pill);
  padding: 16px 40px;
  transition: background 0.2s ease, transform 0.2s ease;
  text-align: center;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--color-brand-purple-hover);
  transform: scale(1.02);
}
.btn-primary--large { padding: 20px 56px; font-size: 16px; }

.btn-secondary {
  display: inline-block;
  border: 1px solid var(--color-brand-purple);
  color: var(--color-brand-purple);
  background: transparent;
  font-size: var(--type-cta);
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  border-radius: var(--radius-pill);
  padding: 14px 36px;
  transition: background 0.2s ease, color 0.2s ease;
  cursor: pointer;
}
.btn-secondary:hover {
  background: rgba(112, 0, 182, 0.1);
}

/* ─── Sticky CTA bar ─── */
.sticky-cta {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(8, 8, 8, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  padding: 12px var(--container-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta-text {
  font-size: 14px;
  color: var(--color-text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-cta-logo-link { display: inline-flex; align-items: center; }
.sticky-cta-logo {
  height: 40px;
  width: auto;
}
.btn-cta-small {
  display: inline-block;
  background: var(--color-brand-purple);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 8px 20px;
  white-space: nowrap;
  transition: background 0.2s;
}
.btn-cta-small:hover { background: var(--color-brand-purple-hover); }

/* ─── Section 1: Hero ─── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-video-container {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

/* Gradient fallback when video isn't loaded */
.hero-video-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    #1a1008 0%,
    #0d0a06 30%,
    #080808 60%,
    #060406 100%
  );
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8, 8, 8, 0.3) 0%,
    rgba(8, 8, 8, 0.45) 55%,
    rgba(8, 8, 8, 0.92) 100%
  );
  z-index: 2;
}

.hero-logo {
  position: absolute;
  top: 28px;
  left: var(--container-gutter);
  z-index: 4;
  display: inline-flex;
  align-items: center;
}
.hero-logo img { height: 58px; width: auto; display: block; }
@media (max-width: 767px) {
  .hero-logo { top: 18px; }
  .hero-logo img { height: 46px; }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 64px;
  padding-bottom: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
  text-shadow: 0 1px 26px rgba(0, 0, 0, 0.5);
}

.hero-headline {
  font-size: clamp(30px, 6.6vw, 86px);
  font-weight: 600;
  line-height: 1.04;
  color: var(--color-text-primary);
  margin: 0 auto 16px;
  max-width: none;
  white-space: nowrap;
}
.hero-headline-sub {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(15px, 3.35vw, 42px);
  line-height: 1.2;
  color: #E7DEEF;
  margin: 0 auto 26px;
  max-width: none;
  white-space: nowrap;
}
[lang="ru"] .hero-headline-sub { font-family: 'Playfair Display', Georgia, serif; }
/* Mobile: drop "Real-time deals." and enlarge the (now shorter) tagline */
@media (max-width: 600px) {
  .hero-headline-sub .hide-mobile { display: none; }
  .hero-headline-sub {
    font-size: clamp(18px, 5.4vw, 24px);
    white-space: normal;
  }
}

.hero-subhead {
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 300;
  line-height: 1.6;
  color: #C7CCD4;
  max-width: 580px;
  margin: 0 auto 40px;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.hero-secondary-link {
  font-size: 14px;
  color: var(--color-text-secondary);
  transition: color 0.2s;
}
.hero-secondary-link:hover { color: var(--color-text-primary); }

.app-badges {
  display: flex;
  gap: 12px;
  align-items: center;
}
.app-badges--centered { justify-content: center; }
.app-badges a {
  display: inline-block;
  transition: opacity 0.2s, transform 0.3s ease-in-out;
  animation: badgeFloat 3s ease-in-out infinite;
}
.app-badges a:hover { opacity: 0.8; }
.app-badges a:nth-child(2) { animation-delay: 1.5s; }
.app-badges img {
  display: block;
  height: 58px;
  width: auto;
}

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* ─── Aurora / liquid gradient backgrounds ─── */
.has-aurora { position: relative; overflow: hidden; }
.has-aurora > .container { position: relative; z-index: 1; }

.aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.aurora-blob {
  position: absolute;
  width: 60vw;
  height: 60vw;
  max-width: 900px;
  max-height: 900px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  will-change: transform;
}
.aurora-blob--1 {
  background: radial-gradient(circle, rgba(112, 0, 182, 0.55) 0%, transparent 65%);
  top: -20%;
  left: -12%;
  animation: auroraDrift1 26s ease-in-out infinite alternate;
}
.aurora-blob--2 {
  background: radial-gradient(circle, rgba(181, 129, 230, 0.4) 0%, transparent 65%);
  bottom: -25%;
  right: -12%;
  animation: auroraDrift2 34s ease-in-out infinite alternate;
}
.aurora-blob--3 {
  background: radial-gradient(circle, rgba(138, 0, 224, 0.3) 0%, transparent 65%);
  top: 30%;
  left: 35%;
  animation: auroraDrift3 30s ease-in-out infinite alternate;
}
/* Softer aurora over white sections */
.aurora--light .aurora-blob { opacity: 0.16; }

@keyframes auroraDrift1 {
  to { transform: translate(14vw, 10vh) scale(1.25) rotate(12deg); }
}
@keyframes auroraDrift2 {
  to { transform: translate(-12vw, -8vh) scale(1.18) rotate(-10deg); }
}
@keyframes auroraDrift3 {
  to { transform: translate(-8vw, 12vh) scale(1.3); }
}

/* Hero aurora sits between video and content */
.hero .aurora { z-index: 1; mix-blend-mode: screen; }

/* ─── Scrollytelling: staggered child reveals ─── */
.stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease-out, transform 0.65s ease-out;
  transition-delay: var(--stag, 0s);
}
.stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Scrollytelling: slow zoom-in on image reveal ─── */
.reveal-zoom img,
.reveal-zoom video {
  transform: scale(1.1);
  transition: transform 1.4s cubic-bezier(0.22, 0.61, 0.21, 1);
}
.reveal-zoom.visible img,
.reveal-zoom.visible video {
  transform: scale(1);
}

/* ─── Hero animations ─── */
.animate-hero {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  transition-delay: var(--delay, 0.3s);
}
.animate-hero.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Scroll animations ─── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Section 2: Brands Available ─── */
.brands-section {
  padding: var(--section-pad-top) 0 var(--section-pad-bot);
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.brands-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.brands-copy h2 {
  font-size: var(--type-section-title);
  line-height: 1.15;
  margin-bottom: 24px;
}

.brands-copy p {
  font-size: var(--type-body);
  line-height: 1.65;
  max-width: 460px;
}

/* Storefront photo stack (brands section) */
.brands-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}
.brands-photos figure {
  margin: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(22, 16, 30, 0.14);
}
.brands-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 3 / 4;
}
.brands-photo-caption {
  grid-column: 1 / -1;
  font-size: var(--type-caption);
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 4px;
}

.brand-name-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}

.brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--type-section-title);
  font-weight: 200;
  color: var(--color-text-secondary);
  line-height: 1.2;
  opacity: 0;
  transition: opacity 0.4s ease-out;
}

.brand-name--primary { color: var(--color-text-primary); }

.brand-name.visible { opacity: 1; }

@media (max-width: 900px) {
  .brands-inner { grid-template-columns: 1fr; gap: 48px; }
  .brand-name-grid { grid-template-columns: 1fr 1fr 1fr; }
}

/* ─── Section 3: Shopping Runs / Proof Clips ─── */
.proof-section {
  padding: var(--section-pad-top) 0 var(--section-pad-bot);
  background: var(--color-surface);
}
.proof-section.theme-light { background: #F7F4FA; }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header h2 {
  font-size: var(--type-section-title);
  line-height: 1.15;
  margin-bottom: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.section-header p {
  max-width: 480px;
  margin: 0 auto;
}

/* Horizontal video scroller: 3 cards visible on desktop, swipe on mobile */
.clips-viewport { position: relative; }
.clips-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.clips-grid::-webkit-scrollbar { display: none; }

.clip-card {
  position: relative;
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  background: var(--color-surface-alt);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.clip-card:hover {
  transform: scale(1.03);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
}

.clip-card video,
.clip-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.clip-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(8,8,8,0.85) 0%, transparent 100%);
}

.clip-caption {
  /* Sits over the dark photo gradient - stays light in both themes */
  font-size: var(--type-caption);
  color: #E9E5F0;
}

/* Shimmer placeholder */
.clip-card--placeholder .clip-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--color-surface-alt) 0%,
    #222 40%,
    var(--color-surface-alt) 60%,
    #1a1a1a 100%
  );
  background-size: 200% 200%;
  animation: shimmer 2.5s ease-in-out infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Scroll-right arrow affordance (desktop) */
.clips-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-brand-purple);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(112, 0, 182, 0.45);
  z-index: 6;
  opacity: 1;
  transition: opacity 0.25s ease, background 0.2s ease;
}
.clips-arrow--right { right: 8px; animation: arrowNudge 1.8s ease-in-out infinite; }
.clips-arrow--left { left: 8px; }
.clips-arrow i { font-size: 26px; line-height: 1; }
.clips-arrow:hover { background: var(--color-brand-purple-hover); }
.clips-arrow[hidden] { opacity: 0; pointer-events: none; }
@keyframes arrowNudge {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50%      { transform: translateY(-50%) translateX(6px); }
}

/* Mobile: one full card + a peek of the next so swipe is obvious */
@media (max-width: 900px) {
  .clips-grid { gap: 14px; }
  .clip-card { flex: 0 0 78%; }
  .clips-arrow { display: none; }
}

/* ─── Section 4: Preference Capture ─── */
.preference-section {
  padding: var(--section-pad-top) 0 var(--section-pad-bot);
  background: var(--color-surface);
}

.preference-form {
  max-width: 640px;
  margin: 0 auto;
}

.form-group { margin-bottom: 32px; }

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: 12px;
}

.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.chip:hover {
  border-color: rgba(112, 0, 182, 0.4);
  color: var(--color-text-primary);
}

.chip.selected {
  border-color: var(--color-brand-purple);
  background: rgba(112, 0, 182, 0.12);
  color: var(--color-brand-purple);
  transform: scale(1.05);
}

.form-input {
  width: 100%;
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--color-text-primary);
  font-size: var(--type-body);
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s;
  outline: none;
}

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

.form-input:focus {
  border-color: rgba(112, 0, 182, 0.5);
}

.form-hint {
  font-size: var(--type-caption);
  color: var(--color-text-muted);
  margin-top: 8px;
}

.consent-label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: var(--type-caption);
  color: var(--color-text-muted);
  cursor: pointer;
  line-height: 1.5;
}

.consent-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--color-brand-purple);
  cursor: pointer;
}

.consent-link {
  color: var(--color-brand-purple);
  text-decoration: underline;
}

.form-success {
  margin-top: 16px;
  padding: 16px 20px;
  background: rgba(46, 204, 113, 0.08);
  border: 1px solid rgba(46, 204, 113, 0.2);
  border-radius: 8px;
  font-size: 14px;
  color: var(--color-live-green);
}

/* ─── Section 5: Live Indicator ─── */
.live-section {
  padding: 48px 0;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.live-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.live-state {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.live-dot-container {
  position: relative;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.live-dot {
  width: 12px;
  height: 12px;
  background: var(--color-live-green);
  border-radius: 50%;
  position: relative;
  z-index: 1;
}

.live-dot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--color-live-pulse);
  animation: livePulse 1.8s ease-out infinite;
}

@keyframes livePulse {
  0%   { transform: scale(1);   opacity: 0.8; }
  70%  { transform: scale(2.2); opacity: 0; }
  100% { transform: scale(2.2); opacity: 0; }
}

.live-text {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-primary);
  font-family: 'Inter', monospace;
}

.live-text--muted { color: var(--color-text-secondary); }

.live-link {
  font-size: 14px;
  color: var(--color-accent-text);
  transition: color 0.2s;
}
.live-link:hover { color: #CDA3F0; }

.live-icon-clock {
  font-size: 18px;
  color: var(--color-text-muted);
}

/* ─── Section 6: Trusted Seller ─── */
.trust-section {
  padding: var(--section-pad-top) 0 var(--section-pad-bot);
  background: var(--color-bg);
}

.trust-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.trust-copy h2 {
  font-size: var(--type-section-title);
  line-height: 1.2;
  margin-bottom: 24px;
}

.trust-copy p {
  font-size: var(--type-body);
  line-height: 1.65;
  max-width: 460px;
}

.trust-card {
  background: var(--color-surface);
  border: 1px solid var(--color-brand-purple);
  border-radius: 16px;
  padding: 40px;
  transition: border-color 0.3s ease;
}
.trust-card:hover { border-color: var(--color-brand-purple-hover); }

/* Email-style featured callout on light background */
.theme-light .trust-card {
  background: #F6EDFB;
  border: none;
  border-left: 4px solid var(--color-brand-purple);
  border-radius: 12px;
}
.theme-light .trust-card:hover { border-left-color: var(--color-brand-purple); }

.badge-icon {
  font-size: 48px;
  color: var(--color-brand-purple);
  margin-bottom: 16px;
}
.badge-icon i { font-size: 48px; }

.badge-title {
  font-size: var(--type-label);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-brand-purple);
  margin-bottom: 24px;
}

.trust-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.trust-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--color-text-primary);
}

.trust-benefits i {
  color: var(--color-brand-purple);
  font-size: 16px;
  flex-shrink: 0;
}

.trust-fine-print {
  font-size: var(--type-caption);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.trust-independent-note {
  font-size: var(--type-caption);
  color: var(--color-text-muted);
  line-height: 1.6;
  text-align: center;
  max-width: 560px;
  margin: var(--space-lg) auto 0;
  padding: 0 var(--space-md);
}

@media (max-width: 900px) {
  .trust-inner { grid-template-columns: 1fr; gap: 48px; }
}

/* ─── Section 7: How It Works ─── */
.how-section {
  padding: var(--section-pad-top) 0 var(--section-pad-bot);
  background: var(--color-surface-alt);
}
.how-section.theme-light { background: #FFFFFF; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 40px;
}

.step { text-align: left; }

.step-number {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 72px;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--color-brand-purple) 0%, #B581E6 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--color-brand-purple);
}
[lang="ru"] .step-number { font-family: 'Playfair Display', Georgia, serif; }

.step h3 {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 12px;
}

.step p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

.how-fine-print {
  text-align: center;
  font-size: var(--type-caption);
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .steps-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ─── Seller / Personal Shopper CTA ─── */
.seller-cta {
  background: #F3E8FB;
  padding: var(--section-pad-top) 0 var(--section-pad-bot);
  text-align: center;
}
.seller-cta-inner { max-width: 660px; margin: 0 auto; }
.seller-cta .label { color: var(--color-brand-purple); }
.seller-cta h2 {
  font-size: var(--type-section-title);
  line-height: 1.15;
  color: #16101E;
  margin-bottom: 16px;
}
.seller-cta p {
  font-size: var(--type-body);
  color: #5C5564;
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.65;
}
.seller-cta p a {
  color: var(--color-brand-purple);
  font-weight: 600;
  text-decoration: underline;
}

/* ─── Footer CTA Band ─── */
.footer-cta-band {
  padding: 100px 0;
  background: linear-gradient(135deg, #0E0B08 0%, #0A0A0A 100%);
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.footer-cta-inner h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.footer-cta-inner p {
  font-size: 16px;
  color: var(--color-text-secondary);
  max-width: 440px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.footer-cta-inner .app-badges { margin-top: 24px; }

/* ─── Footer ─── */
.footer {
  padding: 48px 0;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-logo {
  display: block;
  height: 32px;
  width: auto;
  margin-bottom: 4px;
}

.footer-tagline {
  font-size: var(--type-caption);
  color: var(--color-text-muted);
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: var(--type-caption);
  color: var(--color-text-secondary);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--color-text-primary); }

.footer-legal {
  font-size: 11px;
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 800px;
}

/* ─── Divider accent line ─── */
.section-accent {
  width: 40px;
  height: 1px;
  background: var(--color-brand-purple);
  margin: 0 auto 32px;
}

/* ─── Other-specify field ─── */
.form-input--other { margin-top: 12px; }

/* ─── Form validation errors ─── */
.form-error {
  font-size: var(--type-caption);
  color: #C92A4E;
  font-weight: 500;
  margin-top: 8px;
}
.form-input.is-error { border-color: #C92A4E; }
.category-chips.is-error {
  outline: 1.5px solid rgba(201, 42, 78, 0.5);
  outline-offset: 8px;
  border-radius: 8px;
}
.form-label-optional { color: var(--color-text-muted); font-weight: 400; }

/* ─── Modal (privacy policy) ─── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal[hidden] { display: none; }
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.72);
  backdrop-filter: blur(4px);
}
.modal-dialog {
  position: relative;
  z-index: 1;
  background: #fff;
  color: #16101E;
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: 16px;
  padding: 44px 40px 40px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  text-align: left;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(22, 16, 30, 0.06);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #16101E;
  transition: background 0.2s ease;
}
.modal-close:hover { background: rgba(22, 16, 30, 0.12); }
.modal-close i { font-size: 20px; }
.modal-body h2 {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #16101E;
  margin-bottom: 2px;
}
.modal-body h3 {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #16101E;
  margin: 22px 0 6px;
}
.modal-meta { font-size: 12px; color: #8B8492; margin-bottom: 10px; }
.modal-body p,
.modal-body li {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: #4A4453;
}
.modal-body ul { padding-left: 20px; margin: 6px 0 0; }
.modal-body li { margin-bottom: 4px; }
.modal-body a { color: var(--color-brand-purple); text-decoration: underline; }
body.modal-open { overflow: hidden; }

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  .animate-hero, .animate-on-scroll {
    transition: none;
    opacity: 1;
    transform: none;
  }
  .stagger > * { transition: none; opacity: 1; transform: none; }
  .reveal-zoom img, .reveal-zoom video { transition: none; transform: none; }
  .aurora-blob { animation: none; }
  .clips-arrow { animation: none; }
  .brand-name { opacity: 1; transition: none; }
  .live-dot::before { animation: none; }
  @keyframes shimmer { 0%, 100% { background-position: 0 0; } }
  .app-badge-btn { animation: none; }
  @keyframes badgeFloat { 0%, 100% { transform: none; } }
}

/* ─── Russian locale overrides ─── */
[lang="ru"] h1,
[lang="ru"] h2,
[lang="ru"] h3,
[lang="ru"] .brand-name,
.ru-headline {
  font-family: 'Playfair Display', Georgia, serif;
}

/* ─── Featured In (press strip) ─── */
.featured-in {
  padding: 56px 0 52px;
  background: #FFFFFF;
  border-bottom: 1px solid rgba(22, 16, 30, 0.07);
}
.featured-in h2 {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: center;
  color: #16101E;
  margin-bottom: 36px;
}
.press-viewport { position: relative; }
.press-row {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0;
  margin: 0 auto;
}
.press-row::-webkit-scrollbar { display: none; }
.press-logo {
  flex: 0 0 calc((100% - 90px) / 6);
  scroll-snap-align: start;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(22, 16, 30, 0.10);
  border-radius: 12px;
  background: #fff;
}
.press-logo img {
  height: 88px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  opacity: 0.72;
  transition: opacity 0.2s ease;
}
.press-logo:hover img { opacity: 1; }
@media (max-width: 900px) {
  .press-row { gap: 14px; }
  .press-logo { flex: 0 0 42%; height: 104px; padding: 0 10px; }
  .press-logo img { height: 74px; }
  /* subtle right-arrow hint that the press strip swipes (clip-gallery arrows stay hidden) */
  .press-viewport .clips-arrow--left { display: none; }
  .press-viewport .clips-arrow--right {
    display: flex;
    width: 34px;
    height: 34px;
    right: 4px;
    background: rgba(112, 0, 182, 0.78);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    animation: none;
  }
  .press-viewport .clips-arrow--right i { font-size: 17px; }
}

/* ─── App Showcase ─── */
.app-showcase {
  position: relative;
  overflow: hidden;
  padding: var(--section-pad-top) 0 var(--section-pad-bot);
  background: var(--color-bg);
}
.app-showcase-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.app-copy h2 {
  font-size: var(--type-section-title);
  line-height: 1.15;
  margin-bottom: 18px;
}
.app-copy > p {
  font-size: var(--type-body);
  color: var(--color-text-secondary);
  max-width: 440px;
  margin-bottom: 32px;
}
.app-features { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.app-feature { display: flex; gap: 14px; align-items: flex-start; }
.app-feature i { color: var(--color-accent-text); font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.app-feature h3 {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}
.app-feature p { font-size: 13px; color: var(--color-text-secondary); line-height: 1.6; margin: 0; }

.app-phones {
  position: relative;
  height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone {
  position: absolute;
  width: 248px;
  padding: 9px;
  border-radius: 36px;
  background: #0c0c12;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.6);
}
.phone img { width: 100%; display: block; border-radius: 28px; }
.phone--back {
  transform: rotate(6deg) translate(70px, -12px) scale(0.95);
  z-index: 1;
  opacity: 1;
}
.phone--front {
  transform: rotate(-5deg) translate(-58px, 12px);
  z-index: 2;
}
@media (max-width: 900px) {
  .app-showcase-inner { grid-template-columns: 1fr; gap: 32px; }
  .app-phones { height: 500px; margin-top: 8px; }
}
@media (max-width: 480px) {
  .phone { width: 200px; }
  .phone--front { transform: rotate(-5deg) translate(-42px, 12px); }
  .phone--back { transform: rotate(7deg) translate(48px, -8px) scale(0.93); }
}
