*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --green: #2D6A4F; --green-light: #52B788; --green-pale: #D8F3DC;
  --accent: #2D6A4F; --accent-light: #52B788; --accent-pale: #D8F3DC;
  --night: #1a1a2e; --bg: #FFFBF0;
  --lego-red: #E63946; --lego-yellow: #FFB703; --lego-blue: #4895EF; --lego-green: #52B788; --lego-pink: #F72585;
}
html { scroll-behavior: smooth; }
body { background: var(--bg); font-family: 'DM Sans', sans-serif; color: var(--night); overflow-x: hidden; }
nav { position: fixed; top: 0; width: 100%; z-index: 100; padding: 18px 40px; display: flex; justify-content: space-between; align-items: center; background: rgba(255,183,3,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(0,0,0,0.08); }
.logo { font-size: 1.6rem; font-weight: 900; color: var(--night); letter-spacing: -1px; text-decoration: none; }
.logo span { color: var(--lego-pink); }
.nav-badge { font-size: 0.82rem; color: white; font-weight: 700; background: var(--lego-pink); padding: 5px 14px; border-radius: 100px; }
.hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 120px 24px 80px; position: relative; overflow: hidden; background: #FFB703; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.3; animation: float 9s ease-in-out infinite; }
.blob-1 { width: 340px; height: 340px; background: var(--lego-yellow); top: 3%; left: -8%; }
.blob-2 { width: 260px; height: 260px; background: var(--lego-blue); top: 48%; right: -6%; animation-delay: -3s; }
.blob-3 { width: 220px; height: 220px; background: var(--lego-red); bottom: 5%; left: 18%; animation-delay: -5s; }
.blob-4 { width: 200px; height: 200px; background: var(--lego-green); top: 18%; right: 12%; animation-delay: -2s; }
.blob-5 { width: 180px; height: 180px; background: var(--lego-pink); bottom: 20%; right: 25%; animation-delay: -4s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-28px); } }
.hero-badge { display: inline-block; background: var(--lego-pink); color: white; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 7px 20px; border-radius: 100px; margin-bottom: 28px; animation: fadeUp 0.6s ease both; }
h1 { font-size: clamp(2.8rem, 8vw, 5.5rem); font-weight: 900; line-height: 1.05; letter-spacing: -2px; max-width: 780px; margin-bottom: 20px; animation: fadeUp 0.6s 0.1s ease both; color: var(--night); }
h1 .highlight { color: var(--lego-green); }
.subheadline { font-size: clamp(1rem, 2.5vw, 1.2rem); font-weight: 300; color: #555; max-width: 500px; line-height: 1.75; margin-bottom: 36px; animation: fadeUp 0.6s 0.2s ease both; }
.waitlist-hint { font-size: 0.95rem; color: var(--lego-pink); font-weight: 700; margin-bottom: 28px; animation: fadeUp 0.6s 0.28s ease both; }
.timer-demo { margin: 0 auto 16px; animation: fadeUp 0.6s 0.15s ease both; display: flex; justify-content: center; }
.lophi-illustration { position: relative; display: inline-block; }
.dm-dot { fill: #1e1e14; transition: fill 0.12s, filter 0.12s; }
.dm-dot.on { fill: #ddeeff; filter: drop-shadow(0 0 4px rgba(200,225,255,0.95)) drop-shadow(0 0 9px rgba(160,195,255,0.5)); }
.dm-dot.trail { fill: #7a9acc; filter: drop-shadow(0 0 3px rgba(122,154,204,0.6)); }
.dm-dot.dim { fill: #aac0ff; filter: drop-shadow(0 0 4px rgba(170,192,255,0.75)); }
.cta-wrap { width: 100%; max-width: 440px; animation: fadeUp 0.6s 0.35s ease both; }
.cta-form { display: flex; gap: 10px; background: white; border-radius: 100px; padding: 6px 6px 6px 22px; box-shadow: 0 8px 40px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.05); }
.cta-form input { flex: 1; border: none; outline: none; background: transparent; font-family: 'DM Sans', sans-serif; font-size: 0.95rem; color: var(--night); }
.cta-form input::placeholder { color: #bbb; }
.cta-btn { background: var(--lego-green); color: white; border: none; border-radius: 100px; padding: 12px 24px; font-family: 'DM Sans', sans-serif; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: all 0.2s; white-space: nowrap; box-shadow: 0 4px 14px rgba(82,183,136,0.3); }
.cta-btn:hover { transform: scale(1.05); box-shadow: 0 6px 20px rgba(82,183,136,0.45); }
.cta-micro { font-size: 0.78rem; color: #999; margin-top: 10px; text-align: center; }
.mc-hidden { position: absolute; left: -5000px; }
.section { padding: 90px 24px; max-width: 960px; margin: 0 auto; }
.section-tag { display: inline-block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: white; background: var(--lego-green); font-weight: 700; margin-bottom: 16px; padding: 4px 14px; border-radius: 100px; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; letter-spacing: -1.5px; margin-bottom: 48px; line-height: 1.1; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.step { background: white; border-radius: 24px; padding: 32px 26px; transition: transform 0.2s, box-shadow 0.2s; border: 1px solid rgba(0,0,0,0.05); box-shadow: 0 8px 24px rgba(0,0,0,0.05); }
.step:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,0.07); }
.step-num { font-size: 2.6rem; font-weight: 900; color: var(--green-pale); line-height: 1; margin-bottom: 16px; }
.step h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: var(--green); }
.step p { font-size: 0.9rem; color: #666; line-height: 1.65; }
.video-section { padding: 70px 24px 90px; }
.video-section .video-inner { max-width: 960px; margin: 0 auto; }
.video-inner { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.video-player-wrap { width: 100%; max-width: 720px; background: var(--night); border-radius: 20px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,0.15); aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; }
.video-player-wrap video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-placeholder { display: flex; flex-direction: column; align-items: center; gap: 14px; color: rgba(255,255,255,0.4); text-align: center; padding: 40px; }
.play-icon { width: 64px; height: 64px; background: rgba(255,255,255,0.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; border: 2px solid rgba(255,255,255,0.12); }
.upload-area { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 32px; border: 2px dashed rgba(45,106,79,0.3); border-radius: 18px; background: white; cursor: pointer; transition: all 0.2s; text-align: center; width: 100%; max-width: 720px; }
.upload-area:hover, .upload-area.dragover { border-color: var(--green); background: var(--green-pale); }
.upload-label { font-weight: 600; color: var(--green); font-size: 0.95rem; }
.upload-hint { font-size: 0.80rem; color: #aaa; }
.upload-input { display: none; }
.upload-btn { background: var(--green); color: white; border: none; border-radius: 100px; padding: 10px 22px; font-family: 'DM Sans', sans-serif; font-size: 0.88rem; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.upload-btn:hover { background: var(--green-light); }
.video-name { font-size: 0.82rem; color: var(--green); font-weight: 500; }
.usecases-bg { background: var(--lego-green); padding: 90px 24px; }
.usecases-inner { max-width: 960px; margin: 0 auto; }
.usecases-inner .section-tag { color: var(--accent-light); }
.usecases-inner .section-title { color: white; margin-bottom: 28px; }
.tags-wrap { display: flex; flex-wrap: wrap; gap: 12px; }
.tag { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: 100px; padding: 11px 22px; font-size: 0.95rem; color: white; transition: all 0.2s; }
.tag:hover { background: rgba(82,183,136,0.2); border-color: var(--accent-light); }
.gift-section { padding: 70px 40px; max-width: 880px; margin: 60px auto; background: var(--lego-green); border-radius: 28px; }
.final-cta { text-align: center; padding: 50px 24px 110px; background: #FFF8E1; }
.final-cta h2 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; letter-spacing: -1.5px; margin-bottom: 14px; line-height: 1.1; color: var(--night); }
.final-cta h2 em { font-style: italic; color: var(--lego-green); }
.final-cta h2 .brand-word { font-style: normal; color: var(--night); }
.final-cta h2 .brand-dot { color: var(--lego-pink); }
.final-cta p { color: #555; margin-bottom: 36px; font-size: 1.05rem; font-weight: 500; }
.final-cta .cta-wrap { margin: 0 auto; }
footer { background: var(--night); border-top: none; padding: 32px 40px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.85rem; color: #ffffff; }
.footer-logo { font-size: 1.1rem; font-weight: 900; color: var(--lego-yellow); }

.hero-badge, .hero h1, .hero .subheadline, .hero .waitlist-hint, .hero .cta-wrap { position: relative; z-index: 2; }

/* Playful hero decorations */
.hero-deco { position: absolute; border-radius: 50%; z-index: 0; pointer-events: none; }
.timer-demo { position: relative; z-index: 2; }
.polaroid-frame { position: relative; z-index: 2; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes zoomIn { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: scale(1); } }
.zoom-in { opacity: 0; transform: scale(0.6); transition: none; }
.zoom-in.visible { animation: zoomIn 0.65s cubic-bezier(0.22, 0.68, 0, 1.3) forwards; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 768px) {
  nav { padding: 14px 18px; }
  .logo { font-size: 1.4rem; }
  .nav-badge { font-size: 0.72rem; padding: 4px 11px; }

  .hero { padding: 100px 18px 60px; min-height: auto; }
  h1 { font-size: clamp(2.4rem, 11vw, 3.4rem); letter-spacing: -1.5px; margin-bottom: 16px; }
  .subheadline { font-size: 1rem; margin-bottom: 28px; }
  .hero-badge { font-size: 0.74rem; padding: 6px 16px; margin-bottom: 22px; }

  /* Timer illustration scales to screen width */
  .timer-demo { width: 100%; }
  .lophi-illustration { width: 100% !important; max-width: 360px; height: auto !important; }
  .lophi-illustration img { width: 100% !important; height: auto !important; }
  /* SVG overlay uses % so it scales with the image automatically */

  .cta-wrap { max-width: 100%; }
  .cta-form { flex-direction: column; border-radius: 18px; padding: 10px; gap: 8px; }
  .cta-form input { text-align: center; padding: 10px 0; font-size: 1rem; }
  .cta-btn { border-radius: 14px; padding: 15px; width: 100%; font-size: 1rem; }

  .section { padding: 60px 18px; }
  .section-title { font-size: clamp(1.6rem, 7vw, 2.2rem); margin-bottom: 32px; }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .step { padding: 28px 22px; }

  .video-section { padding: 50px 18px 60px; }
  .video-player-wrap { border-radius: 16px; }
  .upload-area { padding: 18px 20px; }

  .usecases-bg { padding: 60px 18px; }
  .tags-wrap { gap: 9px; }
  .tag { padding: 10px 18px; font-size: 0.9rem; }

  .gift-section { padding: 50px 26px; margin: 30px 16px; }

  /* Story section stacks vertically */
  .section[style*="padding: 70px 24px"] > div { flex-direction: column; gap: 24px !important; padding: 36px 28px !important; text-align: center; }

  .final-cta { padding: 40px 18px 80px; }
  .final-cta h2 { font-size: clamp(1.8rem, 8vw, 2.6rem); }

  footer { flex-direction: column; text-align: center; gap: 10px; padding: 28px 20px; }
}

@media (max-width: 400px) {
  h1 { font-size: 2.1rem; }
  .section-title { font-size: 1.5rem; }
  .lophi-illustration { max-width: 300px; }
}
