/* ============================================
   FROSTAPP WEBSITE — MAIN STYLESHEET
   Design: Glassmorphism + Frost Aesthetic
   ============================================ */

/* === RESET & BASE === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Background — deeper, richer dark */
  --bg-1: #0f1923;
  --bg-2: #080e18;
  --bg-3: #030609;

  /* Accents — Cyan #00c6ff as strategic accent */
  --accent-start: #00c6ff;
  --accent-end: #0072ff;
  --accent-glow: rgba(0, 198, 255, 0.5);
  --accent-transparent: rgba(0, 198, 255, 0.07);
  --accent-semi: rgba(0, 198, 255, 0.13);
  --accent-border: rgba(0, 198, 255, 0.22);

  /* Glow orbs */
  --glow-1: rgba(0, 198, 255, 0.45);
  --glow-2: rgba(0, 114, 255, 0.35);

  /* Surfaces (Glassmorphism — light frosted glass) */
  --surface: rgba(255, 255, 255, 0.03);
  --surface-strong: rgba(255, 255, 255, 0.05);
  --surface-light: rgba(255, 255, 255, 0.04);
  --surface-dark: rgba(255, 255, 255, 0.02);

  /* Borders — subtle white edges */
  --border: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(0, 198, 255, 0.2);
  --border-hover: rgba(255, 255, 255, 0.1);

  /* Text */
  --text: #e8ecf1;
  --text-muted: rgba(232, 236, 241, 0.55);
  --text-bright: rgba(232, 236, 241, 0.8);
  --text-dark: #020a14;

  /* Shadows */
  --shadow: rgba(0, 0, 0, 0.4);
  --shadow-strong: rgba(0, 0, 0, 0.6);

  /* VIP */
  --vip-gold: #ffd700;
  --vip-gold-glow: rgba(255, 215, 0, 0.25);
  --vip-gold-border: rgba(255, 215, 0, 0.2);

  /* Danger */
  --danger: #f87171;

  /* Neutral */
  --neutral-overlay: rgba(255, 255, 255, 0.04);
  --neutral-hover: rgba(255, 255, 255, 0.08);

  /* Spacing */
  --section-padding: 120px 0;
  --container-max: 1200px;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  background: #030609;
  background-color: #030609;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
  background: linear-gradient(145deg, var(--bg-1) 0%, var(--bg-2) 40%, var(--bg-3) 100%);
  background-color: #030609;
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  opacity: 0;
  transition: opacity 400ms ease;
}

body.loaded {
  opacity: 1;
}

/* === GLOW ORBS (pre-blurred via large gradient — no filter:blur) === */
body::before,
body::after {
  content: '';
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0.25;
  z-index: 0;
}

body::before {
  width: 900px;
  height: 900px;
  top: -350px;
  left: -300px;
  background: radial-gradient(circle, rgba(0, 198, 255, 0.15) 0%, transparent 55%);
}

body::after {
  width: 1000px;
  height: 1000px;
  bottom: -400px;
  right: -350px;
  background: radial-gradient(circle, rgba(0, 114, 255, 0.12) 0%, transparent 55%);
}

/* === PARTICLES CANVAS === */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* === 3D DYNAMIC BACKGROUND === */
.bg-3d {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  perspective: 800px;
  overflow: hidden;
}

.bg-3d__shape {
  position: absolute;
  will-change: transform;
  backface-visibility: hidden;
}

.bg-3d__shape--1 {
  width: 400px;
  height: 400px;
  top: 5%;
  left: -5%;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  border: 1px solid rgba(0, 198, 255, 0.07);
  background: radial-gradient(ellipse, rgba(0, 198, 255, 0.045), transparent 70%);
  animation: float3d1 30s ease-in-out infinite;
}

.bg-3d__shape--2 {
  width: 300px;
  height: 300px;
  top: 55%;
  right: -3%;
  border-radius: 50%;
  border: 1px solid rgba(0, 114, 255, 0.07);
  background: radial-gradient(ellipse, rgba(0, 114, 255, 0.05), transparent 70%);
  animation: float3d2 35s ease-in-out infinite;
}

.bg-3d__shape--3 {
  width: 200px;
  height: 200px;
  top: 30%;
  left: 50%;
  border-radius: 40% 60% 65% 35% / 40% 30% 70% 60%;
  border: 1px solid rgba(0, 198, 255, 0.06);
  background: radial-gradient(ellipse, rgba(0, 198, 255, 0.04), transparent 70%);
  animation: float3d3 25s ease-in-out infinite;
}

