/* ============ CHUPI LANDING PAGE ============ */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #33272a;
  --bg: #fff6e9;
  --panel: #fffdf7;
  --panel2: #fff0f5;
  --border: #33272a;
  --text: #33272a;
  --muted: #7a6a70;
  --primary: #f25d9c;
  --primary-dark: #d94582;
  --sun: #ffd23f;
  --mint: #7ccfb2;
  --sky: #8ecbff;
  --peach: #ffe1a8;
  --danger: #e5484d;
  --ok: #2f9e77;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 5px 5px 0 var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
}

html { scroll-behavior: smooth; }

body {
  font-family: "Baloo 2", "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

img, svg { max-width: 100%; display: block; }

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

.section {
  padding: 90px 0;
}

.section-title {
  font-size: clamp(1.8rem, 4.5vw, 2.7rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
  text-align: center;
}

.section-subtitle {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 700;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 50px;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 3px solid var(--border);
  border-radius: 14px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
  background: var(--sun);
  box-shadow: 0 4px 0 var(--border);
  cursor: pointer;
  transition: transform .06s, box-shadow .06s, background .12s, opacity .12s;
  font-family: inherit;
}

.btn:hover { background: #ffe97a; }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--border); }

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: #ff76ac; }

.btn-mint { background: var(--mint); color: var(--ink); }
.btn-mint:hover { background: #9ad9c2; }

.btn-full { width: 100%; }
.btn-lg { padding: 15px 30px; font-size: 1.1rem; border-radius: 16px; box-shadow: 0 5px 0 var(--border); }

.btn:disabled {
  opacity: .7;
  cursor: not-allowed;
}

/* ============ HEADER ============ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 14px 0;
  background: rgba(255, 246, 233, .78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 2px solid rgba(51, 39, 42, .08);
  transition: background .2s, box-shadow .2s;
}

.header.scrolled {
  background: rgba(255, 246, 233, .94);
  box-shadow: 0 2px 16px rgba(51, 39, 42, .08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--ink);
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-weight: 700;
  font-size: .95rem;
  color: var(--ink);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: width .2s;
}

.nav-links a:hover::after { width: 100%; }

.nav-cta { white-space: nowrap; }
.mobile-cta { display: none; }

.menu-toggle {
  display: none;
  background: var(--panel);
  border: 3px solid var(--border);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 3px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: background .2s;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s, top .2s;
}

.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }

.menu-toggle.active span { background: transparent; }
.menu-toggle.active span::before { top: 0; transform: rotate(45deg); }
.menu-toggle.active span::after { top: 0; transform: rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  padding: 150px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 209, 168, .55) 0%, transparent 35%),
    radial-gradient(circle at 90% 30%, rgba(255, 194, 217, .45) 0%, transparent 35%),
    radial-gradient(circle at 70% 85%, rgba(142, 203, 255, .35) 0%, transparent 35%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 50px;
  align-items: center;
}

.hero-content {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--panel);
  border: 2px solid var(--border);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: .85rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.85); }
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.hero h1 span { color: var(--primary); }

.hero p {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 32px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-badges .tag {
  font-size: .82rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 50px;
  border: 2px solid var(--border);
}

.tag-sun { background: var(--sun); }
.tag-mint { background: var(--mint); color: var(--ink); }
.tag-sky { background: var(--sky); color: var(--ink); }

/* Hero illustration */
.hero-illustration {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mockup-wrap {
  position: relative;
  width: min(420px, 80vw);
}

.mockup-phone {
  width: 100%;
  border-radius: 36px;
  border: 6px solid var(--ink);
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.mockup-notch {
  height: 22px;
  background: var(--ink);
  margin: 0 auto;
  width: 42%;
  border-radius: 0 0 12px 12px;
}

.mockup-screen {
  aspect-ratio: 9/16;
  background: linear-gradient(160deg, #ffe1a8 0%, #ffc2d9 55%, #8ecbff 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
}

.mockup-camera {
  width: 76%;
  aspect-ratio: 4/3;
  background: #4a3d44;
  border-radius: 18px;
  border: 4px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.mockup-lens {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--peach);
  border: 4px solid var(--ink);
  position: relative;
}

.mockup-lens::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: var(--sky);
  border: 3px solid var(--ink);
}

.mockup-shutter {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--primary);
  border: 4px solid var(--ink);
  box-shadow: 0 4px 0 var(--ink);
}

.sticker {
  position: absolute;
  z-index: 3;
  filter: drop-shadow(3px 3px 0 rgba(51, 39, 42, .25));
}

.sticker svg { display: block; }

.sticker-1 { top: -8%; left: -10%; width: 84px; transform: rotate(-14deg); }
.sticker-2 { top: 8%; right: -12%; width: 78px; transform: rotate(18deg); }
.sticker-3 { bottom: 18%; left: -14%; width: 92px; transform: rotate(10deg); }
.sticker-4 { bottom: -6%; right: -8%; width: 80px; transform: rotate(-8deg); }
.sticker-5 { top: 44%; right: -18%; width: 64px; transform: rotate(22deg); }

/* ============ FEATURES ============ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--panel);
  border: 3px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s;
}

.feature-card:hover { transform: translateY(-4px); }

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  border: 3px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--muted);
  font-weight: 700;
  font-size: .95rem;
}

/* ============ HOW IT WORKS ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  counter-reset: step;
}

.step {
  background: var(--panel);
  border: 3px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -20px;
  left: 24px;
  width: 42px;
  height: 42px;
  background: var(--primary);
  color: #fff;
  border: 3px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  box-shadow: 2px 2px 0 var(--border);
}

.step h3 {
  margin-top: 12px;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.step p {
  color: var(--muted);
  font-weight: 700;
  font-size: .95rem;
}

/* ============ PRICING ============ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--panel);
  border: 3px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
}

.pricing-card.featured {
  background: var(--panel2);
  transform: scale(1.03);
  box-shadow: var(--shadow);
}

.pricing-card .label {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 800;
  margin-bottom: 12px;
  border: 2px solid var(--border);
}

.pricing-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.pricing-card .price {
  font-size: 2.4rem;
  font-weight: 800;
  margin: 14px 0;
}

.pricing-card .price span {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 700;
}

.pricing-card ul {
  list-style: none;
  margin: 18px 0 24px;
}

.pricing-card li {
  padding: 7px 0;
  font-weight: 700;
  color: var(--muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.pricing-card li::before {
  content: "✓";
  color: var(--ok);
  font-weight: 800;
}

/* ============ FAQ ============ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--panel);
  border: 3px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.faq-question::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--sun);
  border: 2px solid var(--border);
  font-weight: 800;
}

.faq-item.open .faq-question::after { content: "−"; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}

.faq-answer p {
  padding: 0 22px 20px;
  color: var(--muted);
  font-weight: 700;
}

/* ============ CONTACT FORM ============ */
.form-section {
  padding: 80px 0;
}

.form-box {
  max-width: 720px;
  margin: 0 auto;
  background: var(--panel);
  border: 3px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow);
}

.form-box .section-title { text-align: left; margin-bottom: 6px; }
.form-box .section-subtitle { text-align: left; margin: 0 0 28px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}

.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-weight: 800;
  font-size: .95rem;
}

.form-group label .req { color: var(--danger); }

.form-group input,
.form-group select,
.form-group textarea {
  font-family: inherit;
  padding: 13px 15px;
  border: 3px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(242, 93, 156, .18);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2333272a' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.form-group textarea {
  min-height: 110px;
  resize: vertical;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--danger);
  background: #fff5f5;
}

.error-text {
  color: var(--danger);
  font-size: .82rem;
  font-weight: 700;
  display: none;
}

.error-text.show { display: block; }

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 22px;
}

.checkbox-row input {
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
  cursor: pointer;
}

.checkbox-row label {
  font-weight: 700;
  color: var(--muted);
  font-size: .95rem;
  cursor: pointer;
}

.social-proof {
  text-align: center;
  margin-top: 22px;
  font-weight: 800;
  color: var(--muted);
}

.social-proof strong {
  color: var(--primary);
  font-size: 1.2rem;
}

.success-msg {
  display: none;
  background: #e8f9f1;
  border: 3px solid var(--ok);
  color: #1f6b4e;
  border-radius: 12px;
  padding: 18px;
  font-weight: 800;
  margin-bottom: 18px;
  text-align: center;
}

.success-msg.show { display: block; }

.spinner {
  width: 18px;
  height: 18px;
  border: 3px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ============ CTA SECTION ============ */
.cta-section {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--primary) 0%, #ff8fb8 55%, var(--sky) 100%);
  border-top: 3px solid var(--border);
  border-bottom: 3px solid var(--border);
  text-align: center;
  color: #fff;
  position: relative;
}

.cta-section::before,
.cta-section::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
}

