/* Chibi Sticker Maker Studio — marketing site · V5
   "Gradient Mesh + Glassmorphism" — colorful soft mesh backdrop,
   frosted-glass cards with backdrop-filter blur, light borders,
   bold gradient headline. Light overall so text stays dark & readable. */

:root {
  --bg: #f6f3ff;
  --bg-soft: #ffeaf5;
  --bg-lav: #efe7ff;

  /* glass surfaces */
  --glass: rgba(255, 255, 255, 0.55);
  --glass-soft: rgba(255, 255, 255, 0.42);
  --glass-strong: rgba(255, 255, 255, 0.68);
  --glass-border: rgba(255, 255, 255, 0.75);
  --glass-border-2: rgba(255, 255, 255, 0.55);

  --text: #2e2440;
  --text-soft: #5a4f6e;
  --text-mute: #8d83a3;

  --accent: #ff5fa2;        /* pink */
  --accent-2: #ff8fc4;      /* light pink */
  --accent-3: #d63b8a;      /* deep pink (links — dark enough on glass) */
  --purple: #8b5cf6;        /* violet */
  --purple-2: #b794ff;
  --aqua: #4fd6d2;
  --peach: #ffb877;
  --accent-glow: rgba(255, 95, 162, 0.35);

  --shadow-sm: 0 6px 20px rgba(120, 90, 170, 0.10);
  --shadow-md: 0 18px 48px rgba(120, 90, 170, 0.16);
  --shadow-lg: 0 32px 80px rgba(120, 90, 170, 0.24);
  --glass-shadow: 0 16px 40px rgba(90, 70, 140, 0.14), inset 0 1px 0 rgba(255,255,255,0.6);

  --radius-card: 24px;
  --radius-hero: 28px;
  --radius-badge: 16px;
  --radius-pill: 999px;

  --maxw: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter",
    Roboto, "Segoe UI", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- GRADIENT MESH BACKDROP ---------- */
/* fixed colorful blurred radial blobs blending pink/violet/peach/aqua.
   Applied site-wide (index + legal pages) via the .mesh element OR,
   as a fallback for pages without it, via body::before below. */
.mesh,
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(46% 40% at 12% 8%,  rgba(255, 143, 196, 0.55), transparent 60%),
    radial-gradient(44% 42% at 88% 6%,  rgba(139, 92, 246, 0.40), transparent 62%),
    radial-gradient(50% 45% at 82% 78%, rgba(79, 214, 210, 0.38), transparent 60%),
    radial-gradient(48% 46% at 8% 86%,  rgba(255, 184, 119, 0.42), transparent 62%),
    radial-gradient(60% 60% at 50% 50%, rgba(255, 255, 255, 0.55), transparent 70%);
  background-color: #f6f1fb;
}
/* when the dedicated .mesh element exists, hide the body::before duplicate */
body:has(.mesh)::before { display: none; }

.mesh { z-index: -2; }
.mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  animation: drift 18s ease-in-out infinite;
}
.mesh-blob.b1 { width: 520px; height: 520px; top: -120px; left: -100px; background: #ff8fc4; }
.mesh-blob.b2 { width: 460px; height: 460px; top: -80px; right: -120px; background: #b794ff; animation-delay: -4s; }
.mesh-blob.b3 { width: 540px; height: 540px; bottom: 4%; right: -140px; background: #7ee8e4; animation-delay: -8s; }
.mesh-blob.b4 { width: 480px; height: 480px; bottom: -120px; left: -100px; background: #ffc89a; animation-delay: -12s; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(30px, -24px) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .mesh-blob { animation: none; }
}

/* ---------- GLASS UTILITIES ---------- */
.glass,
.glass-soft,
.glass-strong {
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}
.glass { background: var(--glass); }
.glass-soft { background: var(--glass-soft); }
.glass-strong { background: var(--glass-strong); }

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  background: rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid var(--glass-border-2);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}
.brand img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  box-shadow: var(--shadow-sm);
}
.brand span b { color: var(--accent-3); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a.link {
  color: var(--text-soft);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.18s;
}
.nav-links a.link:hover { color: var(--accent-3); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 0.96rem;
  border-radius: var(--radius-pill);
  padding: 11px 22px;
  cursor: pointer;
  border: none;
  transition: transform 0.16s, box-shadow 0.16s, filter 0.16s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--purple) 100%);
  color: #fff;
  box-shadow: 0 10px 26px var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--text);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { transform: translateY(-2px); }

/* ---------- GOOGLE PLAY BADGE ---------- */
.googleplay-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #1a1320;
  color: #fff;
  border-radius: var(--radius-badge);
  padding: 11px 20px 11px 18px;
  box-shadow: var(--shadow-md);
  transition: transform 0.16s, box-shadow 0.16s;
}
.googleplay-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.googleplay-badge svg { width: 26px; height: 26px; flex: none; }
.googleplay-badge .gp-text { display: flex; flex-direction: column; line-height: 1.1; }
.googleplay-badge .gp-small {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}
.googleplay-badge .gp-big { font-size: 1.22rem; font-weight: 600; letter-spacing: 0.01em; }

