/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ===== BASE ===== */
body {
  font-family: 'Oxygen', 'Segoe UI', sans-serif;
  background: #C1D72D;
  color: #333;
  min-height: 100vh;
}

/* ===== HEADER ===== */
.header {
  background: #C1D72D;
  padding: 0 40px 12px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  border-bottom: 3px solid #ED1C24;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  position: sticky;
  top: 0;
  z-index: 100;
  overflow: visible;
}
.header-logos { display: flex; align-items: flex-end; gap: 16px; }
.logo-fm { height: 90px; margin-top: -5px; }
.logo-kiddopia { height: 45px; }
.collab-badge {
  background: #ED1C24;
  color: white;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #ED1C24 0%, #ff4444 40%, #ff6b35 100%);
  padding: 60px 40px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 30px 30px;
  animation: movePattern 20s linear infinite;
}
@keyframes movePattern {
  0% { transform: translate(0, 0); }
  100% { transform: translate(30px, 30px); }
}
.hero-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.hero-subtitle {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 4px;
  opacity: 0.9;
  margin-bottom: 16px;
  font-weight: 600;
}
.hero-title {
  font-family: 'Lilita One', 'Oxygen', sans-serif;
  font-size: 52px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 8px;
  text-shadow: 2px 3px 6px rgba(0,0,0,0.2);
}
.hero-and { font-size: 28px; font-weight: 600; opacity: 0.9; margin-bottom: 8px; }
.hero-free {
  font-family: 'Lilita One', 'Oxygen', sans-serif;
  font-size: 72px;
  font-weight: 900;
  color: #C1D72D;
  text-shadow: 3px 4px 8px rgba(0,0,0,0.3);
  letter-spacing: 6px;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.hero-validity {
  margin-top: 16px; font-size: 14px; opacity: 0.8;
  background: rgba(255,255,255,0.15);
  display: inline-block; padding: 6px 20px; border-radius: 20px;
}
.hero-badges { display: flex; justify-content: center; gap: 20px; margin-top: 24px; }
.hero-badge {
  background: rgba(255,255,255,0.15);
  padding: 8px 18px; border-radius: 8px;
  font-size: 13px; font-weight: 600;
  backdrop-filter: blur(4px);
}

/* ===== MAIN CONTENT ===== */
.main-content {
  display: flex; max-width: 1200px;
  margin: -40px auto 0; padding: 0 40px;
  gap: 40px; position: relative; z-index: 10;
}

/* ===== FORM ===== */
.form-section {
  flex: 1; background: white; border-radius: 16px;
  padding: 36px; box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  border-top: 4px solid #ED1C24;
}
.form-title {
  font-family: 'Lilita One', 'Oxygen', sans-serif;
  font-size: 24px; font-weight: 800; color: #ED1C24;
  margin-bottom: 4px; text-align: center;
}
.form-subtitle { font-size: 14px; color: #777; margin-bottom: 24px; text-align: center; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 700;
  color: #555; margin-bottom: 6px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.form-group input,
.form-group select {
  width: 100%; padding: 14px 16px;
  border: 2px solid #e0e0e0; border-radius: 10px;
  font-size: 15px; font-family: 'Oxygen', sans-serif;
  transition: border-color 0.2s; background: #fafafa; outline: none;
}
.form-group input:focus,
.form-group select:focus { border-color: #ED1C24; background: white; }
.error-msg { display: block; font-size: 12px; color: #ED1C24; margin-top: 4px; min-height: 16px; }
.submit-btn {
  width: 100%; padding: 16px; background: #00693F; color: #fff;
  border: none; border-radius: 10px; font-size: 18px; font-weight: 800;
  font-family: 'Oxygen', sans-serif; cursor: pointer;
  text-transform: uppercase; letter-spacing: 1px; margin-top: 8px;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 12px rgba(0,105,63,0.4);
}
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,105,63,0.5); }
.submit-btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

/* ===== SIDEBAR ===== */
.info-sidebar { width: 380px; display: flex; flex-direction: column; gap: 20px; }
.info-card { background: white; border-radius: 16px; padding: 24px; box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
.info-card h3 {
  font-size: 16px; font-weight: 800; color: #00693F;
  margin-bottom: 12px; display: flex; align-items: center; gap: 8px;
}
.icon {
  width: 28px; height: 28px; background: #00693F; color: white;
  border-radius: 50%; display: inline-flex; align-items: center;
  justify-content: center; font-size: 14px; flex-shrink: 0;
}
.icon-red { background: #ED1C24; }
.icon-terms { background: rgba(255,255,255,0.2); }
.step-list { list-style: none; }
.step-list li {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 10px; font-size: 14px; line-height: 1.4;
}
.step-num {
  background: #ED1C24; color: white;
  width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; flex-shrink: 0;
}
.centers-list { display: flex; flex-wrap: wrap; gap: 8px; }
.center-tag {
  background: #fff5f5; border: 1px solid #fdd;
  padding: 5px 12px; border-radius: 20px;
  font-size: 12px; font-weight: 600; color: #ED1C24;
}

/* ===== CITY LIST ===== */
.city-list { display: flex; flex-direction: column; gap: 0; }
.city-item {
  padding: 10px 12px; border-bottom: 1px solid #f0f0f0;
  display: flex; flex-wrap: wrap; align-items: center;
  cursor: default;
}
.city-item:last-child { border-bottom: none; }
.city-expandable { cursor: pointer; }
.city-name {
  font-size: 14px; font-weight: 700; color: #333;
  text-transform: uppercase; letter-spacing: 0.5px; flex: 1;
}
.city-expandable .city-name { color: #00693F; }
.city-arrow {
  font-size: 20px; font-weight: 700; color: #999;
  transition: transform 0.2s; line-height: 1;
}
.city-expandable.open .city-arrow { transform: rotate(90deg); color: #00693F; }
.city-locations {
  width: 100%; max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease; display: flex;
  flex-wrap: wrap; gap: 6px; padding-top: 0;
}
.city-expandable.open .city-locations {
  max-height: 200px; padding-top: 10px;
}
.loc-tag {
  background: #fff5f5; border: 1px solid #fdd;
  padding: 4px 10px; border-radius: 14px;
  font-size: 11px; font-weight: 600; color: #ED1C24;
}
.info-card-terms { background: linear-gradient(135deg, #00693F, #008c50); color: white; }
.info-card-terms h3 { color: #ECE810; }
.info-card-terms ul { font-size: 13px; line-height: 1.8; padding-left: 16px; }

/* ===== COUPON REVEAL ===== */
.coupon-section { max-width: 700px; margin: 40px auto; padding: 0 40px; }
.coupon-card {
  background: white; border-radius: 16px; padding: 36px;
  border: 3px dashed #ED1C24; text-align: center;
  box-shadow: 0 8px 32px rgba(237,28,36,0.12);
  animation: fadeInUp 0.6s ease-out;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.coupon-label { font-size: 14px; color: #888; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; }
.coupon-code {
  font-size: 42px; font-weight: 900; color: #ED1C24;
  letter-spacing: 6px; font-family: 'Courier New', monospace;
  background: #fff5f5; padding: 16px 32px; border-radius: 12px;
  border: 2px solid #fdd; display: inline-block; margin-bottom: 12px;
}
.coupon-validity { font-size: 13px; color: #999; margin-bottom: 20px; }
.coupon-redeem-steps { text-align: left; margin-top: 16px; padding-top: 16px; border-top: 1px solid #eee; }
.redeem-title { font-weight: 800; color: #00693F; margin-bottom: 10px; font-size: 14px; }
.redeem-step { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 14px; }

/* ===== FOOTER ===== */
.footer { background: #ED1C24; color: #fff; padding: 24px 40px; margin-top: 60px; text-align: center; }
.footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 12px; }
.footer-links a { color: #fff; text-decoration: none; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-links a:hover { color: #ECE810; }
.footer-copy { font-size: 12px; opacity: 0.8; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .header { padding: 10px 20px; }
  .logo-fm { height: 60px; }
  .logo-kiddopia { height: 30px; }
  .collab-badge { font-size: 10px; padding: 3px 10px; }
  .hero { padding: 40px 20px; }
  .hero-title { font-size: 32px; }
  .hero-and { font-size: 20px; }
  .hero-free { font-size: 48px; letter-spacing: 3px; }
  .hero-badges { flex-direction: column; align-items: center; gap: 8px; }
  .main-content { flex-direction: column; padding: 0 16px; margin-top: -20px; gap: 20px; }
  .info-sidebar { width: 100%; }
  .form-section { padding: 24px; }
  .coupon-section { padding: 0 16px; }
  .coupon-code { font-size: 28px; letter-spacing: 3px; padding: 12px 20px; }
  .footer { padding: 20px; }
  .footer-links { flex-direction: column; gap: 10px; }
}
