/* =============================================================
   YOOCA: YOUR LIFE — Mobile-First Design System
   Base styles = 375px mobile
   640px  → large phone
   768px  → tablet
   1024px → desktop
   1280px → wide desktop
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Nunito+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; }

/* ---- Brand tokens ---- */
:root {
  --purple:      #7B2FFF;
  --violet:      #9B4FFF;
  --pink:        #FF4FA3;
  --blue:        #4FC3FF;
  --teal:        #00D4AA;

  --grad-brand:  linear-gradient(135deg, #7B2FFF 0%, #FF4FA3 100%);
  --grad-logo:   linear-gradient(135deg, #7B2FFF 0%, #C44FFF 45%, #FF4FA3 100%);
  --grad-sky:    linear-gradient(135deg, #4FC3FF 0%, #7B2FFF 100%);
  --grad-text:   linear-gradient(90deg, #C44FFF 0%, #FF4FA3 55%, #FF8C42 100%);
  --grad-warm:   linear-gradient(135deg, #FF4FA3 0%, #FF8C42 100%);

  --bg:          #08060F;
  --bg2:         #0D0A18;
  --bg3:         #13101F;
  --bg4:         #1A1630;
  --glass:       rgba(255,255,255,0.04);
  --glass2:      rgba(255,255,255,0.07);

  --white:       #FFFFFF;
  --soft:        rgba(255,255,255,0.80);
  --muted:       rgba(255,255,255,0.48);
  --faint:       rgba(255,255,255,0.22);
  --border:      rgba(255,255,255,0.09);
  --border-hi:   rgba(155,79,255,0.40);

  /* Spacing scale */
  --space-xs:   8px;
  --space-sm:   16px;
  --space-md:   24px;
  --space-lg:   40px;
  --space-xl:   64px;
  --space-2xl:  96px;

  /* Touch target minimum */
  --touch:      48px;

  /* Section padding (mobile base) */
  --section-pad: 64px 0;

  /* Container side padding */
  --gutter: 20px;

  /* Border radius */
  --r-sm:  10px;
  --r-md:  16px;
  --r-lg:  20px;
  --r-xl:  24px;
  --r-pill: 100px;
}

/* ---- Base body ---- */
body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Nunito Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---- Headings ---- */
h1, h2, h3, h4, h5 {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

/* ---- Gradient text ---- */
.gt {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gt-sky {
  background: var(--grad-sky);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Container ---- */
.c {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

@media (min-width: 640px)  { :root { --gutter: 28px; } }
@media (min-width: 768px)  { :root { --gutter: 40px; --section-pad: 80px 0; } }
@media (min-width: 1024px) { :root { --gutter: 56px; --section-pad: 100px 0; } }
@media (min-width: 1280px) { :root { --gutter: 64px; } }

/* ---- Section ---- */
.section     { padding: var(--section-pad); }
.section-sm  { padding: 48px 0; }
@media (min-width: 768px) { .section-sm { padding: 64px 0; } }

/* ---- Eyebrow label ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Nunito', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 12px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 16px; height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ---- Section titles — mobile first ---- */
.section-title {
  font-size: 32px;
  margin-bottom: 14px;
}
.section-sub {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 560px;
}

@media (min-width: 640px)  { .section-title { font-size: 38px; } }
@media (min-width: 768px)  { .section-title { font-size: 46px; } .section-sub { font-size: 17px; } }
@media (min-width: 1024px) { .section-title { font-size: 56px; } }

/* ---- Buttons — min 48px height for touch ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 15px;
  min-height: var(--touch);
  padding: 0 28px;
  border-radius: var(--r-pill);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 4px 24px rgba(123,47,255,0.35);
}
.btn-primary:hover { box-shadow: 0 6px 36px rgba(123,47,255,0.55); transform: translateY(-2px); }

.btn-secondary {
  background: var(--glass2);
  color: #fff;
  border: 1.5px solid var(--border);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }

.btn-white {
  background: #fff;
  color: var(--bg);
}
.btn-white:hover { opacity: 0.9; transform: translateY(-2px); }

.btn-outline-purple {
  background: transparent;
  color: var(--violet);
  border: 2px solid var(--border-hi);
}
.btn-outline-purple:hover { background: rgba(123,47,255,0.1); transform: translateY(-2px); }

/* Full-width on mobile, auto on larger */
.btn-full { width: 100%; }
@media (min-width: 640px) { .btn-full { width: auto; } }

/* ---- Badge / pill ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: var(--r-pill);
  font-family: 'Nunito', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.badge-live {
  background: rgba(52,211,153,0.12);
  border: 1px solid rgba(52,211,153,0.3);
  color: #34D399;
}
.badge-live::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #34D399;
  animation: blink 2s infinite;
}
.badge-purple {
  background: rgba(123,47,255,0.14);
  border: 1px solid rgba(123,47,255,0.3);
  color: var(--violet);
}
.badge-pink {
  background: rgba(255,79,163,0.12);
  border: 1px solid rgba(255,79,163,0.28);
  color: var(--pink);
}
.badge-blue {
  background: rgba(79,195,255,0.12);
  border: 1px solid rgba(79,195,255,0.28);
  color: var(--blue);
}

@keyframes blink {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:0.35; transform:scale(1.35); }
}

/* ---- Cards ---- */
.card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
@media (hover: hover) {
  .card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hi);
    box-shadow: 0 16px 48px rgba(123,47,255,0.15);
  }
}

/* ---- Image placeholder ---- */
.img-ph {
  width: 100%; height: 100%;
  background: var(--bg4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--faint);
  font-size: 12px;
  letter-spacing: 0.5px;
  text-align: center;
  padding: 20px;
}
.img-ph-icon { font-size: 32px; opacity: 0.4; }

/* ---- Divider ---- */
.glow-hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(155,79,255,0.35), rgba(255,79,163,0.35), transparent);
}

/* ---- Orbs (decorative) ---- */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  will-change: transform;
}

/* ---- Scroll reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }

/* ---- Form elements — 16px min to prevent iOS zoom ---- */
.f-group { display: flex; flex-direction: column; gap: 6px; }
.f-group label {
  font-family: 'Nunito', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--faint);
}
.f-group input,
.f-group select,
.f-group textarea {
  background: var(--glass);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 16px; /* 16px minimum prevents iOS zoom */
  color: var(--white);
  outline: none;
  width: 100%;
  min-height: var(--touch);
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.f-group input:focus,
.f-group select:focus,
.f-group textarea:focus {
  border-color: var(--border-hi);
  background: rgba(123,47,255,0.06);
}
.f-group input::placeholder,
.f-group textarea::placeholder { color: var(--faint); }
.f-group select option { background: var(--bg3); color: var(--white); }
.f-group textarea { resize: vertical; min-height: 100px; }

.f-row { display: grid; gap: 14px; }
@media (min-width: 640px) { .f-row { grid-template-columns: 1fr 1fr; } }

.f-stack { display: flex; flex-direction: column; gap: 16px; }

/* ---- Proof bar ---- */
.proof-bar {
  background: rgba(123,47,255,0.07);
  border-top: 1px solid rgba(123,47,255,0.18);
  border-bottom: 1px solid rgba(123,47,255,0.18);
  padding: 28px 0;
}
.proof-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
}
.proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 12px;
  background: var(--bg);
}
@media (min-width: 640px)  { .proof-items { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1024px) { .proof-items { grid-template-columns: repeat(5,1fr); } }

.proof-num {
  font-family: 'Nunito', sans-serif;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@media (min-width: 768px) { .proof-num { font-size: 30px; } }

.proof-label {
  font-family: 'Nunito', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--faint);
  text-align: center;
}

/* ---- Nav — mobile first ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
  background: rgba(8,6,15,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 var(--gutter);
}

.nav-logo img {
  height: 60px;
  width: auto;
}

/* Desktop nav links — hidden on mobile */
.nav-links {
  display: none;
  list-style: none;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  display: flex;
  align-items: center;
  height: var(--touch);
  padding: 0 13px;
  color: var(--muted);
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--r-sm);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--white); background: var(--glass2); }
.nav-links a.active { color: var(--white); background: var(--glass); }
.nav-links a.nav-cta {
  background: var(--grad-brand);
  color: #fff !important;
  padding: 0 20px;
  border-radius: var(--r-pill);
  box-shadow: 0 2px 14px rgba(123,47,255,0.4);
}
.nav-links a.nav-cta:hover { box-shadow: 0 4px 24px rgba(123,47,255,0.6); transform: translateY(-1px); }

@media (min-width: 1024px) { .nav-links { display: flex; } }

/* Secondary audience nav — desktop only */
.nav-audience {
  display: none;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.nav-audience a {
  color: var(--faint);
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  transition: color 0.2s;
  padding: 4px 6px;
}
.nav-audience a:hover { color: var(--muted); }
.nav-audience span { color: var(--faint); opacity: 0.4; }

/* Show audience nav on large screens when no main links visible
   (on pages where nav-links is minimal) */
@media (min-width: 768px) { .nav-audience { display: flex; } }
@media (min-width: 1024px) { .nav-audience { display: none; } }

/* Hamburger button */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: var(--touch);
  height: var(--touch);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  -webkit-tap-highlight-color: transparent;
  border-radius: var(--r-sm);
  transition: background 0.2s;
}
.hamburger:hover { background: var(--glass2); }

.hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}
.hamburger span:nth-child(1) { width: 24px; }
.hamburger span:nth-child(2) { width: 18px; }
.hamburger span:nth-child(3) { width: 24px; }

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); width: 24px; }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 24px; }

