/* ─────────────────────────────────────────
   TAMYR — Landing Page Stylesheet
   Design: Minimal, clean startup
   Primary: #7c3aed (purple)  Secondary: #f97316 (salmon-orange)
   ───────────────────────────────────────── */

/* ── CSS RESET & VARIABLES ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #7951b7;
  --primary-light: #9474c5;
  --primary-dark: #5c388e;
  --primary-soft: #ffffff;
  --accent-orange: #f97316;
  --accent-orange-light: #fed7aa;
  --accent-orange-soft: #fff7ed;
  --text-dark: #1a1033;
  --text-mid: #4b5563;
  --text-soft: #9ca3af;
  --bg: #ffffff;
  --bg-soft: #f8f7ff;
  --card-bg: #ffffff;
  --border: #e5e7eb;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-xl: 48px;
  --shadow-sm: 0 2px 8px rgba(124, 58, 237, 0.08);
  --shadow-md: 0 8px 32px rgba(124, 58, 237, 0.12);
  --shadow-lg: 0 24px 64px rgba(124, 58, 237, 0.18);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

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

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

/* ── TYPOGRAPHY ── */
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.75;
  max-width: 560px;
}

.section-header.centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 60px;
}

.section-header.centered .section-desc {
  text-align: center;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  padding: 15px 28px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.45);
}

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

.btn-ghost {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary-soft);
}

.btn-ghost:hover {
  background: var(--primary-soft);
  border-color: var(--primary-light);
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: -120px;
  height: 68px;
  overflow: hidden;
  min-width: 0;
}

.logo2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: -120px;
  height: 68px;
  overflow: hidden;
  min-width: 0;
}

.logo img,
.logo2 img {
  max-width: none;
}

.logo-icon {
  font-size: 1.6rem;


}

.logo-text {
  font-size: 1.45rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* ── LANGUAGE SWITCHER ── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px;
}

.lang-btn {
  font-family: var(--font);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text-soft);
  background: transparent;
  border: none;
  border-radius: 100px;
  padding: 5px 10px;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.lang-btn:hover {
  color: var(--primary);
}

.lang-btn.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}

.lang-switcher-mobile {
  display: none;
}

.nav-right-mobile {
  display: none;
  align-items: center;
  gap: 12px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: color var(--transition);
}

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

.nav-cta-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 100px;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
  transition: all var(--transition);
}

.nav-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px 24px 24px;
  gap: 4px;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.97);
}

.mobile-menu.open {
  display: flex;
}

.mobile-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.mobile-link:last-child {
  border-bottom: none;
}

.mobile-cta {
  color: var(--primary);
  font-weight: 700;
  margin-top: 8px;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 68px;
  overflow: hidden;
  background: #faf8ff;
}

.hero-bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: blobDrift 8s ease-in-out infinite alternate;
  pointer-events: none;
}

.blob-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary-light), var(--primary));
  top: -150px;
  right: -100px;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #fed7aa, #f97316);
  bottom: 50px;
  left: -80px;
  animation-delay: -3s;
}

@keyframes blobDrift {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(30px, 20px) scale(1.05);
  }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 24px 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 100px;
  border: 1px solid var(--primary-light);
  margin-bottom: 24px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--accent-orange);
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.4);
    opacity: 0.7;
  }
}

.hero-title {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

.stat-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-soft);
  font-weight: 500;
  margin-top: 2px;
}

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-wrapper {
  position: relative;
  width: 340px;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-16px);
  }
}

.phone-img {
  width: 100%;
  border-radius: 36px;
  box-shadow: var(--shadow-lg);
}

.floating-card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  min-width: 160px;
}

.card-1 {
  left: -60px;
  top: 80px;
  opacity: 0;
  animation:
    card1-enter 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards,
    float-card1 5s ease-in-out 1.2s infinite;
}

.card-2 {
  right: -50px;
  bottom: 100px;
  opacity: 0;
  animation:
    card2-enter 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s forwards,
    float-card2 4.5s ease-in-out 1.5s infinite;
}

/* Star icon gentle rock inside card-2 */
.card-2 .card-icon {
  display: inline-block;
  animation: star-spin 4s ease-in-out 2s infinite;
  transform-origin: center;
}


