/* ======================================
   DESIGN TOKENS
   ====================================== */
:root {
  --bg-dark: #0a0e1a;
  --bg-card: #111827;
  --bg-card-hover: #1a2332;
  --surface: #1e293b;
  --surface-light: #2d3a4f;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent: #3b82f6;
  --accent-light: #60a5fa;
  --accent-dark: #2563eb;
  --gradient-start: #3b82f6;
  --gradient-mid: #8b5cf6;
  --gradient-end: #ec4899;
  --success: #10b981;
  --warning: #f59e0b;
  --telegram: #0088cc;
  --telegram-dark: #006daa;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 60px rgba(59, 130, 246, 0.15);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ======================================
   RESET & BASE
   ====================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden !important;
  max-width: 100vw;
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden !important;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

img,
video {
  max-width: 100%;
}

* {
  min-width: 0;
}

.ticker-item a {
  color: inherit;
  text-decoration: none;
}

.ticker-item a:hover {
  color: var(--accent-light);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
  width: 100%;
}

.gradient-text {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.accent {
  color: var(--accent-light);
}

.nav__logo-icon {
  font-size: 1.6rem;
  filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.5));
}

/* ======================================
   NAVBAR
   ====================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(10, 14, 26, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.navbar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  flex-shrink: 0;
  text-decoration: none;
}

.navbar__logo-icon {
  font-size: 1.4rem;
  filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.5));
}

.navbar__logo-accent {
  color: var(--accent-light);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  flex: 1;
}

.navbar__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
  text-decoration: none;
}

.navbar__link:hover {
  color: var(--text-primary);
}

.navbar__cta {
  flex-shrink: 0;
  padding: 9px 18px;
  font-size: 0.85rem;
}

.hero__header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 24px 0;
  pointer-events: none;
}

.hero__header .header__top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.hero__header .navbar__logo {
  pointer-events: auto;
  font-size: 1.25rem;
}

.hero__header .header__phone {
  pointer-events: auto;
}

@media (max-width: 768px) {
  .hero__header {
    position: relative;
    padding: 16px;
    z-index: 5;
  }

  .hero__header .header__top-row {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .navbar__links {
    display: none;
  }

  .navbar__cta {
    display: none;
  }
}

/* ======================================
   HERO MASTER — color overlay
   ====================================== */
.hero__master-color-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg,
      rgba(10, 14, 26, 0.18) 0%,
      rgba(59, 130, 246, 0.12) 50%,
      rgba(10, 14, 26, 0.35) 100%);
  mix-blend-mode: multiply;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
}

/* ======================================
   BUTTONS
   ====================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--gradient-mid));
  color: #fff;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.5);
}

.btn--quiz {
  background: var(--telegram);
  color: #fff;
  box-shadow: 0 4px 24px rgba(0, 136, 204, 0.4);
  font-size: 1.05rem;
  padding: 16px 36px;
}

.btn--quiz:hover {
  background: var(--telegram-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 136, 204, 0.55);
}

.btn--telegram {
  background: linear-gradient(135deg, #0088cc, #0077b5);
  color: #fff;
  box-shadow: 0 4px 24px rgba(0, 136, 204, 0.45);
  font-size: 1.05rem;
  padding: 16px 36px;
}

.btn--telegram:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 136, 204, 0.55);
  background: linear-gradient(135deg, #009deb, #0088cc);
}

.btn--telegram .tg-icon {
  flex-shrink: 0;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 1px solid transparent;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.btn:disabled {
  opacity: 0.4;
  pointer-events: none;
}

.btn--lg {
  padding: 18px 40px;
  font-size: 1.1rem;
}

.btn--sm {
  padding: 8px 16px;
  font-size: 0.8rem;
  border-radius: 8px;
  white-space: normal;
  text-align: center;
  line-height: 1.3;
}

.btn--sm .tg-icon-sm {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ======================================
   SECTION HEADERS
   ====================================== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(59, 130, 246, 0.12);
  color: var(--accent-light);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* ======================================
   HERO
   ====================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  padding: 40px 40px 60px;
  overflow: hidden;
  box-sizing: border-box;
  max-width: 100%;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3) contrast(1.15) saturate(0.7);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(10, 14, 26, 0.92) 0%, rgba(10, 14, 26, 0.55) 55%, rgba(10, 14, 26, 0.25) 100%),
    radial-gradient(ellipse 70% 50% at 25% 50%, rgba(0, 136, 204, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.hero__particles .particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.5);
  animation: floatUp linear infinite;
}

@keyframes floatUp {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-100vh) scale(0);
    opacity: 0;
  }
}

/* Hero layout: text left, master right */
.hero__layout {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 40px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.hero__content {
  flex: 1;
  min-width: 0;
}

.hero__badge {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.25);
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease-out;
}

.hero__title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 16px;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero__subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero__actions {
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero__stats {
  display: flex;
  gap: 32px;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.stat {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-primary);
}

.stat__number {
  font-variant-numeric: tabular-nums;
}

.stat__label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Master photo */
.hero__master {
  flex: 0 0 380px;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero__master-img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 136, 204, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.08);
  object-fit: cover;
  aspect-ratio: 3/4;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.75rem;
  animation: bounce 2s ease-in-out infinite;
  z-index: 3;
}

