/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { min-height: 100vh; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ===== NAVBAR ===== */
.nav-header {
  background: rgba(255, 250, 245, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(107, 63, 160, 0.08);
  transition: box-shadow 0.3s ease;
}
.nav-header.scrolled {
  box-shadow: 0 4px 30px rgba(107, 63, 160, 0.1);
}
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #F5A623;
  border-radius: 1px;
  transition: width 0.25s ease;
}
.nav-link:hover::after { width: 100%; }

/* ===== BUTTONS ===== */
.btn-primary {
  background: linear-gradient(135deg, #6B3FA0, #8252FF);
  color: white;
  font-weight: 600;
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 15px rgba(107, 63, 160, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(107, 63, 160, 0.4);
}
.btn-secondary {
  background: white;
  color: #6B3FA0;
  font-weight: 600;
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  border: 2px solid rgba(107, 63, 160, 0.2);
  transition: all 0.2s ease;
}
.btn-secondary:hover {
  background: #F5F0FF;
  border-color: #6B3FA0;
}
.btn-lg { padding: 0.9rem 2rem; font-size: 1rem; }
.btn-cta {
  background: #F5A623;
  color: white;
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(245, 166, 35, 0.4);
}
.btn-cta:hover { background: #E8950F; transform: translateY(-2px); }
.btn-cta-secondary {
  background: rgba(255,255,255,0.15);
  color: white;
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.3);
  transition: all 0.2s ease;
}
.btn-cta-secondary:hover { background: rgba(255,255,255,0.25); }

/* ===== TAGS ===== */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.4rem 1rem;
  border-radius: 50px;
}
.tag--plum { background: #EDE5FF; color: #6B3FA0; }
.tag--amber { background: #FFF3D6; color: #C47A0A; }
.tag--light { background: rgba(255,255,255,0.15); color: #F5A623; }

/* ===== SECTION LAYOUT ===== */
.section { padding: 5rem 0; }
.section-title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  color: #3B2254;
  line-height: 1.2;
}
@media (prefers-color-scheme: dark) {
  .section-title { color: #EDE5FF; }
}

/* ===== HERO ===== */
.hero-section {
  background: linear-gradient(160deg, #FFFAF5 0%, #F5F0FF 50%, #EDE5FF 100%);
  min-height: 100vh;
}
.hero-badge {
  animation: fadeInDown 0.6s ease both;
}
.hero-img-wrapper { animation: fadeInUp 0.8s ease both; }
.hero-img-blob { animation: pulse-blob 4s ease-in-out infinite; }

@keyframes pulse-blob {
  0%, 100% { transform: scale(1.1); opacity: 0.2; }
  50% { transform: scale(1.2); opacity: 0.28; }
}

.hero-floating-card {
  animation: float 3s ease-in-out infinite;
}
.hero-card--2 { animation-delay: 1.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes float-delayed {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== PRODUCT CARDS ===== */
.product-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(107, 63, 160, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(107, 63, 160, 0.14);
}
.product-card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card-img { transform: scale(1.06); }
.product-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #F5A623;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
}
.product-card-body {
  padding: 1.4rem;
}
.link-arrow { transition: gap 0.2s ease; }
.link-arrow:hover { gap: 0.35rem; }

/* ===== WHY CARDS ===== */
.why-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(107, 63, 160, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(107, 63, 160, 0.12);
}
.why-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ===== CTA BANNER ===== */
.cta-banner {
  box-shadow: 0 20px 60px rgba(107, 63, 160, 0.2);
}

/* ===== FORM ===== */
.label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: #462866;
  margin-bottom: 0.4rem;
}
.input-field {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #EDE5FF;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #3B2254;
  background: white;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}
.input-field:focus {
  border-color: #8252FF;
  box-shadow: 0 0 0 3px rgba(130, 82, 255, 0.12);
}
.input-field::placeholder { color: #B89EFF; }

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== MOBILE MENU ===== */
.mobile-menu-bg { opacity: 0; }
.mobile-menu-bg.active { opacity: 1; }
.mobile-menu { box-shadow: -10px 0 40px rgba(0,0,0,0.15); }
.mobile-link { transition: color 0.2s ease; }
.mobile-link:hover { color: #F5A623; }

/* ===== GEOMETRIC SHAPES ===== */
.geo-shapes { z-index: -1; }
.geo-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.07;
}
.geo-circle--1 {
  width: 500px; height: 500px;
  background: #6B3FA0;
  top: -100px; right: -150px;
  animation: drift 20s ease-in-out infinite;
}
.geo-circle--2 {
  width: 300px; height: 300px;
  background: #F5A623;
  bottom: 20%; left: -80px;
  animation: drift 15s ease-in-out infinite reverse;
}
.geo-circle--3 {
  width: 180px; height: 180px;
  background: #FF6B9D;
  top: 50%; right: 5%;
  animation: drift 18s ease-in-out infinite;
}
.geo-tri--1 {
  position: absolute;
  width: 0; height: 0;
  border-left: 80px solid transparent;
  border-right: 80px solid transparent;
  border-bottom: 140px solid #7BC67E;
  opacity: 0.06;
  top: 40%; left: 8%;
  animation: spin-slow 25s linear infinite;
  transform-origin: center;
}
.geo-sq--1 {
  position: absolute;
  width: 120px; height: 120px;
  background: #8252FF;
  opacity: 0.05;
  bottom: 15%; right: 10%;
  border-radius: 20px;
  animation: drift 22s ease-in-out infinite;
  transform: rotate(45deg);
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(20px, -30px) rotate(5deg); }
  50% { transform: translate(-10px, 20px) rotate(-3deg); }
  75% { transform: translate(15px, 10px) rotate(2deg); }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .hero-section { padding-top: 100px; }
  .hero-floating-card { display: none; }
}