.bg-3d__shape--4 {
  width: 350px;
  height: 350px;
  bottom: 10%;
  left: 20%;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  border: 1px solid rgba(0, 114, 255, 0.06);
  background: radial-gradient(ellipse, rgba(0, 114, 255, 0.035), transparent 70%);
  animation: float3d4 40s ease-in-out infinite;
}

.bg-3d__shape--5 {
  width: 150px;
  height: 150px;
  top: 15%;
  right: 20%;
  border-radius: 50%;
  border: 1px solid rgba(0, 198, 255, 0.065);
  background: radial-gradient(ellipse, rgba(0, 198, 255, 0.04), transparent 70%);
  animation: float3d5 28s ease-in-out infinite;
}

.bg-3d__shape--6 {
  width: 250px;
  height: 250px;
  bottom: 30%;
  right: 35%;
  border-radius: 35% 65% 50% 50% / 55% 40% 60% 45%;
  border: 1px solid rgba(0, 114, 255, 0.05);
  background: radial-gradient(ellipse, rgba(0, 114, 255, 0.03), transparent 70%);
  animation: float3d6 32s ease-in-out infinite;
}

.bg-3d__shape--7 {
  width: 180px;
  height: 180px;
  top: 70%;
  left: 8%;
  border-radius: 50% 30% 50% 70%;
  border: 1px solid rgba(0, 198, 255, 0.06);
  background: radial-gradient(ellipse, rgba(0, 198, 255, 0.04), transparent 65%);
  animation: float3d5 22s ease-in-out infinite reverse;
}

.bg-3d__shape--8 {
  width: 320px;
  height: 320px;
  top: 8%;
  right: 40%;
  border-radius: 55% 45% 60% 40% / 35% 65% 35% 65%;
  border: 1px solid rgba(0, 114, 255, 0.055);
  background: radial-gradient(ellipse, rgba(0, 114, 255, 0.035), transparent 65%);
  animation: float3d1 36s ease-in-out infinite reverse;
}

.bg-3d__shape--9 {
  width: 120px;
  height: 120px;
  top: 45%;
  left: 75%;
  border-radius: 50%;
  border: 1px solid rgba(0, 198, 255, 0.07);
  background: radial-gradient(ellipse, rgba(0, 198, 255, 0.05), transparent 60%);
  animation: float3d3 20s ease-in-out infinite;
}

.bg-3d__shape--10 {
  width: 280px;
  height: 280px;
  bottom: 5%;
  right: 8%;
  border-radius: 70% 30% 50% 50% / 40% 60% 40% 60%;
  border: 1px solid rgba(0, 114, 255, 0.055);
  background: radial-gradient(ellipse, rgba(0, 114, 255, 0.035), transparent 65%);
  animation: float3d4 34s ease-in-out infinite reverse;
}

.bg-3d__shape--11 {
  width: 160px;
  height: 160px;
  top: 85%;
  left: 45%;
  border-radius: 45% 55% 40% 60%;
  border: 1px solid rgba(0, 198, 255, 0.055);
  background: radial-gradient(ellipse, rgba(0, 198, 255, 0.035), transparent 65%);
  animation: float3d2 26s ease-in-out infinite;
}

.bg-3d__shape--12 {
  width: 220px;
  height: 220px;
  top: 20%;
  left: 25%;
  border-radius: 50%;
  border: 1px solid rgba(0, 114, 255, 0.05);
  background: radial-gradient(ellipse, rgba(0, 114, 255, 0.03), transparent 60%);
  animation: float3d6 29s ease-in-out infinite reverse;
}

@keyframes float3d1 {
  0%, 100% { transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg); }
  25% { transform: translate3d(40px, -50px, 30px) rotateX(5deg) rotateY(10deg); }
  50% { transform: translate3d(-30px, 30px, -20px) rotateX(-3deg) rotateY(-8deg); }
  75% { transform: translate3d(20px, -40px, 15px) rotateX(4deg) rotateY(-6deg); }
}

@keyframes float3d2 {
  0%, 100% { transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg); }
  33% { transform: translate3d(-35px, 25px, -25px) rotateX(-4deg) rotateY(7deg); }
  66% { transform: translate3d(25px, -35px, 20px) rotateX(3deg) rotateY(-5deg); }
}