/* ── FLOATING CARD ANIMATIONS ── */
@keyframes card1-enter {
  from {
    opacity: 0;
    transform: translateX(-28px) translateY(0);
  }

  to {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

@keyframes card2-enter {
  from {
    opacity: 0;
    transform: translateX(28px) translateY(0);
  }

  to {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

@keyframes float-card1 {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

@keyframes float-card2 {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

@keyframes star-spin {
  0% {
    transform: rotate(0deg) scale(1);
  }

  25% {
    transform: rotate(-15deg) scale(1.2);
  }

  75% {
    transform: rotate(15deg) scale(1.1);
  }

  100% {
    transform: rotate(0deg) scale(1);
  }
}

@keyframes star-pop {
  0% {
    transform: scale(1);
  }

  40% {
    transform: scale(1.5) rotate(-10deg);
  }

  70% {
    transform: scale(0.9) rotate(5deg);
  }

  100% {
    transform: scale(1) rotate(0deg);
  }
}

.card-icon.pop {
  animation: star-pop 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) forwards !important;
}


.card-icon {
  font-size: 1.4rem;
}

.card-title {
  font-weight: 700;
  font-size: 0.82rem;
  margin-bottom: 1px;
}

.card-sub {
  color: var(--text-soft);
  font-size: 0.72rem;
}

.card-badge {
  margin-left: auto;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 100px;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.hero-wave svg {
  width: 100%;
  display: block;
}

/* ── LOGOS TICKER ── */
.logos-section {
  padding: 32px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.logos-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-soft);
  margin-bottom: 20px;
}

.logos-ticker-wrapper {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.logos-ticker {
  display: flex;
  gap: 0;
  width: max-content;
  animation: ticker 20s linear infinite;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.ticker-item {
  padding: 8px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-mid);
  white-space: nowrap;
  border-right: 1px solid var(--border);
}

/* ── PROBLEM SECTION ── */
.problem-section {
  background: var(--bg);
}

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

.problem-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.problem-img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.problem-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.pb-emoji {
  font-size: 2rem;
}

.problem-badge strong {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
}

.problem-badge p {
  font-size: 0.75rem;
  color: var(--text-soft);
  margin: 0;
}

.problem-stats {
  display: flex;
  gap: 32px;
  margin: 28px 0;
}

.p-stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 4px;
}

.p-stat p {
  font-size: 0.85rem;
  color: var(--text-mid);
  max-width: 160px;
}

/* ── SOLUTION SECTION ── */
.solution-section {
  background: var(--bg-soft);
  position: relative;
  overflow: hidden;
}

.solution-section::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: url('assets/logo3.png') center/cover no-repeat;
  background-size: 2500px;
  /* ← увеличивает саму картинку */
  top: 2%;
  right: 0%;

  opacity: 0.4;
  /* Decreased opacity as requested */
  filter: blur(15px);
  /* Sligh blur to make it a subtle background */
  pointer-events: none;
  z-index: 0;
}

.solution-bg-blob {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(196, 181, 253, 0.2), transparent 70%);
  top: -100px;
  right: -100px;
  border-radius: 50%;
}

.solution-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.solution-points {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sp-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.sp-icon {
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.sp-item strong {
  display: block;
  font-weight: 700;
  margin-bottom: 2px;
}

.sp-item p {
  font-size: 0.9rem;
  color: var(--text-mid);
}

/* Solution cards */
.solution-card-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.s-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.s-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.sc-featured {
  border-color: var(--primary-light);
  background: linear-gradient(135deg, #faf5ff, #fff7ed);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.15);
  padding-top: 36px;
}

.sc-ribbon {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 3px 10px;
  border-radius: 100px;
}

.scard-emoji {
  font-size: 2.2rem;
}

.scard-info {
  flex: 1;
}

.scard-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.scard-place {
  font-size: 0.8rem;
  color: var(--text-soft);
}

.scard-price-block {
  text-align: right;
}

.scard-old {
  display: block;
  font-size: 0.78rem;
  color: var(--text-soft);
  text-decoration: line-through;
}

.scard-new {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-orange);
}

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

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.step-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
}

.step-card::before {
  content: attr(data-step);
  position: absolute;
  top: -10px;
  right: 24px;
  font-size: 5rem;
  font-weight: 900;
  color: var(--primary-soft);
  line-height: 1;
  z-index: 0;
  pointer-events: none;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.step-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--primary-soft), var(--accent-orange-soft));
  border-radius: 24px;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  transition: transform var(--transition);
}

.step-card:hover .step-icon-wrap {
  transform: scale(1.1) rotate(-3deg);
}

.step-icon {
  font-size: 2rem;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

/* ── BENEFITS ── */
.benefits-section {
  background: var(--bg-soft);
}

.benefits-grid {
  display: flex;
  gap: 0;
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  overflow: hidden;
}

.benefit-col {
  flex: 1;
  padding: 48px;
}

.benefit-divider {
  width: 1px;
  background: var(--border);
  margin: 24px 0;
}

.benefit-col-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.bcol-icon {
  font-size: 2rem;
}

.benefit-col-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.benefit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.bi-icon {
  font-size: 1.3rem;
  width: 40px;
  height: 40px;
  background: var(--primary-soft);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-item strong {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.benefit-item p {
  font-size: 0.85rem;
  color: var(--text-mid);
}

/* ── SOCIAL PROOF ── */
.proof-section {
  background: linear-gradient(135deg, #3b0764, #1e1b4b, #0c0a1e);
  position: relative;
  overflow: hidden;
}

.proof-gradient-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(124, 58, 237, 0.3), transparent),
    radial-gradient(ellipse 40% 50% at 80% 20%, rgba(249, 115, 22, 0.2), transparent);
}

.proof-eyebrow {
  background: rgba(255, 255, 255, 0.1) !important;
  color: rgba(255, 255, 255, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.proof-title {
  color: #fff !important;
}

/* ── TESTIMONIAL CAROUSEL ── */
.proof-section {
  overflow: hidden;
  /* clips track symmetrically */
  position: relative;
}

.carousel-outer {
  position: relative;
  width: 100%;
  z-index: 1;
  margin-bottom: 32px;
}

.carousel-track-wrapper {
  width: 100%;
  overflow: visible;
  /* section handles the clipping */
  padding: 40px 0;
  height: 320px;
}

.carousel-track {
  display: flex;
  gap: 24px;
  align-items: center;
  transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-track .testimonial-card {
  flex: 0 0 600px;
  width: 600px;
  height: 240px;
  overflow: hidden;
  /* ← контент не вытекает */
  margin: 0;
  border-radius: var(--radius-lg);
  opacity: 0.3;
  filter: blur(0.5px);
  /* ← НЕ transition: all — только нужные свойства */
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  pointer-events: auto;
}

.carousel-track .testimonial-card.is-active {
  opacity: 1;
  filter: none;
  cursor: grab;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.carousel-track .testimonial-card.is-active:active {
  cursor: grabbing;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  z-index: 10;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%) scale(1.05);
}

.carousel-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
  left: 24px;
}

.carousel-next {
  right: 24px;
}

.carousel-arrow:disabled {
  opacity: 0;
  pointer-events: none;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}

.carousel-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--primary-light);
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 28px 36px;
  backdrop-filter: blur(12px);
  transition: background var(--transition);
}

.tc-featured {
  background: rgba(124, 58, 237, 0.2);
  border-color: rgba(167, 139, 250, 0.4);
}

.test-stars {
  color: #fbbf24;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.test-quote {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 24px;
}

.test-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.test-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
}

.test-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
}

.test-role {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

.launch-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  padding: 16px 28px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 1;
}

.lb-dot {
  width: 10px;
  height: 10px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.3);
  animation: pulse 1.5s ease-in-out infinite;
  flex-shrink: 0;
}

/* ── WAITLIST ── */
.waitlist-section {
  background: var(--bg-soft);
}

.waitlist-box {
  background: linear-gradient(135deg, var(--primary-soft), var(--accent-orange-soft));
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: var(--radius-xl);
  padding: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.wl-blob-1,
.wl-blob-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.wl-blob-1 {
  width: 400px;
  height: 400px;
  background: rgba(124, 58, 237, 0.15);
  top: -100px;
  left: -100px;
}

.wl-blob-2 {
  width: 300px;
  height: 300px;
  background: rgba(249, 115, 22, 0.15);
  bottom: -80px;
  right: -80px;
}

.wl-content {
  position: relative;
  z-index: 1;
}

.wl-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--accent-orange));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.wl-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text-dark);
}

