/* ==========================================================================
   Super Fruit Rush — Promo Website
   A juicy, celebratory kitchen companion.
   ========================================================================== */

:root {
  /* Brand core */
  --brand-primary: #6B2BA8;
  --brand-primary-dark: #3D1860;
  --brand-bg: #1E0A3C;
  --brand-surface: #2E1458;
  --brand-surface-elev: #3D1A73;
  --brand-sheet: #251046;

  /* Gold */
  --gold: #FFC93C;
  --gold-deep: #D4A017;
  --gold-light: #FFD85C;

  /* Pink / fruit accents */
  --accent-pink: #E91E63;
  --fruit-cherry: #D62828;
  --fruit-grape: #8B3DCB;
  --fruit-watermelon: #E85672;
  --fruit-lemon: #F6C648;
  --fruit-orange: #F58D29;
  --fruit-lime: #A8D53E;

  /* Text */
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.85);
  --text-tertiary: rgba(255, 255, 255, 0.68);
  --text-on-gold: #3D1860;

  /* Gradients */
  --grad-hero: linear-gradient(180deg, #3D1860 0%, #1E0A3C 100%);
  --grad-gold: linear-gradient(180deg, #FFD85C 0%, #FFC93C 45%, #D4A017 100%);
  --grad-pink: linear-gradient(180deg, #F8408C 0%, #E91E63 50%, #B30B4A 100%);
  --grad-overlay: linear-gradient(180deg, rgba(30,10,60,0.2) 0%, rgba(30,10,60,0.85) 80%, #1E0A3C 100%);

  /* Shadows */
  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-gold: 0 8px 24px rgba(255, 201, 60, 0.45);
  --shadow-pink: 0 8px 24px rgba(233, 30, 99, 0.45);
}

/* ---------- Base ---------- */

* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--brand-bg);
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(ellipse at top, rgba(255, 201, 60, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(233, 30, 99, 0.06) 0%, transparent 55%),
    var(--brand-bg);
  min-height: 100vh;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }

h1, h2, h3, h4, h5 {
  font-family: 'Fredoka', system-ui, sans-serif;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin: 0;
}

.script { font-family: 'Caveat Brush', cursive; font-weight: 400; }
.gold { color: var(--gold); }
.muted { color: var(--text-secondary); }

/* Decorative confetti dots (pure CSS) */
.confetti-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 10% 20%, var(--gold) 1.5px, transparent 2px),
    radial-gradient(circle at 82% 14%, var(--accent-pink) 1.5px, transparent 2px),
    radial-gradient(circle at 25% 68%, var(--fruit-lime) 1.5px, transparent 2px),
    radial-gradient(circle at 68% 82%, var(--gold) 2px, transparent 2.5px),
    radial-gradient(circle at 45% 35%, var(--fruit-watermelon) 1.5px, transparent 2px),
    radial-gradient(circle at 90% 55%, var(--gold-light) 2px, transparent 2.5px);
  background-size: 600px 600px;
  opacity: 0.4;
}

/* ---------- Navigation ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(30, 10, 60, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wordmark {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-stretch: 115%;
  font-size: 1.35rem;
  color: var(--gold);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
  letter-spacing: -0.01em;
}

.wordmark::before {
  content: '🍒';
  font-size: 0.9em;
  margin-right: 6px;
  filter: drop-shadow(0 2px 4px rgba(214, 40, 40, 0.4));
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 180ms ease;
}
.nav-link:hover { color: var(--gold); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 6rem 1.25rem 8rem;
  overflow: hidden;
  background:
    radial-gradient(60% 60% at 50% 35%, rgba(255, 201, 60, 0.18) 0%, transparent 70%),
    var(--grad-hero);
}

.hero-img-stage {
  position: absolute;
  inset: 0;
  background-image: url('images/hero_bg.webp');
  background-size: 380px auto;
  background-position: center 30%;
  background-repeat: no-repeat;
  opacity: 0.35;
  filter: saturate(1.15);
}

.hero-rays::before,
.hero-rays::after {
  content: '';
  position: absolute;
  top: 10%;
  left: 50%;
  width: 2px;
  height: 80vh;
  background: linear-gradient(180deg, rgba(255, 201, 60, 0.4), transparent 70%);
  transform-origin: top center;
  filter: blur(2px);
  pointer-events: none;
}
.hero-rays::before { transform: translateX(-50%) rotate(-18deg); }
.hero-rays::after  { transform: translateX(-50%) rotate(18deg); }

.hero-title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: 0 2px 40px rgba(255, 201, 60, 0.25);
}

.hero-title em {
  font-family: 'Caveat Brush', cursive;
  font-style: normal;
  font-weight: 400;
  font-size: 0.7em;
  display: block;
  margin-top: 0.1em;
  letter-spacing: 0.01em;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255,255,255,0.75) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-tagline {
  font-family: 'Caveat Brush', cursive;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--gold-light);
  margin-top: 0.75rem;
  letter-spacing: 0.02em;
}

.hero-sub {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  max-width: 620px;
  margin: 1.5rem auto 2.25rem;
  line-height: 1.6;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  height: 52px;
  padding: 0 1.75rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 180ms ease, filter 180ms ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-gold {
  background: var(--grad-gold);
  color: var(--text-on-gold);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { transform: translateY(-2px); filter: brightness(1.05); color: var(--text-on-gold); }
.btn-gold:active { transform: translateY(0); filter: brightness(0.95); }

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--gold);
}
.btn-outline:hover { background: rgba(255, 201, 60, 0.12); color: var(--text-primary); }

.btn-pink {
  background: var(--grad-pink);
  color: #fff;
  box-shadow: var(--shadow-pink);
}
.btn-pink:hover { transform: translateY(-2px); filter: brightness(1.05); color: #fff; }

.btn-store-icon {
  width: 1.3em;
  height: 1.3em;
  flex-shrink: 0;
}

/* ---------- Sections ---------- */

