/* AI Headshot — Premium Design System */
/* Mobile-first, modern, clean */

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

/* ============================================
   2. CSS Variables
   ============================================ */
:root {
  /* Brand colors — purple/blue gradient accent */
  --color-primary: #7c3aed;
  --color-primary-light: rgba(124, 58, 237, 0.12);
  --color-primary-hover: #6d28d9;
  --color-primary-dark: #5b21b6;

  --color-accent: #38bdf8;
  --color-accent-light: rgba(56, 189, 248, 0.12);

  /* Dark neutrals */
  --color-bg: #08080f;
  --color-bg-alt: #0d0d16;
  --color-bg-dark: #06060c;
  --color-bg-dark-2: #0a0a14;
  --color-surface: rgba(255, 255, 255, 0.03);
  --color-surface-2: rgba(255, 255, 255, 0.06);
  --color-text: #f0f0f5;
  --color-text-muted: rgba(255, 255, 255, 0.5);
  --color-text-light: rgba(255, 255, 255, 0.8);
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-light: rgba(255, 255, 255, 0.06);

  /* Semantic */
  --color-error: #f87171;
  --color-error-bg: rgba(248, 113, 113, 0.1);
  --color-success: #34d399;
  --color-success-bg: rgba(52, 211, 153, 0.1);
  --color-warning-bg: rgba(251, 191, 36, 0.1);
  --color-warning-text: #fbbf24;
  --color-info-bg: rgba(96, 165, 250, 0.1);
  --color-info-text: #60a5fa;

  /* Legacy alias for pages that still use gold */
  --color-gold: var(--color-primary);
  --color-gold-light: var(--color-primary-light);
  --color-gold-hover: var(--color-primary-hover);

  /* Gradient shortcuts */
  --gradient-primary: linear-gradient(135deg, #7c3aed, #2563eb);
  --gradient-glow: linear-gradient(135deg, rgba(124, 58, 237, 0.4), rgba(37, 99, 235, 0.4));
  --gradient-surface: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);

  /* Typography */
  --font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.75rem;
  --font-size-5xl: 3.5rem;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 28px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Shadows — deeper for dark theme */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.3);
  --shadow-glow-lg: 0 0 80px rgba(124, 58, 237, 0.2);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}

/* ============================================
   3. Base Typography
   ============================================ */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  /* Subtle glow at top for depth */
  background-image: radial-gradient(ellipse at 50% 0%, rgba(124, 58, 237, 0.08) 0%, transparent 60%);
}

main {
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   4. Layout
   ============================================ */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-narrow {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-wide {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* ============================================
   5. Header
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 64px;
  background: rgba(8, 8, 15, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background var(--transition-base);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--space-5);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-lg);
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.03em;
}

.header-logo:hover { text-decoration: none; }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name-suffix {
  background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 40%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-domain {
  font-size: 0.55em;
  font-weight: 400;
  opacity: 0.5;
  letter-spacing: 0.02em;
}

.logo-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-icon {
  width: 130%;
  height: 130%;
  object-fit: cover;
  border-radius: 0;
}

/* Desktop nav */
.header-nav {
  display: none;
  align-items: center;
  gap: var(--space-8);
}

.header-nav a:not(.btn) {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--font-size-sm);
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.header-nav a:hover {
  color: #fff;
  text-decoration: none;
}

/* Header actions (login btn + hamburger on mobile) */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.header-login-btn,
.header-new-order-btn {
  display: inline-flex;
}

/* Hamburger */
.hamburger {
  position: relative;
  width: 24px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 202;
}

.hamburger span {
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
}
.hamburger span:nth-child(1) { top: 4px; }
.hamburger span:nth-child(2) { top: 11px; }
.hamburger span:nth-child(3) { top: 18px; }

/* Close button inside mobile menu */
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 28px;
  line-height: 32px;
  text-align: center;
}

/* Mobile menu */
.mobile-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 200;
  backdrop-filter: blur(4px);
}

.mobile-backdrop.open { display: block; }

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(300px, 80vw);
  background: #0d0d16;
  z-index: 201;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--transition-base), visibility var(--transition-base);
  padding: 80px var(--space-6) var(--space-6);
  overflow-y: auto;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  contain: layout;
}

.mobile-menu.open { transform: translateX(0); visibility: visible; }

.mobile-menu a {
  display: flex;
  align-items: center;
  height: 56px;
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-size-lg);
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
}

.mobile-menu a:hover {
  color: #fff;
  text-decoration: none;
}

@media (min-width: 768px) {
  .header-actions { display: none; }
  .hamburger { display: none; }
  .header-nav { display: flex; }
}

/* ============================================
   6. Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 var(--space-6);
  border: none;
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 600;
  font-family: var(--font-family);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all var(--transition-fast);
  line-height: 1;
  white-space: nowrap;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 6px 30px rgba(124, 58, 237, 0.55);
  filter: brightness(1.1);
}

.btn-primary:disabled {
  background: rgba(124, 58, 237, 0.3);
  color: rgba(255, 255, 255, 0.5);
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
  filter: none;
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  color: #fff;
  background: var(--color-primary-light);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text-muted);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-muted);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn-sm { height: 40px; padding: 0 var(--space-4); font-size: var(--font-size-sm); }
.btn-lg { height: 56px; padding: 0 var(--space-8); font-size: var(--font-size-base); }
.btn-full { width: 100%; }

/* ============================================
   7. Inputs
   ============================================ */
.input {
  width: 100%;
  height: 48px;
  padding: 0 var(--space-4);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-family: var(--font-family);
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}

.input::placeholder { color: rgba(255, 255, 255, 0.3); }

*:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ============================================
   8. Alerts
   ============================================ */
.alert {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
  font-size: var(--font-size-sm);
  line-height: 1.5;
  border-left: 4px solid;
}

.alert-error { background: var(--color-error-bg); border-left-color: var(--color-error); color: var(--color-error); }
.alert-warning { background: var(--color-warning-bg); border-left-color: #f59e0b; color: var(--color-warning-text); }
.alert-success { background: var(--color-success-bg); border-left-color: var(--color-success); color: var(--color-success); }
.alert-info { background: var(--color-info-bg); border-left-color: #60a5fa; color: var(--color-info-text); }

/* ============================================
   9. Form Helpers
   ============================================ */
.form-group { margin-bottom: var(--space-5); }
.form-label { display: block; font-weight: 600; margin-bottom: var(--space-2); font-size: 0.95rem; }
.form-hint { font-size: var(--font-size-xs); color: var(--color-text-muted); margin-top: var(--space-1); }
.field-error { color: var(--color-error); font-size: 0.85rem; margin-top: var(--space-1); }
.form-error { color: var(--color-error); font-size: 0.85rem; margin-top: var(--space-2); }

/* ============================================
   10. LANDING PAGE — HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 64px; /* header height */
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #08080f 0%, #0f0f2a 40%, #1a0f3a 70%, #08080f 100%);
  z-index: -2;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(124, 58, 237, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(37, 99, 235, 0.08) 0%, transparent 50%);
  z-index: -1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
  padding-top: var(--space-8);
  padding-bottom: var(--space-6);
}

.hero-text {
  display: contents;
}

.hero-title,
.hero-subtitle,
.hero-actions,
.hero-stats {
  text-align: center;
  width: 100%;
  max-width: 600px;
}

.hero-badge { order: 1; align-self: center; }
.hero-title { order: 2; }
.hero-visual { order: 3; }
.hero-actions { order: 4; }
.hero-stats { order: 5; }
.hero-subtitle { order: 6; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-4);
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.03em;
  margin-bottom: 0;
}

.hero-title {
  font-weight: 800;
  color: #fff;
  margin-bottom: 0;
  line-height: 1.1;
}

.hero-title-brand {
  display: block;
  font-size: clamp(3rem, 12vw, 5rem);
  letter-spacing: -0.04em;
  margin-bottom: 0.15em;
}

.hero-title-offer {
  display: block;
  font-size: clamp(1.5rem, 6vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.text-gradient {
  font-weight: 800;
  background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: stretch;
  max-width: 320px;
  margin: 0 auto;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  width: 100%;
  justify-content: center;
  max-width: 100%;
}

.hero-stat {
  text-align: center;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
}

.hero-stat strong {
  display: block;
  font-size: var(--font-size-base);
  font-weight: 800;
  color: #fff;
}

.hero-stat span {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.5);
}

.hero-stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

/* Hero visual — stacked card effect */
.hero-visual {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.hero-transform {
  position: relative;
  width: 280px;
  height: 300px;
  margin: 0 auto;
}

.hero-transform-before,
.hero-transform-after {
  position: absolute;
}

.hero-transform-before {
  top: 20px;
  left: -20px;
  z-index: 1;
  transform: rotate(-8deg);
  transition: transform var(--transition-slow);
}

.hero-transform-after {
  top: 0;
  right: -20px;
  z-index: 2;
  transform: rotate(4deg);
  transition: transform var(--transition-slow);
}

.hero-transform:hover .hero-transform-before {
  transform: rotate(-12deg) translateX(-8px);
}

.hero-transform:hover .hero-transform-after {
  transform: rotate(0deg) translateX(5px);
}

.hero-transform-before img {
  width: 170px;
  height: 230px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  filter: brightness(0.75) saturate(0.8);
}

.hero-transform-after img {
  width: 180px;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(124, 58, 237, 0.15);
  border: 2px solid rgba(124, 58, 237, 0.4);
}

.transform-label {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.35);
  white-space: nowrap;
}

.transform-label-ai {
  color: var(--color-accent);
}

.hero-transform-arrow {
  display: none;
}

.hero-disclosure {
  text-align: center;
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.3);
  padding: var(--space-6) 0 var(--space-4);
}