/* ---------- HERO ---------- */
.hero { padding: 64px 0 84px; position: relative; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 44px;
  align-items: center;
}
.hero-copy {
  border-radius: var(--radius-hero);
  padding: 40px 40px 38px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--glass-border);
  color: var(--accent-3);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 850;
  margin-bottom: 18px;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--accent) 0%, var(--purple) 55%, var(--aqua) 110%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: 1.15rem;
  color: var(--text-soft);
  max-width: 520px;
  margin-bottom: 30px;
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--text-mute);
  font-size: 0.9rem;
  font-weight: 600;
}
.trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.trust-row .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* hero phones — glass frames */
.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px;
}
.phone-glass {
  position: relative;
  z-index: 1;
  border-radius: 34px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.45);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
}
.phone-glass img {
  display: block;
  width: 232px;
  border-radius: 26px;
}
.phone-glass.back {
  transform: rotate(-8deg) translateX(40px) translateY(14px);
  opacity: 0.97;
}
.phone-glass.back img { width: 208px; }
.phone-glass.front {
  transform: rotate(5deg) translateX(-36px);
  z-index: 2;
}
.sticker-deco {
  position: absolute;
  font-size: 2.2rem;
  z-index: 3;
  filter: drop-shadow(0 6px 12px rgba(120, 90, 170, 0.3));
  animation: floaty 4s ease-in-out infinite;
}
.sticker-deco.s1 { top: 4%; right: 12%; }
.sticker-deco.s2 { bottom: 8%; left: 6%; animation-delay: 1.2s; }
.sticker-deco.s3 { top: 44%; right: 0%; animation-delay: 2.1s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-12px) rotate(6deg); }
}

/* ---------- SECTION HEADINGS ---------- */
.section { padding: 80px 0; position: relative; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head .kicker {
  color: var(--accent-3);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  letter-spacing: -0.025em;
  font-weight: 820;
  margin: 10px 0 12px;
}
.section-head p { color: var(--text-soft); font-size: 1.06rem; }

/* ---------- FEATURES ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  border-radius: var(--radius-card);
  padding: 28px 26px;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s, background 0.18s;
}
.feature-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-md);
  border-color: #fff;
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 17px;
  background: linear-gradient(135deg, rgba(255,143,196,0.28), rgba(139,92,246,0.22));
  border: 1px solid var(--glass-border);
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 1.16rem; font-weight: 780; margin-bottom: 8px; letter-spacing: -0.01em; }
.feature-card p { color: var(--text-soft); font-size: 0.97rem; }

/* ---------- SCREENSHOTS ---------- */
.screens-scroller {
  justify-content: safe center;
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 26px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-2) transparent;
}
.screens-scroller::-webkit-scrollbar { height: 8px; }
.screens-scroller::-webkit-scrollbar-thumb {
  background: var(--accent-2);
  border-radius: 999px;
}
.screens-scroller::-webkit-scrollbar-track { background: transparent; }
.screen-tile {
  flex: 0 0 auto;
  width: 272px;
  scroll-snap-align: center;
  border-radius: 26px;
  overflow: hidden;
  padding: 10px;
}
.screen-tile img { width: 100%; display: block; border-radius: 18px; }

/* ---------- PRIVACY CALLOUT ---------- */
.privacy-callout {
  border-radius: var(--radius-hero);
  padding: 50px 46px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
.privacy-callout h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  letter-spacing: -0.025em;
  font-weight: 820;
  margin-bottom: 14px;
}
.privacy-callout p { color: var(--text-soft); margin-bottom: 12px; }
.privacy-list { list-style: none; display: grid; gap: 13px; }
.privacy-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.98rem; color: var(--text-soft); }
.privacy-list svg { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--accent); }