.section {
  position: relative;
  padding: 5rem 1.25rem;
}

.section-divider {
  width: 160px;
  height: 3px;
  margin: 0.75rem auto 2rem;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 999px;
}

.section-eyebrow {
  font-family: 'Caveat Brush', cursive;
  color: var(--gold);
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.25rem;
}

.section-title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.section-title em {
  font-family: 'Caveat Brush', cursive;
  font-style: normal;
  font-weight: 400;
  color: var(--gold);
}

.section-lead {
  color: var(--text-secondary);
  max-width: 640px;
  margin: 1.25rem auto 0;
  font-size: 1.05rem;
  line-height: 1.65;
}

/* ---------- Feature grid ---------- */

.features-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 3rem;
}

.feature-card {
  position: relative;
  background: linear-gradient(180deg, var(--brand-surface) 0%, var(--brand-surface-elev) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 201, 60, 0.35);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 201, 60, 0.15);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -40%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 201, 60, 0.14), transparent 65%);
  pointer-events: none;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 201, 60, 0.22), rgba(255, 201, 60, 0.08));
  border: 1px solid rgba(255, 201, 60, 0.35);
  font-size: 30px;
  margin-bottom: 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.feature-title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.feature-body {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* ---------- Phone mockups (screenshot carousel) ---------- */

.phone-frame {
  position: relative;
  width: 260px;
  aspect-ratio: 9 / 19.5;
  margin: 0 auto;
  border-radius: 36px;
  background: linear-gradient(180deg, #0d0420 0%, #1c0940 100%);
  padding: 8px;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.06),
    0 20px 50px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(255, 201, 60, 0.2);
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 24px;
  background: #05010f;
  border-radius: 999px;
  z-index: 2;
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
  display: block;
}

.screens-carousel {
  position: relative;
  margin-top: 2.5rem;
  padding: 0 0.5rem;
}

.screens-carousel .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 0.5rem;
  transition: transform 320ms ease, opacity 320ms ease;
  opacity: 0.55;
}

.screens-carousel .swiper-slide-active {
  opacity: 1;
  transform: scale(1.05);
}

.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.3) !important;
  opacity: 1 !important;
  width: 8px !important;
  height: 8px !important;
}
.swiper-pagination-bullet-active {
  background: var(--gold) !important;
  width: 28px !important;
  border-radius: 999px !important;
}

.swiper-button-next, .swiper-button-prev {
  color: var(--gold) !important;
  --swiper-navigation-size: 28px;
}

/* ---------- Why-offline callout ---------- */

.callout {
  background: linear-gradient(180deg, rgba(233, 30, 99, 0.12) 0%, rgba(107, 43, 168, 0.08) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.callout::before {
  content: '🍉🍋🍓🍇🥝🍑';
  position: absolute;
  top: -20px;
  right: -20px;
  font-size: 100px;
  opacity: 0.08;
  letter-spacing: 10px;
  transform: rotate(-12deg);
}

.callout-list {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 1.5rem;
}

.callout-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 1rem;
}

.callout-item::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--grad-gold);
  color: var(--text-on-gold);
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(255, 201, 60, 0.4);
}

/* ---------- CTA section ---------- */

.cta-section {
  position: relative;
  padding: 6rem 1.25rem;
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 50% 50%, rgba(255, 201, 60, 0.22), transparent 70%),
    linear-gradient(180deg, var(--brand-surface) 0%, var(--brand-primary-dark) 100%);
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/cta_bg.webp') center/320px no-repeat;
  opacity: 0.25;
  filter: saturate(1.2);
}

