:root {
  --orange-1: #FF5C23;
  --orange-2: #FF7C23;
  --orange-3: #FFA23C;
  --pink-1: #FF3E6C;
  --ink: #1F1533;
  --ink-soft: #5A5270;
  --bg: #FFF8F2;
  --card-bg: #FFFFFF;
  --shadow-color: rgba(31, 21, 51, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

h1, h2, h3, .brand-name {
  font-family: "Baloo 2", "Nunito", sans-serif;
  line-height: 1.15;
  margin: 0;
}

p { line-height: 1.6; color: var(--ink-soft); margin: 0; }

a { color: inherit; text-decoration: none; }

ul { margin: 0; padding: 0; }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* ---------- Background decor ---------- */
.bg-decor {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.float-emoji {
  position: absolute;
  font-size: 34px;
  opacity: 0.16;
  filter: saturate(1.1);
  animation: floaty 9s ease-in-out infinite;
}
.e1 { top: 8%;  left: 6%;  animation-delay: 0s; }
.e2 { top: 18%; left: 88%; animation-delay: 1.2s; }
.e3 { top: 40%; left: 3%;  animation-delay: 2.1s; }
.e4 { top: 58%; left: 92%; animation-delay: 0.6s; }
.e5 { top: 74%; left: 10%; animation-delay: 1.8s; }
.e6 { top: 30%; left: 50%; animation-delay: 2.6s; }
.e7 { top: 85%; left: 70%; animation-delay: 1s; }
.e8 { top: 5%;  left: 45%; animation-delay: 3s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-22px) rotate(8deg); }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(255, 248, 242, 0.85);
  border-bottom: 1px solid rgba(31, 21, 51, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  flex-shrink: 0;
}
.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(255, 92, 35, 0.35);
}
.brand-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
}
.brand-accent { color: var(--orange-1); }

.main-nav {
  display: flex;
  gap: 28px;
  font-weight: 700;
}
.main-nav a {
  color: var(--ink-soft);
  transition: color 0.2s;
  font-size: 15px;
}
.main-nav a:hover { color: var(--orange-1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 1;
  min-width: 0;
}

.lang-select {
  border: 2px solid rgba(255, 92, 35, 0.25);
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  appearance: none;
  min-width: 0;
  max-width: 160px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lang-select:hover { border-color: var(--orange-1); }
.lang-select:focus { outline: 2px solid var(--orange-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  border-radius: 999px;
  padding: 14px 28px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--orange-1), var(--orange-2));
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 92, 35, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(255, 92, 35, 0.42); }
.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
  flex-shrink: 0;
  white-space: nowrap;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 1;
  padding: 64px 0 40px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 92, 35, 0.1);
  color: var(--orange-1);
  font-weight: 800;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero-copy h1 {
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px;
  max-width: 520px;
  margin-bottom: 32px;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.store-buttons-center { justify-content: center; }

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: #fff;
  padding: 12px 22px;
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(31, 21, 51, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.store-btn:hover { transform: translateY(-3px); box-shadow: 0 16px 28px rgba(31, 21, 51, 0.32); }
.store-icon { width: 30px; height: 30px; flex-shrink: 0; }
.store-text { display: flex; flex-direction: column; line-height: 1.2; }
.store-text small { font-size: 11px; opacity: 0.75; }
.store-text strong { font-size: 17px; font-weight: 800; }

.store-btn-light {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 24px; font-weight: 800; color: var(--orange-1); }
.stat span { font-size: 13px; color: var(--ink-soft); font-weight: 700; }

/* ---------- Hero visual / phone mock ---------- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 580px;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(0px);
  z-index: 0;
}
.blob-1 {
  width: 420px; height: 420px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 162, 60, 0.55), rgba(255, 92, 35, 0.15) 70%, transparent 100%);
  top: -20px; right: -40px;
}
.blob-2 {
  width: 320px; height: 320px;
  background: radial-gradient(circle at 60% 60%, rgba(255, 62, 108, 0.35), transparent 70%);
  bottom: -40px; left: -20px;
}

.phone-stack {
  position: relative;
  width: 340px;
  height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-mock {
  position: absolute;
  width: 262px;
  height: 534px;
  background: var(--ink);
  border-radius: 42px;
  padding: 12px;
  box-shadow: 0 30px 60px rgba(31, 21, 51, 0.35), 0 0 0 2px rgba(255,255,255,0.05) inset;
  animation: floaty 7s ease-in-out infinite;
}
.phone-mock-back {
  z-index: 1;
  transform: rotate(-11deg) translate(-78px, 6px) scale(0.94);
  filter: brightness(0.92);
  animation-delay: 0.6s;
}
.phone-mock-front {
  z-index: 2;
  transform: rotate(7deg) translate(56px, -10px);
  animation-delay: 0s;
}
.phone-notch {
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 84px; height: 18px;
  background: var(--ink);
  border-radius: 0 0 16px 16px;
  z-index: 3;
}
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #FFEFE3, #FFFFFF 55%);
  border-radius: 30px;
  overflow: hidden;
}
.phone-screen-shot { padding: 0; }
.phone-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.mascot-float {
  position: absolute;
  border-radius: 24px;
  box-shadow: 0 18px 34px rgba(31, 21, 51, 0.28);
  animation: floaty 6s ease-in-out infinite;
  z-index: 3;
}
.mascot-1 {
  width: 92px;
  top: 6%;
  left: -6%;
  background: linear-gradient(135deg, var(--orange-1), var(--orange-3));
  padding: 12px;
}
.mascot-2 {
  width: 64px;
  bottom: 10%;
  right: -4%;
  background: linear-gradient(135deg, var(--pink-1), var(--orange-2));
  padding: 10px;
  animation-delay: 1.4s;
}

/* ---------- Trust strip ---------- */
.trust-strip {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, var(--orange-1), var(--pink-1));
  padding: 18px 0;
}
.trust-inner p {
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  margin: 0;
  opacity: 0.95;
}

/* ---------- Section shared ---------- */
section { position: relative; z-index: 1; }
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.section-kicker {
  display: inline-block;
  color: var(--orange-1);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 10px;
}
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  margin-bottom: 14px;
  color: var(--ink);
}