@media (min-width: 768px) {
  .hero-content {
    flex-direction: row;
    align-items: center;
    padding-top: var(--space-16);
    padding-bottom: var(--space-12);
    gap: var(--space-12);
  }
  .hero-text {
    display: block;
    text-align: left;
    max-width: 600px;
  }
  .hero-badge,
  .hero-title,
  .hero-subtitle,
  .hero-actions,
  .hero-stats,
  .hero-visual {
    order: unset;
    width: auto;
    max-width: none;
    text-align: left;
  }
  .hero-badge { margin-bottom: var(--space-6); }
  .hero-title { margin-bottom: var(--space-5); }
  .hero-subtitle { margin-bottom: var(--space-6); font-size: var(--font-size-lg); color: var(--color-text-light); }
  .hero-actions { flex-direction: row; margin-bottom: var(--space-6); }
  .hero-stats { justify-content: flex-start; gap: var(--space-3); }
  .hero-stat strong { font-size: var(--font-size-lg); }
  .hero-stat span { font-size: var(--font-size-xs); }
  .hero-transform {
    width: 340px;
    height: 370px;
  }
  .hero-transform-before img {
    width: 220px;
    height: 290px;
  }
  .hero-transform-after img {
    width: 230px;
    height: 300px;
  }
}

@media (min-width: 1024px) {
  .hero-transform {
    width: 380px;
    height: 410px;
  }
  .hero-transform-before img {
    width: 250px;
    height: 330px;
  }
  .hero-transform-after img {
    width: 260px;
    height: 340px;
  }
}

/* ============================================
   10b. LANDING — Sections shared
   ============================================ */
.section {
  padding: var(--space-16) 0;
  scroll-margin-top: 80px;
}

.section-dark {
  background: var(--color-bg-dark);
  color: #fff;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-muted {
  background: rgba(255, 255, 255, 0.02);
}

.section-cta {
  background: linear-gradient(135deg, #08080f, #1a0f3a);
  color: #fff;
  padding: var(--space-20) 0;
  position: relative;
  overflow: hidden;
}

.section-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-tag {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

.section-title {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: var(--font-size-base);
  color: var(--color-text-muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .section { padding: var(--space-24) 0; }
  .section-title { font-size: var(--font-size-4xl); }
}

/* ============================================
   10c. LANDING — How it works
   ============================================ */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.step-card {
  position: relative;
  background: var(--gradient-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  text-align: center;
  transition: all var(--transition-base);
  /* scroll reveal */
  opacity: 0;
  transform: translateY(30px);
}

.step-card.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.step-card:hover {
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.1);
  transform: translateY(-4px);
}

.step-card.revealed:hover {
  transform: translateY(-4px);
}

/* Step header — badge + icon */
.step-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.step-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  ring: 2px solid rgba(124, 58, 237, 0.2);
  box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.15);
}

.step-badge span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  font-size: var(--font-size-sm);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-base);
}

.step-card:hover .step-icon {
  transform: scale(1.1);
}

/* Step visual — image grid */
.step-visual {
  margin-bottom: var(--space-5);
}

.step-images-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
}

.step-img {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.step-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.step-card:hover .step-img img {
  transform: scale(1.05);
}

/* Step visual — processing */
.step-processing {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  /* Match height of step-images-grid (3 square thumbs in a row) */
  aspect-ratio: 3 / 1;
}

.step-processing img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.step-spinner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(124, 58, 237, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse-overlay 2s ease-in-out infinite;
}

.step-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse-overlay {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.step-card-title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-2);
}

.step-card-desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
  }
}

/* ============================================
   10d. LANDING — Before/After + Gallery
   ============================================ */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}

.ba-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  /* scroll reveal */
  opacity: 0;
  transform: translateY(30px);
}

.ba-pair.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.ba-before,
.ba-after {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.ba-before img,
.ba-after img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.ba-badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  padding: var(--space-1) var(--space-3);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: #fff;
}

.ba-badge-ai {
  background: rgba(124, 58, 237, 0.8);
}

@media (min-width: 768px) {
  .ba-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
  }
}

.gallery-subtitle {
  text-align: center;
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-6);
}

/* Auto-scrolling carousel */
.gallery-carousel {
  overflow: hidden;
  margin: 0 calc(-1 * var(--space-6));
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.gallery-track {
  display: flex;
  gap: var(--space-3);
  width: max-content;
  cursor: grab;
}

.gallery-track.dragging {
  cursor: grabbing;
}

.gallery-item {
  flex-shrink: 0;
  width: 160px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.05);
}


@media (min-width: 768px) {
  .gallery-item { width: 200px; }
  .gallery-track { gap: var(--space-4); }
}

/* ============================================
   10d-2. LANDING — Why Not ChatGPT
   ============================================ */
.section-why-not {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #08080f 0%, #1a0f3a 50%, #08080f 100%);
  color: #fff;
}

.section-why-not-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(124, 58, 237, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 60%, rgba(37, 99, 235, 0.10) 0%, transparent 50%);
  pointer-events: none;
}

.section-why-not .section-title-xl {
  font-size: clamp(1.6rem, 4.5vw, 2.6rem);
  line-height: 1.25;
}

.section-why-not .section-subtitle {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Comparison table --- */
.whynot-table {
  max-width: 700px;
  margin: var(--space-10) auto 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.whynot-table-head {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.whynot-table-corner {
  padding: var(--space-4);
}

.whynot-table-col {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-3);
  font-size: var(--font-size-sm);
  font-weight: 700;
  text-align: center;
}

.whynot-col-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
}

.whynot-col-bad {
  color: var(--color-text-muted);
}
.whynot-col-bad .whynot-col-icon {
  background: rgba(248, 113, 113, 0.15);
  color: var(--color-error);
}

.whynot-col-good {
  color: #fff;
  background: rgba(124, 58, 237, 0.12);
}
.whynot-col-good .whynot-col-icon {
  background: rgba(52, 211, 153, 0.2);
  color: var(--color-success);
}

.whynot-table-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.whynot-table-row:last-child {
  border-bottom: none;
}

.whynot-table-label {
  padding: var(--space-3) var(--space-4);
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
}

.whynot-table-cell {
  padding: var(--space-3) var(--space-4);
  font-size: var(--font-size-sm);
  display: flex;
  align-items: center;
  line-height: 1.4;
}

.whynot-cell-bad {
  color: var(--color-text-muted);
}

.whynot-cell-good {
  color: var(--color-text-light);
  background: rgba(124, 58, 237, 0.06);
}

.whynot-cell-accent {
  font-weight: 700;
  color: var(--color-success);
}

/* --- Key stats --- */
.whynot-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-10);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.whynot-table,
.whynot-stat {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.3s;
}
.whynot-table.revealed,
.whynot-stat.revealed {
  opacity: 1;
  transform: translateY(0);
}

