/* ============================================
   FUZZY BRUSH — Design System & Styles
   fuzzy.wickowaypoint.com
   ============================================ */

/* --- CSS Variables --- */
:root {
  --mint: #38bdf8;
  --mint-dark: #0284c7;
  --pink: #fbbf24;
  --pink-dark: #f59e0b;
  --purple: #818cf8;
  --bg-primary: #0a1628;
  --bg-secondary: #0f1d32;
  --bg-card: rgba(255, 255, 255, 0.03);
  --text-primary: #f0fdf4;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: rgba(255, 255, 255, 0.06);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

::selection {
  background: var(--mint);
  color: var(--bg-primary);
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  border: none;
  outline: none;
}

/* --- Keyframes --- */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes sparkle {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

@keyframes chomp {
  0% { transform: scaleY(1); }
  25% { transform: scaleY(0.7); }
  50% { transform: scaleY(1); }
  75% { transform: scaleY(0.8); }
  100% { transform: scaleY(1); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(100px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes brushBounce {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-15px) rotate(5deg); }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px rgba(56, 189, 248, 0.3); }
  50% { box-shadow: 0 0 40px rgba(56, 189, 248, 0.6); }
}

@keyframes wiggle {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(2deg); }
}

/* --- Scroll Animation Classes --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }
.animate-on-scroll.delay-5 { transition-delay: 0.5s; }
.animate-on-scroll.delay-6 { transition-delay: 0.6s; }
.animate-on-scroll.delay-7 { transition-delay: 0.7s; }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(56, 189, 248, 0.1);
  padding: 12px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.nav-logo-icon {
  display: inline-flex;
}

.nav-logo-icon.chomping {
  animation: chomp 0.4s ease;
}

.nav-logo-text {
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: 20px;
  color: var(--mint);
}

.nav-logo-text .pink {
  color: var(--pink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--mint);
}

.nav-cta {
  background: linear-gradient(135deg, var(--mint), var(--mint-dark));
  border-radius: 20px;
  padding: 8px 20px;
  color: var(--bg-primary);
  font-weight: 700;
  font-size: 13px;
  position: relative;
  transition: transform 0.2s;
}

.nav-cta:hover {
  transform: scale(1.05);
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--pink);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
}

.cart-badge.pulse {
  animation: pulse 0.3s ease;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* --- Floating Emoji --- */
.floating-emoji {
  position: absolute;
  font-size: 32px;
  animation: float 4s ease-in-out infinite;
  opacity: 0.6;
  pointer-events: none;
}

/* --- HERO Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(56, 189, 248, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(251, 191, 36, 0.1) 0%, transparent 50%),
    var(--bg-primary);
  padding: 120px 40px 80px;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 20px;
  padding: 6px 16px;
  margin-bottom: 24px;
  font-size: 12px;
  font-weight: 600;
  color: var(--mint);
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: slideUp 0.8s ease forwards;
}

.hero h1 {
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: clamp(48px, 8vw, 88px);
  line-height: 1.05;
  margin-bottom: 24px;
  animation: slideUp 0.8s ease 0.1s both;
}

.gradient-text {
  background: linear-gradient(135deg, var(--mint), var(--purple), var(--pink));
  background-size: 200% 200%;
  animation: gradient 4s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(16px, 2.5vw, 22px);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 40px;
  animation: slideUp 0.8s ease 0.2s both;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  animation: slideUp 0.8s ease 0.3s both;
}

.btn-primary {
  background: linear-gradient(135deg, var(--mint), var(--mint-dark));
  padding: 16px 40px;
  border-radius: 50px;
  color: var(--bg-primary);
  font-weight: 800;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  animation: glow 2s ease-in-out infinite;
  transition: transform 0.2s;
}

.btn-primary:hover {
  transform: scale(1.05);
}

.btn-ghost {
  border: 2px solid rgba(56, 189, 248, 0.3);
  padding: 16px 32px;
  border-radius: 50px;
  color: var(--mint);
  font-weight: 600;
  font-size: 16px;
  background: transparent;
  transition: all 0.2s;
}

.btn-ghost:hover {
  border-color: var(--mint);
  background: rgba(56, 189, 248, 0.1);
}

.trust-badges {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-top: 60px;
  animation: slideUp 0.8s ease 0.5s both;
}

.trust-badge {
  text-align: center;
}

.trust-badge-icon {
  font-size: 24px;
  margin-bottom: 4px;
}

.trust-badge-text {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* --- PROBLEM Section --- */
.problem {
  padding: 120px 40px;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  position: relative;
}

.section-header {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.section-header h2 {
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: clamp(32px, 5vw, 56px);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 60px;
  line-height: 1.7;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 24px;
  transition: all 0.3s;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.problem-card:hover {
  transform: translateY(-8px);
  border-color: rgba(56, 189, 248, 0.3);
  background: rgba(56, 189, 248, 0.05);
}

.problem-card-emoji {
  font-size: 40px;
  margin-bottom: 16px;
}

.problem-card h3 {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 12px;
}

.problem-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

/* --- HOW IT WORKS Section --- */
.howitworks {
  padding: 120px 40px;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, #0a1830 100%);
}

.steps-row {
  display: flex;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  justify-content: center;
}

.step {
  text-align: center;
  flex: 1;
  max-width: 280px;
}

.step-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 44px;
  animation: float 4s ease-in-out infinite;
}

.step-circle.mint {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.13), rgba(56, 189, 248, 0.07));
  border: 2px solid rgba(56, 189, 248, 0.27);
}