/* ---------- Features ---------- */
.features { padding: 96px 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  box-shadow: 0 14px 30px var(--shadow-color);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 38px rgba(31, 21, 51, 0.16);
}
.feature-icon {
  font-size: 34px;
  width: 62px; height: 62px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,92,35,0.14), rgba(255,62,108,0.14));
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 19px; margin-bottom: 10px; color: var(--ink); }
.feature-card p { font-size: 15px; }

/* ---------- How it works ---------- */
.how {
  padding: 20px 0 96px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step-card {
  background: linear-gradient(160deg, #fff, #FFF3EA);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  text-align: center;
  box-shadow: 0 14px 30px var(--shadow-color);
}
.step-number {
  width: 48px; height: 48px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-1), var(--orange-2));
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 20px rgba(255, 92, 35, 0.35);
}
.step-card h3 { font-size: 18px; margin-bottom: 10px; }
.step-card p { font-size: 14.5px; }

/* ---------- Creator spotlight ---------- */
.creator {
  padding: 96px 0;
  background: linear-gradient(180deg, rgba(255,124,35,0.06), transparent);
}
.creator-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.creator-copy h2 { font-size: clamp(26px, 3.2vw, 36px); margin: 10px 0 16px; }
.creator-copy p { font-size: 16px; margin-bottom: 22px; max-width: 520px; }
.creator-list { display: flex; flex-direction: column; gap: 14px; }
.creator-list li {
  list-style: none;
  position: relative;
  padding-left: 30px;
  font-weight: 700;
  color: var(--ink);
  font-size: 15px;
}
.creator-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: -2px;
  width: 22px; height: 22px;
  background: linear-gradient(135deg, var(--orange-1), var(--orange-2));
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
}

.inline-link {
  color: var(--orange-1);
  text-decoration: underline;
  text-decoration-color: rgba(255, 92, 35, 0.4);
  text-underline-offset: 2px;
  font-weight: 800;
  transition: color 0.18s ease;
}
.inline-link:hover {
  color: var(--pink-1);
  text-decoration-color: currentColor;
}