.whynot-stat {
  text-align: center;
  padding: var(--space-6) var(--space-3);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.whynot-stat:hover {
  border-color: rgba(124, 58, 237, 0.3);
  transform: translateY(-2px);
}

.whynot-stat-num {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  background: linear-gradient(135deg, #a78bfa, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  margin-bottom: var(--space-2);
}

.whynot-stat-label {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* Mobile: stack table labels */
@media (max-width: 520px) {
  .whynot-table-head {
    grid-template-columns: 1fr 1fr;
  }
  .whynot-table-corner {
    display: none;
  }
  .whynot-table-row {
    grid-template-columns: 1fr;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: var(--space-3) 0;
  }
  .whynot-table-label {
    padding: var(--space-2) var(--space-4) 0;
    font-size: 0.65rem;
  }
  .whynot-table-cell {
    padding: var(--space-1) var(--space-4);
  }
  .whynot-cell-bad {
    font-size: var(--font-size-xs);
  }
  .whynot-cell-good {
    background: none;
    font-weight: 600;
  }
  .whynot-table-row .whynot-cell-bad::before,
  .whynot-table-row .whynot-cell-good::before {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 0.6rem;
    font-weight: 800;
    margin-right: 8px;
    flex-shrink: 0;
    vertical-align: middle;
  }
  .whynot-table-row .whynot-cell-bad::before {
    content: '✕';
    background: rgba(248, 113, 113, 0.15);
    color: var(--color-error);
  }
  .whynot-table-row .whynot-cell-good::before {
    content: '✓';
    background: rgba(52, 211, 153, 0.15);
    color: var(--color-success);
  }
}

/* Trigger line */
.whynot-trigger {
  text-align: center;
  margin-top: var(--space-10);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--color-text-light);
  font-style: italic;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   10e. LANDING — Pricing
   ============================================ */
/* --- Pricing grid --- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  max-width: 1020px;
  margin: 0 auto;
}

/* --- Base card --- */
.pricing-card {
  border-radius: var(--radius-2xl);
  text-align: center;
  position: relative;
  transition: all var(--transition-base);
  opacity: 0;
  transform: translateY(30px);
  overflow: visible;
  display: flex;
  flex-direction: column;
}

.pricing-card.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Color bar on top */
.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--space-6);
  right: var(--space-6);
  height: 4px;
  border-radius: 0 0 4px 4px;
}

/* Card zones */
.pricing-head {
  padding: var(--space-8) var(--space-6) var(--space-6);
}
.pricing-body {
  padding: 0 var(--space-6) var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* --- Level 1: Basic --- */
.pricing-card-basic {
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
}
.pricing-card-basic::before {
  background: rgba(255, 255, 255, 0.2);
}
.pricing-card-basic:hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  transform: translateY(-4px);
}

/* --- Level 2: Standard --- */
.pricing-card-mid {
  background: rgba(124, 58, 237, 0.06);
  border: 1.5px solid rgba(124, 58, 237, 0.3);
  box-shadow: 0 4px 30px rgba(124, 58, 237, 0.08);
}
.pricing-card-mid::before {
  background: linear-gradient(90deg, #7c3aed, #a78bfa);
  height: 4px;
}
.pricing-card-mid:hover {
  border-color: rgba(124, 58, 237, 0.5);
  box-shadow: 0 12px 50px rgba(124, 58, 237, 0.15);
  transform: translateY(-4px);
}
.pricing-card-mid .pricing-tier {
  color: #c4b5fd;
}

/* --- Level 3: Premium — animated glow wrapper --- */
.pricing-card-glow-wrap {
  position: relative;
  border-radius: var(--radius-2xl);
  padding: 3px; /* border thickness */
  /* scroll reveal on wrapper */
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  display: flex;
  flex-direction: column;
}
.pricing-card-glow-wrap.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Rotating conic gradient border */
.pricing-card-glow-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-2xl);
  background: conic-gradient(
    from var(--glow-angle, 0deg),
    #38bdf8,
    #7c3aed 60deg,
    #3b2070 140deg,
    #1e1645 210deg,
    #3b2070 280deg,
    #7c3aed 330deg,
    #38bdf8 360deg
  );
  animation: glow-spin 3s linear infinite;
  z-index: 0;
}

/* Soft outer glow pulse */
.pricing-card-glow-wrap::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: calc(var(--radius-2xl) + 8px);
  background: conic-gradient(
    from var(--glow-angle, 0deg),
    rgba(56, 189, 248, 0.4),
    rgba(124, 58, 237, 0.3) 60deg,
    rgba(30, 22, 69, 0.15) 180deg,
    rgba(124, 58, 237, 0.3) 300deg,
    rgba(56, 189, 248, 0.4) 360deg
  );
  filter: blur(16px);
  animation: glow-spin 3s linear infinite;
  z-index: 0;
  opacity: 0.7;
}

@property --glow-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes glow-spin {
  to { --glow-angle: 360deg; }
}

/* Card inside the glow wrapper */
.pricing-card-featured {
  border: none;
  background: #0e0e1a;
  position: relative;
  z-index: 1;
  overflow: visible;
  flex: 1;
}
.pricing-card-featured::before {
  display: none; /* glow border handles accent */
}
.pricing-card-featured:hover {
  box-shadow: none;
}

/* "Лучшая выгода" badge */
.pricing-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: #fff;
  font-size: var(--font-size-xs);
  font-weight: 700;
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  white-space: nowrap;
  letter-spacing: 0.02em;
  z-index: 2;
}

/* --- Tier name --- */
.pricing-tier {
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: rgba(255, 255, 255, 0.6);
}
.pricing-card-mid .pricing-tier {
  color: #c4b5fd;
}
.pricing-card-featured .pricing-tier {
  color: #fff;
}

/* --- Price --- */
.pricing-price {
  margin-bottom: var(--space-2);
}
.price-amount {
  font-size: clamp(2.8rem, 7vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
}
.pricing-card-mid .price-amount {
  background: linear-gradient(135deg, #c4b5fd, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pricing-card-featured .price-amount {
  background: linear-gradient(90deg, #8a6a15 0%, #ffd700 25%, #fff8dc 50%, #ffd700 75%, #8a6a15 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: clamp(3rem, 8vw, 4rem);
  animation: gold-shimmer 4s linear infinite;
}
.price-currency {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.35);
}
.pricing-card-featured .price-currency {
  color: rgba(255, 215, 0, 0.55);
}

/* --- Price per photo — pill badge, always on its own line --- */
.pricing-per {
  display: block;
  width: fit-content;
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin: var(--space-2) auto 0;
}
.pricing-card-featured .pricing-per {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  font-weight: 600;
}
.pricing-discount {
  color: #4ade80;
  font-weight: 700;
  margin-left: var(--space-1);
}

/* --- Features list --- */
.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: var(--space-6);
}
.pricing-features li {
  padding: var(--space-3) 0;
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.pricing-card-featured .pricing-features li {
  color: rgba(255, 255, 255, 0.8);
}
.pricing-features li::before {
  content: '';
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background: rgba(124, 58, 237, 0.15);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237c3aed' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}
.pricing-card-featured .pricing-features li::before {
  background-color: rgba(56, 189, 248, 0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2338bdf8' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
}
.pricing-features li:last-child { border-bottom: none; }

.pricing-styles-link {
  display: block;
  margin-top: auto;
  padding-top: var(--space-4);
  margin-bottom: var(--space-3);
  text-align: center;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}
.pricing-styles-link:hover {
  color: var(--primary-light, #a78bfa);
  text-decoration: underline;
}
.pricing-card-featured .pricing-styles-link {
  color: #fff;
}

.pricing-body .btn {
  margin-top: 0;
}

/* --- Desktop --- */
@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
  .pricing-card-basic:hover,
  .pricing-card-mid:hover {
    transform: translateY(-6px);
  }
  .pricing-card-glow-wrap {
    transform: translateY(30px) scale(1.05);
  }
  .pricing-card-glow-wrap.revealed {
    transform: scale(1.05);
  }
}

/* Comparison */
/* Comparison section — AI vs Studio */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  max-width: 960px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .compare-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .compare-grid { grid-template-columns: repeat(3, 1fr); }
}

.compare-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-7) var(--space-6);
  text-align: center;
  /* scroll reveal */
  opacity: 0;
  transform: translateY(20px);
}

.compare-card.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.compare-value {
  background: linear-gradient(135deg, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: var(--space-2);
}

.compare-old {
  color: rgba(255, 255, 255, 0.3);
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.compare-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-2);
  line-height: 1.3;
}

.compare-card p {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.55;
}

/* --- Compare HERO: unified plate with price header + interleaved pairs --- */
.compare-hero {
  max-width: 820px;
  margin: 0 auto var(--space-12);
  padding: var(--space-7) var(--space-5);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
}

@media (min-width: 768px) {
  .compare-hero {
    padding: var(--space-8) var(--space-8);
  }
}

/* Price header row */
.compare-hero-prices {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  align-items: center;
  margin-bottom: var(--space-7);
  padding-bottom: var(--space-7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 640px) {
  .compare-hero-prices {
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-4);
  }
}

.compare-hero-price-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  text-align: center;
}

.compare-hero-label {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}

.compare-hero-studio .compare-hero-label {
  background: rgba(244, 63, 94, 0.15);
  color: #fb7185;
}

.compare-hero-us .compare-hero-label {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
}

.compare-hero-price-old {
  font-size: clamp(1.8rem, 6vw, 2.4rem);
  font-weight: 800;
  color: #fb7185;
  letter-spacing: -0.02em;
  line-height: 1;
}

.compare-hero-price-new {
  font-size: clamp(2.6rem, 8vw, 3.4rem);
  font-weight: 800;
  background: linear-gradient(135deg, #38bdf8, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
  line-height: 1;
}

.compare-hero-price-note {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.5);
}

/* Badge between prices */
.compare-hero-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  order: 3;
}

.compare-hero-arrow-badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-4);
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  color: #fff;
  font-weight: 700;
  font-size: var(--font-size-xs);
  border-radius: var(--radius-full);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.45);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.compare-hero-arrow-badge::after {
  content: ' ↑';
  margin-left: var(--space-2);
  font-size: 1.1em;
  font-weight: 900;
}