.scroll-hint__arrow {
  width: 18px;
  height: 18px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ======================================
   REVIEWS — PIXEL-PERFECT MESSENGER SCREENSHOTS
   ====================================== */
/* Отзыва WhatsApp / Telegram */
.reviews {
  padding: 80px 0;
}

.messenger-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* ======================================
   ВИДЕООТЗЫВЫ
   ====================================== */
.video-reviews {
  padding: 80px 0;
  background-color: var(--bg-dark);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.video-card {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
  aspect-ratio: 9 / 16;
  background-color: #000;
}

.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Плашка поверх видео */
.video-card--with-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.8) 100%);
  pointer-events: none;
}

.video-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px;
  z-index: 2;
  pointer-events: none;
}

/* .video-overlay__tag - removed as per request */


.video-overlay__text {
  font-size: 0.95rem;
  color: #fff;
  line-height: 1.4;
  margin: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(59, 130, 246, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  color: #fff;
}

.video-play-btn:hover {
  background: rgba(59, 130, 246, 0.4);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-play-btn svg {
  width: 28px;
  height: 28px;
  /* Для компенсации визуального смещения треугольника */
}

.video-card--playing .video-play-btn {
  opacity: 0;
  pointer-events: none;
}

.video-card:hover .video-play-btn {
  background: rgba(59, 130, 246, 0.5);
}


.chat-mockup {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  aspect-ratio: 9 / 16;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.chat-mockup:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* WhatsApp Theme */
.chat-wa {
  background-color: #efeae2;
  /* Official WA light background */
}

.chat-wa .chat-header {
  background-color: #075E54;
  color: white;
  padding: 10px 16px;
}

.chat-wa .msg {
  border-radius: 8px;
  box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
}

.chat-wa .msg-in {
  background-color: #FFFFFF;
  color: #111b21;
  border-top-left-radius: 0;
}

.chat-wa .msg-in::before {
  content: "";
  position: absolute;
  top: 0;
  left: -8px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-top: 10px solid #FFFFFF;
  border-right: 0 solid transparent;
  border-bottom: 0 solid transparent;
  filter: drop-shadow(-1px 1px 0.5px rgba(11, 20, 26, 0.05));
}

.chat-wa .msg-out {
  background-color: #d9fdd3;
  /* Official WA light green */
  color: #111b21;
  align-self: flex-end;
  border-top-right-radius: 0;
}

.chat-wa .msg-out::after {
  content: "";
  position: absolute;
  top: 0;
  right: -8px;
  width: 0;
  height: 0;
  border-right: 8px solid transparent;
  border-top: 10px solid #d9fdd3;
  border-left: 0 solid transparent;
  border-bottom: 0 solid transparent;
  filter: drop-shadow(1px 1px 0.5px rgba(11, 20, 26, 0.05));
}

/* Telegram Theme */
.chat-tg {
  background-color: #0f172a;
}

.chat-tg .chat-header {
  background-color: #1c2436;
  /* TG dark navbar */
  color: white;
  padding: 8px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.chat-tg .msg {
  border-radius: 14px;
  box-shadow: none;
}

.chat-tg .msg-in {
  background-color: #182533;
  color: white;
  border-bottom-left-radius: 4px;
}

.chat-tg .msg-in::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -6px;
  width: 14px;
  height: 14px;
  background-color: #182533;
  border-bottom-right-radius: 12px;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  z-index: -1;
}

.chat-tg .msg-out {
  background-color: #2b5278;
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-tg .msg-out::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: -6px;
  width: 14px;
  height: 14px;
  background-color: #2b5278;
  border-bottom-left-radius: 12px;
  clip-path: polygon(0 0, 0 100%, 100% 100%);
  z-index: -1;
}

/* Структура чата */
.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.chat-header-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 17px;
  color: #fff;
  object-fit: cover;
}

.chat-wa .chat-header-avatar {
  background-color: #dfe5e7;
  color: #a0a8ad;
}

.chat-tg .chat-header-avatar {
  background-color: #3b82f6;
}

.chat-header-info {
  display: flex;
  flex-direction: column;
}

.chat-header-name {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
}

.chat-header-status {
  font-size: 13px;
  opacity: 0.8;
  margin-top: 2px;
}

.chat-body {
  flex-grow: 1;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  position: relative;
  /* Hide scrollbar for clean mockups */
  -ms-overflow-style: none;
  scrollbar-width: none;
  /* Узор для WA */
  background-image: url('data:image/svg+xml;utf8,<svg width="40" height="40" xmlns="http://www.w3.org/2000/svg"><path d="M20 20c-1 0-2 .5-2 1.5s1 1.5 2 1.5 2-.5 2-1.5-1-1.5-2-1.5zm0-2c2 0 4 1.5 4 3.5s-2 3.5-4 3.5-4-1.5-4-3.5 2-3.5 4-3.5zm0 14c-1 0-2 .5-2 1.5s1 1.5 2 1.5 2-.5 2-1.5-1-1.5-2-1.5zm0-2c2 0 4 1.5 4 3.5s-2 3.5-4 3.5-4-1.5-4-3.5 2-3.5 4-3.5z" fill="%23dfdfdf" fill-opacity="0.4" fill-rule="evenodd"/></svg>');
}

.chat-body::-webkit-scrollbar {
  display: none;
}

.chat-tg .chat-body {
  background-image: none;
  background-color: #0f172a;
  /* iOS TG dark background doesn't have pattern by default */
}

/* Сообщения */
.msg {
  padding: 6px 10px 8px 10px;
  max-width: 85%;
  font-size: 14.5px;
  line-height: 1.35;
  position: relative;
  margin-bottom: 2px;
  word-break: break-word;
  /* Ensure text wraps */
}

/* Remove tails from non-first/last messages if needed, here we simplify and keep on all to mimic typical single-group chats */

.msg-meta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  float: right;
  margin-top: 4px;
  margin-left: 8px;
  margin-bottom: -4px;
  font-size: 11px;
  line-height: 1;
}

.chat-wa .msg-meta {
  color: rgba(11, 20, 26, 0.45);
}

.chat-wa .msg-out .msg-meta {
  color: rgba(11, 20, 26, 0.55);
}

.chat-tg .msg-meta {
  color: rgba(255, 255, 255, 0.5);
}

.msg-tick svg {
  width: 16px;
  height: 11px;
}

.chat-wa .msg-tick svg path {
  fill: #53bdeb;
  /* Official WA Blue Tick */
}

.chat-tg .msg-tick svg path {
  fill: #43a4ec;
  /* Official TG Blue Tick */
}

.msg-last {
  margin-bottom: 6px;
}

/* Футер (поле ввода) */
.chat-footer {
  padding: 12px 16px;
  font-size: 14px;
  color: #999;
  background-color: #f0f0f0;
  border-top: 1px solid #e0e0e0;
}

.chat-tg .chat-footer {
  background-color: #1e293b;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #64748b;
}

/* =========================================
   ВИДЕООТЗЫВЫ
========================================= */
.video-reviews {
  padding: 80px 0;
  background-color: var(--color-bg-darker, #0a0a0a);
  /* Чуть темнее фон для выделения секции */
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.video-card {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
  background-color: #111;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  aspect-ratio: 9 / 16;
  /* Большинство видео с телефонов вертикальные */
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Обрезает видео, чтобы заполнить карточку, если пропорции не совпадают */
  display: block;
}

/* =========================================
   МАСТЕР ЗА РАБОТОЙ
========================================= */
.catalog {
  padding: 100px 0;
  background: var(--bg-dark);
}

.catalog__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  justify-content: center;
}

.catalog__tab {
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.catalog__tab:hover {
  border-color: var(--accent);
  color: var(--accent-light);
}

.catalog__tab.active {
  background: linear-gradient(135deg, var(--accent), var(--gradient-mid));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

.catalog__table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--bg-card);
  box-shadow: var(--shadow);
  margin-bottom: 40px;
  max-height: 600px;
  overflow-y: auto;
}

.catalog__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.catalog__table thead {
  background: rgba(59, 130, 246, 0.08);
  position: sticky;
  top: 0;
  z-index: 2;
}

.catalog__table th {
  padding: 12px 14px;
  text-align: left;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent-light);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

.catalog__table td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  vertical-align: middle;
}

.catalog__table tbody tr {
  transition: var(--transition);
}

.catalog__table tbody tr:hover {
  background: rgba(59, 130, 246, 0.05);
}

.catalog__table .price-cell {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-primary);
  white-space: nowrap;
}

