/* ============================================================
   FUAFAST — REFINED DESIGN SYSTEM
   Premium, Mascot-Led, Fully Responsive
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400..800&family=Outfit:wght@400;600;700;900&family=Nunito:wght@400;600;700&display=swap');

:root {
  --blue:         #4163ff;
  --blue-glow:    rgba(65,99,255,0.4);
  --orange:       #ff6b35;
  --mint:         #c2ffe1;
  --bg-deep:      #05071a;
  --bg-surface:   #0d1340;
  --glass:        rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.08);
  --text-main:    #ffffff;
  --text-dim:     #a0aec0;
  --font-head:    'Outfit', sans-serif;
  --font-body:    'Nunito', sans-serif;
  --font-wordmark:'Bricolage Grotesque', sans-serif;
  --radius-lg:    24px;
  --shadow-float: 0 20px 40px rgba(0,0,0,0.4);
  --transition:   0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Styles */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-deep);
  background-image: 
    radial-gradient(at 0% 0%, rgba(65,99,255,0.15) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(255,107,53,0.1) 0px, transparent 50%);
  background-attachment: fixed;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Premium Noise Texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='https://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 9999;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.wordmark {
  font-family: var(--font-wordmark);
  font-weight: 800;
  letter-spacing: -1px;
}

/* Lazy Loading Transitions */
.lazy-img {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.lazy-img.fade-in {
  opacity: 1;
  transform: translateY(0);
}
.faq-item.active .faq-icon { transform: rotate(180deg); }


/* ============================================================
   SNEAKER LAB (SECTION 4C)
   ============================================================ */
#sneaker-lab {
  position: relative;
  background: var(--bg-surface);
  border-top: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  overflow: hidden;
}

.sneaker-lab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.sneaker-lab-content {
  z-index: 5;
}

.sneaker-lab-title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--orange);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.sneaker-lab-price {
  font-family: var(--font-wordmark);
  font-size: 2rem;
  font-weight: 800;
  color: var(--mint);
  margin-bottom: 1.5rem;
}

.sneaker-lab-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sneaker-lab-mascot {
  max-width: 400px;
  filter: drop-shadow(0 20px 40px rgba(255,107,53,0.3));
  position: relative;
  z-index: 10;
}

@media (max-width: 968px) {
  .sneaker-lab-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* ============================================================
   CTA SECTION & FOOTER
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  background: rgba(5, 7, 26, 0.7);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo { 
  height: 180px; 
  width: auto; 
  margin-top: 20px;
  margin-bottom: -60px; /* Forces it to overflow bottom */
  position: relative;
  z-index: 1001;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.4));
}
.nav-logo:hover { transform: scale(1.05); }

#navbar.scrolled {
  background: rgba(5, 7, 26, 0.9);
  padding: 0.5rem 0;
}

#navbar.scrolled .nav-logo {
  height: 90px;
  margin-top: 0;
  margin-bottom: 0;
}
.nav-links { display: flex; gap: 2.5rem; }
.nav-links a { 
  font-family: var(--font-head);
  font-weight: 700; 
  color: var(--text-dim); 
  transition: var(--transition);
  font-size: 0.95rem;
}
.nav-links a:hover { color: #fff; transform: translateY(-2px); }

.nav-cta-btn {
  background: var(--orange);
  color: #fff;
  padding: 10px 24px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(255,107,53,0.3);
  transition: var(--transition);
}
.nav-cta-btn:hover { transform: scale(1.05); box-shadow: 0 15px 30px rgba(255,107,53,0.5); }

@media (max-width: 768px) {
  .nav-links { display: none; }
}

/* ============================================================
   SPEECH BUBBLES
   ============================================================ */
.speech-bubble {
  position: relative;
  background: var(--blue);
  color: #fff;
  padding: 14px 22px;
  border-radius: 20px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
  z-index: 20;
  width: max-content;
  max-width: 240px;
  line-height: 1.4;
}

.speech-bubble::after {
  content: '';
  position: absolute;
  width: 0; height: 0;
  border: 12px solid transparent;
}

.speech-bubble.side-bubble::after {
  bottom: -20px; left: 30px;
  border-top-color: var(--blue);
}

.speech-bubble.up-bubble { background: var(--orange); }
.speech-bubble.up-bubble::after {
  bottom: -20px; left: 50%; transform: translateX(-50%);
  border-top-color: var(--orange);
}

.speech-bubble.left-bubble::after {
  bottom: -20px; right: 30px;
  border-top-color: var(--blue);
}

.pulse-animation { animation: bubble-pulse 3s infinite ease-in-out; }
@keyframes bubble-pulse {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.02); }
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 80px 0 60px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  margin-top: -10px; 
  position: relative;
  z-index: 5;
}