@media (min-width: 640px) {
  .compare-hero-arrow {
    order: 0;
  }
  .compare-hero-arrow-badge::after {
    content: ' →';
  }
}

/* Interleaved pairs — ✗ studio con → ✓ our pro */
.compare-hero-pairs {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.compare-hero-pair {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

@media (min-width: 768px) {
  .compare-hero-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
    align-items: center;
  }
}

.compare-hero-pair:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.compare-hero-pair-bad,
.compare-hero-pair-good {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--font-size-sm);
  line-height: 1.4;
}

.compare-hero-pair-bad {
  color: rgba(255, 255, 255, 0.5);
}

.compare-hero-pair-good {
  color: #fff;
  font-weight: 600;
}

.compare-hero-pair-bad::before,
.compare-hero-pair-good::before {
  content: '';
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
  margin-top: 1px;
}

.compare-hero-pair-bad::before {
  background-color: rgba(244, 63, 94, 0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23fb7185' stroke-width='3'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
}

.compare-hero-pair-good::before {
  background-color: rgba(56, 189, 248, 0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2338bdf8' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/* --- Tier comparison table (3 rows: Basic/Standard/Premium vs studio analogs) --- */
.compare-tiers {
  max-width: 1080px;
  margin: 0 auto var(--space-12);
}

.compare-tiers-title {
  text-align: center;
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-8);
  letter-spacing: -0.01em;
}

.compare-tier-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--space-3);
  row-gap: var(--space-4);
  padding: var(--space-5);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-4);
  align-items: start;
}

@media (min-width: 768px) {
  .compare-tier-row {
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas:
      "studio arrow us"
      "studio saving us";
    grid-template-rows: auto auto;
    column-gap: var(--space-6);
    row-gap: var(--space-3);
    padding: var(--space-6) var(--space-8);
    align-items: center;
  }
  .compare-tier-studio {
    grid-area: studio;
    align-items: flex-end;
    text-align: right;
  }
  .compare-tier-us {
    grid-area: us;
    align-items: flex-start;
    text-align: left;
  }
  .compare-tier-arrow {
    grid-area: arrow;
    align-self: end;
  }
}

.compare-tier-row-featured {
  background: linear-gradient(160deg, rgba(124, 58, 237, 0.12) 0%, rgba(56, 189, 248, 0.06) 100%);
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow: 0 10px 40px rgba(124, 58, 237, 0.12);
}

.compare-tier-studio,
.compare-tier-us {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.compare-tier-mark {
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
}

.compare-tier-us .compare-tier-mark {
  color: #38bdf8;
}

.compare-tier-price-old {
  font-size: clamp(1.35rem, 5vw, 1.75rem);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(244, 63, 94, 0.6);
  letter-spacing: -0.02em;
  line-height: 1;
}

.compare-tier-price-new {
  font-size: clamp(1.55rem, 6vw, 2rem);
  font-weight: 800;
  background: linear-gradient(135deg, #38bdf8, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  line-height: 1;
}

.compare-tier-meta {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
}

.compare-tier-arrow {
  display: none;
  font-size: 2.25rem;
  font-weight: 800;
  text-align: center;
  background: linear-gradient(135deg, #38bdf8, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

@media (min-width: 768px) {
  .compare-tier-arrow {
    display: block;
  }
}

.compare-tier-saving {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: var(--space-2) var(--space-4);
  background: rgba(74, 222, 128, 0.15);
  color: #4ade80;
  font-weight: 700;
  font-size: var(--font-size-sm);
  border-radius: var(--radius-full);
  border: 1px solid rgba(74, 222, 128, 0.3);
  grid-column: 1 / -1;
  justify-self: center;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .compare-tier-saving {
    grid-area: saving;
    grid-column: auto;
    justify-self: center;
    align-self: start;
  }
}

.compare-cta {
  text-align: center;
  margin-top: var(--space-10);
}

/* --- Pricing cards: crossed studio price + savings badge --- */
.pricing-old-line {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  justify-content: center;
  margin-bottom: var(--space-3);
  flex-wrap: wrap;
}

.pricing-old-price {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(244, 63, 94, 0.55);
}

.pricing-old-label {
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pricing-saving {
  display: block;
  width: fit-content;
  padding: var(--space-1) var(--space-3);
  background: rgba(74, 222, 128, 0.12);
  color: #4ade80;
  font-weight: 700;
  font-size: var(--font-size-xs);
  border-radius: var(--radius-full);
  margin: var(--space-2) auto;
  border: 1px solid rgba(74, 222, 128, 0.25);
  letter-spacing: 0.02em;
}

.pricing-saving-accent {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.3);
}

/* Pricing — why bundles */
.pricing-why {
  margin-top: var(--space-10);
  text-align: center;
}

.pricing-why-title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-6);
}

.pricing-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  text-align: center;
}

.pricing-why-item {
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.pricing-why-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-3);
}

.pricing-why-item strong {
  display: block;
  font-size: var(--font-size-base);
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.pricing-why-item p {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .pricing-why-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

/* Payment info */
.payment-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-8);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  flex-wrap: wrap;
}

.payment-info span:nth-child(-n+3) {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
}

.payment-divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   10e2. LANDING — Styles Gallery
   ============================================ */
/* --- Styles Gallery: Filter Tabs --- */
.styles-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.styles-tab {
  position: relative;
  padding: var(--space-2) var(--space-5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--color-text-muted);
  font-family: var(--font-family);
  font-size: var(--font-size-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.styles-tab:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--color-text-light);
}

.styles-tab.active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35);
}

.styles-tab-count {
  display: inline-block;
  margin-left: 4px;
  font-weight: 400;
  opacity: 0.7;
  font-size: 0.8em;
}

/* Tier hint below tabs */
.styles-tier-hint {
  text-align: center;
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
  opacity: 0.7;
  transition: opacity 0.3s;
  min-height: 1.2em;
}

/* --- Styles Gallery: Card Grid --- */
.styles-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  max-width: 700px;
  margin: 0 auto;
}

.style-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3 / 4;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.style-card.hidden {
  display: none;
}

.style-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(124, 58, 237, 0.15);
  border-color: rgba(124, 58, 237, 0.3);
}

.style-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.style-card:hover .style-card-img {
  transform: scale(1.06);
}

/* Gradient overlay — always visible at bottom for name */
.style-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-4) var(--space-3) var(--space-3);
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.45) 40%,
    rgba(0, 0, 0, 0) 65%
  );
  transition: background 0.35s ease;
}

.style-card:hover .style-card-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.55) 50%,
    rgba(0, 0, 0, 0.1) 75%
  );
}

.style-card-name {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.style-card-desc {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.4;
  margin-top: 4px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.3s ease, margin-top 0.35s ease;
  margin-top: 0;
}

.style-card:hover .style-card-desc,
.style-card.touched .style-card-desc {
  max-height: 60px;
  opacity: 1;
  margin-top: 4px;
}

/* Lightbox overlay */
.style-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.style-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.style-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
}

/* Desktop: 3 columns */
@media (min-width: 768px) {
  .styles-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
  }

  .style-card-name {
    font-size: var(--font-size-base);
  }

  .style-card-desc {
    font-size: var(--font-size-xs);
  }
}

/* ============================================
   10f. LANDING — Trust
   ============================================ */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  max-width: 800px;
  margin: 0 auto;
}

.trust-card {
  background: var(--gradient-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  text-align: center;
  /* scroll reveal */
  opacity: 0;
  transform: translateY(20px);
}

.trust-card.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.trust-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
}

.trust-card h3 {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-2);
}

.trust-card p {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Legacy trust-items for existing pages */
.trust-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 500px;
  margin: 0 auto;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--font-size-base);
}

.trust-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-lg);
}

/* ============================================
   10g. LANDING — FAQ
   ============================================ */
.faq-list {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  background: var(--gradient-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.1);
}

.faq-item.open {
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.08);
}

/* Summary button */
.faq-summary {
  width: 100%;
  padding: var(--space-5);
  font-weight: 600;
  font-size: var(--font-size-base);
  font-family: inherit;
  color: var(--color-text);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  transition: color var(--transition-fast);
}

.faq-summary:hover { color: #fff; }

/* Chevron icon */
.faq-chevron {
  flex-shrink: 0;
  margin-left: var(--space-4);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  transition: transform 0.35s ease, background 0.3s ease;
}

.faq-chevron::before {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(255, 255, 255, 0.5);
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  transform: rotate(45deg);
  margin-top: -2px;
  transition: border-color 0.3s ease;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  background: rgba(124, 58, 237, 0.15);
}

.faq-item.open .faq-chevron::before {
  border-color: var(--color-primary);
}

/* Smooth expand/collapse via grid-template-rows */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
  padding: 0 var(--space-5);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.faq-item.open .faq-answer-inner {
  padding-bottom: var(--space-5);
}

.faq-answer a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-answer a:hover {
  color: #fff;
}

/* ============================================
   10g2. LANDING — REVIEWS
   ============================================ */
.reviews-grid {
  position: relative;
}

.review-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: border-color 0.2s;
}