.catalog__table .price-cell .old-price {
  font-size: 0.75rem;
  font-weight: 400;
  text-decoration: line-through;
  color: var(--text-muted);
  margin-left: 4px;
}

.badge-cell {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
}

.badge--contract {
  background: rgba(59, 130, 246, 0.12);
  color: var(--accent-light);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.badge--restored {
  background: rgba(245, 158, 11, 0.12);
  color: var(--warning);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.catalog__more {
  text-align: center;
  padding-top: 20px;
}

.catalog__more-text {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

/* ======================================
   QUIZ
   ====================================== */
.quiz {
  position: relative;
  padding: 120px 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #0d1225 100%);
}

.quiz__bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.quiz__card {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow), var(--shadow-glow);
  overflow: hidden;
}

.quiz__progress {
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
}

.quiz__progress-bar {
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, var(--accent), var(--gradient-mid));
  border-radius: 0 4px 4px 0;
  transition: width 0.5s ease;
}

.quiz__step-info {
  padding: 16px 32px 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.quiz__body {
  padding: 24px 32px 16px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quiz__step {
  display: none;
  animation: fadeInQuiz 0.4s ease-out;
}

.quiz__step.active {
  display: block;
}

@keyframes fadeInQuiz {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.quiz__question {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.quiz__hint {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.quiz__options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.quiz__option {
  cursor: pointer;
}

.quiz__option input {
  display: none;
}

.quiz__option-body {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  transition: var(--transition);
  font-weight: 500;
}

.quiz__option-icon {
  font-size: 1.3rem;
}

.quiz__option input:checked+.quiz__option-body {
  border-color: var(--accent);
  background: rgba(59, 130, 246, 0.1);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
}

.quiz__option:hover .quiz__option-body {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

.quiz__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 400px;
}

.quiz__input {
  width: 100%;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.quiz__input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.quiz__input::placeholder {
  color: var(--text-muted);
}

.quiz__select {
  width: 100%;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.quiz__select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.quiz__select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

.quiz__hint--small {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 12px;
}

.quiz__option--check input {
  display: none;
}

.quiz__option--check input:checked+.quiz__option-body {
  border-color: var(--accent);
  background: rgba(59, 130, 246, 0.1);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
}

.quiz__option--check .quiz__option-body::after {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: var(--radius-xs);
  border: 2px solid rgba(255, 255, 255, 0.15);
  margin-left: auto;
  flex-shrink: 0;
  transition: var(--transition);
}

.quiz__option--check input:checked+.quiz__option-body::after {
  background: var(--accent);
  border-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.5 4.5l-7 7L3 8'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

.quiz__options--symptoms {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.quiz__nav {
  display: flex;
  justify-content: space-between;
  padding: 16px 32px 28px;
}

.quiz__success {
  text-align: center;
  padding: 30px 0;
}

.quiz__success-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  animation: popIn 0.5s ease-out;
}

.quiz__success h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.quiz__success p {
  color: var(--text-secondary);
  max-width: 400px;
  margin: 0 auto;
}

@keyframes popIn {
  from {
    transform: scale(0);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ======================================
   FOOTER
   ====================================== */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 32px 0 120px 0;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.footer__logo {
  font-size: 1.2rem;
  font-weight: 800;
}

.footer__tg {
  font-weight: 600;
  color: #0088cc;
  transition: var(--transition);
}

.footer__tg:hover {
  color: #60c5f1;
}

.footer__legal {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.footer__legal p {
  margin-bottom: 8px;
}

.footer__policy-link {
  color: var(--text-muted);
  text-decoration: underline;
  transition: var(--transition);
  display: inline-block;
  margin-top: 8px;
}

.footer__policy-link:hover {
  color: var(--text-primary);
}

/* ======================================
   RESPONSIVE
   ====================================== */
@media (max-width: 1024px) {
  .hero {
    padding: 40px 24px 50px;
  }

  .hero__master {
    flex: 0 0 300px;
  }

  .messenger-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 20px 16px 40px;
    min-height: auto;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    flex-direction: column;
    align-items: stretch;
  }

  .hero__layout {
    flex-direction: column;
    text-align: left;
    gap: 16px;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
  }

  .hero__content {
    max-width: 100%;
    min-width: 0;
  }

  /* Скрываем лишние блоки на мобильном */
  .hero__pain-strip,
  .scroll-hint,
  .price-ticker {
    display: none !important;
  }

  .hero__header {
    position: relative;
    padding: 12px 0;
  }

  /* Рейтинги — в поток, компактные */
  .hero__ratings {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 6px;
    margin-bottom: 12px;
    width: 100%;
    max-width: 100%;
  }

  .hero__ratings--center {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    width: auto;
    max-width: 100%;
  }

  .rating-badge {
    padding: 4px 8px;
    font-size: 0.65rem;
    gap: 5px;
  }

  .rating-badge__reviews {
    font-size: 0.6rem;
  }

  .rating-badge__score {
    font-size: 0.65rem;
  }

  /* Карточка мастера — компактная, сверху */
  .hero__master,
  .hero__master--large {
    flex: 0 0 auto !important;
    max-width: 100% !important;
    width: 75%;
    margin: 0 auto;
    order: -1;
  }

  .hero__master-card {
    min-height: auto;
    max-height: none;
    height: auto;
    aspect-ratio: 3/4;
    border-radius: 14px;
    width: 100%;
  }

  .hero__master--large .hero__master-img {
    width: 100%;
    height: 100%;
    min-height: auto;
    max-height: none;
    object-fit: cover;
    object-position: center 10%;
  }

  .hero__master-overlay {
    padding: 6px 10px 8px;
    gap: 2px;
    background: linear-gradient(0deg, rgba(10, 14, 26, 0.97) 0%, rgba(10, 14, 26, 0.5) 50%, transparent 100%);
  }

  .hero__master-badge {
    font-size: 0.6rem;
    padding: 1px 6px;
  }

  .hero__master-name {
    font-size: 0.6rem;
    display: none;
  }

  .hero__master-tg-btn {
    display: none;
  }

  /* Счётчики — в ряд, компактно */
  .hero__stats {
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.8em;
  }

  .hero__actions {
    justify-content: flex-start;
  }

  .hero__pains {
    text-align: left;
  }

  .hero__subtitle {
    text-align: left;
  }

  .hero__address {
    justify-content: flex-start;
  }

  .messenger-grid {
    grid-template-columns: 1fr;
  }

  .quiz__options {
    grid-template-columns: 1fr 1fr;
  }

  .quiz__body {
    padding: 20px;
  }

  .quiz__nav {
    padding: 12px 20px 24px;
  }

  .catalog__table {
    font-size: 0.85rem;
    border: none;
  }

  .catalog__table thead {
    display: none;
  }

  .catalog__table tr {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
  }

  .catalog__table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    text-align: right;
  }

  .catalog__table td:last-child {
    border-bottom: none;
    margin-top: 8px;
    justify-content: center;
  }

  .catalog__table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-right: 16px;
    text-align: left;
  }

  .footer__top {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 1.8rem;
    line-height: 1.15;
  }

  .hero__subtitle {
    font-size: 0.92rem;
  }

  .hero__pain {
    font-size: 0.82rem;
  }

  .btn--telegram {
    padding: 14px 20px;
    font-size: 0.9rem;
    white-space: normal;
    text-align: center;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  .btn--lg {
    padding: 14px 28px;
    font-size: 0.95rem;
  }

  .quiz__options {
    grid-template-columns: 1fr;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .catalog__tabs {
    gap: 6px;
  }

  .catalog__tab {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
}

/* ======================================
   RATING BADGES (hero top)
   ====================================== */
.hero__ratings {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  z-index: 4;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0 16px;
}

.rating-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 7px 16px;
  animation: fadeInUp 0.8s ease-out both;
}

.rating-badge:nth-child(2) {
  animation-delay: 0.1s;
}

.rating-badge:nth-child(3) {
  animation-delay: 0.2s;
}

.rating-badge__logo {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.rating-badge__logo--drom {
  color: #ff6b00;
}

.rating-badge__logo--drive2 {
  color: #e84a2f;
}

.rating-badge__logo--avito {
  color: #00aeef;
}

.rating-badge__stars {
  font-size: 0.72rem;
  color: #f59e0b;
  letter-spacing: 1px;
}

.rating-badge__score {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
}

.rating-badge__reviews {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ======================================
   HERO MASTER CAPTION
   ====================================== */
.hero__master-caption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.hero__master-online {
  color: #10b981;
  font-weight: 700;
  font-size: 0.78rem;
}

/* ======================================
   STICKY BOTTOM CTA BAR
   ====================================== */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 24px;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(24px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sticky-cta.visible {
  transform: translateY(0);
}

.sticky-cta__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.sticky-cta__master {
  position: relative;
  flex-shrink: 0;
}

.sticky-cta__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #10b981;
}

.sticky-cta__online-dot {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid rgba(15, 23, 42, 0.9);
  animation: blink-dot 1.6s ease-in-out infinite;
}

@keyframes blink-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.sticky-cta__info {
  flex: 1;
  min-width: 0;
}

.sticky-cta__name {
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sticky-cta__online-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #10b981;
  animation: blink-text 1.6s ease-in-out infinite;
}

@keyframes blink-text {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }
}

.sticky-cta__subtext {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.sticky-cta__btn {
  flex-shrink: 0;
  padding: 12px 28px;
  font-size: 0.95rem;
}

/* ======================================
   MASTER "ABOUT" SECTION (before catalog)
   ====================================== */
.master-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #0d1225 0%, var(--bg-dark) 100%);
  overflow: hidden;
}

.master-section__layout {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 100%;
}

.master-section__photo {
  flex: 0 0 380px;
  position: relative;
}

.master-section__img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.08);
  object-fit: cover;
  aspect-ratio: 4/5;
}

.master-section__photo-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.master-section__title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.2;
  margin: 16px 0 20px;
}

.master-section__desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.master-section__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.master-section__list li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ======================================
   MASTER CTA (before quiz)
   ====================================== */
.master-cta {
  padding: 60px 0;
  background: linear-gradient(135deg, rgba(0, 136, 204, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.master-cta__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.master-cta__photo-wrap {
  position: relative;
  flex-shrink: 0;
}

.master-cta__photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #0088cc;
  box-shadow: 0 0 30px rgba(0, 136, 204, 0.3);
}

.master-cta__online {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 14, 26, 0.9);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 50px;
  padding: 2px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #10b981;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
}

.online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  animation: blink-dot 1.6s ease-in-out infinite;
}

.master-cta__text h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.master-cta__text p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.master-cta__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.master-cta__or {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ======================================
   RESPONSIVE: NEW ELEMENTS
   ====================================== */
@media (max-width: 1024px) {
  .hero__ratings {
    left: 24px;
    right: 24px;
    flex-wrap: wrap;
    gap: 8px;
  }

  .master-section__layout {
    gap: 32px;
  }

  .master-section__photo {
    flex: 0 0 280px;
  }
}

@media (max-width: 768px) {
  .hero__ratings {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
  }

  .hero__ratings--center {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    width: auto;
    max-width: 100%;
  }

  .rating-badge__reviews {
    display: none;
  }

  .rating-badge {
    padding: 5px 10px;
    font-size: 0.75rem;
  }

  .rating-badge__stars {
    font-size: 0.65rem;
  }

  .hero__master--large {
    flex: 0 0 auto;
    max-width: 100%;
    width: 70%;
    margin: 0 auto;
    order: -1;
  }

  .hero__master-card {
    min-height: auto;
    max-height: 350px;
  }

  .hero__master--large .hero__master-img {
    min-height: auto;
    max-height: 350px;
  }

  .master-section {
    padding: 60px 0;
  }

  .master-section__layout {
    flex-direction: column;
    gap: 32px;
  }

  .master-section__photo {
    flex: none;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .master-cta__inner {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .master-cta__actions {
    justify-content: center;
  }

  .master-cta__text h2 {
    font-size: 1.3rem;
  }

  .sticky-cta__subtext {
    display: none;
  }

  .sticky-cta__btn {
    padding: 10px 18px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .hero__ratings {
    gap: 4px;
  }

  .rating-badge {
    padding: 4px 8px;
  }

  .rating-badge__logo {
    font-size: 0.7rem;
  }

  .rating-badge__score {
    display: none;
  }

  .sticky-cta__name {
    font-size: 0.85rem;
  }
}

/* ======================================
   PAIN CARDS SECTION
   ====================================== */
.pains {
  padding: 90px 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #0a0f1e 100%);
}

.pains__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pain-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pain-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-mid));
  opacity: 0;
  transition: opacity 0.3s;
}

.pain-card:hover {
  border-color: rgba(59, 130, 246, 0.2);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.pain-card:hover::before {
  opacity: 1;
}

.pain-card__icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
  display: block;
}

.pain-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.4;
}

.pain-card__text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
}

.pain-card__badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--success);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 50px;
  padding: 4px 12px;
}

/* ======================================
   QUIZ — WAREHOUSE BACKGROUND
   ====================================== */
.quiz {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.quiz__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.quiz__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.25) contrast(1.1) saturate(0.6);
}

.quiz__bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10, 14, 26, 0.7) 0%, rgba(10, 14, 26, 0.5) 50%, rgba(10, 14, 26, 0.7) 100%),
    radial-gradient(ellipse 60% 60% at 50% 50%, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
}

.quiz__container {
  position: relative;
  z-index: 2;
}

/* Ensure old .quiz__bg-glow doesn't conflict */
.quiz__bg-glow {
  display: none;
}

/* ======================================
   RESPONSIVE: PAIN CARDS
   ====================================== */
@media (max-width: 1024px) {
  .pains__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .pains__grid {
    grid-template-columns: 1fr;
  }

  .pain-card {
    padding: 22px 18px;
  }
}

/* ======================================
   HERO — CENTERED RATINGS
   ====================================== */
.hero__ratings--center {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  justify-content: center;
  width: 100%;
  max-width: 100%;
}

/* ======================================
   HERO — PRE-BUTTON BADGE
   ====================================== */
.hero__pre-btn {
  margin-bottom: 14px;
}

/* Make the badge look slightly different (smaller) */
.hero__pre-btn .hero__badge {
  font-size: 0.8rem;
  padding: 6px 14px;
  margin-bottom: 0;
  animation: none;
}

/* ======================================
   HERO — ADDRESS LINE
   ====================================== */
.hero__address {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.hero__address-link {
  color: var(--accent-light);
  text-decoration: underline;
  text-decoration-color: rgba(96, 165, 250, 0.4);
  transition: color 0.2s;
}

.hero__address-link:hover {
  color: #93c5fd;
}

/* ======================================
   HERO — PAIN STRIP (bottom of hero)
   ====================================== */
.hero {
  padding-bottom: 80px;
  /* extra space for pain strip */
}

.hero__pain-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  align-items: stretch;
  background: rgba(10, 14, 26, 0.75);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.hero__pain-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.hero__pain-item strong {
  color: var(--text-primary);
}

.hero__pain-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.hero__pain-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.07);
  align-self: stretch;
  flex-shrink: 0;
}

/* ======================================
   HERO TITLE — PAIN CONTRAST STYLE
   ====================================== */
.hero__title-pain {
  font-size: 0.72em;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
  display: block;
  line-height: 1.4;
}

.hero__title-pain em {
  font-style: normal;
  color: #f87171;
  /* red-ish — bad / pain */
  font-weight: 800;
}

@media (max-width: 900px) {
  .hero__ratings--center {
    transform: translateX(-50%);
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero__pain-strip {
    flex-wrap: wrap;
  }

  .hero__pain-item {
    flex: 1 1 45%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }

  .hero__pain-divider {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero__ratings--center {
    top: 12px;
    gap: 6px;
  }

  .hero__pain-item {
    flex: 1 1 100%;
    padding: 10px 16px;
    font-size: 0.78rem;
  }

  .hero__pain-icon {
    font-size: 1.1rem;
  }
}

/* ======================================
   HERO — PAIN BULLETS LIST
   ====================================== */
.hero__pains {
  list-style: none;
  margin: 18px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.hero__pain {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.hero__pain strong {
  color: var(--text-primary);
}

.hero__pain-check {
  flex-shrink: 0;
  font-size: 1rem;
  margin-top: 1px;
}

/* ======================================
   HERO — LARGE MASTER CARD
   ====================================== */
.hero__master--large {
  flex: 0 0 42%;
  max-width: 42%;
  display: flex;
  align-items: center;
  /* prevent stretching */
}

.hero__master-card {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(59, 130, 246, 0.15);
  aspect-ratio: 3/4;
}

.hero__master--large .hero__master-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: brightness(0.92) contrast(1.05);
}

.hero__master-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(10, 14, 26, 0.95) 0%, rgba(10, 14, 26, 0.7) 60%, transparent 100%);
  padding: 28px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero__master-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #4ade80;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 50px;
  padding: 4px 10px;
  width: fit-content;
}

.hero__master-online-dot {
  width: 7px;
  height: 7px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 1.8s infinite;
  flex-shrink: 0;
}

.hero__master-name {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.hero__master-tg-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--telegram);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 10px;
  padding: 9px 16px;
  text-decoration: none;
  width: fit-content;
  transition: background 0.2s, transform 0.2s;
  margin-top: 4px;
}

.hero__master-tg-btn:hover {
  background: var(--telegram-dark);
  transform: translateY(-2px);
}

/* Remove excess hero padding-bottom (no more pain strip pinned to bottom) */
.hero {
  padding-bottom: 40px;
}

/* ======================================
   PRICE TICKER (БЕГУЩАЯ СТРОКА)
   ====================================== */
.price-ticker {
  display: flex;
  align-items: center;
  background: #060a14;
  border-top: 1px solid rgba(59, 130, 246, 0.15);
  border-bottom: 1px solid rgba(59, 130, 246, 0.15);
  height: 48px;
  overflow: hidden;
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 100vw;
}

.price-ticker__label {
  flex-shrink: 0;
  padding: 0 18px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ef4444;
  background: #060a14;
  white-space: nowrap;
  border-right: 1px solid rgba(59, 130, 246, 0.15);
  height: 100%;
  display: flex;
  align-items: center;
}

.price-ticker__track-wrap {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}

.price-ticker__track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker-scroll 45s linear infinite;
}

.price-ticker__track:hover {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding: 0 16px;
  white-space: nowrap;
  gap: 4px;
}

.ticker-item strong {
  color: #60a5fa;
  margin-left: 3px;
}

/* Responsive overrides for smaller desktop */
@media (max-width: 768px) {
  .hero__master--large {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
    order: -1;
  }

  .hero__master-card {
    height: auto;
    aspect-ratio: 3/4;
    border-radius: 16px;
  }

  .hero__master--large .hero__master-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center 10%;
    display: block;
  }

  .hero__master-overlay {
    padding: 16px 14px 14px;
  }

  .hero__master-tg-btn {
    font-size: 0.78rem;
    padding: 7px 12px;
  }

  .hero__pains {
    margin: 14px 0 16px;
    gap: 7px;
  }

  .price-ticker__label {
    padding: 0 10px;
    font-size: 0.65rem;
  }

  .ticker-item {
    font-size: 0.76rem;
  }
}