.editor-mock {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: 0 24px 50px rgba(31, 21, 51, 0.35);
  max-width: 380px;
  margin: 0 auto;
}
.editor-toolbar {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}
.editor-toolbar span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
}
.editor-toolbar span:first-child { background: var(--orange-2); }
.editor-canvas {
  background: linear-gradient(160deg, #FFEFE3, #FFD9BC);
  border-radius: 20px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.editor-sticker-preview {
  font-size: 96px;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.2));
  animation: pop 3s ease-in-out infinite;
}
.editor-tools {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.tool-chip {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 12px 0;
  text-align: center;
  font-size: 20px;
}

/* ---------- Final CTA ---------- */
.final-cta {
  padding: 90px 0 100px;
  background: radial-gradient(circle at 50% 0%, rgba(255,124,35,0.18), transparent 60%);
  text-align: center;
}
.final-cta-inner { max-width: 560px; margin: 0 auto; }
.final-cta-icon {
  width: 78px; height: 78px;
  border-radius: 20px;
  margin: 0 auto 22px;
  box-shadow: 0 16px 30px rgba(255, 92, 35, 0.35);
}
.final-cta h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 12px; }
.final-cta p { font-size: 16px; margin-bottom: 32px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.72);
  padding: 48px 0 32px;
  position: relative;
  z-index: 1;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand .brand-name { color: #fff; font-size: 20px; }
.footer-tagline { color: rgba(255,255,255,0.75); font-size: 14px; }
.footer-stores { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.footer-stores a { color: #fff; }
.footer-stores a:hover { color: var(--orange-3); }
.footer-stores .dot { opacity: 0.5; }
.footer-copy { font-size: 12.5px; color: rgba(255,255,255,0.5); margin-top: 10px; }

/* ---------- Legal / Privacy page ---------- */
.legal-page .bg-decor { display: none; }
.main-nav a.is-active { color: var(--orange-1); }

.legal-main {
  position: relative;
  z-index: 1;
  padding: 48px 0 80px;
}

.legal-wrap {
  max-width: 780px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 44px 48px;
  box-shadow: 0 18px 40px var(--shadow-color);
}

.legal-back {
  display: inline-block;
  font-weight: 800;
  color: var(--orange-1);
  font-size: 14px;
  margin-bottom: 20px;
}
.legal-back:hover { color: var(--pink-1); }

.legal-wrap > h1 {
  font-size: clamp(28px, 3.4vw, 40px);
  color: var(--ink);
  margin-bottom: 8px;
}

.legal-updated {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 28px;
  font-weight: 700;
}

.legal-body section { margin-bottom: 28px; }
.legal-body h2 {
  font-size: 20px;
  color: var(--ink);
  margin: 0 0 12px;
}
.legal-body p {
  font-size: 15.5px;
  margin: 0 0 12px;
  color: var(--ink-soft);
  line-height: 1.7;
}
.legal-body ul {
  margin: 0 0 14px;
  padding-left: 22px;
}
.legal-body li {
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.55;
}
.legal-body a {
  color: var(--orange-1);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(255, 92, 35, 0.35);
  text-underline-offset: 2px;
}
.legal-body a:hover { color: var(--pink-1); }
.legal-links { list-style: disc; }

@media (max-width: 620px) {
  .legal-main { padding: 28px 0 56px; }
  .legal-wrap { padding: 28px 20px 36px; border-radius: var(--radius-md); }
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; min-height: 500px; }
  .creator-inner { grid-template-columns: 1fr; }
  .creator-visual { order: -1; }
  .main-nav { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .header-inner { height: 68px; }
  .brand-name { font-size: 20px; }
  .hero { padding: 40px 0 24px; }
  .hero-copy h1 { font-size: 30px; }
  .hero-subtitle { font-size: 16px; }
  .store-buttons { flex-direction: column; align-items: stretch; }
  .features-grid { grid-template-columns: 1fr; }
  .features, .how, .creator { padding: 64px 0; }
  .final-cta { padding: 64px 0 72px; }
  .hero-visual { min-height: 440px; }
  .phone-stack { width: 280px; height: 480px; transform: scale(0.86); }
  .phone-mock { width: 230px; height: 470px; }
  .phone-mock-back { transform: rotate(-11deg) translate(-64px, 6px) scale(0.94); }
  .phone-mock-front { transform: rotate(7deg) translate(46px, -8px); }
  .hero-stats { gap: 18px; }
}

@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .header-inner { gap: 6px; }
  .brand-icon { width: 30px; height: 30px; }
  .brand-name { font-size: 16px; }
  .header-actions { gap: 6px; }
  .lang-select { font-size: 11.5px; padding: 6px 8px; max-width: 108px; }
  .btn-sm { padding: 8px 12px; font-size: 12px; }
}