/* ---------- DOWNLOAD CTA ---------- */
.download-card {
  border-radius: var(--radius-hero);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.download-card::before,
.download-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  z-index: 0;
}
.download-card::before { width: 280px; height: 280px; top: -110px; right: -70px; background: radial-gradient(circle, rgba(255,95,162,0.45), transparent 70%); }
.download-card::after { width: 240px; height: 240px; bottom: -90px; left: -60px; background: radial-gradient(circle, rgba(139,92,246,0.40), transparent 70%); }
.download-card > * { position: relative; z-index: 1; }
.download-card img.dl-icon {
  width: 86px; height: 86px; border-radius: 22px;
  box-shadow: 0 14px 34px rgba(120,90,170,0.28);
  margin-bottom: 20px;
}
.download-card h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 850;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
  background: linear-gradient(120deg, var(--accent3, var(--accent)) 0%, var(--purple) 100%);
  background: linear-gradient(120deg, var(--accent) 0%, var(--purple) 70%, var(--aqua) 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.download-card p { font-size: 1.1rem; color: var(--text-soft); max-width: 520px; margin: 0 auto 28px; }
.download-card .googleplay-badge { background: #1a1320; }

/* ---------- FOOTER ---------- */
.footer {
  border-top: 1px solid var(--glass-border-2);
  margin-top: 30px;
  padding: 56px 0 34px;
  background: rgba(255, 255, 255, 0.40);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 34px;
}
.footer-brand { display: flex; align-items: center; gap: 11px; font-weight: 800; margin-bottom: 14px; }
.footer-brand img { width: 36px; height: 36px; border-radius: 10px; }
.footer p.blurb { color: var(--text-soft); font-size: 0.95rem; max-width: 280px; }
.footer h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-mute);
  margin-bottom: 14px;
  font-weight: 800;
}
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a { color: var(--text-soft); font-size: 0.95rem; transition: color 0.16s; }
.footer ul a:hover { color: var(--accent-3); }
.footer-bottom {
  border-top: 1px solid var(--glass-border-2);
  margin-top: 40px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-mute);
  font-size: 0.86rem;
}

/* ---------- LEGAL / CONTENT PAGES ---------- */
/* Glass surfaces on the mesh background; dark text for legibility. */
.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}
.legal .back-link {
  color: var(--accent-3);
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 26px;
}
.legal h1 {
  font-size: clamp(2rem, 4vw, 2.7rem);
  letter-spacing: -0.03em;
  font-weight: 850;
  margin-bottom: 8px;
}
.legal .dates { color: var(--text-mute); font-size: 0.9rem; margin-bottom: 32px; }
.legal .summary-box {
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  padding: 24px 26px;
  margin-bottom: 34px;
  box-shadow: var(--glass-shadow);
}
.legal .summary-box h3 { font-size: 1.05rem; margin-bottom: 12px; color: var(--accent-3); }
.legal .summary-box ul { padding-left: 20px; display: grid; gap: 8px; }
.legal .summary-box li { color: var(--text-soft); }
.legal h2 {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 36px 0 12px;
  padding-top: 8px;
}
.legal h3 { font-size: 1.1rem; font-weight: 760; margin: 22px 0 8px; }
.legal p, .legal li { color: var(--text-soft); margin-bottom: 12px; }
.legal ul, .legal ol { padding-left: 22px; margin-bottom: 14px; }
.legal li { margin-bottom: 7px; }
.legal a.inline { color: var(--accent-3); font-weight: 600; text-decoration: underline; }
.legal strong { color: var(--text); }
.legal .sdk-card {
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 18px 20px;
  margin-bottom: 14px;
  box-shadow: var(--glass-shadow);
}
.legal .sdk-card h3 { margin-top: 0; color: var(--text); }
.legal .sdk-card p { margin-bottom: 6px; font-size: 0.95rem; }
.legal table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 18px;
  font-size: 0.92rem;
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-radius: 14px;
  overflow: hidden;
}
.legal th, .legal td {
  border: 1px solid var(--glass-border-2);
  padding: 10px 12px;
  text-align: left;
}
.legal th { background: rgba(255, 143, 196, 0.18); color: var(--text); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 22px 24px;
  margin-bottom: 14px;
  box-shadow: var(--glass-shadow);
}
.faq-item h3 { font-size: 1.08rem; font-weight: 760; margin-bottom: 8px; color: var(--text); }
.faq-item p { color: var(--text-soft); margin-bottom: 0; }
.contact-card {
  background: linear-gradient(135deg, var(--accent) 0%, var(--purple) 100%);
  color: #fff;
  border-radius: var(--radius-card);
  padding: 34px 30px;
  text-align: center;
  margin-top: 34px;
  box-shadow: var(--shadow-md);
}
.contact-card h2 { color: #fff; margin: 0 0 10px; }
.contact-card p { color: rgba(255,255,255,0.92); margin-bottom: 18px; }
.contact-card a.email-btn {
  display: inline-block;
  background: #fff;
  color: var(--accent-3);
  font-weight: 800;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { padding: 32px 28px; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-cta, .trust-row { justify-content: center; }
  .hero-art { min-height: 460px; margin-top: 10px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .privacy-callout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links a.link { display: none; }
}
@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
  .phone-glass img { width: 198px; }
  .phone-glass.back img { width: 176px; }
  .screen-tile { width: 224px; }
  .section { padding: 60px 0; }
  .hero { padding: 40px 0 56px; }
  .privacy-callout { padding: 34px 24px; }
  .download-card { padding: 44px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