/* Subtitle pain phrase */
.hero__subtitle-pain {
  display: block;
  font-size: 0.92em;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.hero__subtitle-pain em {
  font-style: normal;
  color: #f87171;
  font-weight: 700;
}

/* ========== HERO SLIDESHOW ========== */
.hero__slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border-radius: inherit;
  overflow: hidden;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

.hero__slide--active {
  opacity: 1;
  pointer-events: auto;
}

.hero__slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero__slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* Dots */
.hero__slide-dots {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.hero__dot--active {
  background: #fff;
  transform: scale(1.25);
}

/* ========== PHONE MOCKUP (hero video) ========== */
.phone-mockup {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.phone-mockup__frame {
  position: relative;
  width: 230px;
  height: 460px;
  background: #111318;
  border-radius: 42px;
  border: 3px solid #2a2d36;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 30px 80px rgba(0, 0, 0, 0.7),
    0 0 40px rgba(99, 179, 237, 0.08);
  overflow: hidden;
  flex-shrink: 0;
}

/* Блик — имитация стекла */
.phone-mockup__frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, transparent 50%);
  border-radius: inherit;
  z-index: 10;
  pointer-events: none;
}

/* Нотч / Dynamic island */
.phone-mockup__notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 82px;
  height: 24px;
  background: #111318;
  border-radius: 20px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Камера и датчик в нотче */
.phone-mockup__notch::before {
  content: '';
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, #1a3a5c 0%, #0a1a2e 100%);
  border-radius: 50%;
  border: 1px solid #1e3a55;
}

.phone-mockup__notch::after {
  content: '';
  width: 6px;
  height: 6px;
  background: #0d2137;
  border-radius: 50%;
}

/* Экран — само видео */
.phone-mockup__screen {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 40px;
  background: #000;
}

.phone-mockup__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Кнопка домой */
.phone-mockup__home {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 4px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  z-index: 20;
}

/* Оверлей-бейдж снизу телефона */
.phone-mockup__overlay {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 230px;
  border-radius: 0 0 42px 42px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  padding: 18px 14px 14px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 6px;
  pointer-events: auto;
}

@media (max-width: 900px) {
  .phone-mockup__frame {
    width: 180px;
    height: 360px;
    border-radius: 34px;
  }

  .phone-mockup__screen {
    border-radius: 32px;
  }

  .phone-mockup__overlay {
    width: 180px;
  }
}

/* ========== PHONE MOCKUP — SECTION (2x bigger) ========== */
.phone-mockup--section {
  justify-content: flex-start;
}

.phone-mockup--section .phone-mockup__frame {
  width: 340px;
  height: 680px;
  border-radius: 54px;
  border-color: #2f3340;
}

.phone-mockup--section .phone-mockup__screen {
  border-radius: 52px;
}

.phone-mockup--section .phone-mockup__notch {
  width: 110px;
  height: 30px;
  top: 18px;
}

.phone-mockup--section .phone-mockup__home {
  width: 120px;
  height: 5px;
  bottom: 14px;
}

/* Кнопки Play/Sound */
.phone-mockup__controls {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 25;
}

.phone-mockup__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.15s;
}