.review-card:hover {
  border-color: rgba(124, 58, 237, 0.3);
}

/* Desktop: row of 3 + row of 2 centered */
@media (min-width: 769px) {
  .reviews-track {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-6);
  }
  .reviews-track .review-card {
    flex: 0 0 calc(33.333% - var(--space-6));
    max-width: calc(33.333% - var(--space-6));
  }
}

/* Mobile: transform-based smooth slider */
@media (max-width: 768px) {
  .reviews-grid {
    overflow: hidden;
    padding-bottom: var(--space-4);
  }
  .reviews-track {
    display: flex;
    gap: var(--space-4);
    transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
    will-change: transform;
    touch-action: pan-y;
  }
  .reviews-grid .review-card {
    flex: 0 0 85%;
    min-width: 0;
  }
}

.review-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.review-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(124, 58, 237, 0.4);
}

.review-name {
  font-weight: 700;
  font-size: var(--font-size-base);
  color: #fff;
}

.review-role {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.5);
}

.review-stars {
  color: #f59e0b;
  font-size: var(--font-size-base);
  margin-bottom: var(--space-3);
  letter-spacing: 2px;
}

.review-text {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin: 0;
}

.reviews-cta {
  text-align: center;
  margin-top: var(--space-8);
}

/* Review modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: var(--color-bg-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  max-width: 480px;
  width: 100%;
  position: relative;
}

.modal-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: #fff;
}

.modal-box h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-6);
  color: #fff;
}

.review-form .form-group {
  margin-bottom: var(--space-4);
}

.review-form label {
  display: block;
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-1);
}

.review-form input,
.review-form textarea {
  width: 100%;
  padding: var(--space-3);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  color: #fff;
  font-size: var(--font-size-base);
  font-family: inherit;
}

.review-form input:focus,
.review-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.review-form textarea {
  resize: vertical;
  min-height: 100px;
}

.review-form .star-select {
  display: flex;
  gap: 4px;
  font-size: 1.5rem;
  cursor: pointer;
}

.review-form .star-select span {
  color: rgba(255, 255, 255, 0.2);
  transition: color 0.15s;
}

.review-form .star-select span.active {
  color: #f59e0b;
}

.review-form .form-status {
  font-size: var(--font-size-sm);
  margin-top: var(--space-3);
}

.review-form .form-status.error {
  color: #ef4444;
}

.review-thanks[hidden] {
  display: none;
}

.review-thanks {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-8) 0;
}

.review-thanks-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  margin-bottom: var(--space-6);
}

.review-thanks h3 {
  font-size: var(--font-size-xl);
  color: #fff;
  margin-bottom: var(--space-3);
}

.review-thanks p {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--font-size-base);
  margin: 0;
}

/* ============================================
   10h. LANDING — CTA
   ============================================ */
.cta-title {
  font-size: clamp(1.5rem, 4vw, var(--font-size-4xl));
  color: #fff;
  margin-bottom: var(--space-4);
}

.cta-subtitle {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-8);
}

/* ============================================
   10i. Sticky CTA (mobile)
   ============================================ */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  bottom: calc(env(safe-area-inset-bottom, 0px));
  left: 0;
  right: 0;
  height: 60px;
  background: rgba(8, 8, 15, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 90;
  padding: 0 var(--space-4);
  align-items: center;
  justify-content: space-between;
}

.sticky-cta.visible { display: flex; }

.sticky-cta-price {
  font-weight: 700;
  font-size: var(--font-size-base);
  white-space: nowrap;
}

@media (min-width: 768px) {
  .sticky-cta { display: none !important; }
}

body.has-sticky-cta { padding-bottom: 68px; }
@media (min-width: 768px) { body.has-sticky-cta { padding-bottom: 0; } }

/* ============================================
   10j. LANDING — Cookie consent
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  bottom: env(safe-area-inset-bottom, 0px);
  left: 0;
  right: 0;
  background: rgba(13, 13, 22, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--space-4);
  z-index: 110;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.3);
}

.cookie-inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  font-size: var(--font-size-sm);
}

.cookie-buttons {
  display: flex;
  gap: var(--space-2);
}

@media (min-width: 768px) {
  .cookie-inner { flex-direction: row; align-items: center; }
  .cookie-buttons { flex-shrink: 0; }
}

/* ============================================
   10k. Footer
   ============================================ */
.site-footer {
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-8) var(--space-5) var(--space-4);
  font-size: var(--font-size-sm);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  padding-bottom: var(--space-8);
}

.footer-brand .header-logo {
  color: #fff;
  margin-bottom: var(--space-3);
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.4);
  font-size: var(--font-size-sm);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3) var(--space-6);
}

.footer-links > a {
  color: rgba(255, 255, 255, 0.3);
  font-size: var(--font-size-xs);
  transition: color var(--transition-fast);
}

.footer-links > a:hover {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.footer-legal {
  text-align: center;
  color: rgba(255, 255, 255, 0.2);
  font-size: var(--font-size-xs);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-col-title {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-2);
}

.footer-col a {
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--font-size-sm);
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: #fff;
  text-decoration: none;
}

.footer-bottom {
  max-width: 1120px;
  margin: 0 auto;
  padding: var(--space-5) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2);
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.3);
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

/* ============================================
   11. Auth / Login Page
   ============================================ */
.auth-page {
  min-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-6) var(--space-4);
  margin-top: 64px;
}

.auth-card {
  width: 100%;
  max-width: 400px;
  padding: var(--space-8);
}

@media (min-width: 768px) {
  .auth-card {
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
  }
}

.auth-title {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-2);
  text-align: center;
}

.auth-subtitle {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: var(--space-6);
}

/* Plan context mini-card */
.plan-context {
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-4);
  text-align: center;
  font-size: var(--font-size-sm);
}

.plan-context-name { font-weight: 600; }

/* OTP visual boxes */
.otp-container {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  margin-bottom: var(--space-4);
}

.otp-box {
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color var(--transition-fast);
}

.otp-box.filled { border-color: var(--color-primary); }
.otp-box.active { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2); }

.otp-real-input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.otp-hint { font-size: var(--font-size-sm); color: var(--color-text-muted); margin-bottom: var(--space-3); }
.otp-email-display { font-weight: 600; }

.otp-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.otp-actions button,
.otp-actions a {
  font-size: var(--font-size-sm);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-muted);
}

.otp-actions button:disabled { cursor: not-allowed; color: #ccc; }

.auth-reassurance {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  text-align: center;
  margin-top: var(--space-3);
}

.email-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  margin-bottom: var(--space-4);
  font-size: var(--font-size-sm);
  text-align: center;
}

.email-display-row { display: flex; align-items: center; gap: var(--space-2); }
.email-display-text { font-weight: 600; }

.email-change-link {
  font-size: var(--font-size-xs);
  color: var(--color-primary);
  cursor: pointer;
  background: none;
  border: none;
}

/* ============================================
   12. Order Page
   ============================================ */
.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: var(--space-8);
  padding: var(--space-4) 0;
}

.step-indicator-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  position: relative;
  flex: 0 0 auto;
}

.step-indicator-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-bg);
  z-index: 1;
}

.step-indicator-item.active .step-indicator-circle {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.step-indicator-item.completed .step-indicator-circle {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.step-indicator-label { font-size: var(--font-size-xs); color: var(--color-text-muted); }
.step-indicator-item.active .step-indicator-label { color: var(--color-primary); font-weight: 600; }

.step-indicator-line {
  flex: 0 0 48px;
  height: 2px;
  background: var(--color-border);
  margin-top: -12px;
}

.step-indicator-line.completed { background: var(--color-primary); }

.step-back {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
}

.step-back:hover { color: var(--color-text); }

/* Order page plan cards (simpler than landing cards) */
#plan-step .pricing-grid {
  gap: var(--space-4);
}
#plan-step .pricing-card {
  cursor: pointer;
}
#plan-step .pricing-head {
  padding: var(--space-4) var(--space-4) var(--space-2);
}
#plan-step .pricing-body {
  padding: 0 var(--space-4) var(--space-4);
}
#plan-step .pricing-card-glow-wrap {
  cursor: pointer;
}
#plan-step .btn-select-plan {
  margin-top: var(--space-2);
}
@media (min-width: 768px) {
  #plan-step .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Selected plan badge on upload step */
.selected-plan-badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-5);
  font-size: var(--font-size-sm);
  flex-wrap: wrap;
}
.selected-plan-badge strong {
  color: var(--color-primary);
}
.selected-plan-sep {
  color: var(--color-text-muted);
}

/* Upload instructions */
.upload-instructions {
  margin-bottom: var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
}

.upload-instructions summary { cursor: pointer; font-weight: 600; font-size: 0.95rem; }