.step-circle.purple {
  background: linear-gradient(135deg, rgba(129, 140, 248, 0.13), rgba(129, 140, 248, 0.07));
  border: 2px solid rgba(129, 140, 248, 0.27);
}

.step-circle.pink {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.13), rgba(251, 191, 36, 0.07));
  border: 2px solid rgba(251, 191, 36, 0.27);
}

.step-number {
  font-family: 'Fraunces', serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 8px;
}

.step-number.mint { color: var(--mint); }
.step-number.purple { color: var(--purple); }
.step-number.pink { color: var(--pink); }

.step h3 {
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: 28px;
  margin-bottom: 12px;
}

.step p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

/* --- SCIENCE Section --- */
.science {
  padding: 120px 40px;
  background: linear-gradient(180deg, #0a1830 0%, #0f1d35 50%, var(--bg-primary) 100%);
}

.badge-purple {
  display: inline-block;
  background: rgba(129, 140, 248, 0.1);
  border: 1px solid rgba(129, 140, 248, 0.3);
  border-radius: 20px;
  padding: 6px 16px;
  margin-bottom: 20px;
  font-size: 11px;
  font-weight: 600;
  color: var(--purple);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.stat-card {
  background: rgba(129, 140, 248, 0.05);
  border: 1px solid rgba(129, 140, 248, 0.15);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
}

.stat-value {
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: 48px;
  color: var(--purple);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: #e2e8f0;
  margin-bottom: 4px;
  font-weight: 600;
}

.stat-source {
  font-size: 11px;
  color: var(--text-muted);
}

/* --- USE CASES Section --- */
.usecases {
  padding: 120px 40px;
  background: var(--bg-primary);
}

.usecases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.usecase-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s;
  cursor: default;
}

.usecase-card:hover {
  background: rgba(251, 191, 36, 0.08);
  border-color: rgba(251, 191, 36, 0.3);
  transform: translateY(-4px);
}

.usecase-emoji {
  font-size: 28px;
  margin-bottom: 8px;
}

.usecase-label {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
}

.usecase-detail {
  font-size: 11px;
  color: var(--text-muted);
}

/* --- PRICING Section --- */
.pricing {
  padding: 120px 40px;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(56, 189, 248, 0.08) 0%, transparent 60%),
    var(--bg-primary);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}

.pricing-card:hover {
  border-color: rgba(56, 189, 248, 0.3);
}

.pricing-card.selected {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(56, 189, 248, 0.05));
  border-color: var(--mint);
  transform: scale(1.03);
}

.popular-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  padding: 4px 12px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 8px;
}

.pricing-price {
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: 36px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.pricing-per {
  font-size: 13px;
  color: var(--mint);
  margin-bottom: 12px;
}

.pricing-save {
  color: var(--pink);
  margin-left: 6px;
}

.pricing-qty {
  font-size: 12px;
  color: var(--text-muted);
}

.pricing-cta-wrap {
  text-align: center;
  margin-top: 40px;
}

.pricing-cta-wrap .btn-primary {
  padding: 18px 48px;
  font-size: 18px;
}

.pricing-guarantee {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 16px;
}

/* --- FINAL CTA Section --- */
.final-cta {
  padding: 120px 40px;
  background: linear-gradient(180deg, var(--bg-primary) 0%, #0d1a30 50%, var(--bg-primary) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta-inner {
  position: relative;
  z-index: 2;
}

.final-cta-icon {
  margin-bottom: 24px;
}

.final-cta h2 {
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: clamp(36px, 6vw, 64px);
  margin-bottom: 20px;
  line-height: 1.1;
}

.final-cta p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.final-cta .btn-primary {
  padding: 18px 48px;
  font-size: 18px;
}

/* --- FOOTER --- */
.footer {
  padding: 40px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-brand-text {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 14px;
  color: #475569;
}

.footer-copy {
  font-size: 12px;
  color: #475569;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-link {
  font-size: 12px;
  color: #475569;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--mint);
}

/* --- Page Styles (FAQ, About, Contact, Policies) --- */
.page-wrapper {
  padding: 120px 40px 80px;
  max-width: 800px;
  margin: 0 auto;
  min-height: 100vh;
}

.page-wrapper h1 {
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: clamp(32px, 5vw, 52px);
  margin-bottom: 16px;
}

.page-wrapper h2 {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 24px;
  margin: 40px 0 12px;
}

.page-wrapper p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* FAQ Accordion */
.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item:hover {
  border-color: rgba(56, 189, 248, 0.3);
}

.faq-question {
  width: 100%;
  background: var(--bg-card);
  color: var(--text-primary);
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}

.faq-question:hover {
  background: rgba(56, 189, 248, 0.05);
}

.faq-arrow {
  font-size: 14px;
  color: var(--mint);
  transition: transform 0.3s;
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 24px 20px;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--mint);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .problem-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .steps-row {
    flex-direction: column;
    align-items: center;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .usecases-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .nav {
    padding: 12px 20px;
  }

  .nav-links .nav-link {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links.open .nav-link {
    display: block;
  }

  .hero {
    padding: 100px 20px 60px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .trust-badges {
    flex-wrap: wrap;
    gap: 20px;
  }

  .problem,
  .howitworks,
  .science,
  .usecases,
  .pricing,
  .final-cta {
    padding: 80px 20px;
  }

  .usecases-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }

  .page-wrapper {
    padding: 100px 20px 60px;
  }
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 22, 40, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  transition: color 0.2s;
}

.mobile-nav a:hover {
  color: var(--mint);
}

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  color: var(--text-secondary);
  font-size: 28px;
}
