/* ═══════ PAGE-SPECIFIC: front-page ═══════ */

/* ═══════ HERO ═══════ */
#hero {
  min-height: 100vh; display: flex; align-items: center;
  padding-top: calc(var(--header-h) + 32px); padding-bottom: 40px;
}
#hero > .container { max-width: 1400px; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.hero-content { position: relative; z-index: 2; }

.hero-content h1 {
  font-size: clamp(36px, 7vw, 64px); font-weight: 900;
  line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 24px;
}
.hero-content h1 .pop {
  background: linear-gradient(135deg, var(--secondary), var(--tertiary), var(--pink));
  background-size: 200% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; animation: pop-flow 4s linear infinite;
}

.hero-content p {
  font-size: 18px; color: var(--text-dim); max-width: 480px;
  margin-bottom: 40px; line-height: 1.8; font-weight: 500; letter-spacing: 0.01em;
}
.hero-content p strong { color: var(--text); font-weight: 700; }

.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-perks {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px;
}
.perk {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: var(--text-dim);
  padding: 8px 16px; border-radius: 100px;
  background: var(--surface); border: 1px solid var(--outline);
}
.perk .material-symbols-outlined { font-size: 16px; }
.perk.p-primary .material-symbols-outlined { color: var(--primary); }
.perk.p-secondary .material-symbols-outlined { color: var(--secondary); }
.perk.p-tertiary .material-symbols-outlined { color: var(--tertiary); }

.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; overflow: hidden; }
.mascot-wrapper { position: relative; width: 100%; }
.mascot-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 100%; height: 100%;
  background: radial-gradient(circle, rgba(200,126,255,0.35) 0%, rgba(102,234,255,0.15) 40%, transparent 65%);
  filter: blur(50px);
  animation: glow-pulse 4s ease-in-out infinite;
}
.mascot-img {
  position: relative; width: 195%; max-width: 195%; margin-left: -47%; object-fit: contain;
  filter: drop-shadow(0 20px 60px rgba(200,126,255,0.35));
  animation: float 5s ease-in-out infinite;
}

.fun-chip {
  position: absolute; padding: 10px 16px; border-radius: 14px;
  font-size: 14px; font-weight: 700; white-space: nowrap;
  display: flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--outline);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  animation: chip-bob 4s ease-in-out infinite; z-index: 5;
}
.fun-chip-1 { top: 5%; right: 5%; animation-delay: 0s; }
.fun-chip-2 { top: 50%; right: 8%; animation-delay: 1.5s; }
.fun-chip-3 { bottom: 12%; left: 15%; animation-delay: 2.8s; }