.upload-note {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-4);
  border: 1px solid rgba(99, 179, 237, 0.3);
  border-radius: var(--radius-md);
  background: rgba(99, 179, 237, 0.08);
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}
.upload-note-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  line-height: 1.4;
}
.upload-note p { margin: 0; }

.instructions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-3);
}

@media (min-width: 600px) {
  .instructions-grid { grid-template-columns: 1fr 1fr; }
}

.instructions-good h3 { color: var(--color-success); }
.instructions-bad h3 { color: var(--color-error); }

.instructions-row {
  text-align: center;
}

.instructions-row ul {
  display: inline-block;
  text-align: left;
}

.example-photos {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin: var(--space-2) 0;
}

.example-photos img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

@media (min-width: 600px) {
  .example-photos img {
    width: 100px;
    height: 100px;
  }
}

.instructions-row ul {
  list-style: none;
  padding: 0;
  margin-top: var(--space-1);
  font-size: var(--font-size-sm);
  line-height: 1.7;
}

.instructions-row li::before { content: '\00B7 '; color: #9ca3af; }

/* Upload area */
.upload-section { margin-bottom: var(--space-4); }

.upload-dropzone {
  border: 2px dashed #d1d5db;
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-4);
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.upload-dropzone:hover,
.upload-dropzone.dragover {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
}

.upload-dropzone.full { opacity: 0.5; pointer-events: none; }

.dropzone-text { font-size: var(--font-size-base); font-weight: 500; color: #374151; }
.dropzone-hint { font-size: 0.85rem; color: #9ca3af; margin-top: var(--space-1); }

/* Upload status + progress bar */
.upload-status { margin-top: var(--space-3); font-size: var(--font-size-sm); color: var(--color-text-muted); }

.upload-progress-bar {
  height: 4px;
  background: var(--color-border);
  border-radius: 2px;
  margin-top: var(--space-2);
  overflow: hidden;
}

.upload-progress-fill {
  height: 100%;
  background: var(--color-primary);
  border-radius: 2px;
  transition: width 0.3s ease;
  width: 0;
}

/* Photo grid (upload thumbnails) */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
  margin-top: var(--space-4);
}

@media (min-width: 768px) {
  .photo-grid { grid-template-columns: repeat(5, 1fr); }
}

/* Big number badge on each photo */
.photo-number {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.55), rgba(37, 99, 235, 0.55));
  color: #fff;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.3s;
  z-index: 2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.photo-item:hover .photo-number { opacity: 0; }
.photo-number.complete {
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.5), rgba(16, 185, 129, 0.5));
}

/* Toast notification */
.upload-toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: linear-gradient(135deg, #7c3aed, #dc2626);
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1000;
  box-shadow: 0 4px 24px rgba(124, 58, 237, 0.4);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
  max-width: 90vw;
  text-align: center;
}
.upload-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.upload-toast-icon { font-size: 1.3rem; flex-shrink: 0; }

/* Shake animation for button */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 50%, 90% { transform: translateX(-4px); }
  30%, 70% { transform: translateX(4px); }
}
.btn-shake { animation: shake 0.5s ease-in-out; }
.btn-insufficient { opacity: 0.5; }

.photo-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #f3f4f6;
  animation: fadeIn var(--transition-fast) ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.photo-thumb { width: 100%; height: 100%; object-fit: cover; display: block; }

.photo-progress-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(0, 0, 0, 0.2);
}

.photo-progress { height: 100%; background: var(--color-primary); width: 0; transition: width 0.2s; }

.photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-success);
  background: var(--color-success-bg);
}

.photo-item.uploading { opacity: 0.7; }
.photo-item.failed { border: 2px solid var(--color-error); }

.photo-delete {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-error-text {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  font-size: 0.7rem;
  color: var(--color-error);
  background: rgba(255, 255, 255, 0.9);
  padding: 2px var(--space-1);
  text-align: center;
}

.photo-retry {
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  border: none;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 2px var(--space-2);
  cursor: pointer;
}

.upload-error {
  margin-top: var(--space-3);
  padding: var(--space-2) var(--space-3);
  background: var(--color-error-bg);
  color: var(--color-error);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  white-space: pre-line;
}

.offline-banner {
  margin-top: var(--space-3);
  padding: var(--space-2) var(--space-3);
  background: var(--color-warning-bg);
  color: var(--color-warning-text);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  text-align: center;
}

/* Gender selector */
.gender-selector { display: flex; gap: var(--space-4); }

.gender-option {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
  padding: var(--space-3) var(--space-5);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
  flex: 1;
  justify-content: center;
  height: 48px;
}

.gender-option:has(input:checked) {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
}

.gender-option input { accent-color: var(--color-primary); }

.gender-selector.error .gender-option {
  border-color: var(--color-error);
  animation: shake 0.4s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

/* Order summary */
.order-summary {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  margin-bottom: var(--space-5);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-1) 0;
  font-size: 0.95rem;
}

.summary-total {
  border-top: 1px solid var(--color-border);
  margin-top: var(--space-2);
  padding-top: var(--space-2);
  font-weight: 700;
  font-size: var(--font-size-xl);
}

/* Consent list */
.consent-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.consent-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding: var(--space-3);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.15s;
}

.consent-row:has(input:checked) {
  border-color: var(--color-primary);
}

.consent-row input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.consent-check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  transition: all 0.15s;
  position: relative;
}

.consent-row input:checked ~ .consent-check {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.consent-row input:checked ~ .consent-check::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 12px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.consent-label {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
}

.consent-label a {
  color: var(--color-primary);
}

.consent-read-link {
  font-size: 0.8rem;
  color: var(--color-primary);
  text-decoration: underline;
  margin-left: auto;
  white-space: nowrap;
}

.consent-modal-body {
  max-height: 60vh;
  overflow-y: auto;
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  white-space: pre-line;
}

/* Sticky pay button */
.btn-pay {
  width: 100%;
  height: 56px;
  font-size: var(--font-size-lg);
  position: sticky;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
}

.pay-hint {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  text-align: center;
  margin-top: var(--space-2);
}

.confirm-section { margin-top: var(--space-4); }
.confirm-section h2 { margin-bottom: var(--space-4); }

/* ============================================
   13. Dashboard Page
   ============================================ */
.dashboard-page {
  min-height: calc(100vh - 64px);
  padding: var(--space-4);
  margin-top: 64px;
}

.dashboard-title {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-6);
}

.orders-list {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.orders-list[hidden] { display: none; }

/* Empty state */
.empty-state {
  text-align: center;
  padding: var(--space-16) var(--space-4);
}

.empty-state-icon { margin-bottom: var(--space-6); }
.empty-state-icon svg { width: 80px; height: 80px; color: var(--color-text-muted); opacity: 0.4; }
.empty-state-title { font-size: var(--font-size-lg); margin-bottom: var(--space-3); }
.empty-state-text { color: var(--color-text-muted); font-size: var(--font-size-sm); margin-bottom: var(--space-6); }

/* Order card */
.order-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.order-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--color-primary);
  text-decoration: none;
}

.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-2);
}

.order-card-plan { font-weight: 600; font-size: var(--font-size-base); }
.order-card-arrow { color: var(--color-text-muted); font-size: var(--font-size-lg); }

.order-card-status {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-1);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot.pending { background: #eab308; }
.status-dot.processing { background: #3b82f6; }
.status-dot.done { background: var(--color-success); }
.status-dot.failed { background: var(--color-error); }
.status-dot.refunded { background: #9ca3af; }

.order-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* Dashboard skeleton */
.dashboard-skeleton {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 600px;
  margin: 0 auto;
}
.dashboard-skeleton[hidden] { display: none; }

.skeleton-order-card { height: 120px; border-radius: var(--radius-lg); }

/* ============================================
   14. Results Page
   ============================================ */
.results-page {
  max-width: 960px;
  margin: 0 auto;
  padding: var(--space-4);
  min-height: calc(100vh - 64px);
  margin-top: 64px;
}

/* Progress stepper */
.progress-stepper[hidden] { display: none; }
.progress-stepper {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: var(--space-6);
  padding-left: var(--space-6);
  position: relative;
}

.progress-stepper::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: var(--color-border);
}

.stepper-step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-2) 0;
  position: relative;
}

.stepper-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  background: var(--color-bg);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: calc(-1 * var(--space-6));
  z-index: 1;
  font-size: var(--font-size-xs);
}

