/* ============================================================
   likos ai — Design System & Landing Page Styles
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================================
   STEP ICON SVG (replaces emoji)
   ============================================================ */


/* --- CSS Custom Properties --- */
:root {
  --bg-primary:     #0D0C0F;
  --bg-secondary:   #18161B;
  --bg-card:        #221F27;
  --bg-card-hover:  #29252F;
  --header-bg:      rgba(13, 12, 15, 0.85);
  --accent:         #C9A96E;
  --accent-hover:   #E0C080;
  --accent-dim:     rgba(201, 169, 110, 0.12);
  --text-primary:   #F5F0E8;
  --text-secondary: #9B9099;
  --text-muted:     #5A5560;
  --success:        #4CAF72;
  --success-dim:    rgba(76, 175, 114, 0.12);
  --error:          #E05A5A;
  --border:         #2E2A34;
  --border-accent:  rgba(201, 169, 110, 0.3);

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(201, 169, 110, 0.15);

  --transition: 0.2s ease;
  --transition-slow: 0.35s ease;

  --container: 1160px;
  --container-padding: 20px;
}

[data-theme="light"] {
  --bg-primary:     #FBFBFB;
  --bg-secondary:   #F3F3F7;
  --bg-card:        #FFFFFF;
  --bg-card-hover:  #F8F8FA;
  --header-bg:      rgba(251, 251, 251, 0.85);
  --text-primary:   #0D0C0F;
  --text-secondary: #4A4550;
  --text-muted:     #88838E;
  --border:         #E1E1E7;
  --border-accent:  rgba(201, 169, 110, 0.4);
  --shadow-card:    0 8px 30px rgba(0, 0, 0, 0.06);
  --shadow-glow:    0 0 40px rgba(201, 169, 110, 0.1);
  --accent-dim:     rgba(201, 169, 110, 0.1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* --- Container --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* --- Typography --- */
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-top: 14px;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--accent);
  color: #0D0C0F;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(201, 169, 110, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

.btn-outline-accent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.btn-outline-accent:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition), backdrop-filter var(--transition);
}

.header.scrolled {
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.logo-main {
  color: var(--text-primary);
}

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

/* ============================================================
   NAV
   ============================================================ */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 7px 13px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.nav-link.active {
  color: var(--accent);
}

/* right side of header */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-header-cta {
  padding: 10px 22px;
  font-size: 14px;
}

/* ============================================================
   BURGER
   ============================================================ */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  cursor: pointer;
}

.burger:hover {
  background: rgba(255,255,255,0.06);
}

.burger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.25s ease, opacity 0.2s ease, background var(--transition);
}

.burger.open .burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--accent);
}
.burger.open .burger-line:nth-child(2) {
  opacity: 0;
}
.burger.open .burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--accent);
}

/* ============================================================
   THEME TOGGLE
   ============================================================ */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: background var(--transition), color var(--transition), transform var(--transition);
  cursor: pointer;
}

.theme-toggle:hover {
  background: rgba(255,255,255,0.08);
  color: var(--accent);
}

[data-theme="light"] .theme-toggle:hover {
  background: rgba(0,0,0,0.06);
}

.sun-icon { display: none; }
.moon-icon { display: block; }

[data-theme="light"] .sun-icon { display: block; }
[data-theme="light"] .moon-icon { display: none; }

.theme-toggle:active {
  transform: scale(0.92);
}

/* ============================================================
   MOBILE NAV
   ============================================================ */

/* Overlay затемнение при открытом меню */
body.menu-open::after {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 90;
  animation: overlayFadeIn 0.25s ease forwards;
  pointer-events: auto;
}

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

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px 24px;
  border-top: 1px solid var(--border);
  background: var(--bg-primary);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  /* поверх страницы */
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  z-index: 99;

  /* анимация */
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.22,1,0.36,1),
              background var(--transition-slow);
}

.mobile-nav.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-nav-link {
  display: block;
  padding: 13px 4px;
  font-size: 17px;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}

.mobile-nav-link:hover {
  color: var(--accent);
}


.mobile-nav-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  width: 100%;
  padding: 16px;
  font-size: 15px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}

/* Decorative background blobs */
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(130, 80, 200, 0.05) 0%, transparent 65%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

@media (max-width: 1023px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }
}

.hero-video-wrap {
  display: none;
}