@media (min-width: 768px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .hero-visual { margin-right: -60px; }
}
@media (min-width: 1200px) {
  .hero-grid { grid-template-columns: 1fr 1.2fr; gap: 0; }
  .hero-visual { margin-right: -120px; }
}
@media (max-width: 767px) {
  #hero { padding-top: var(--header-h); padding-bottom: 20px; min-height: auto; }
  .hero-grid { gap: 0; }
  .hero-visual { overflow: visible; margin: 0 auto; max-width: 180px; order: -1; }
  .mascot-glow { display: none; }
  .mascot-wrapper { margin: -10px 0; }
  .hero-content { text-align: center; }
  .hero-content p { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-perks { justify-content: center; }
  .mascot-img { width: 100% !important; max-width: 100% !important; margin-left: 0 !important; }
  .fun-chip { display: none !important; }

  /* Default glow on mobile for all cards */
  .feat-card:nth-child(1) { border-color: rgba(102,234,255,0.35); box-shadow: 0 0 20px rgba(102,234,255,0.12), 0 0 50px rgba(102,234,255,0.06); }
  .feat-card:nth-child(2) { border-color: rgba(255,153,68,0.35); box-shadow: 0 0 20px rgba(255,153,68,0.12), 0 0 50px rgba(255,153,68,0.06); }
  .feat-card:nth-child(3) { border-color: rgba(255,217,78,0.35); box-shadow: 0 0 20px rgba(255,217,78,0.12), 0 0 50px rgba(255,217,78,0.06); }
  .feat-card:nth-child(4) { border-color: rgba(200,126,255,0.35); box-shadow: 0 0 20px rgba(200,126,255,0.12), 0 0 50px rgba(200,126,255,0.06); }
  .feat-card:nth-child(5) { border-color: rgba(85,240,187,0.35); box-shadow: 0 0 20px rgba(85,240,187,0.12), 0 0 50px rgba(85,240,187,0.06); }
  .feat-card .feat-glow { opacity: 0.3; }

  .step-card:nth-child(1) { border-color: rgba(102,234,255,0.3); box-shadow: 0 0 20px rgba(102,234,255,0.1); }
  .step-card:nth-child(2) { border-color: rgba(255,153,68,0.3); box-shadow: 0 0 20px rgba(255,153,68,0.1); }
  .step-card:nth-child(3) { border-color: rgba(255,217,78,0.3); box-shadow: 0 0 20px rgba(255,217,78,0.1); }

  .price-card { border-color: rgba(102,234,255,0.3); box-shadow: 0 0 20px rgba(102,234,255,0.1); }
  .price-card.hot { border-color: rgba(255,153,68,0.4); box-shadow: 0 0 20px rgba(255,153,68,0.15); }

  .mascot-steps { max-height: 224px !important; height: 224px !important; }
  .mascot-cta { max-height: 234px; }
}

/* ═══════ FEATURES ═══════ */
.features-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.feat-card {
  padding: 44px 36px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--outline);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s, box-shadow 0.4s;
  position: relative; overflow: hidden;
}
.feat-card:hover { transform: translateY(-8px); }
.feat-card:nth-child(1) { box-shadow: 0 0 15px rgba(102,234,255,0.06); }
.feat-card:nth-child(1):hover { border-color: rgba(102,234,255,0.55); box-shadow: 0 0 25px rgba(102,234,255,0.25), 0 0 60px rgba(102,234,255,0.15), 0 0 120px rgba(102,234,255,0.06); }
.feat-card:nth-child(2) { box-shadow: 0 0 15px rgba(255,153,68,0.06); }
.feat-card:nth-child(2):hover { border-color: rgba(255,153,68,0.55); box-shadow: 0 0 25px rgba(255,153,68,0.25), 0 0 60px rgba(255,153,68,0.15), 0 0 120px rgba(255,153,68,0.06); }
.feat-card:nth-child(3) { box-shadow: 0 0 15px rgba(255,217,78,0.06); }
.feat-card:nth-child(3):hover { border-color: rgba(255,217,78,0.55); box-shadow: 0 0 25px rgba(255,217,78,0.25), 0 0 60px rgba(255,217,78,0.15), 0 0 120px rgba(255,217,78,0.06); }
.feat-card:nth-child(4) { box-shadow: 0 0 15px rgba(200,126,255,0.06); }
.feat-card:nth-child(4):hover { border-color: rgba(200,126,255,0.55); box-shadow: 0 0 25px rgba(200,126,255,0.25), 0 0 60px rgba(200,126,255,0.15), 0 0 120px rgba(200,126,255,0.06); }
.feat-card:nth-child(5) { box-shadow: 0 0 15px rgba(85,240,187,0.06); }
.feat-card:nth-child(5):hover { border-color: rgba(85,240,187,0.55); box-shadow: 0 0 25px rgba(85,240,187,0.25), 0 0 60px rgba(85,240,187,0.15), 0 0 120px rgba(85,240,187,0.06); }

.feat-card .feat-glow {
  position: absolute; top: -40px; right: -40px; width: 200px; height: 200px;
  border-radius: 50%; filter: blur(60px); opacity: 0.12; pointer-events: none;
  transition: opacity 0.4s, transform 0.4s;
}
.feat-card:hover .feat-glow { opacity: 0.5; transform: scale(1.5); }

.feat-emoji { font-size: 46px; margin-bottom: 20px; display: block; }
.feat-card h3 { font-size: 23px; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.01em; }
.feat-card p { color: var(--text-dim); font-size: 15px; line-height: 1.8; font-weight: 500; letter-spacing: 0.01em; }