@keyframes float3d3 {
  0%, 100% { transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg); }
  50% { transform: translate3d(-40px, 40px, 25px) rotateX(6deg) rotateY(-10deg); }
}

@keyframes float3d4 {
  0%, 100% { transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg); }
  25% { transform: translate3d(30px, 20px, -15px) rotateX(-3deg) rotateY(5deg); }
  50% { transform: translate3d(-20px, -30px, 25px) rotateX(5deg) rotateY(-7deg); }
  75% { transform: translate3d(15px, 25px, -10px) rotateX(-2deg) rotateY(4deg); }
}

@keyframes float3d5 {
  0%, 100% { transform: translate3d(0, 0, 0) rotateY(0deg); }
  50% { transform: translate3d(30px, -20px, 15px) rotateY(12deg); }
}

@keyframes float3d6 {
  0%, 100% { transform: translate3d(0, 0, 0) rotateX(0deg); }
  33% { transform: translate3d(-25px, 35px, -20px) rotateX(-5deg); }
  66% { transform: translate3d(20px, -25px, 15px) rotateX(4deg); }
}

/* === LOGO HOVER === */
.nav__logo img.logo-alt {
  display: none;
}

.nav__brand:hover .nav__logo img.logo-main {
  display: none;
}

.nav__brand:hover .nav__logo img.logo-alt {
  display: block;
}

/* === SVG ICON COLORS === */
.feature-card__icon svg {
  color: var(--accent-start);
  transition: color 200ms ease;
}

.feature-card:hover .feature-card__icon svg {
  color: var(--text-dark);
}

.vip-benefit__icon svg {
  color: var(--vip-gold);
}

/* === ONLINE COUNTER === */
.stat-card--online .stat-card__number {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.online-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.6);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

/* === CONTAINER === */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 24px;
  transition: padding 300ms ease;
}

.nav.scrolled {
  padding: 10px 24px;
}

.nav__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: border-radius 300ms ease, box-shadow 300ms ease;
}

.nav.scrolled .nav__inner {
  border-radius: 14px;
  box-shadow: 0 8px 20px var(--shadow-strong);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.nav__logo {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 16px;
  color: var(--text-dark);
  flex-shrink: 0;
}

.nav__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.nav__title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  padding: 10px 18px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  transition: color 200ms ease, background 200ms ease;
  position: relative;
}

.nav__link:hover,
.nav__link.active {
  color: var(--text);
  background: var(--neutral-overlay);
}

.nav__link.active {
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  color: var(--text-dark);
}

.nav__link--vip {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 165, 0, 0.08));
  color: var(--vip-gold) !important;
  border: 1px solid var(--vip-gold-border);
}

.nav__link--vip:hover {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 165, 0, 0.15)) !important;
  box-shadow: 0 0 20px var(--vip-gold-glow);
}

/* Mobile toggle */
.nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--neutral-overlay);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 300ms ease;
}

.nav__toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* === SECTIONS === */
section {
  position: relative;
  z-index: 1;
}

.section-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 600px;
  letter-spacing: -0.01em;
}

/* === HERO === */
.hero {
  padding: 180px 0 120px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  position: relative;
}

.hero__content {
  max-width: 800px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(0, 198, 255, 0.06);
  border: 1px solid rgba(0, 198, 255, 0.15);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-start);
  margin-bottom: 32px;
  animation: fadeInDown 600ms cubic-bezier(0.16, 1, 0.3, 1) 200ms both;
}

.hero__badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-start);
  animation: pulse 2s ease-in-out infinite;
}

.hero__title {
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  animation: fadeInUp 700ms cubic-bezier(0.16, 1, 0.3, 1) 400ms both;
}

.hero__title .gradient-text {
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__desc {
  font-size: 19px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 40px;
  animation: fadeInUp 700ms cubic-bezier(0.16, 1, 0.3, 1) 600ms both;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 700ms cubic-bezier(0.16, 1, 0.3, 1) 800ms both;
}

/* Hero glow effect (pre-blurred via large gradient — no filter:blur) */
.hero__glow {
  position: absolute;
  width: 1000px;
  height: 1000px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 198, 255, 0.1) 0%, rgba(0, 114, 255, 0.05) 30%, transparent 55%);
  opacity: 0.6;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.btn:hover {
  filter: brightness(1.08);
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  color: var(--text-dark);
  box-shadow: 0 8px 30px rgba(0, 198, 255, 0.25);
}