.cta-card {
  position: relative;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.cta-title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.cta-title em {
  font-family: 'Caveat Brush', cursive;
  font-style: normal;
  font-weight: 400;
  color: var(--gold);
}

/* ---------- Footer ---------- */

.site-footer {
  background: #150730;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3rem 1.25rem 2rem;
  color: var(--text-tertiary);
  font-size: 0.9rem;
}

.footer-links a {
  color: var(--text-secondary);
  margin-right: 1.25rem;
  transition: color 180ms ease;
}
.footer-links a:hover { color: var(--gold); }

/* ---------- Legal pages ---------- */

.legal-shell {
  max-width: 820px;
  margin: 0 auto;
  padding: 5rem 1.25rem 4rem;
}

.legal-shell h1 {
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 0.5rem;
}

.legal-shell .updated {
  color: var(--text-tertiary);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}

.legal-shell h2 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.5rem;
  color: var(--gold);
  margin-top: 2.5rem;
  margin-bottom: 0.9rem;
  letter-spacing: -0.01em;
}

.legal-shell h3 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

.legal-shell p,
.legal-shell li {
  color: var(--text-secondary);
  line-height: 1.7;
}

.legal-shell ul {
  padding-left: 1.5rem;
}

.legal-shell ul li {
  margin-bottom: 0.4rem;
}

.legal-shell a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(255, 201, 60, 0.4);
}

.legal-shell a:hover {
  text-decoration-color: var(--gold);
}

/* ---------- Contact form ---------- */

.contact-card {
  background: linear-gradient(180deg, var(--brand-surface) 0%, var(--brand-surface-elev) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

.field {
  display: block;
  width: 100%;
  background: var(--brand-bg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 14px 16px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 180ms ease, box-shadow 180ms ease;
  margin-top: 0.4rem;
}

.field:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 201, 60, 0.15);
}

.field-label {
  display: block;
  font-family: 'Fredoka', sans-serif;
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
  margin-top: 1.25rem;
}

/* Custom file picker — hides the OS default and uses a styled label */
.file-picker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.4rem;
}

.file-picker input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.file-picker-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 10px 18px;
  background: rgba(255, 201, 60, 0.12);
  border: 1px solid rgba(255, 201, 60, 0.4);
  border-radius: 9999px;
  color: var(--gold);
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}

.file-picker-btn:hover {
  background: rgba(255, 201, 60, 0.2);
  border-color: var(--gold);
}

.file-picker-name {
  color: var(--text-tertiary);
  font-size: 0.92rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}

.form-success {
  background: rgba(74, 222, 128, 0.14);
  border: 1px solid rgba(74, 222, 128, 0.35);
  color: #a0f4b9;
  border-radius: 14px;
  padding: 14px 18px;
  font-weight: 500;
  margin-top: 1rem;
}

/* ---------- Privacy accept button ---------- */

.privacy-accept-btn {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
  z-index: 100;
  display: flex;
  justify-content: center;
  background: linear-gradient(180deg, transparent 0%, rgba(30, 10, 60, 0.92) 45%, #1E0A3C 100%);
  backdrop-filter: blur(8px);
}

.privacy-accept-btn.hidden { display: none !important; }

.accept-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 520px;
  height: 54px;
  padding: 0 1.75rem;
  border: none;
  border-radius: 9999px;
  background: var(--grad-gold);
  color: var(--text-on-gold);
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  transition: transform 150ms ease, filter 180ms ease;
}

.accept-btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.accept-btn:active { transform: translateY(0); filter: brightness(0.95); }

/* ---------- Utilities ---------- */

.container { max-width: 1120px; margin: 0 auto; }
.container-narrow { max-width: 880px; margin: 0 auto; }

/* ---------- Mobile navigation ---------- */

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 201, 60, 0.1);
  border: 1px solid rgba(255, 201, 60, 0.3);
  color: var(--gold);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 180ms ease;
}
.nav-toggle:hover { background: rgba(255, 201, 60, 0.2); }
.nav-toggle svg { width: 22px; height: 22px; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(30, 10, 60, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 5rem 1.5rem 2rem;
}

.nav-drawer.open { display: block; }

.nav-drawer .nav-drawer-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-drawer .nav-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  max-width: 420px;
  margin: 0 auto;
}

.nav-drawer .nav-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  color: var(--text-primary);
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  transition: background 180ms ease, border-color 180ms ease;
}

.nav-drawer .nav-drawer-link:hover,
.nav-drawer .nav-drawer-link:active {
  background: rgba(255, 201, 60, 0.1);
  border-color: rgba(255, 201, 60, 0.35);
  color: var(--gold);
}

.nav-drawer .nav-drawer-cta {
  margin-top: 1rem;
  width: 100%;
}

/* ---------- Responsive ---------- */

@media (max-width: 820px) {
  .nav-menu { display: none; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 640px) {
  .hero { padding: 4rem 1rem 5rem; }
  .section { padding: 4rem 1rem; }
  .cta-section { padding: 4rem 1rem; }
  .phone-frame { width: 220px; }
  .feature-card { padding: 1.5rem 1.25rem; }
  .callout { padding: 1.75rem 1.25rem; }
  .contact-card { padding: 1.5rem 1.25rem; }
}

@media (max-height: 680px) and (orientation: landscape) {
  .hero { padding: 3rem 1.25rem; }
}