.cta-section::before { top: -40px; left: -30px; }
.cta-section::after { bottom: -50px; right: -20px; }

.cta-section h2 {
  font-size: clamp(1.8rem, 4.5vw, 2.7rem);
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.cta-section p {
  font-size: 1.1rem;
  font-weight: 700;
  max-width: 640px;
  margin: 0 auto 28px;
  opacity: .95;
  position: relative;
  z-index: 1;
}

.cta-section .btn {
  background: #fff;
  color: var(--primary);
  border-color: var(--ink);
  box-shadow: 0 5px 0 var(--ink);
  position: relative;
  z-index: 1;
}

.cta-section .btn:hover { background: var(--panel); }

/* ============ FOOTER ============ */
.footer {
  padding: 60px 0 28px;
  background: var(--panel);
  border-top: 3px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--muted);
  font-weight: 700;
  margin-top: 12px;
  font-size: .95rem;
}

.footer-logo {
  height: 44px;
  width: auto;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li + li { margin-top: 10px; }

.footer-col a {
  color: var(--muted);
  font-weight: 700;
  font-size: .95rem;
}

.footer-col a:hover { color: var(--primary); }

.socials {
  display: flex;
  gap: 12px;
}

.socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  transition: transform .1s, background .1s;
}

.socials a:hover {
  background: var(--sun);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 2px solid rgba(51, 39, 42, .1);
  padding-top: 22px;
  text-align: center;
  color: var(--muted);
  font-weight: 700;
  font-size: .9rem;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-badges { justify-content: center; }
  .hero-illustration { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 246, 233, .97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
    gap: 18px;
    transform: translateX(100%);
    transition: transform .25s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-cta { display: none; }
  .mobile-cta { display: flex; margin-top: 8px; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { padding: 130px 0 70px; }
}

@media (max-width: 520px) {
  .form-box { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .mockup-phone { border-radius: 28px; border-width: 5px; }
  .sticker-1 { width: 64px; }
  .sticker-2 { width: 58px; }
  .sticker-3 { width: 70px; }
  .sticker-4 { width: 60px; }
  .sticker-5 { width: 52px; }
}