.btn--primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 198, 255, 0.35);
}

.btn--secondary {
  background: var(--accent-transparent);
  color: var(--accent-start);
  border: 1px solid var(--accent-border);
}

.btn--secondary:hover {
  background: var(--accent-semi);
  border-color: var(--accent-start);
  transform: translateY(-3px);
}

.btn--ghost {
  background: var(--neutral-overlay);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  background: var(--neutral-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.btn--vip {
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  color: #1a0a00;
  box-shadow: 0 8px 30px var(--vip-gold-glow);
}

.btn--vip:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(255, 215, 0, 0.4);
}

.btn--lg {
  padding: 18px 40px;
  font-size: 16px;
  border-radius: 16px;
}

.btn--sm {
  padding: 10px 20px;
  font-size: 13px;
  border-radius: 10px;
}

/* === GLASS CARD (Glassmorphism — frosted glass) === */
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  padding: 32px;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 25px rgba(0, 198, 255, 0.08);
}

.glass-card--glow:hover {
  border-color: var(--accent-border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 198, 255, 0.1);
}

/* === FEATURE CARDS === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.feature-card {
  text-align: center;
  padding: 40px 28px;
}

.feature-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(0, 198, 255, 0.06);
  border: 1px solid rgba(0, 198, 255, 0.12);
  display: grid;
  place-items: center;
  font-size: 28px;
  margin: 0 auto 20px;
  transition: transform 200ms ease, background 200ms ease, box-shadow 200ms ease;
}

.feature-card:hover .feature-card__icon {
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 0 25px rgba(0, 198, 255, 0.2);
}

.feature-card__title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
}

.feature-card__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* === STATS === */
.stats-section {
  padding: var(--section-padding);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.stat-card {
  text-align: center;
  padding: 40px 20px;
}

.stat-card__number {
  font-size: 3rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-card__label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
}

/* === SHOWCASE / PREVIEW === */
.showcase {
  padding: var(--section-padding);
}

.showcase__preview {
  margin-top: 60px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.35), 0 0 40px rgba(0, 198, 255, 0.05);
  position: relative;
}

.showcase__preview img {
  width: 100%;
  height: auto;
  display: block;
}

.showcase__preview::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, var(--bg-3) 100%);
  pointer-events: none;
}

/* === TESTIMONIALS === */
.testimonials {
  padding: var(--section-padding);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.testimonial-card {
  padding: 32px;
}

.testimonial-card__stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: var(--vip-gold);
  font-size: 16px;
}

.testimonial-card__text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-bright);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--text-dark);
  font-size: 16px;
}

.testimonial-card__name {
  font-weight: 700;
  font-size: 14px;
}

.testimonial-card__role {
  font-size: 12px;
  color: var(--text-muted);
}

/* === CTA SECTION === */
.cta-section {
  padding: var(--section-padding);
  text-align: center;
}

.cta-box {
  padding: 60px 40px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(0, 198, 255, 0.12);
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0, 198, 255, 0.06);
}

.cta-box::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 198, 255, 0.06) 0%, transparent 55%);
  top: -200px;
  right: -200px;
  pointer-events: none;
}

.cta-box__title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  margin-bottom: 16px;
}

.cta-box__desc {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* === FOOTER === */
.footer {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 1;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}

.footer__socials {
  display: flex;
  gap: 12px;
}

.footer__social {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--neutral-overlay);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 16px;
  transition: transform 200ms ease, color 200ms ease;
}

.footer__social:hover {
  background: var(--accent-transparent);
  border-color: var(--accent-border);
  color: var(--accent-start);
  transform: translateY(-3px);
}

/* === SCROLL REVEAL === */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }
.reveal-delay-5 { transition-delay: 500ms; }
.reveal-delay-6 { transition-delay: 600ms; }

/* === PAGE HEADER (for inner pages) === */
.page-header {
  padding: 160px 0 80px;
  text-align: center;
}

.page-header .section-title {
  margin-bottom: 16px;
}

.page-header .section-subtitle {
  margin: 0 auto;
}

/* === DIVIDER === */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 198, 255, 0.1), rgba(255, 255, 255, 0.06), rgba(0, 198, 255, 0.1), transparent);
  margin: 0;
}