/* ── MYSTERY SHOWCASE ── */
.mystery-section {
  background: #fff;
  position: relative;
  overflow: hidden;
}

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

.mystery-mascot-card {
  position: relative;
  background: radial-gradient(circle at center, #fff, #f0f0ff);
  border-radius: 50%;
  /* Make the card itself a circle */
  padding: 0;
  box-shadow: 0 40px 80px rgba(124, 58, 237, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  border: 4px solid #fff;
  overflow: hidden;
  aspect-ratio: 1/1;
  max-width: 500px;
}

.mystery-mascot-img {
  width: 140%;
  max-width: none;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
  transform: scale(1);
  border-radius: 50%;
  /* Double mask for safety */
  object-fit: cover;
}

.mystery-card-overlay {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.m-tag {
  background: var(--primary);
  color: #fff;
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3);
  white-space: nowrap;
}

.mystery-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}

.mc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.9rem;
  padding: 14px 20px;
  background: #f8f7ff;
  border-radius: 20px;
  border: 1px solid rgba(124, 58, 237, 0.05);
  transition: all var(--transition);
}

.mc-item:hover {
  transform: translateY(-4px);
  background: #fff;
  box-shadow: var(--shadow-md);
}

@media (max-width: 991px) {
  .mystery-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .mystery-checklist {
    grid-template-columns: 1fr;
  }

  .mystery-mascot-card {
    max-width: 400px;
    margin: 0 auto;
  }
}