.phone-mockup__btn:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.08);
}

.phone-mockup__btn svg {
  pointer-events: none;
}

@media (max-width: 900px) {
  .phone-mockup--section .phone-mockup__frame {
    width: 230px;
    height: 460px;
    border-radius: 42px;
  }

  .phone-mockup--section .phone-mockup__screen {
    border-radius: 40px;
  }
}

/* ========== CATALOG (Clean Background) ========== */
.catalog {
  position: relative;
  padding: 100px 0;
  background-color: var(--bg-dark);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.catalog .container {
  position: relative;
  z-index: 3;
}

.catalog__not-found {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 30px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.catalog__not-found-card {
  position: relative;
  width: 380px;
  height: auto;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(59, 130, 246, 0.1);
}

.catalog__not-found-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.catalog__not-found-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
  min-width: 0;
  text-align: left;
}

.catalog__not-found-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin: 0;
  text-align: left;
}

.catalog__not-found-subtitle {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1.3;
  text-align: left;
}

.catalog__not-found-descr {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
  text-align: left;
}

.catalog__not-found-info .btn {
  margin-top: 8px;
}

@media (max-width: 1100px) {
  .catalog__not-found-card {
    width: 300px;
  }
}

@media (max-width: 768px) {
  .catalog {
    padding: 60px 0;
  }

  .catalog__not-found {
    flex-direction: column;
    text-align: left;
    /* Сохраняем выравнивание влево даже на мобильных */
    gap: 30px;
  }

  .catalog__not-found-info {
    min-width: 0;
    width: 100%;
  }

  .catalog__not-found-card {
    width: 100%;
    max-width: 380px;
    margin: 0;
    /* Убираем центрирование через margin auto, если нужно выравнивание влево */
  }

  .catalog__not-found-text {
    max-width: none;
  }
}