@media (min-width: 1024px) { .hamburger { display: none; } }

/* Mobile menu drawer */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(8,6,15,0.98);
  border-top: 1px solid var(--border);
  padding: 16px var(--gutter) 24px;
  gap: 4px;
}
.mobile-menu.open { display: flex; }

.mobile-menu a {
  display: flex;
  align-items: center;
  min-height: var(--touch);
  padding: 0 14px;
  color: var(--muted);
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--r-md);
  transition: color 0.2s, background 0.2s;
}
.mobile-menu a:hover, .mobile-menu a:active { color: var(--white); background: var(--glass2); }
.mobile-menu a.mobile-cta {
  background: var(--grad-brand);
  color: #fff !important;
  justify-content: center;
  margin-top: 8px;
  box-shadow: 0 4px 20px rgba(123,47,255,0.4);
}

.mobile-menu-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 0;
}

.mobile-audience {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px 14px 0;
}
.mobile-audience a {
  color: var(--faint) !important;
  font-size: 13px !important;
  min-height: 36px !important;
  padding: 0 10px !important;
  background: var(--glass) !important;
  border: 1px solid var(--border) !important;
}

/* ---- Footer ---- */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 640px)  { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 768px)  { .footer-grid { grid-template-columns: repeat(4,1fr); } }

.footer-brand { grid-column: 1 / -1; }
@media (min-width: 768px) { .footer-brand { grid-column: span 1; } }

.footer-logo { height: 34px; margin-bottom: 12px; }

.footer-desc {
  font-size: 13px;
  color: var(--faint);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 16px;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.soc {
  width: 38px; height: 38px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--faint);
  text-decoration: none;
  font-size: 14px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.soc:hover { background: rgba(155,79,255,0.15); border-color: var(--border-hi); color: var(--violet); }

.footer-col h5 {
  font-family: 'Nunito', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--soft);
  margin-bottom: 14px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a {
  font-size: 13px;
  color: var(--faint);
  text-decoration: none;
  transition: color 0.2s;
  display: inline-block;
  padding: 2px 0;
}
.footer-col ul a:hover { color: var(--muted); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

.footer-bottom p, .footer-bottom a {
  font-size: 11px;
  color: var(--faint);
  text-decoration: none;
}
.footer-bottom a:hover { color: var(--muted); }
.footer-legal { display: flex; gap: 16px; }
