/* GenAlpha.My — style.css (v2: fun / playful, grounded in logo gradient)
   Tokens
   Violet  #6C4CE0   Blue   #3FA9DC   Magenta #FF5FA2   Yellow #FFC93C   Mint #1FBE8D
   Ink     #241B4E   Ink-soft #6B6289  Paper #FBFAFF
*/

:root {
  --paper: #FBFAFF;
  --tint-violet: #F1ECFF;
  --tint-blue: #E7F6FC;
  --tint-mint: #E8FBF3;
  --tint-yellow: #FFF6DE;
  --tint-magenta: #FFEAF3;

  --ink: #241B4E;
  --ink-soft: #6B6289;

  --violet: #6C4CE0;
  --blue: #3FA9DC;
  --magenta: #FF5FA2;
  --yellow: #FFC93C;
  --mint: #1FBE8D;
  --white: #FFFFFF;

  --grad-main: linear-gradient(100deg, var(--violet), var(--blue));
  --grad-warm: linear-gradient(100deg, var(--magenta), var(--yellow));

  --font-display: 'Baloo 2', 'Fredoka', system-ui, sans-serif;
  --font-body: 'Quicksand', 'Nunito', -apple-system, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --max-w: 1120px;
  --shadow: 0 14px 30px -12px rgba(108, 76, 224, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Decorative blobs ---------- */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
}
@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-18px) translateX(10px); }
}
.blob-1 { width: 340px; height: 340px; background: var(--tint-violet); top: -80px; left: -100px; animation: float 9s ease-in-out infinite; }
.blob-2 { width: 260px; height: 260px; background: var(--tint-mint); top: 60px; right: -80px; animation: float 11s ease-in-out infinite reverse; }
.blob-3 { width: 220px; height: 220px; background: var(--tint-yellow); bottom: -60px; left: 30%; animation: float 8s ease-in-out infinite; }

.sticker {
  position: absolute;
  font-size: 30px;
  line-height: 1;
  z-index: 1;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 6px 10px rgba(36, 27, 78, 0.15));
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 250, 255, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--tint-violet);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.brand img { height: 42px; width: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  border: none;
  border-radius: var(--radius-pill);
  padding: 13px 26px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s cubic-bezier(.34,1.56,.64,1), box-shadow 0.18s ease;
}
.btn-primary { background: var(--grad-main); color: var(--white); box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-2px) scale(1.03); }
.btn-warm { background: var(--grad-warm); color: var(--ink); box-shadow: 0 14px 30px -12px rgba(255, 95, 162, 0.45); }
.btn-warm:hover { transform: translateY(-2px) scale(1.03) rotate(-1deg); }
.nav .btn { padding: 11px 22px; font-size: 15px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 68px 0 30px; overflow: hidden; }
.hero-inner { position: relative; z-index: 2; }
.eyebrow {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--violet);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: var(--tint-violet);
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 5.6vw, 58px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  max-width: 15ch;
}
.hero h1 .grad {
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 48ch;
  margin: 0 0 30px;
  font-weight: 500;
}
.hero-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 52px; }
.hero-cta .hint { font-size: 14px; color: var(--ink-soft); font-weight: 600; }