.hero-logo { 
  width: 100%; 
  max-width: 540px; 
  margin-left: 0;
  margin-bottom: 0.5rem; 
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.4)); 
  transition: var(--transition); 
}
.hero-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(194,255,225,0.1);
  border: 1px solid var(--mint);
  color: var(--mint);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.85;
  margin: 0.5rem 0 1.2rem;
  letter-spacing: -3px;
  background: linear-gradient(to bottom, #fff, #c2ffe1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 480px;
  margin-bottom: 1.5rem;
}

.hero-cta-wrap { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-cta-btn {
  background: var(--orange);
  color: #fff;
  padding: 18px 40px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.1rem;
  box-shadow: 0 20px 40px rgba(255,107,53,0.3);
  transition: var(--transition);
}

.hero-call-btn {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: #fff;
  padding: 18px 40px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 700;
  transition: var(--transition);
}

.hero-cta-btn:hover, .hero-call-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(65,99,255,0.2);
}

.hero-visual { position: relative; }
.hero-mascot {
  width: 100%;
  max-width: 500px;
  filter: drop-shadow(0 40px 80px var(--blue-glow));
  animation: float-main 5s ease-in-out infinite;
}

@keyframes float-main {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}

@media (max-width: 968px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-content { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    margin-top: -60px; /* Shifted whole block upwards */
  }
  .hero-logo {
    width: 90%;
    max-width: 320px;
    margin-left: 0;
    margin-bottom: 2rem; 
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
  }
  .hero-tag {
    margin-top: 10px;
    position: relative;
    z-index: 6;
  }
  .hero-cta-wrap { justify-content: center; }
  .hero-visual { order: -1; }
}

/* ============================================================
   BUBBLES
   ============================================================ */
.bubbles { position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: 0.5; }
.bubble {
  position: absolute;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.4), transparent);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  animation: bubble-up linear infinite;
}
@keyframes bubble-up {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  20% { opacity: 0.6; }
  80% { opacity: 0.6; }
  100% { transform: translateY(-20vh) scale(1.5); opacity: 0; }
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 100px 0; position: relative; }
.section-label { font-family: var(--font-head); color: var(--blue); font-weight: 800; text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; margin-bottom: 1rem; }
.section-title { font-family: var(--font-head); font-size: clamp(2.5rem, 5vw, 3.5rem); line-height: 1; letter-spacing: -1px; margin-bottom: 1rem; }
.section-sub { color: var(--text-dim); font-size: 1.1rem; max-width: 600px; margin-bottom: 4rem; }

/* MASCOT PEEKING */
.peeking-mascot {
  position: absolute;
  z-index: 5;
  pointer-events: none;
}
.services-mascot { right: -50px; bottom: -50px; width: 300px; }
.services-mascot img { transform: rotate(-15deg); }

.sub-mascot { left: -10px; top: 40%; width: 260px; }
.sub-mascot img { transform: rotate(12deg); }

.delivery-mascot { display: flex; flex-direction: column; align-items: center; margin-top: 60px; }
.delivery-mascot img { width: 220px; animation: bounce-gentle 3s infinite; }

@keyframes bounce-gentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@media (max-width: 1200px) { .peeking-mascot { display: none; } }

/* ============================================================
   GRIDS & CARDS
   ============================================================ */
