/* ─── DESIGN SYSTEM ─── */
:root {
  /* Fonts */
  --font-primary: 'Nunito', sans-serif;
  --font-display: 'Outfit', sans-serif;

  /* Colors */
  --color-primary: 262, 80%, 50%; /* #7C3AED */
  --color-primary-light: 262, 83%, 60%; /* #8B5CF6 */
  --color-secondary: 327, 85%, 55%; /* #EC4899 */
  --color-secondary-light: 327, 85%, 65%; /* #F472B6 */
  --color-amber: 38, 92%, 50%; /* #F59E0B */
  --color-emerald: 160, 84%, 39%; /* #10B981 */
  --color-blue: 217, 91%, 60%; /* #3B82F6 */
  --color-rose: 0, 72%, 60%; /* #EF4444 */
  
  --bg-dark: 240, 20%, 8%; /* #0B0A11 */
  --bg-light: 240, 30%, 98%; /* #F8F8FD */
  --bg-glass: 0, 0%, 100%, 0.7;
  
  --text-dark: 240, 25%, 12%; /* #141320 */
  --text-muted: 240, 10%, 45%;
  --text-light: 0, 0%, 100%;

  /* Gradients */
  --gradient-rainbow: linear-gradient(135deg, hsl(262, 80%, 60%), hsl(327, 85%, 60%), hsl(38, 92%, 60%), hsl(217, 91%, 60%));
  --gradient-primary: linear-gradient(135deg, hsl(var(--color-primary)), hsl(var(--color-secondary)));
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
  --gradient-dark: linear-gradient(180deg, #100f1c 0%, #08070d 100%);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(124, 58, 237, 0.1);
  --shadow-lg: 0 16px 48px rgba(124, 58, 237, 0.15);
  --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.06);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

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

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

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}

p {
  font-size: 1.1rem;
  color: hsl(var(--text-muted));
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.7);
  color: hsl(var(--color-primary));
  border: 2px solid rgba(124, 58, 237, 0.2);
  backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  background: rgba(124, 58, 237, 0.05);
  transform: translateY(-2px);
  border-color: hsl(var(--color-primary));
}

.btn--nav {
  padding: 8px 20px;
  font-size: 0.95rem;
  background: var(--gradient-primary);
  color: white;
}

.btn--nav:hover {
  transform: scale(1.03);
}

.btn--lg {
  padding: 16px 36px;
  font-size: 1.15rem;
}

.btn--store {
  background: #000;
  color: #fff;
  border-radius: var(--radius-md);
  padding: 12px 28px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: background-color 0.2s, transform 0.2s;
}

.btn--store:hover {
  background: #111;
  transform: translateY(-2px);
}

.btn--store div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.btn--store small {
  font-size: 0.75rem;
  opacity: 0.7;
}

.btn--store strong {
  font-size: 1.1rem;
  font-family: var(--font-display);
}

/* ─── NAVIGATION ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(248, 248, 253, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(124, 58, 237, 0.06);
  transition: background-color var(--transition-fast), padding var(--transition-fast);
}

.nav--scrolled {
  background: rgba(248, 248, 253, 0.95);
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
}

.logo-accent {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav__links {
  display: flex;
  gap: 32px;
}

.nav__links a {
  font-weight: 600;
  color: hsl(var(--text-muted));
  font-size: 1rem;
}

.nav__links a:hover {
  color: hsl(var(--color-primary));
}

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav__burger span {
  width: 100%;
  height: 3px;
  background-color: hsl(var(--color-primary));
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.nav__burger--active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__burger--active span:nth-child(2) {
  opacity: 0;
}

.nav__burger--active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ─── MOBILE MENU ─── */
.mobile-menu {
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  background: white;
  border-bottom: 1px solid rgba(124, 58, 237, 0.1);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 999;
  transform: translateY(-120%);
  transition: transform var(--transition-normal);
  box-shadow: var(--shadow-md);
}

.mobile-menu--active {
  transform: translateY(0);
}

.mobile-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: hsl(var(--text-dark));
}

.mobile-cta {
  width: 100%;
  margin-top: 8px;
}

/* ─── HERO SECTION ─── */
.hero {
  position: relative;
  padding: 160px 0 100px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  gap: 60px;
  overflow: visible;
}

.hero__content {
  flex: 1.2;
  z-index: 10;
}

.hero__badge {
  display: inline-block;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.15);
  color: hsl(var(--color-primary-light));
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.hero__title {
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: 1.25rem;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 580px;
}

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

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

.stat {
  display: flex;
  flex-direction: column;
}