/* ========== WAREHOUSE VISIT SECTION ========== */
.warehouse-visit {
  position: relative;
  padding: 100px 0;
  background-color: var(--bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.warehouse-visit__layout {
  display: flex;
  align-items: center;
  gap: 60px;
}

.warehouse-visit__content {
  flex: 1;
}

.warehouse-visit__title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  margin: 16px 0;
  line-height: 1.1;
  color: #fff;
}

.warehouse-visit__subtitle {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.warehouse-visit__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.warehouse-visit__master {
  flex: 1.5;
  /* Увеличиваем пропорцию для фото, чтобы оно было шире */
  max-width: 650px;
}

.warehouse-visit .hero__master-card {
  min-height: auto;
  aspect-ratio: auto;
  /* Убираем фиксированные пропорции, чтобы фото диктовало размер */
  background: var(--bg-dark);
}

.warehouse-visit .hero__master-img {
  object-fit: contain;
  /* Чтобы фото было видно полностью */
  max-height: 500px;
  width: 100%;
}

.section-tag--white {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 1024px) {
  .warehouse-visit__layout {
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .warehouse-visit {
    padding: 60px 0;
  }

  .warehouse-visit__layout {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .warehouse-visit__content {
    order: 2;
  }

  .warehouse-visit__master {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    order: 1;
  }

  .warehouse-visit .hero__master-card {
    min-height: auto;
    aspect-ratio: auto;
    border-radius: 16px;
    box-shadow: none;
    border: none;
  }

  .warehouse-visit .hero__master-img {
    object-fit: cover;
    max-height: 300px;
    width: 100%;
    border-radius: 16px;
  }

  .warehouse-visit__title {
    font-size: 1.6rem;
  }

  .warehouse-visit__subtitle {
    font-size: 1rem;
  }

  .warehouse-visit__actions {
    justify-content: center;
  }
}

@media (max-width: 768px) {

  /* Phone mockup — full width in master section on mobile */
  .phone-mockup--section,
  .phone-mockup--section .phone-mockup__frame {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    border-radius: 16px !important;
    padding: 0 !important;
    /* Adjust padding for mobile */
    box-shadow: none !important;
    /* Remove shadow on mobile */
    background: transparent !important;
    /* Match background */
  }

  .phone-mockup--section .phone-mockup__notch {
    width: 80px !important;
    /* Smaller notch */
    height: 20px !important;
    margin: 0 auto 6px !important;
    border-radius: 0 0 12px 12px !important;
    background: var(--bg-dark) !important;
  }

  .phone-mockup--section .phone-mockup__notch::before {
    width: 8px !important;
    height: 8px !important;
  }

  .phone-mockup--section .phone-mockup__notch::after {
    width: 40px !important;
    height: 5px !important;
  }

  .phone-mockup--section .phone-mockup__home {
    display: none !important;
    /* Hide home indicator on mobile */
  }

  .phone-mockup--section .phone-mockup__screen {
    border-radius: 12px !important;
    width: 100% !important;
    aspect-ratio: 3/4;
    overflow: hidden;
  }

  .phone-mockup--section .phone-mockup__video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: 16px;
    cursor: pointer;
  }

  .phone-mockup--section .phone-mockup__controls {
    bottom: 10px !important;
    /* Adjust controls position */
    gap: 8px !important;
  }

  .phone-mockup--section .phone-mockup__btn {
    width: 36px !important;
    height: 36px !important;
    font-size: 0.9rem !important;
  }
}

/* ======================================
   PHONE MOCKUP STYLES
   ====================================== */
.phone-mockup {
  display: flex;
  justify-content: center;
}

.phone-mockup__frame {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  background: #1a1a2e;
  border-radius: 40px;
  padding: 14px 10px 20px;
  box-shadow:
    0 0 0 2px #333,
    0 0 0 4px #222,
    0 20px 60px rgba(0, 0, 0, 0.7);
}

.phone-mockup__notch {
  width: 100px;
  height: 24px;
  background: #1a1a2e;
  border-radius: 0 0 16px 16px;
  margin: 0 auto 8px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.phone-mockup__notch::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0d0d1a;
  border: 2px solid #333;
}

.phone-mockup__notch::after {
  content: '';
  width: 48px;
  height: 6px;
  border-radius: 4px;
  background: #0d0d1a;
}

.phone-mockup__screen {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 9/16;
}

.phone-mockup__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.phone-mockup__controls {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 20;
  pointer-events: auto;
}

.phone-mockup__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.phone-mockup__btn:hover,
.phone-mockup__btn:active {
  background: rgba(59, 130, 246, 0.7);
}

.phone-mockup__home {
  width: 40px;
  height: 5px;
  background: #444;
  border-radius: 3px;
  margin: 10px auto 0;
}