@media (min-width: 1024px) {
  .hero-video-wrap {
    display: block;
    flex: 0 0 45%;
    max-width: 520px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid var(--border);
  }
}

.hero-video {
  width: 100%;
  height: auto;
  display: block;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 28px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

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

.hero-title {
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 22px;
}

.hero-title-accent {
  color: var(--accent);
}

.hero-description {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 40px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-cta-note {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-cta-note svg {
  flex-shrink: 0;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.hero-stat-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.hero-stat-value span {
  color: var(--accent);
}

.hero-stat-rating {
  display: flex;
  align-items: center;
  gap: 5px;
}

.hero-stats-note {
  margin-top: 12px;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: .04em;
}

.hero-stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ============================================================
   RESULTS SECTION
   ============================================================ */
.section {
  padding: 88px 0;
}

.section-header {
  margin-bottom: 56px;
}

.section-header.centered {
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.case-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-slow), box-shadow var(--transition-slow);
}

.case-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-card);
}

.case-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--bg-primary);
}

.case-image-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-card);
}

.case-image-wrap.original {
  grid-column: 1;
}

.case-image-results {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
}

.case-image-results .case-image-wrap {
  aspect-ratio: auto;
  height: 100%;
}

.case-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-card) 0%, #2a2535 100%);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
}

.case-image-label {
  position: absolute;
  bottom: 8px;
  left: 8px;
  padding: 3px 8px;
  background: rgba(13, 12, 15, 0.75);
  backdrop-filter: blur(8px);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.case-image-label.result-label {
  background: rgba(201, 169, 110, 0.2);
  color: var(--accent);
}

.case-review {
  padding: 20px 20px 22px;
}

.case-review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-dim), var(--bg-card));
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.review-author-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.review-stars {
  display: flex;
  gap: 2px;
  margin-top: 2px;
}

.review-star {
  width: 12px;
  height: 12px;
  color: var(--accent);
}

.review-text {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-section {
  background: var(--bg-secondary);
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}

.steps-row::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(10% + 20px);
  right: calc(10% + 20px);
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border) 15%, var(--border) 85%, transparent);
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  position: relative;
}

.step-number-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  transition: border-color var(--transition), background var(--transition);
}

.step-item:hover .step-number-wrap {
  border-color: var(--accent);
  background: var(--accent-dim);
}

.step-icon {
  font-size: 24px;
  line-height: 1;
}

.step-icon-svg {
  color: var(--text-secondary);
  transition: color var(--transition);
}

.step-item:hover .step-icon-svg {
  color: var(--accent);
}

.step-num {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  color: #0D0C0F;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.step-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ============================================================
   STYLE PICKER — «Кем ты хочешь быть»
   ============================================================ */
.style-picker-section {
  overflow: hidden;
}

/* Обёртка — квадратный холст, максимум 560px */
.style-picker {
  position: relative;
  width: 100%;
  max-width: 850px;
  aspect-ratio: 5 / 4; 
  margin: 0 auto 32px;
  user-select: none;
}

/* SVG-линии на фоне */
.style-picker-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.sp-line {
  stroke: var(--accent);
  stroke-width: 1;
  stroke-dasharray: 10 15; /* Длиннее пунктир */
  opacity: 0.15; /* Менее заметные линии */
  transition: opacity 0.25s ease, stroke 0.25s ease;
}

.sp-line.active {
  opacity: 0.5;
  stroke: var(--accent);
  stroke-dasharray: none;
}

/* Центральная фигура */
.style-picker-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 48%; 
  aspect-ratio: 2 / 3; 
  z-index: 5;
}

.style-figure-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  /* Removed border-radius and shadow for "full size" look */
  overflow: hidden;
  background: transparent;
}

/* --- Style Photos Layering --- */
.style-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
  z-index: 1;
}