@keyframes box-float {
  from {
    transform: scale(1.2) translateY(0);
  }

  to {
    transform: scale(1.2) translateY(-25px);
  }
}

.waitlist-form {
  max-width: 520px;
  margin: 0 auto 32px;
}

.form-row {
  display: flex;
  gap: 12px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 6px 6px 6px 20px;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-row:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1), var(--shadow-sm);
}

.email-input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text-dark);
  background: transparent;
}

.email-input::placeholder {
  color: var(--text-soft);
}

.submit-btn {
  position: relative;
  flex-shrink: 0;
  padding: 12px 24px;
  font-size: 0.92rem;
}

.btn-loader {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

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

.submit-btn.loading .btn-text {
  display: none;
}

.submit-btn.loading .btn-loader {
  display: block;
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-top: 12px;
}

.form-success {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #d1fae5;
  border: 1px solid #6ee7b7;
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-top: 16px;
  font-weight: 600;
  color: #065f46;
  font-size: 0.95rem;
}

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

.form-success span {
  font-size: 1.3rem;
}

.wl-perks {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.wl-perk {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-mid);
  font-weight: 500;
}

/* ── FOOTER ── */
.footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer .logo-text {
  -webkit-text-fill-color: unset;
  background: none;
  color: #fff;
  font-size: 1.3rem;
}

.footer .logo-icon {
  font-size: 1.4rem;
}

.footer-tagline {
  font-size: 0.85rem;
  margin-top: 12px;
  line-height: 1.6;
  max-width: 220px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--primary);
  color: #fff;
}

.footer-links-group h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 16px;
}

.footer-links-group a {
  display: block;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  padding: 5px 0;
  transition: color var(--transition);
}

.footer-links-group a:hover {
  color: #fff;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ── ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content {
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  .hero-subtitle {
    margin: 0 auto 36px;
  }

  .hero-visual {
    display: none;
  }

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

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

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .carousel-track .testimonial-card {
    flex: 0 0 75%;
    width: 75%;
  }

  .testimonial-card {
    padding: 36px 32px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .nav-links {
    display: none;
  }

  .navbar .logo-text {
    display: none;
  }

  .nav-right-mobile {
    display: flex;
  }

  .lang-switcher-mobile {
    display: flex;
  }

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

  .step-card {
    padding: 32px 24px;
  }

  .carousel-track .testimonial-card {
    flex: 0 0 85%;
    width: 85%;
    padding: 32px 24px;
  }

  .carousel-arrow {
    width: 44px;
    height: 44px;
    left: -8px;
  }

  .carousel-next {
    right: -8px;
    left: auto;
  }

  .benefits-grid {
    flex-direction: column;
  }

  .benefit-divider {
    width: 100%;
    height: 1px;
    margin: 0;
  }

  .benefit-col {
    padding: 36px 24px;
  }

  .waitlist-box {
    padding: 48px 24px;
  }

  .form-row {
    flex-direction: column;
    padding: 12px;
    border-radius: var(--radius-md);
  }

  .email-input {
    padding: 8px 4px;
  }

  .submit-btn {
    width: 100%;
    justify-content: center;
    border-radius: var(--radius-md);
    padding: 14px;
  }

  .wl-perks {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .launch-banner {
    flex-direction: column;
    text-align: center;
  }

  .hero-stats {
    justify-content: center;
  }
}

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

  .btn {
    justify-content: center;
  }

  .hero-stats {
    gap: 16px;
  }

  .stat-divider {
    display: none;
  }

  .problem-stats {
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
  }

  .p-stat p {
    max-width: none;
  }
}