/* ---------- Brand tokens ---------- */
:root {
  --ink: #14101f;
  --paper: #fffdf7;
  --aqua: #00ffcc;
  --pink: #ff007f;
  --violet: #8a2be2;
  --gold: #ffd700;
  --orange: #ff4500;
  --radius-xl: 32px;
  --font-display: "Fuzzy Bubbles", "Comic Sans MS", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

/* Display font for headings and brand text. */
h1, h2, h3, h4, h5, h6,
.brand,
.section-title,
.display-hero,
.price {
  font-family: var(--font-display);
  font-weight: 700;
}

.word {
  display: inline-block;
}

.section-pad {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.1;
}

/* ---------- Navigation and logo placeholder ---------- */
.site-nav {
  padding: 1rem 0;
}

.brand {
  font-size: 1.3rem;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

/* Replace this box with the real logo later. */
.logo-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px dashed currentColor;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: #fff;
  color: var(--ink);
  flex-shrink: 0;
}

/* ---------- Buttons and tags ---------- */
.btn-pill {
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  padding: 0.7rem 1.4rem;
  border: 2px solid var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 0 var(--ink);
}

.btn-ink,
.btn-ink:hover {
  background: var(--ink);
  color: #fff;
}

.btn-aqua,
.btn-aqua:hover {
  background: var(--aqua);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
}

.btn-primary {
  background: var(--violet);
  border-color: var(--violet);
}

.btn-primary:hover {
  background: #7420c4;
  border-color: #7420c4;
}

.pill-tag,
.tile-tag {
  display: inline-block;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.95rem;
}

.pill-tag {
  background: var(--ink);
  color: #fff;
}

.tile-tag {
  background: #fff;
  color: var(--ink);
  border: 2px solid var(--ink);
  margin-bottom: 1rem;
  padding: 0.2rem 0.7rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 0.2rem rgba(138, 43, 226, 0.25);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--aqua) 0%, var(--gold) 55%, var(--pink) 100%);
  border-radius: 0 0 56px 56px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.display-hero {
  font-size: clamp(2.6rem, 6.2vw, 4.8rem);
  line-height: 1.05;
}

.hero-sub {
  max-width: 34rem;
  font-weight: 500;
}

.hero-facts strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.hero-facts p {
  color: #2a2438;
}

.claim-input {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 999px;
  flex: 1 1 300px;
  min-width: 0;
  padding-right: 0.4rem;
}

.claim-input .form-control {
  font-weight: 600;
  background: transparent;
}

.claim-input .form-control:focus {
  box-shadow: none;
}

/* Decorative shapes (CSS only, no image downloads) */
.blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.85;
  pointer-events: none;
  will-change: transform;
}

.b1 { width: 260px; height: 260px; background: var(--gold); top: -80px; left: -70px; }
.b2 { width: 180px; height: 180px; background: var(--violet); top: 30%; right: -50px; opacity: 0.7; }
.b3 { width: 120px; height: 120px; background: var(--orange); bottom: -30px; left: 42%; opacity: 0.55; }

.sparkle {
  position: absolute;
  font-size: 1.6rem;
  color: var(--ink);
  pointer-events: none;
}

.s1 { top: 14%; right: 44%; }
.s2 { bottom: 20%; left: 6%; }

.squiggle {
  position: absolute;
  width: 110px;
  top: 8%;
  right: 6%;
  pointer-events: none;
}

/* ---------- Phone mockup ---------- */
.phone {
  width: 250px;
  background: var(--ink);
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 40px 70px rgba(20, 16, 31, 0.25);
}

.phone-screen {
  background: #fff;
  border-radius: 34px;
  padding: 2rem 1.1rem 1.2rem;
  text-align: center;
  min-height: 480px;
}

.phone-avatar {
  width: 76px;
  height: 76px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--violet));
}

.phone-pill {
  display: block;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.7rem;
  font-weight: 700;
  margin: 0.6rem 0;
  background: var(--aqua);
}

.phone-pill-2 { background: var(--violet); color: #fff; }
.phone-pill-3 { background: var(--gold); }

.privacy-note {
  font-size: 0.7rem;
  margin: 1.2rem 0 0;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #4a4456;
}

/* ---------- Feature tiles ---------- */
.tile {
  position: relative;
  border-radius: var(--radius-xl);
  border: 2px solid var(--ink);
  padding: 2rem;
  min-height: 240px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tile.big {
  min-height: 300px;
}

.tile:hover {
  transform: translateY(-6px) rotate(-0.4deg);
  box-shadow: 8px 8px 0 var(--ink);
}

.tile h3 {
  font-size: 1.5rem;
  line-height: 1.2;
}

.tile p {
  font-weight: 500;
  margin-bottom: 0;
  max-width: 28rem;
}

.tile-aqua { background: var(--aqua); color: var(--ink); }
.tile-violet { background: var(--violet); color: #fff; }
.tile-violet .tile-tag { color: var(--ink); }
.tile-gold { background: var(--gold); color: var(--ink); }
.tile-pink { background: var(--pink); color: #fff; }
.tile-pink .tile-tag { color: var(--ink); }
.tile-orange { background: var(--orange); color: #fff; }
.tile-orange .tile-tag { color: var(--ink); }

/* ---------- Plans ---------- */
.plan-card {
  border: 2px solid var(--ink);
  border-radius: var(--radius-xl);
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 8px 8px 0 var(--ink);
}

.plan-card .price {
  font-size: 2.6rem;
  line-height: 1;
}

.plan-card.featured {
  background: var(--violet);
  color: #fff;
  border-color: var(--ink);
}

.plan-card.featured .text-secondary {
  color: #efe3ff !important;
}

.plan-card.featured .btn-light {
  border-color: var(--ink);
}

/* ---------- DPDP band ---------- */
.dpdp-band {
  background: var(--ink);
  color: #fff;
  border-radius: 40px;
}

.dpdp-band h2,
.dpdp-band h3 {
  color: var(--aqua);
}

.dpdp-band p {
  color: #e6e3ee;
}

.dpdp-band a {
  color: var(--gold);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #f3f1f8;
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

.site-footer .brand {
  color: #fff;
  font-size: 1.1rem;
}

.site-footer .logo-placeholder {
  border-color: #fff;
  background: transparent;
  color: #fff;
}

.site-footer a {
  color: var(--aqua);
  font-weight: 600;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: #bdb8cc;
}

/* ---------- Privacy notice ---------- */
.legal {
  max-width: 760px;
}

.legal h2 {
  font-size: 1.4rem;
  margin-top: 2rem;
}

.draft-banner {
  background: var(--gold);
  border: 2px solid var(--ink);
  border-radius: 16px;
  padding: 1rem 1.2rem;
  font-weight: 700;
}

/* ---------- Public profile page ---------- */
.profile-body {
  background: linear-gradient(160deg, var(--aqua) 0%, var(--gold) 50%, var(--pink) 100%);
  min-height: 100vh;
}

.avatar {
  object-fit: cover;
  border: 3px solid var(--ink);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.link-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: 2px solid var(--ink) !important;
  border-radius: 18px !important;
  color: var(--ink);
  background: #fff;
}

.link-card:hover {
  transform: translateY(-2px);
  box-shadow: 4px 4px 0 var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