/* Show photo based on active state */
.style-figure-wrap[data-active=""]          .style-photo-brunette,
.style-figure-wrap[data-active="natural"]   .style-photo-brunette,
.style-figure-wrap[data-active="blonde"]    .style-photo-blonde,
.style-figure-wrap[data-active="redhead"]   .style-photo-redhead,
.style-figure-wrap[data-active="ash"]       .style-photo-ash,
.style-figure-wrap[data-active="bob"]       .style-photo-bob,
.style-figure-wrap[data-active="curly"]     .style-photo-curly,
.style-figure-wrap[data-active="cascade"]   .style-photo-natural {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* --- Label overlay removed as per request --- */
.style-figure-label {
  display: none !important;
}

/* Пилюли */
.style-pill {
  position: absolute;
  left: var(--pill-x);
  top: var(--pill-y);
  transform: translate(-50%, -50%);
  padding: 7px 16px;
  border-radius: 999px;
  background: #1A1820; /* Solid background to mask lines */
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  z-index: 10;
}

[data-theme="light"] .style-pill {
  background: #F3EFE9; /* Solid light background */
  color: #2D2A26; /* Dark text for contrast */
}

[data-theme="light"] .style-pill:hover,
[data-theme="light"] .style-pill.active {
  color: #8C7342; /* Darker gold for better contrast on light bg */
  background: rgba(201, 169, 110, 0.15);
}

.style-pill:hover,
.style-pill.active {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 18px rgba(201, 169, 110, 0.2);
  transform: translate(-50%, -50%) scale(1.06);
}

/* Цветовые акценты на пилюлях */
.style-pill[data-style="blonde"]   { --pill-color: #E8C97A; }
.style-pill[data-style="brunette"] { --pill-color: #6B4226; }
.style-pill[data-style="redhead"]  { --pill-color: #C0511A; }
.style-pill[data-style="ash"]      { --pill-color: #9B9BA8; }
.style-pill[data-style="bob"]      { --pill-color: #8B6240; }
.style-pill[data-style="curly"]    { --pill-color: #7B4F2E; }
.style-pill[data-style="fringe"]   { --pill-color: #4A3020; }
.style-pill[data-style="long"]     { --pill-color: #C9A96E; }

.style-pill:hover,
.style-pill.active {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 18px rgba(201, 169, 110, 0.2);
  transform: translate(-50%, -50%) scale(1.06);
}

/* Подсказка под блоком */
.style-picker-hint {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 48px;
}

/* Десктоп — мобильный ряд пилюль скрыт */
.sp-mobile { display: none; }

/* Мобильный: пилюли в строку под фигурой */
@media (max-width: 600px) {
  .sp-desktop { display: none !important; }
  .style-picker-lines { display: none; }

  .sp-mobile {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 8px 0 0;
  }

  .style-picker {
    aspect-ratio: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .style-picker-center {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 52%;
    min-width: 130px;
    height: auto;
  }

  .style-figure-wrap {
    width: 100%;
    height: 0;
    padding-bottom: 180%; /* 200:360 = 55.5% → инвертируем для height-trick */
  }

  .style-figure-base,
  .style-hair-layer {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
  }

  .style-figure-label {
    bottom: -26px;
  }

  /* Пилюли в мобильной обёртке — не абсолютные */
  .sp-mobile .style-pill {
    position: static;
    transform: none;
  }

  .sp-mobile .style-pill:hover,
  .sp-mobile .style-pill.active {
    transform: scale(1.04);
  }
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 860px;
  margin: 0 auto 44px;
}

.pricing-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px 32px;
  position: relative;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.pricing-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.pricing-card.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-glow);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  background: var(--accent);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  color: #0D0C0F;
  white-space: nowrap;
}

.pricing-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.pricing-credits {
  font-size: 36px;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-credits span {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
}

.pricing-discount {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(76, 175, 114, 0.15);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--success);
  margin-bottom: 14px;
}

.pricing-note {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.pricing-radio {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-radius: 50%;
  transition: border-color var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-card.selected .pricing-radio {
  border-color: var(--accent);
}

.pricing-radio-dot {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  transition: opacity var(--transition);
}

.pricing-card.selected .pricing-radio-dot {
  opacity: 1;
}

.pricing-cta-wrap {
  text-align: center;
}

.btn-pricing {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 48px;
  background: var(--accent);
  color: #0D0C0F;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-pricing:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(201, 169, 110, 0.35);
}

.pricing-security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.pricing-security-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ============================================================
   TIPS
   ============================================================ */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.tip-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  transition: border-color var(--transition), transform var(--transition);
}

.tip-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.tip-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-dim);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.tip-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.tip-text {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section {
  background: var(--bg-secondary);
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.open {
  border-color: var(--border-accent);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  gap: 16px;
  cursor: pointer;
  transition: color var(--transition);
}

.faq-item.open .faq-question {
  color: var(--accent);
}

.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform var(--transition-slow), color var(--transition);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow) ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.contact-info-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-secondary);
}

.contact-detail-icon {
  width: 36px;
  height: 36px;
  background: var(--accent-dim);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-form {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
}

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

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 15px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: none;
}

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

.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
}

.form-textarea {
  height: 110px;
}

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--accent);
  color: #0D0C0F;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  margin-top: 4px;
}

.form-submit:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.form-success {
  display: none;
  text-align: center;
  padding: 32px 16px;
}

.form-success.visible {
  display: block;
}

.form-success-icon {
  width: 56px;
  height: 56px;
  background: var(--success-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 26px;
}

.form-success-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-success-text {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ============================================================
   FOOTER CTA
   ============================================================ */
.footer-cta {
  padding: 88px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.footer-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(201, 169, 110, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.footer-cta-title {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 18px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.footer-cta-sub {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

/* --- Theme Polishing --- */
[data-theme="light"] .hero::before {
  background: radial-gradient(circle, rgba(201, 169, 110, 0.12) 0%, transparent 65%);
}
[data-theme="light"] .hero::after {
  background: radial-gradient(circle, rgba(130, 80, 200, 0.08) 0%, transparent 65%);
}
[data-theme="light"] .footer-cta::before {
  background: radial-gradient(ellipse, rgba(201, 169, 110, 0.1) 0%, transparent 65%);
}

/* --- Theme-specific CTA Colors --- */
[data-theme="light"] .btn-primary,
[data-theme="light"] .btn-pricing,
[data-theme="light"] .form-submit {
  color: #FFFFFF !important;
}

/* Adjust card transitions */
.case-card, .pricing-card, .tip-card, .faq-item, .contact-form {
  transition: all var(--transition-slow);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 44px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.footer-logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

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

.footer-link {
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-link:hover {
  color: var(--text-secondary);
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.footer-payments {
  display: flex;
  align-items: center;
  gap: 10px;
}

.payment-badge {
  padding: 5px 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================================
   DIVIDER
   ============================================================ */
.section-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border) 20%, var(--border) 80%, transparent);
  margin: 0;
}

/* ============================================================
   UTILITY
   ============================================================ */
.text-accent { color: var(--accent); }
.text-muted  { color: var(--text-muted); }

/* ============================================================
   1366×768 — уменьшаем hero и отступы секций
   ============================================================ */
@media (max-height: 820px) and (min-width: 1024px) {
  html {
    font-size: 14px;           /* базовый размер: 14px вместо 16px (~87.5%) */
  }

  .header-inner {
    height: 56px;              /* шапка: 56px вместо 68px */
  }

  .hero {
    padding: 40px 0 48px;      /* hero: вдвое меньше отступов */
  }

  .hero-title {
    font-size: clamp(28px, 4.5vw, 52px);
    margin-bottom: 14px;
  }

  .hero-description {
    font-size: 15px;
    margin-bottom: 24px;
    line-height: 1.55;
  }

  .hero-badge {
    margin-bottom: 16px;
  }

  .hero-stats {
    margin-top: 32px;
    padding-top: 24px;
    gap: 28px;
  }

  .hero-stat-value {
    font-size: 22px;
  }

  .hero-video-wrap {
    max-width: 400px;
  }

  .section {
    padding: 56px 0;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .section-title {
    font-size: clamp(22px, 3.5vw, 36px);
  }

  .section-subtitle {
    font-size: 15px;
    margin-top: 10px;
  }

  .btn-primary {
    padding: 13px 26px;
    font-size: 14px;
  }

  .footer-cta {
    padding: 56px 0;
  }

  .footer-cta-title {
    font-size: clamp(24px, 4vw, 40px);
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .steps-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .steps-row::before { display: none; }

  .tips-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pricing-grid {
    gap: 16px;
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 16px;
  }

  .section { padding: 64px 0; }
  .hero { padding: 60px 0 72px; }

  .steps-row {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .tips-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-right {
    align-items: center;
  }

  .hero-stats {
    gap: 28px;
  }

  .contact-form {
    padding: 24px 20px;
  }
}

@media (max-width: 480px) {
  .hero-cta-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .steps-row {
    grid-template-columns: 1fr;
  }

  .tips-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    max-width: 100%;
  }
}

/* ============================================================
   SCROLL-REVEAL ANIMATION
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger siblings */
[data-reveal]:nth-child(2) { transition-delay: 0.08s; }
[data-reveal]:nth-child(3) { transition-delay: 0.16s; }
[data-reveal]:nth-child(4) { transition-delay: 0.24s; }
[data-reveal]:nth-child(5) { transition-delay: 0.32s; }

/* ============================================================
   GLOW EFFECTS ON CARDS
   ============================================================ */

/* Case cards — золотое свечение при hover */
.case-card {
  transition: border-color var(--transition-slow),
              box-shadow var(--transition-slow),
              transform var(--transition-slow);
}

.case-card:hover {
  border-color: var(--border-accent);
  box-shadow: 0 0 0 1px rgba(201, 169, 110, 0.15),
              0 8px 40px rgba(201, 169, 110, 0.1),
              0 2px 12px rgba(0, 0, 0, 0.5);
  transform: translateY(-3px);
}

/* Tip cards — тонкое свечение */
.tip-card {
  transition: border-color var(--transition),
              box-shadow var(--transition),
              transform var(--transition);
}

.tip-card:hover {
  border-color: var(--border-accent);
  box-shadow: 0 0 0 1px rgba(201, 169, 110, 0.12),
              0 6px 28px rgba(201, 169, 110, 0.08);
  transform: translateY(-3px);
}

/* Pricing selected — постоянное свечение */
.pricing-card.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent),
              0 0 32px rgba(201, 169, 110, 0.18),
              0 4px 20px rgba(0, 0, 0, 0.4);
}

/* Step number circles — свечение при hover */
.step-number-wrap {
  transition: border-color var(--transition),
              background var(--transition),
              box-shadow var(--transition);
}

.step-item:hover .step-number-wrap {
  border-color: var(--accent);
  background: var(--accent-dim);
  box-shadow: 0 0 20px rgba(201, 169, 110, 0.2);
}

/* FAQ items */
.faq-item.open {
  border-color: var(--border-accent);
  box-shadow: 0 0 20px rgba(201, 169, 110, 0.06);
}

/* Contact form */
.contact-form {
  transition: box-shadow var(--transition-slow);
}

.contact-form:focus-within {
  box-shadow: 0 0 40px rgba(201, 169, 110, 0.08);
}

/* ============================================================
   CLICKABLE IMAGES — zoom hint
   ============================================================ */
.case-image-wrap.clickable {
  cursor: zoom-in;
}

.case-image-zoom {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  background: rgba(13, 12, 15, 0.7);
  backdrop-filter: blur(8px);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity var(--transition), transform var(--transition);
  pointer-events: none;
}

.case-image-wrap.clickable:hover .case-image-zoom {
  opacity: 1;
  transform: scale(1);
}

/* ============================================================
   IMAGE MODAL
   ============================================================ */
.img-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.img-modal.open {
  opacity: 1;
  visibility: visible;
}

.img-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 6, 9, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: zoom-out;
}

.img-modal-inner {
  position: relative;
  z-index: 1;
  max-width: min(560px, calc(100vw - 40px));
  width: 100%;
  transform: scale(0.92) translateY(12px);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.img-modal.open .img-modal-inner {
  transform: scale(1) translateY(0);
}

.img-modal-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  z-index: 2;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition);
}

.img-modal-close:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
  color: var(--accent);
  transform: rotate(90deg);
}

.img-modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(201, 169, 110, 0.1),
              0 32px 80px rgba(0, 0, 0, 0.7),
              0 0 60px rgba(201, 169, 110, 0.08);
  aspect-ratio: 3/4;
  display: flex;
  align-items: stretch;
}

.img-modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.img-modal-img.loaded {
  display: block;
}

.img-modal-placeholder {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: linear-gradient(135deg, var(--bg-card) 0%, #2a2535 100%);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 20px;
  text-align: center;
}

.img-modal-caption {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.03em;
}

/* ============================================================
   HERO ENTRANCE ANIMATION
   ============================================================ */
.hero-badge {
  animation: fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.05s;
}

.hero-title {
  animation: fade-up 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.15s;
}

.hero-description {
  animation: fade-up 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.25s;
}

.hero-cta-group {
  animation: fade-up 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.32s;
}

.hero-stats {
  animation: fade-up 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.42s;
}

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

/* ============================================================
   SECTION HEADERS REVEAL
   ============================================================ */
.section-header .section-label,
.section-header .section-title,
.section-header .section-subtitle {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.section-header.revealed .section-label { opacity: 1; transform: none; transition-delay: 0s; }
.section-header.revealed .section-title  { opacity: 1; transform: none; transition-delay: 0.08s; }
.section-header.revealed .section-subtitle { opacity: 1; transform: none; transition-delay: 0.16s; }

/* ============================================================
   WIDE CASE CARDS — 3 photos in a row
   ============================================================ */
/* ============================================================
   CASES SLIDER — Horizontal carousel
   ============================================================ */
.cases-slider-outer {
  position: relative;
  width: 100%;
  padding: 0;
}

.cases-slider-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 0 auto;
  border-radius: var(--radius-xl);
}

.cases-slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.case-card-wide {
  flex: 0 0 100%;
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.case-card-wide:hover {
  border-color: var(--border-accent);
}

/* Photos row */
.case-photos-row {
  display: grid;
  grid-template-columns: 1fr 36px 1fr 1fr;
  gap: 0;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
}

.case-photo {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.case-photo.clickable {
  cursor: zoom-in;
}

.case-photo-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-card) 0%, #2a2535 100%);
  transition: filter 0.25s ease;
}

.case-photo.clickable:hover .case-photo-inner {
  filter: brightness(1.08);
}

.case-photo-result .case-photo-inner {
  border-left: 1px solid var(--border);
}

/* divider with arrow */
.case-photo-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  z-index: 1;
}

.case-photo-arrow {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1;
}

/* label at bottom */
.case-photo-label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  padding: 3px 8px;
  background: rgba(13,12,15,0.75);
  backdrop-filter: blur(8px);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  pointer-events: none;
}

.case-photo-label.result-label {
  background: rgba(201,169,110,0.18);
  color: var(--accent);
}

/* zoom icon */
.case-photo .case-image-zoom {
  top: 10px;
  right: 10px;
}

/* Review row */
.case-review-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 24px 22px;
}

.review-body {
  flex: 1;
  min-width: 0;
}

.review-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

/* --- Slider Control Buttons --- */
.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(26, 24, 32, 0.4);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(201, 169, 110, 0.2);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition);
  opacity: 0;
  visibility: hidden;
}

.cases-slider-outer:hover .slider-nav-btn {
  opacity: 1;
  visibility: visible;
}

.slider-nav-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #0D0C0F;
  box-shadow: var(--shadow-glow);
}

.slider-nav-btn.prev { left: 20px; }
.slider-nav-btn.next { right: 20px; }

/* Arrows outside on large screens */
@media (min-width: 1300px) {
  .slider-nav-btn.prev { left: -70px; }
  .slider-nav-btn.next { right: -70px; }
  .slider-nav-btn {
    opacity: 1 !important;
    visibility: visible !important;
  }
}

.slider-nav-btn:disabled {
  opacity: 0.1 !important;
  cursor: not-allowed;
  pointer-events: none;
}

/* --- Slider Dots --- */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  padding: 0;
}

.slider-dot:hover {
  background: var(--text-muted);
}

.slider-dot.active {
  background: var(--accent);
  transform: scale(1.25);
  box-shadow: 0 0 8px rgba(201, 169, 110, 0.4);
}
@media (max-width: 1024px) {
  .nav { display: none; }
  .burger { display: flex; }
  .mobile-nav { display: flex; }
  .btn-header-cta { display: none; }
  .app-header-balance { display: none !important; }

  .case-photos-row {
    grid-template-columns: 1fr 28px 1fr 1fr;
  }

  .slider-nav-btn {
    opacity: 1;
    visibility: visible;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 768px) {
  .case-photos-row {
    grid-template-columns: 1fr 24px 1fr 1fr;
  }

  .case-review-row {
    padding: 16px 18px 18px;
  }
}

@media (max-width: 540px) {
  /* Stack photos: original on top, two results below side by side */
  .case-photos-row {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .case-photo:first-child {
    grid-column: 1 / -1; /* original full width */
    aspect-ratio: 16/9;
  }

  .case-photo-divider {
    display: none;
  }

  .case-photo-result {
    aspect-ratio: 1/1;
  }

  .case-photo-result .case-photo-inner {
    border-left: none;
    border-top: 1px solid var(--border);
  }
}