.stepper-step.completed .stepper-circle {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.stepper-step.active .stepper-circle {
  background: var(--color-primary);
  border-color: var(--color-primary);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.stepper-label { font-size: var(--font-size-sm); color: var(--color-text-muted); padding-top: 2px; }
.stepper-step.completed .stepper-label { color: var(--color-text); }
.stepper-step.active .stepper-label { color: var(--color-text); font-weight: 600; }
.stepper-time { font-size: var(--font-size-xs); color: var(--color-text-muted); font-weight: 400; }

.stepper-hint {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
  margin-bottom: var(--space-6);
}

/* Done celebration */
.done-celebration {
  text-align: center;
  margin-bottom: var(--space-6);
  animation: celebrateIn 300ms ease-out;
}

@keyframes celebrateIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.done-check {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-success-bg);
  color: var(--color-success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-3);
  font-size: var(--font-size-2xl);
}

.done-title { font-size: var(--font-size-xl); margin-bottom: var(--space-2); }

/* Loading skeleton */
.results-skeleton { padding: var(--space-4) 0; }

.skeleton-pulse {
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}

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

.skeleton-title { height: 2rem; width: 60%; margin-bottom: var(--space-4); }
.skeleton-status { height: 3rem; width: 100%; margin-bottom: var(--space-4); }

.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2);
}

.skeleton-card { padding-top: 133.33%; position: relative; }

@media (min-width: 600px) { .skeleton-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .skeleton-grid { grid-template-columns: repeat(4, 1fr); } }

/* Spinner */
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
  margin-right: var(--space-2);
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Status banner */
.status-banner {
  padding: var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-weight: 500;
  margin-bottom: var(--space-4);
}

.status-pending { background: var(--color-warning-bg); color: var(--color-warning-text); }
.status-processing { background: var(--color-info-bg); color: var(--color-info-text); }
.status-done { background: var(--color-success-bg); color: #166534; }
.status-error { background: var(--color-error-bg); color: #991b1b; }

/* Progress bar */
.progress-section { margin-bottom: var(--space-4); }

.progress-bar-wrap {
  height: 8px;
  background: var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: var(--color-primary);
  border-radius: var(--radius-sm);
  transition: width 0.5s ease;
  width: 0;
}

.progress-text { font-size: 0.85rem; color: var(--color-text-muted); margin-top: var(--space-1); }
.time-estimate { font-size: var(--font-size-sm); color: var(--color-text-muted); margin-bottom: var(--space-4); }

/* Photo groups (results) */
.photo-groups { margin-bottom: var(--space-4); }
.photo-group { margin-bottom: var(--space-6); }
.photo-group-header { font-weight: 600; font-size: var(--font-size-base); margin-bottom: var(--space-3); color: var(--color-text); }

/* Results photo grid */
.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2);
}

@media (min-width: 600px) { .results-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .results-grid { grid-template-columns: repeat(4, 1fr); } }

.result-photo-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  padding-top: 133.33%;
}

.result-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-md);
}

.result-photo-dl {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.result-photo-card:hover .result-photo-dl { opacity: 1; }
@media (hover: none) { .result-photo-dl { opacity: 1; } }

.result-photo-card.expired { opacity: 0.5; }

.result-photo-expired {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Horizontal scroll fallback */
.photo-group-scroll {
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  padding-bottom: var(--space-2);
  scroll-snap-type: x mandatory;
}

.photo-group-scroll::-webkit-scrollbar { height: 4px; }
.photo-group-scroll::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 2px; }

/* Download section */
.download-bar {
  position: sticky;
  top: 64px;
  z-index: 50;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-3) var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 calc(-1 * var(--space-4)) var(--space-4);
}

.download-count { font-weight: 600; }
.download-section { margin-bottom: var(--space-4); }
.btn-download-zip { width: 100%; }

.zip-mobile-warning {
  font-size: 0.8rem;
  color: var(--color-warning-text);
  background: var(--color-warning-bg);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  margin-top: var(--space-2);
  text-align: center;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lightbox.open { display: flex; }

.lightbox-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: var(--font-size-2xl);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 301;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: var(--font-size-xl);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-prev { left: var(--space-4); }
.lightbox-next { right: var(--space-4); }

.lightbox-actions { margin-top: var(--space-4); display: flex; gap: var(--space-3); }
.lightbox-actions .btn { height: 44px; }

/* Banners */
.expired-banner, .partial-banner {
  padding: var(--space-3) var(--space-4);
  background: var(--color-warning-bg);
  color: var(--color-warning-text);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
  font-size: var(--font-size-sm);
}

/* Delete photos section */
.delete-section {
  margin-top: var(--space-6);
  margin-bottom: var(--space-4);
  padding: var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-align: center;
}
.delete-timer {
  font-size: var(--font-size-sm);
  color: var(--color-muted);
  margin-bottom: var(--space-3);
}
.btn-danger-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 var(--space-4);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: #ef4444;
  background: transparent;
  border: 1px solid #ef4444;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.btn-danger-outline:hover {
  background: rgba(239, 68, 68, 0.1);
}
.btn-danger-outline:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Dissatisfied section */
.dissatisfied-section { margin-bottom: var(--space-4); }
.btn-dissatisfied { width: 100%; }

.dissatisfied-form {
  margin-top: var(--space-3);
  padding: var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.dissatisfied-form p { margin-bottom: var(--space-3); font-size: var(--font-size-sm); }
.dissatisfied-form .btn { width: 100%; margin-bottom: var(--space-2); }

.support-link { display: inline-block; font-size: var(--font-size-sm); color: var(--color-primary); margin-top: var(--space-2); }
.support-section { text-align: center; margin-top: var(--space-4); margin-bottom: var(--space-4); }

/* Results error */
.results-error { text-align: center; padding: var(--space-16) var(--space-4); }
.results-error h1 { font-size: 1.5rem; color: #374151; margin-bottom: var(--space-2); }
.results-error p { color: var(--color-text-muted); }

/* ============================================
   15. Legal Pages
   ============================================ */
.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-12) var(--space-4) var(--space-8);
  margin-top: 64px;
}

.legal-page h1 { font-size: var(--font-size-2xl); margin-bottom: var(--space-6); }
.legal-page h2 { font-size: var(--font-size-lg); margin-top: var(--space-8); margin-bottom: var(--space-3); }
.legal-page h3 { font-size: var(--font-size-base); margin-top: var(--space-4); margin-bottom: var(--space-2); }
.legal-page p { line-height: 1.7; color: var(--color-text-light); margin-bottom: var(--space-3); }
.legal-page ul, .legal-page ol { margin-bottom: var(--space-3); padding-left: var(--space-6); line-height: 1.7; color: var(--color-text-light); }
.legal-page li { margin-bottom: var(--space-1); }

.legal-page table { width: 100%; border-collapse: collapse; margin-bottom: var(--space-4); font-size: var(--font-size-sm); }
.legal-page th, .legal-page td { padding: var(--space-2) var(--space-3); border: 1px solid var(--color-border); text-align: left; }
.legal-page th { background: var(--color-surface); font-weight: 600; }
.legal-table-wrap { overflow-x: auto; }

.legal-back {
  position: fixed;
  top: calc(64px + var(--space-3));
  left: var(--space-4);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  z-index: 50;
  text-decoration: none;
}

.legal-back:hover { color: var(--color-text); text-decoration: none; }

.legal-highlight {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  margin-bottom: var(--space-4);
}

.legal-toc {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  margin-bottom: var(--space-6);
}

.legal-toc-title { font-weight: 600; margin-bottom: var(--space-2); }
.legal-toc ol { padding-left: var(--space-5); }
.legal-toc a { font-size: var(--font-size-sm); }

/* ============================================
   16. Session Expiry Modal
   ============================================ */
.session-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 400;
  align-items: center;
  justify-content: center;
}

.session-modal-backdrop.open { display: flex; }

.session-modal {
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  max-width: 400px;
  width: calc(100% - var(--space-8));
  text-align: center;
}

.session-modal h2 { margin-bottom: var(--space-4); }
.session-modal .input { margin-bottom: var(--space-4); }
.session-modal .form-hint { margin-bottom: var(--space-4); }

/* ============================================
   17. Utility Classes
   ============================================ */
.text-muted { color: var(--color-text-muted); }
.text-center { text-align: center; }
.text-sm { font-size: var(--font-size-sm); }
.text-xs { font-size: var(--font-size-xs); }
.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.hidden { display: none !important; }

/* ============================================
   18. Error Pages
   ============================================ */
.error-page {
  text-align: center;
  padding: var(--space-16) var(--space-4);
  min-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 64px;
}