/* === RESPONSIVE === */

/* Large screens — fill the space */
@media (min-width: 1600px) {
  .container {
    max-width: 1400px;
  }

  .hero__title {
    font-size: 80px;
  }

  .hero__desc {
    font-size: 22px;
    max-width: 680px;
  }

  .section-title {
    font-size: 56px;
  }

  .section-subtitle {
    font-size: 19px;
    max-width: 700px;
  }

  .glass-card {
    padding: 40px;
  }

  .feature-card {
    padding: 52px 36px;
  }

  .feature-card__icon {
    width: 76px;
    height: 76px;
  }

  .feature-card__icon svg {
    width: 34px;
    height: 34px;
  }

  .feature-card__title {
    font-size: 21px;
  }

  .feature-card__desc {
    font-size: 16px;
  }

  .stat-card__number {
    font-size: 3.5rem;
  }

  .testimonial-card__text {
    font-size: 17px;
  }

  .btn--lg {
    padding: 22px 48px;
    font-size: 17px;
  }

  .cta-box {
    padding: 80px 60px;
  }

  .bg-3d__shape {
    opacity: 0.7;
  }
}

@media (max-width: 1024px) {
  .features-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

}

@media (max-width: 768px) {
  :root {
    --section-padding: 80px 0;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(8, 14, 24, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  }

  .nav__links .nav__link {
    color: var(--text);
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    transition: background 200ms ease;
  }

  .nav__links .nav__link:hover,
  .nav__links .nav__link.active {
    background: rgba(0, 198, 255, 0.12);
    color: #fff;
  }

  .nav__links .nav__link.active {
    background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
    color: var(--text-dark);
  }

  .nav__links .nav__link--vip {
    color: var(--vip-gold) !important;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.25);
  }

  .nav__links.open {
    display: flex;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__inner {
    position: relative;
  }

  .hero {
    padding: 140px 0 80px;
    min-height: auto;
  }

  .hero__title {
    font-size: clamp(32px, 8vw, 48px);
  }

  .hero__desc {
    font-size: 16px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .features-grid,
  .testimonials-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  /* 3D bg: reduce shapes on mobile */
  .bg-3d__shape--4,
  .bg-3d__shape--5,
  .bg-3d__shape--6,
  .bg-3d__shape--7,
  .bg-3d__shape--8,
  .bg-3d__shape--9,
  .bg-3d__shape--10,
  .bg-3d__shape--11,
  .bg-3d__shape--12 {
    display: none;
  }

  .bg-3d__shape {
    opacity: 0.3;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .section-title {
    font-size: clamp(26px, 6vw, 36px);
  }

  /* App preview mock: hide sidebar, adjust game grid */
  .app-mock-layout {
    grid-template-columns: 1fr !important;
  }

  .app-mock-sidebar {
    display: none !important;
  }

  .app-mock-games {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Comparison table: horizontal scroll on small screens */
  .comparison-table .glass-card {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Timeline: reduce padding for more card space */
  .timeline {
    padding-left: 32px !important;
  }

  .timeline .glass-card {
    padding: 20px 16px;
  }

  /* Section subtitle: ensure readability */
  .section-subtitle {
    font-size: 15px;
  }

  /* Download hero box */
  .download-box {
    padding: 0 8px;
  }

  /* CTA box */
  .cta-box {
    padding: 40px 24px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .glass-card {
    padding: 24px 20px;
    border-radius: 16px;
  }

  .btn--lg {
    padding: 16px 28px;
    font-size: 15px;
  }

  /* App preview: 2 cols on small screens */
  .app-mock-games {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  /* Timeline: tighter on very small screens */
  .timeline {
    padding-left: 28px !important;
    max-width: 100% !important;
  }

  .timeline .glass-card > div:first-child {
    left: -29px !important;
  }

  /* Testimonial cards: narrower padding */
  .testimonial-card {
    padding: 24px 18px;
  }

  /* Stats: ensure number doesn't overflow */
  .stat-card__number {
    font-size: clamp(32px, 10vw, 48px);
  }

  /* Hero actions: full width buttons */
  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Feature list items: better mobile layout */
  .feature-list__item {
    gap: 12px;
  }

  /* Page header: less top padding */
  .page-header {
    padding: 130px 0 60px;
  }
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  #particles-canvas {
    display: none;
  }
}