.stat__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.8rem;
  color: hsl(var(--color-primary));
  line-height: 1.2;
}

.stat__label {
  font-size: 0.9rem;
  color: hsl(var(--text-muted));
}

.stat__div {
  width: 1px;
  height: 35px;
  background-color: rgba(124, 58, 237, 0.15);
}

/* ─── HERO BLOBS & FLOATING ─── */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.35;
  animation: blobFloat 10s infinite alternate ease-in-out;
}

.blob--1 {
  width: 350px;
  height: 350px;
  background: hsl(var(--color-primary));
  top: 10%;
  left: -5%;
}

.blob--2 {
  width: 300px;
  height: 300px;
  background: hsl(var(--color-secondary));
  bottom: 10%;
  right: 15%;
  animation-delay: -3s;
}

.blob--3 {
  width: 250px;
  height: 250px;
  background: hsl(var(--color-amber));
  top: 40%;
  left: 45%;
  animation-delay: -6s;
}

@keyframes blobFloat {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(40px) scale(1.15); }
}

.float-emoji {
  position: absolute;
  font-size: 2rem;
  left: var(--x);
  top: var(--y);
  z-index: 1;
  opacity: 0.75;
  animation: bounceEmoji var(--s) infinite alternate ease-in-out;
  animation-delay: var(--d);
  user-select: none;
}

@keyframes bounceEmoji {
  0% { transform: translateY(0); }
  100% { transform: translateY(-15px); }
}

/* ─── PHONE MOCKUP ─── */
.hero__phone {
  flex: 0.8;
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
}

.phone {
  width: 300px;
  height: 610px;
  background: #111;
  border-radius: 42px;
  padding: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3), var(--shadow-lg);
  border: 4px solid #333;
  position: relative;
  overflow: hidden;
}

.phone__notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 22px;
  background: #111;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  z-index: 20;
}

.phone__screen {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
}

.phone__app {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: #f7f6fb;
}

.app-header {
  padding: 36px 16px 12px 16px;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  text-align: center;
}

.app-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: #7C3AED;
}

.canvas-area {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  position: relative;
}

.coloring-art {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  aspect-ratio: 1;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.canvas-paint {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(139, 92, 246, 0.25);
  transition: background-color 0.4s ease;
}

.canvas-outline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  pointer-events: none;
  padding: 8px;
}

.color-palette-strip {
  display: flex;
  gap: 8px;
  padding: 12px;
  justify-content: center;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.cp {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s;
  box-shadow: inset 0 0 0 2px rgba(0,0,0,0.05);
}

.cp--active {
  transform: scale(1.25);
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #8B5CF6;
}

.app-story-preview {
  background: #fff;
  margin: 12px;
  margin-top: 0;
  padding: 12px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid #8B5CF6;
}

.app-story-preview p {
  font-size: 0.85rem;
  color: #1a1a2e;
  line-height: 1.4;
}

.float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 15;
  animation: cardBounce 3s infinite alternate ease-in-out;
}

.float-card--1 {
  top: 15%;
  left: -40px;
}

.float-card--2 {
  bottom: 25%;
  right: -30px;
  animation-delay: -1.5s;
}

@keyframes cardBounce {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

/* ─── FEATURES SECTION ─── */
.features {
  padding: 100px 0;
  background: #fff;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 64px auto;
}

.section-tag {
  display: inline-block;
  background: rgba(124, 58, 237, 0.08);
  color: hsl(var(--color-primary-light));
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 16px;
}

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

.feature-card {
  background: hsl(var(--bg-light));
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid rgba(124, 58, 237, 0.04);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-card__icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.feature-card p {
  font-size: 1rem;
  line-height: 1.6;
}

.feature-card--big {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
}

.feature-card--big .feature-card__visual {
  flex: 1;
  min-height: 120px;
  background: #fff;
  border-radius: var(--radius-md);
  margin-top: 24px;
  position: relative;
  overflow: hidden;
  border: 1px dashed rgba(124, 58, 237, 0.15);
}

.mini-canvas {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f6fb;
  min-height: 160px;
}

.mini-paint {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, rgba(236, 72, 153, 0.35), rgba(245, 158, 11, 0.25));
  border-right: 3px dashed rgba(124, 58, 237, 0.3);
  animation: paintProgress 4s infinite alternate ease-in-out;
}

@keyframes paintProgress {
  0% { width: 25%; }
  100% { width: 75%; }
}

.mini-outline {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  pointer-events: none;
  padding: 10px;
}

.mini-brush {
  position: absolute;
  font-size: 1.8rem;
  top: 40%;
  left: 50%;
  animation: brushMove 4s infinite alternate ease-in-out;
  pointer-events: none;
  z-index: 5;
}

@keyframes brushMove {
  0% { transform: translate(0, 0) rotate(0deg); left: 25%; top: 60%; }
  100% { transform: translate(20px, -15px) rotate(20deg); left: 75%; top: 30%; }
}

.feature-card--wide {
  grid-column: span 3;
  display: flex;
  align-items: center;
  gap: 48px;
}

.feature-card--wide > div:first-child {
  flex: 1.2;
}

.parent-stats {
  flex: 1.8;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: flex-end;
  height: 140px;
  background: #fff;
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.02);
}