/* ---------- Flight-path timeline (signature element) ---------- */
.timeline-block {
  position: relative;
  background: var(--white);
  border: 2px solid var(--tint-violet);
  border-radius: 24px;
  padding: 30px clamp(16px, 4vw, 44px) 24px;
  box-shadow: var(--shadow);
}
.timeline-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}
.timeline-head h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}
.timeline-count {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}
.timeline-count strong {
  font-size: 18px;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ruler { position: relative; height: 74px; margin: 0 4px 6px; }
.ruler-line {
  position: absolute; left: 0; right: 0; top: 30px;
  height: 6px;
  border-radius: var(--radius-pill);
  background: repeating-linear-gradient(90deg, var(--tint-violet) 0 8px, transparent 8px 14px);
}
.ruler-fill {
  position: absolute; left: 0; top: 30px;
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--grad-main);
  width: 0%;
  transition: width 1.2s cubic-bezier(.2,.8,.2,1);
}
.ruler-rocket {
  position: absolute;
  top: 8px;
  left: 0%;
  font-size: 22px;
  transform: translateX(-50%) rotate(90deg);
  transition: left 1.2s cubic-bezier(.2,.8,.2,1);
  filter: drop-shadow(0 4px 6px rgba(108,76,224,0.35));
}
.ruler-years { position: absolute; inset: 0; display: flex; justify-content: space-between; }
.ruler-year { position: relative; display: flex; flex-direction: column; align-items: center; flex: 1; }
.ruler-year .tick { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-soft); opacity: 0.4; margin-top: 30px; }
.ruler-year .yr { font-family: var(--font-display); font-weight: 600; font-size: 11px; color: var(--ink-soft); margin-top: 8px; }
.ruler-year .dots {
  position: absolute; bottom: 38px;
  display: flex; gap: 3px; flex-wrap: wrap-reverse; justify-content: center;
  width: 40px;
}
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--grad-warm);
  opacity: 0; animation: pop 0.4s cubic-bezier(.34,1.56,.64,1) forwards;
}
@keyframes pop { from { opacity: 0; transform: scale(0.3); } to { opacity: 1; transform: scale(1); } }
.timeline-caption { font-size: 13px; color: var(--ink-soft); margin-top: 16px; font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; position: relative; }
.section-head { max-width: 60ch; margin-bottom: 44px; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.section-head p { color: var(--ink-soft); font-size: 16px; margin: 0; font-weight: 500; }

/* ---------- Value props ---------- */
.props { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prop {
  background: var(--white);
  border: 2px solid var(--tint-violet);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.2s cubic-bezier(.34,1.56,.64,1), box-shadow 0.2s ease;
}
.prop:hover { transform: translateY(-4px) rotate(-0.5deg); box-shadow: var(--shadow); }
.prop .badge {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
}
.prop:nth-child(1) .badge { background: var(--tint-violet); }
.prop:nth-child(2) .badge { background: var(--tint-mint); }
.prop:nth-child(3) .badge { background: var(--tint-yellow); }
.prop h3 { font-family: var(--font-display); font-size: 19px; font-weight: 700; margin: 0 0 10px; }
.prop p { font-size: 15px; color: var(--ink-soft); margin: 0; font-weight: 500; }

/* ---------- Free perks band ---------- */
.section-band {
  background: var(--grad-main);
  border-radius: 32px;
  margin: 0 24px;
  padding: 60px clamp(20px, 4vw, 56px);
  position: relative;
  overflow: hidden;
}
.section-band .wrap { padding: 0; max-width: 100%; }
.section-band .section-head h2, .section-band .section-head p { color: var(--white); }
.section-band .section-head p { opacity: 0.9; }
.section-band .eyebrow { background: rgba(255,255,255,0.22); color: var(--white); }

.perks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.perk {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius-sm);
}
.perk .check {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--grad-warm);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
}
.perk h4 { margin: 0 0 4px; font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--ink); }
.perk p { margin: 0; font-size: 14px; color: var(--ink-soft); font-weight: 500; }

/* ---------- Form ---------- */
.form-card {
  background: var(--white);
  border: 2px solid var(--tint-violet);
  border-radius: 28px;
  padding: clamp(24px, 5vw, 52px);
  box-shadow: var(--shadow);
}
.form-card h2 { font-family: var(--font-display); font-size: clamp(24px, 3.2vw, 34px); font-weight: 700; margin: 0 0 10px; }
.form-card > p { color: var(--ink-soft); margin: 0 0 32px; max-width: 60ch; font-weight: 500; }

.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--font-display); font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.field input, .field select {
  width: 100%;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 18px;
  border: 2px solid var(--tint-violet);
  border-radius: var(--radius-pill);
  background: var(--paper);
  color: var(--ink);
}
.field input:focus, .field select:focus { border-color: var(--violet); background: var(--white); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.kids-label { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.kids-label label { font-family: var(--font-display); font-size: 14px; font-weight: 600; margin: 0; }
.add-kid {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 600;
  background: var(--tint-mint);
  border: 2px dashed var(--mint);
  color: var(--mint);
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  cursor: pointer;
}
.add-kid:hover { background: #DDF9EE; }

.kid-row { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.kid-row select { flex: 1; }
.remove-kid {
  flex: none; width: 40px; height: 40px;
  border: 2px solid var(--tint-magenta);
  background: var(--tint-magenta);
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  color: var(--magenta);
  font-weight: 700;
}
.remove-kid:hover { background: #FFD9E9; }

.submit-row { margin-top: 30px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.submit-row .btn { padding: 15px 34px; font-size: 16px; }
.form-msg { font-family: var(--font-display); font-size: 14px; font-weight: 700; }
.form-msg.ok { color: var(--mint); }
.form-msg.err { color: var(--magenta); }

/* ---------- Footer ---------- */
footer { padding: 40px 0 32px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
footer .brand img { height: 32px; }
footer .fine { font-size: 13px; color: var(--ink-soft); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .props { grid-template-columns: 1fr; }
  .perks { grid-template-columns: 1fr; }
  .row-2 { grid-template-columns: 1fr; }
  .section-band { margin: 0 12px; border-radius: 24px; }
  .ruler-year .yr { display: none; }
  .ruler-year:nth-child(odd) .yr { display: block; }
  .sticker { display: none; }
}
@media (max-width: 560px) {
  .hero { padding: 44px 0 28px; }
  .timeline-block { padding: 24px 14px 18px; }
  .ruler-year .dots { width: 24px; }
}