.feat-models { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.feat-model {
  font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 100px;
  background: rgba(255,255,255,0.05); color: var(--text-dim);
  border: 1px solid rgba(255,255,255,0.06);
}

@media (min-width: 640px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-card:nth-child(5) { grid-column: 1 / -1; max-width: 540px; margin: 0 auto; width: 100%; }
}
@media (min-width: 1024px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .feat-card:nth-child(4) { grid-column: auto; }
  .feat-card:nth-child(5) { grid-column: auto; max-width: none; margin: 0; }
}

/* ═══════ HOW IT WORKS ═══════ */
.steps-row { display: grid; grid-template-columns: 1fr; gap: 24px; }
.step-card {
  padding: 48px 36px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--outline);
  text-align: center; transition: transform 0.4s, box-shadow 0.4s, border-color 0.4s;
}
.step-card:hover { transform: translateY(-6px); }
.step-card:nth-child(1):hover { border-color: rgba(102,234,255,0.5); box-shadow: 0 0 25px rgba(102,234,255,0.2), 0 0 60px rgba(102,234,255,0.1); }
.step-card:nth-child(2):hover { border-color: rgba(255,153,68,0.5); box-shadow: 0 0 25px rgba(255,153,68,0.2), 0 0 60px rgba(255,153,68,0.1); }
.step-card:nth-child(3):hover { border-color: rgba(255,217,78,0.5); box-shadow: 0 0 25px rgba(255,217,78,0.2), 0 0 60px rgba(255,217,78,0.1); }
.step-num {
  width: 48px; height: 48px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Rubik', sans-serif; font-size: 20px; font-weight: 800;
  margin-bottom: 20px; color: var(--bg);
}
.step-card:nth-child(1) .step-num { background: var(--primary); box-shadow: 0 4px 20px rgba(82,216,255,0.3); }
.step-card:nth-child(2) .step-num { background: var(--secondary); box-shadow: 0 4px 20px rgba(255,122,26,0.3); }
.step-card:nth-child(3) .step-num { background: var(--tertiary); box-shadow: 0 4px 20px rgba(255,201,46,0.3); }
.step-card h3 { font-size: 21px; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.01em; }
.step-card p { color: var(--text-dim); font-size: 15px; font-weight: 500; line-height: 1.75; letter-spacing: 0.01em; }
@media (min-width: 768px) { .steps-row { grid-template-columns: repeat(3, 1fr); } }

/* ═══════ PRICING ═══════ */
.pricing-row { display: grid; grid-template-columns: 1fr; gap: 24px; }
.price-card {
  padding: 48px 36px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--outline);
  transition: transform 0.4s, box-shadow 0.4s, border-color 0.4s;
}
.price-card:hover { transform: translateY(-6px); border-color: rgba(102,234,255,0.5); box-shadow: 0 0 25px rgba(102,234,255,0.2), 0 0 60px rgba(102,234,255,0.1); }
.price-card.hot:hover { border-color: rgba(255,153,68,0.55); box-shadow: 0 0 25px rgba(255,153,68,0.25), 0 0 70px rgba(255,153,68,0.12); }
.price-card.hot { border-color: rgba(255,122,26,0.3); background: linear-gradient(170deg, rgba(255,122,26,0.06) 0%, var(--surface) 60%); }
.price-label {
  font-size: 12px; font-weight: 800; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px;
}
.price-card.hot .price-label { color: var(--secondary); }
.price-amount {
  font-family: 'Rubik', sans-serif; font-size: 40px; font-weight: 800;
  margin-bottom: 4px;
}
.price-amount .sm { font-size: 16px; font-weight: 600; color: var(--text-dim); }
.price-card.hot .price-amount { color: var(--secondary); }
.price-desc { color: var(--text-dim); font-size: 14px; margin-bottom: 24px; font-weight: 500; }
.price-list { list-style: none; margin-bottom: 28px; }
.price-list li {
  padding: 9px 0; font-size: 15px; color: var(--text-dim); font-weight: 600;
  display: flex; align-items: center; gap: 10px; letter-spacing: 0.01em;
}
.price-list .ic { font-size: 18px; color: var(--primary); }
.price-card.hot .price-list .ic { color: var(--secondary); }
@media (min-width: 768px) { .pricing-row { grid-template-columns: repeat(3, 1fr); } }