.pstat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.pstat__bar {
  width: 16px;
  height: var(--h);
  background-color: var(--c);
  border-radius: var(--radius-full) var(--radius-full) 0 0;
  animation: growBar 1.5s forwards ease-out;
  transform-origin: bottom;
}

@keyframes growBar {
  0% { transform: scaleY(0); }
  100% { transform: scaleY(1); }
}

.pstat span {
  font-size: 0.75rem;
  font-weight: 700;
  color: hsl(var(--text-muted));
}

/* ─── HOW IT WORKS ─── */
.how-it-works {
  padding: 100px 0;
  background: hsl(var(--bg-light));
}

.steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.step {
  flex: 1;
  background: #fff;
  padding: 40px;
  border-radius: var(--radius-lg);
  position: relative;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.02);
}

.step__number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
}

.step__icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.step p {
  font-size: 0.95rem;
}

.step__arrow {
  font-size: 2rem;
  color: hsl(var(--color-primary-light));
  font-weight: bold;
}

/* ─── GALLERY ─── */
.gallery {
  padding: 100px 0;
  background: #fff;
}

/* Filter buttons */
.gallery__filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  background: hsl(var(--bg-light));
  border: 2px solid rgba(124, 58, 237, 0.12);
  color: hsl(var(--text-muted));
  padding: 8px 22px;
  border-radius: var(--radius-full);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: hsl(var(--color-primary));
  color: hsl(var(--color-primary));
}