.services-grid, .plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.services-grid.detailed {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
  .services-grid.detailed {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .services-grid.detailed {
    grid-template-columns: 1fr;
  }
}

.service-card, .plan-card {
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  padding: 3.5rem 2.5rem;
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card.image-card {
  padding: 0;
  display: flex;
  flex-direction: column;
  background: #ffffff; /* Brighter surface for photos */
}

.service-img-wrapper {
  width: 100%;
  height: 240px;
  overflow: hidden;
}
.service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card.image-card:hover .service-img-wrapper img {
  transform: scale(1.08); /* slight zoom on hover */
}

.service-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card.image-card .service-name {
  color: #1a202c; /* dark text for light background */
  font-size: 1.3rem;
  letter-spacing: 1px;
}

.service-card.image-card .service-desc {
  color: #4a5568;
  font-size: 0.95rem;
  margin-top: 0.5rem;
  font-weight: 500;
}

.service-card:hover, .plan-card:hover { 
  transform: translateY(-5px); 
  border-color: rgba(255,255,255,0.2); 
  box-shadow: 0 30px 60px rgba(65,99,255,0.2);
}

.service-icon { font-size: 3rem; margin-bottom: 1.5rem; display: block; }
.service-name { font-family: var(--font-head); font-size: 1.4rem; font-weight: 800; margin-bottom: 0.5rem; }
.service-price { font-family: var(--font-head); font-size: 2.2rem; font-weight: 900; color: var(--orange); }
.service-price span { font-size: 1rem; color: var(--text-dim); font-weight: 500; }
.service-note { margin-top: 1.5rem; font-size: 0.9rem; color: var(--text-dim); }

.plan-card.featured {
  background: linear-gradient(135deg, rgba(65,99,255,0.1) 0%, rgba(13,19,64,1) 100%);
  border: 2px solid var(--blue);
  box-shadow: 0 0 30px var(--blue-glow); /* Neon Blue Glow */
}
.plan-popular { position: absolute; top: 1.5rem; right: -2rem; background: var(--orange); padding: 5px 40px; transform: rotate(45deg); font-weight: 900; font-size: 0.8rem; color: #fff; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }

.plan-price { font-family: var(--font-head); font-size: 2.8rem; font-weight: 900; color: #fff; line-height: 1.1; margin: 1.5rem 0; }
.plan-period { font-size: 1rem; color: var(--text-dim); font-weight: 600; font-family: var(--font-body); }

.plan-save-badge {
  display: inline-block;
  background: var(--mint);
  color: #0b4f36;
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.plan-perks {
  list-style: none;
  margin-top: 2rem;
  text-align: left;
}
.plan-perks li {
  margin-bottom: 1rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 10px;
}
.plan-perks li span { color: var(--blue); font-weight: bold; }


/* ============================================================
   HOW IT WORKS GRID
   ============================================================ */
.bg-light-section {
  background-color: transparent;
}
.how-it-works-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 968px) { .how-it-works-grid { grid-template-columns: 1fr; } }

.hiw-badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.hiw-title {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hiw-desc {
  color: var(--text-dim);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.btn-hiw-teal {
  background: #14b8a6; /* teal */
  color: #fff;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  box-shadow: 0 10px 20px rgba(20, 184, 166, 0.3);
}
.btn-hiw-teal:hover {
  transform: translateY(-3px);
  background: #0d9488;
}

.hiw-steps-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 600px) { .hiw-steps-container { grid-template-columns: 1fr; } }

.hiw-step-card {
  background: #f8fafc;
  border-radius: 12px;
  padding: 2rem;
  text-align: left;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.step-badge {
  background: #14b8a6;
  color: #fff;
  padding: 4px 12px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 0.8rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.step-card-title {
  font-family: var(--font-head);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.step-card-desc {
  color: #64748b;
  font-size: 0.95rem;
}

/* ============================================================
   SPECIAL OFFER
   ============================================================ */
.offer-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: linear-gradient(135deg, #f0fdf4, #e6fffa);
  border-radius: 24px;
  padding: 4rem;
  align-items: center;
  gap: 3rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
@media (max-width: 968px) {
  .offer-card { grid-template-columns: 1fr; padding: 2rem; }
  .offer-image { order: -1; }
}

.offer-subtitle {
  color: #14b8a6;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 1px;
}

.offer-title {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.offer-desc {
  color: #475569;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.offer-list-title {
  color: #0f172a;
  font-weight: bold;
  margin-bottom: 1rem;
}

.offer-list {
  list-style: none;
  margin-bottom: 2rem;
}
.offer-list li {
  margin-bottom: 0.8rem;
  color: #475569;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.offer-list li span {
  color: #14b8a6;
  font-weight: bold;
}

.offer-image {
  margin: auto;
  max-width: 90%;
}
.offer-image img {
  filter: drop-shadow(0 30px 40px rgba(0,0,0,0.15));
  animation: float-main 6s infinite ease-in-out;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-bottom: 5rem; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card { background: var(--bg-surface); padding: 3rem; border-radius: var(--radius-lg); text-align: center; border: 1px solid var(--glass-border); }
.contact-card-icon { font-size: 3rem; margin-bottom: 1.5rem; display: block; }
.contact-card-title { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; margin-bottom: 1.5rem; }

.btn-solid { background: var(--blue); color: #fff; padding: 15px 35px; border-radius: 50px; font-weight: 800; display: inline-block; transition: var(--transition); }
.btn-outline { border: 2px solid var(--blue); color: #fff; padding: 15px 35px; border-radius: 50px; font-weight: 800; display: inline-block; transition: var(--transition); }
.btn-solid:hover, .btn-outline:hover { transform: scale(1.05); background: var(--blue); }

/* FOOTER */
.footer-bar { border-top: 1px solid var(--glass-border); padding-top: 3rem; text-align: center; }
.footer-logo { height: 120px; max-width: 100%; object-fit: contain; margin: 0 auto 1.5rem; }
.footer-tagline { font-family: var(--font-head); font-weight: 900; color: var(--mint); letter-spacing: 2px; margin-bottom: 0.5rem; }
.footer-copy { color: var(--text-dim); font-size: 0.9rem; }

/* ANIMATIONS */
.animate-in { opacity: 0; transform: translateY(40px); transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.animate-in.visible { opacity: 1; transform: translateY(0); }