.error-page h1 { font-size: 4rem; color: #9ca3af; }
.error-page p { color: var(--color-text-muted); margin-top: var(--space-2); }

/* ============================================
   19. Print Styles
   ============================================ */
/* ============================================
   WebView (Android app) overrides
   ============================================ */
body.is-app {
  overscroll-behavior-y: contain;
  -webkit-user-select: none;
  user-select: none;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
}
html.is-app {
  overflow: visible !important;
  height: auto !important;
}
body.is-app {
  height: auto !important;
  min-height: 100vh;
  overflow-x: hidden !important;
  overflow-y: visible !important;
}
body.is-app input,
body.is-app textarea {
  -webkit-user-select: auto;
  user-select: auto;
}
body.is-app img {
  -webkit-touch-callout: none;
}
body.is-app .pricing-card:hover,
body.is-app .pricing-card-basic:hover,
body.is-app .pricing-card-mid:hover,
body.is-app .pricing-card-featured:hover {
  transform: none !important;
  box-shadow: none !important;
  border-color: inherit !important;
}

/* ===== Pack selector (Excel-like connected tabs) ===== */
.pack-selector {
  margin-bottom: var(--space-5);
}
.pack-selector-title {
  font-size: var(--font-size-base);
  font-weight: 600;
  margin: 0 0 var(--space-3);
  color: var(--color-text);
}
.pack-tabs {
  display: flex;
  gap: 0;
  padding: 0;
  margin: 0 0 -2px;
  position: relative;
  z-index: 2;
}
.pack-tab {
  flex: 1 1 0;
  min-width: 0;
  padding: var(--space-3) var(--space-2);
  background: transparent;
  border: 2px solid transparent;
  border-bottom: 2px solid var(--color-primary);
  border-top-left-radius: var(--radius-md);
  border-top-right-radius: var(--radius-md);
  color: var(--color-text-muted);
  font-family: inherit;
  font-size: var(--font-size-sm);
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  position: relative;
  transition: background var(--transition-base), color var(--transition-base), border-color var(--transition-base);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}
.pack-tab:hover:not(.active) {
  background: rgba(124, 58, 237, 0.08);
  color: var(--color-text);
}
.pack-tab.active {
  background: var(--color-bg);
  border-color: var(--color-primary);
  border-bottom-color: transparent;
  color: var(--color-text);
  z-index: 3;
  box-shadow: 0 -6px 16px -6px rgba(124, 58, 237, 0.35);
}
.pack-tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  background: var(--color-bg);
}
.pack-panel {
  position: relative;
  z-index: 1;
  border: 2px solid var(--color-primary);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  padding: var(--space-4);
  box-shadow: 0 8px 24px -12px rgba(124, 58, 237, 0.25);
}

/* Premium tier: same structure as Standard, just gold instead of purple. */
.pack-selector--landing[data-tier="premium"] .pack-tab {
  border-bottom-color: #c9a435;
}
.pack-selector--landing[data-tier="premium"] .pack-tab:hover:not(.active) {
  background: rgba(255, 215, 0, 0.06);
}
.pack-selector--landing[data-tier="premium"] .pack-tab.active {
  border-color: #c9a435;
  border-bottom-color: transparent;
  box-shadow: 0 -6px 16px -6px rgba(255, 215, 0, 0.4);
}
.pack-selector--landing[data-tier="premium"] .pack-panel {
  border-color: #c9a435;
  box-shadow: 0 8px 24px -12px rgba(255, 215, 0, 0.35);
  margin-top: -2px;
}
.pack-clip {
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.pack-previews {
  --pack-cols: 2;
  --pack-gap: var(--space-3);
  display: grid;
  grid-template-columns: repeat(var(--pack-cols), 1fr);
  grid-auto-rows: max-content;
  gap: var(--pack-gap);
}
@media (min-width: 700px) {
  .pack-previews {
    --pack-cols: 3;
  }
}
/* Collapsed height is set inline via JS on .pack-clip (measures actual cell height). */
.pack-preview {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  overflow: hidden;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.pack-preview:hover,
.pack-preview:focus-visible {
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.25);
  outline: none;
  border-color: rgba(124, 58, 237, 0.5);
}
.pack-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.style-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.06), rgba(255, 255, 255, 0.02));
  color: rgba(255, 255, 255, 0.22);
}
.style-placeholder svg {
  width: 38%;
  max-width: 56px;
  height: auto;
}
.pack-preview-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-4) var(--space-3) var(--space-3);
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.45) 45%,
    rgba(0, 0, 0, 0.0) 75%
  );
  pointer-events: none;
}
.pack-preview-label {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}
.pack-expand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  width: 100%;
  margin-top: var(--space-3);
  padding: var(--space-2) var(--space-3);
  background: transparent;
  border: 1px dashed rgba(124, 58, 237, 0.4);
  border-radius: var(--radius-md);
  color: var(--color-primary);
  font-family: inherit;
  font-size: var(--font-size-sm);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-base), border-color var(--transition-base);
}
.pack-expand:hover {
  background: rgba(124, 58, 237, 0.08);
  border-color: var(--color-primary);
}
.pack-expand-icon {
  display: inline-block;
  transition: transform 0.2s ease;
}
.pack-expand[aria-expanded="true"] .pack-expand-icon {
  transform: rotate(180deg);
}

/* Onboarding overlay (app first launch) */

@media print {
  .site-header,
  .site-footer,
  .sticky-cta,
  .cookie-banner,
  .lightbox,
  .btn { display: none !important; }

  body { font-size: 12pt; color: #000; }
  a { color: #000; text-decoration: underline; }
}

/* ============================================
   LANDING — 1 style -> 8 photos (arc 4+4)
   ============================================ */
.onestyle-stage {
  position: relative;
  width: 100%;
  height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.onestyle-beam {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 700px;
  height: 700px;
  margin-top: -350px;
  margin-left: -350px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.22) 0%, transparent 55%);
  pointer-events: none;
  z-index: 1;
}

.onestyle-selfie {
  width: 240px;
  height: 320px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 90px rgba(124, 58, 237, 0.35), 0 20px 50px rgba(0, 0, 0, 0.25);
  border: 3px solid rgba(124, 58, 237, 0.55);
  position: relative;
  z-index: 10;
}
.onestyle-selfie img { width: 100%; height: 100%; object-fit: cover; display: block; }

.onestyle-selfie-tag {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: 0.4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.onestyle-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140px;
  height: 186px;
  margin-top: -93px;
  margin-left: -70px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  border: 2px solid rgba(0, 0, 0, 0.06);
  z-index: 2;
}
.onestyle-card img { width: 100%; height: 100%; object-fit: cover; display: block; }

.onestyle-card--l1 { transform: translate(-310px, -145px) rotate(-18deg); }
.onestyle-card--l2 { transform: translate(-360px, -50px)  rotate(-8deg); }
.onestyle-card--l3 { transform: translate(-360px, 50px)   rotate(8deg); }
.onestyle-card--l4 { transform: translate(-310px, 145px)  rotate(18deg); }

.onestyle-card--r1 { transform: translate(310px, -145px) rotate(18deg); }
.onestyle-card--r2 { transform: translate(360px, -50px)  rotate(8deg); }
.onestyle-card--r3 { transform: translate(360px, 50px)   rotate(-8deg); }
.onestyle-card--r4 { transform: translate(310px, 145px)  rotate(-18deg); }

.onestyle-caption {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 15, 26, 0.88);
  backdrop-filter: blur(10px);
  padding: 12px 22px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  white-space: nowrap;
}
.onestyle-caption strong { color: var(--color-accent); }
.onestyle-caption-arrow { margin: 0 8px; opacity: 0.6; }

@media (max-width: 900px) {
  .onestyle-stage { height: 520px; }
  .onestyle-selfie { width: 150px; height: 200px; }
  .onestyle-beam { width: 420px; height: 420px; margin-top: -210px; margin-left: -210px; }

  .onestyle-card { width: 82px; height: 108px; margin-top: -54px; margin-left: -41px; border-radius: 10px; }

  .onestyle-card--l1 { transform: translate(-135px, -140px) rotate(-18deg); }
  .onestyle-card--l2 { transform: translate(-160px, -48px)  rotate(-8deg); }
  .onestyle-card--l3 { transform: translate(-160px, 48px)   rotate(8deg); }
  .onestyle-card--l4 { transform: translate(-135px, 140px)  rotate(18deg); }

  .onestyle-card--r1 { transform: translate(135px, -140px) rotate(18deg); }
  .onestyle-card--r2 { transform: translate(160px, -48px)  rotate(8deg); }
  .onestyle-card--r3 { transform: translate(160px, 48px)   rotate(-8deg); }
  .onestyle-card--r4 { transform: translate(135px, 140px)  rotate(-18deg); }

  .onestyle-caption { font-size: 12px; padding: 9px 16px; }
}

@media (max-width: 420px) {
  .onestyle-stage { height: 460px; }
  .onestyle-selfie { width: 130px; height: 170px; }
  .onestyle-card { width: 70px; height: 92px; margin-top: -46px; margin-left: -35px; }

  .onestyle-card--l1 { transform: translate(-112px, -118px) rotate(-18deg); }
  .onestyle-card--l2 { transform: translate(-135px, -40px)  rotate(-8deg); }
  .onestyle-card--l3 { transform: translate(-135px, 40px)   rotate(8deg); }
  .onestyle-card--l4 { transform: translate(-112px, 118px)  rotate(18deg); }

  .onestyle-card--r1 { transform: translate(112px, -118px) rotate(18deg); }
  .onestyle-card--r2 { transform: translate(135px, -40px)  rotate(8deg); }
  .onestyle-card--r3 { transform: translate(135px, 40px)   rotate(-8deg); }
  .onestyle-card--r4 { transform: translate(112px, 118px)  rotate(-18deg); }
}