.filter-btn--active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-md);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-card {
  background: hsl(var(--bg-light));
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

/* Emoji-based card image (legacy) */
.gallery-card__img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* ─── PROTECTED IMAGE CARD ─── */
/* Uses CSS background-image instead of <img> to prevent easy right-click saving */
.gallery-card__img--photo {
  height: 200px;
  background: linear-gradient(135deg, #f5f3ff, #ede9fe);
  overflow: hidden;
  position: relative;
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
}

/* The actual drawing is a background-image on this div — not an <img> tag */
.gallery-card__drawing {
  position: absolute;
  inset: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  mix-blend-mode: multiply;
  padding: 16px;
  transition: transform 0.4s ease;
  pointer-events: none;
  -webkit-user-drag: none;
  user-drag: none;
}

/* Transparent overlay — sits on top of the drawing, absorbs right-clicks */
.gallery-card__shield {
  position: absolute;
  inset: 0;
  z-index: 5;
  cursor: default;
  background: transparent;
  -webkit-user-select: none;
  user-select: none;
}

.gallery-card:hover .gallery-card__drawing {
  transform: scale(1.08);
}

/* Disable drag on everything inside gallery */
.gallery {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}

.char-art {
  font-size: 5rem;
  transition: transform 0.5s ease;
}

.gallery-card:hover .char-art {
  transform: scale(1.15) rotate(5deg);
}

.gallery-card__info {
  padding: 18px;
}

.gallery-card__info h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.gallery-card__info p {
  font-size: 0.85rem;
  margin-bottom: 10px;
}

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

.tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(124, 58, 237, 0.08);
  color: hsl(var(--color-primary));
  font-weight: 700;
  font-size: 0.75rem;
  border-radius: var(--radius-sm);
}

/* ─── COLOR EMOTIONS ─── */
.color-emotion {
  padding: 80px 0;
  background: hsl(var(--bg-light));
}

.emotions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.emotion-pill {
  background: white;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  border: 2px solid transparent;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
  cursor: default;
}

.emotion-pill:hover {
  transform: translateY(-3px) scale(1.03);
  border-color: var(--c);
}

/* ─── TESTIMONIALS ─── */
.testimonials {
  padding: 100px 0;
  background: #fff;
}

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

.tcard {
  background: hsl(var(--bg-light));
  padding: 32px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.tcard__stars {
  color: hsl(var(--color-amber));
  font-size: 1.1rem;
}

.tcard p {
  font-style: italic;
  font-size: 1rem;
  line-height: 1.6;
}

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

.tcard__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
}

.tcard__author strong {
  display: block;
  font-size: 0.95rem;
}

.tcard__author span {
  font-size: 0.8rem;
  color: hsl(var(--text-muted));
}

/* ─── DOWNLOAD ─── */
.download {
  padding: 100px 0;
  background: var(--gradient-dark);
  color: white;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.download__inner {
  position: relative;
  z-index: 10;
  max-width: 700px;
  margin: 0 auto;
}

.download__badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.download h2 {
  margin-bottom: 16px;
}

.download p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.2rem;
  margin-bottom: 40px;
}

.download__btns {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.download__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  font-size: 0.9rem;
  opacity: 0.8;
}

.download .blob--4 {
  width: 400px;
  height: 400px;
  background: hsl(var(--color-primary));
  top: -10%;
  left: -10%;
  opacity: 0.25;
}

.download .blob--5 {
  width: 350px;
  height: 350px;
  background: hsl(var(--color-secondary));
  bottom: -10%;
  right: -10%;
  opacity: 0.25;
}

/* ─── FOOTER ─── */
.footer {
  background: #09090e;
  color: white;
  padding: 80px 0 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand {
  flex: 1.5;
  min-width: 250px;
}

.footer__brand .nav__logo {
  margin-bottom: 16px;
}

.footer__brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}

.footer__links {
  flex: 2.5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  min-width: 300px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col h5 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.footer__col a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer__col a:hover {
  color: hsl(var(--color-primary-light));
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ─── PRICING ─── */
.pricing {
  padding: 100px 0;
  background: hsl(var(--bg-light));
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.price-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  border: 1px solid rgba(124, 58, 237, 0.05);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.price-card--featured {
  border: 2px solid hsl(var(--color-primary-light));
  box-shadow: var(--shadow-lg);
  background: #ffffff;
}

.price-card--featured:hover {
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.15);
}

.price-card__badge {
  position: absolute;
  top: -16px;
  right: 24px;
  background: var(--gradient-primary);
  color: white;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

.price-card__badge--soon {
  background: linear-gradient(135deg, hsl(var(--color-amber)), hsl(38, 92%, 65%));
}

.price-card__header {
  margin-bottom: 32px;
}

.price-card__header h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.price-card__header p {
  font-size: 0.95rem;
  color: hsl(var(--text-muted));
  margin-bottom: 24px;
}

.price-card__price {
  display: flex;
  align-items: baseline;
  margin-bottom: 8px;
}

.price-card__price .currency {
  font-size: 1.5rem;
  font-weight: 800;
  color: hsl(var(--color-primary));
}

.price-card__price .amount {
  font-size: 3.5rem;
  font-weight: 900;
  color: hsl(var(--color-primary));
  line-height: 1;
}

.price-card__price .period {
  font-size: 1rem;
  color: hsl(var(--text-muted));
  margin-left: 4px;
}

.price-card__save {
  font-size: 0.85rem;
  color: hsl(var(--color-emerald));
  font-weight: 700;
  margin-bottom: 8px;
}

.price-card__features {
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.price-card__features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.price-card__features li span {
  color: hsl(var(--color-primary-light));
  font-weight: 900;
  font-size: 1.1rem;
}

.price-card__features li.disabled {
  opacity: 0.5;
}

.price-card__features li.disabled span {
  color: hsl(var(--color-rose));
}

.price-card__btn {
  margin-top: auto;
  width: 100%;
}

/* ─── REVEAL ANIMATION (ON SCROLL) ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ─── RESPONSIVE DESIGN ─── */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    padding-top: 120px;
    gap: 40px;
  }
  .hero__content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero__ctas {
    justify-content: center;
  }
  .hero__phone {
    width: 100%;
    margin-top: 20px;
  }
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-card--wide {
    grid-column: span 2;
  }
  .steps {
    flex-direction: column;
    gap: 40px;
  }
  .step__arrow {
    transform: rotate(90deg);
  }
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials__grid {
    grid-template-columns: 1fr;
  }
  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav__links, .btn--nav {
    display: none;
  }
  .nav__burger {
    display: flex;
  }
  .features__grid {
    grid-template-columns: 1fr;
  }
  .feature-card--big {
    grid-column: span 1;
  }
  .feature-card--wide {
    grid-column: span 1;
    flex-direction: column;
    gap: 24px;
  }
  .parent-stats {
    width: 100%;
  }
  .gallery__grid {
    grid-template-columns: 1fr;
  }
  .footer__links {
    grid-template-columns: 1fr;
  }
}
