:root {
  --yellow: #FFD23F;
  --orange: #FF6B35;
  --blue: #3A86FF;
  --green: #06D6A0;
  --pink: #FF006E;
  --purple: #8338EC;
  --bg: #FFFBF0;
  --text: #1a1a2e;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

section {
  overflow: visible;
}

body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* HERO */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px 120px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58,134,255,0.15), transparent 70%);
  top: -100px; left: -100px;
  animation: pulse 4s ease-in-out infinite;
}
.hero::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(131,56,236,0.2), transparent 70%);
  bottom: -50px; right: -50px;
  animation: pulse 4s ease-in-out infinite 2s;
}

/* SIDE DECO */
.side-deco {
  position: absolute;
  width: 280px;
  pointer-events: none;
  filter: drop-shadow(0 10px 30px rgba(6,214,160,0.25));
  z-index: 5;
}
.side-deco--left {
  left: 100px;
  clip-path: inset(0 0 0 20px);
  top: 50%;
  transform: translateY(-50%) rotate(-10deg);
}
.side-deco--right {
  right: 150px;
  clip-path: inset(0 20px 0 0);
  top: 45%;
  transform: translateY(-50%) rotate(8deg);
}

@media (max-width: 900px) {
  .side-deco { display: none; }
}

@media (max-width: 768px) {
  .steps-with-video {
    grid-template-columns: 1fr !important;
  }
  .steps-with-video iframe {
    width: 100% !important;
    height: 560px !important;
  }
}

/* WAVE DIVIDERS */
.wave-top, .wave-bottom {
  position: absolute;
  left: 0; right: 0;
  overflow: hidden;
  line-height: 0;
  z-index: 2;
}
.wave-top { top: -1px; }
.wave-bottom { bottom: -1px; }
.wave-top svg, .wave-bottom svg {
  display: block;
  width: 100%;
  height: 80px;
}

@keyframes pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.1)} }

.badge {
  background: var(--yellow);
  color: var(--text);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 24px;
  display: inline-block;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  animation: bounceIn 0.8s ease both;
}

.hero h1 {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(3rem, 10vw, 6rem);
  color: white;
  line-height: 1;
  margin-bottom: 8px;
  animation: bounceIn 0.9s ease 0.1s both;
}

.hero h1 span { color: var(--yellow); }

.hero-sub {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  color: rgba(255,255,255,0.75);
  max-width: 500px;
  margin: 16px auto 40px;
  font-weight: 600;
  animation: bounceIn 1s ease 0.2s both;
}

.vest-graphic {
  width: 500px;
  height: 500px;
  margin: 0 auto 40px;
  animation: float 3s ease-in-out infinite;
}

@media (max-width: 640px) {
  .vest-graphic { width: 280px; height: 280px; }
}

.vest-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(6,214,160,0.4));
}

@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

.scroll-hint {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  animation: bounceIn 1.2s ease 0.4s both;
}
.scroll-hint span { display: block; margin-top: 8px; animation: bounce 1.5s infinite; }
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(6px)} }

@keyframes bounceIn {
  0% { opacity:0; transform:translateY(30px); }
  100% { opacity:1; transform:translateY(0); }
}

/* SECTIONS */
section {
  padding: 100px 20px;
  position: relative;
}

.container { max-width: 1000px; margin: 0 auto; }

.section-label {
  font-family: 'Fredoka One', cursive;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  margin-bottom: 20px;
}

/* WHAT */
.what { background: white; }

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

.what-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 16px;
}

.what-img {
  width: 300px;
  height: 400px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(6,214,160,0.3));
  animation: float 3s ease-in-out infinite;
}

/* HOW */
.how { background: var(--blue); color: white; }
.how .section-label { color: var(--yellow); }
.how .section-title { color: white; }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.step {
  background: rgba(255,255,255,0.12);
  border-radius: 24px;
  padding: 32px 24px;
  border: 2px solid rgba(255,255,255,0.2);
  transition: transform 0.3s, background 0.3s;
  position: relative;
  overflow: hidden;
}
.step:hover { transform: translateY(-8px); background: rgba(255,255,255,0.2); }

.step-num {
  font-family: 'Fredoka One', cursive;
  font-size: 3.5rem;
  color: rgba(255,255,255,0.15);
  position: absolute;
  top: 10px; right: 16px;
  line-height: 1;
}

.step-icon { font-size: 2.5rem; margin-bottom: 16px; }
.step h3 { font-family: 'Fredoka One', cursive; font-size: 1.3rem; margin-bottom: 10px; }
.step p { font-size: 0.95rem; line-height: 1.6; color: rgba(255,255,255,0.85); }

/* LEDS */
.leds { background: #1a1a2e; color: white; }
.leds .section-label { color: var(--green); }
.leds .section-title { color: white; }

.led-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.led-card {
  border-radius: 20px;
  padding: 28px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s;
  cursor: default;
}
.led-card:hover { transform: scale(1.05); }

.led-card .glow {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  opacity: 0.3;
  filter: blur(20px);
}

.led-dot {
  width: 60px; height: 60px;
  border-radius: 50%;
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
  animation: ledPulse 2s ease-in-out infinite;
}
@keyframes ledPulse { 0%,100%{box-shadow: 0 0 20px currentColor} 50%{box-shadow: 0 0 40px currentColor} }

.led-card h3 { font-family: 'Fredoka One', cursive; font-size: 1.4rem; margin-bottom: 8px; position: relative; z-index:1; }
.led-card p { font-size: 0.9rem; color: rgba(255,255,255,0.8); line-height: 1.5; position: relative; z-index:1; }

.led-red { background: rgba(255,0,110,0.15); border: 2px solid rgba(255,0,110,0.4); }
.led-red .led-dot { background: #FF006E; color: #FF006E; box-shadow: 0 0 20px #FF006E; }
.led-red .glow { background: #FF006E; }

.led-orange { background: rgba(255,107,53,0.15); border: 2px solid rgba(255,107,53,0.4); }
.led-orange .led-dot { background: #FF6B35; color: #FF6B35; box-shadow: 0 0 20px #FF6B35; }
.led-orange .glow { background: #FF6B35; }

.led-yellow { background: rgba(255,210,63,0.15); border: 2px solid rgba(255,210,63,0.4); }
.led-yellow .led-dot { background: #FFD23F; color: #FFD23F; box-shadow: 0 0 20px #FFD23F; }
.led-yellow .glow { background: #FFD23F; }

.led-green { background: rgba(6,214,160,0.15); border: 2px solid rgba(6,214,160,0.4); }
.led-green .led-dot { background: #06D6A0; color: #06D6A0; box-shadow: 0 0 20px #06D6A0; }
.led-green .glow { background: #06D6A0; }

/* FAQ */
.faq { background: var(--yellow); }
.faq .section-label { color: var(--orange); }

.faq-list { margin-top: 40px; display: flex; flex-direction: column; gap: 16px; }

.faq-item {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 4px 4px 0 var(--orange);
}

.faq-q {
  padding: 20px 24px;
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq-q:hover { background: #fffbee; }

.faq-chevron { font-size: 1.2rem; transition: transform 0.3s; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
  padding: 0 24px;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 24px 20px; }

/* FOOTER */
footer {
  background: var(--text);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 40px 20px;
  font-size: 0.9rem;
}
footer strong { color: var(--yellow); }

/* RESPONSIVE */
@media (max-width: 640px) {
  .what-grid { grid-template-columns: 1fr; gap: 30px; }
  .what-img { width: 200px; height: 280px; margin: 0 auto; }
}