@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Poppins:wght@300;400;500;600&display=swap');

/* ===== VARIABLES ===== */
:root {
  --purple-deep: #38103d;
  --purple-dark: #4d204a;
  --purple-mid: #6b2d67;
  --purple-light: #9b59a0;
  --cream: #fffade;
  --cream-dark: #fff5b8;
  --white: #ffffff;
  --gold: #d4a853;
  --gold-light: #f0c97a;
  --green-wa: #25d366;
  --text-dark: #2d0d30;
  --text-light: #e8d5e9;
  --shadow: 0 20px 60px rgba(56, 16, 61, 0.15);
  --shadow-card: 0 8px 32px rgba(56, 16, 61, 0.12);
  --radius: 16px;
  --radius-lg: 24px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 600; }
p { font-size: clamp(0.95rem, 2vw, 1.05rem); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 250, 222, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(77, 32, 74, 0.1);
  transition: var(--transition);
}
.navbar.scrolled {
  background: var(--cream);
  box-shadow: 0 4px 24px rgba(56, 16, 61, 0.12);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-logo svg { width: 44px; height: 44px; }
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo-text .brand { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700; color: var(--purple-dark); }
.nav-logo-text .tagline { font-size: 0.68rem; color: var(--purple-light); letter-spacing: 0.08em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--purple-dark);
  position: relative;
  padding-bottom: 2px;
  transition: var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--purple-mid);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--purple-mid); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--purple-mid); }
.nav-links a.active::after { width: 100%; }
.nav-cta {
  background: var(--purple-dark);
  color: var(--cream) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-weight: 500 !important;
  transition: var(--transition) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--purple-mid) !important; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(77,32,74,0.3); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: var(--transition);
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--purple-dark); border-radius: 2px; transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--cream);
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(77,32,74,0.1);
  gap: 1rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--purple-dark);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(77,32,74,0.08);
  transition: var(--transition);
}
.mobile-menu a:hover { color: var(--purple-mid); padding-left: 8px; }
.mobile-menu .nav-cta { text-align: center; border-radius: 50px; padding: 0.75rem; border: none; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  letter-spacing: 0.02em;
}
.btn-primary {
  background: var(--purple-dark);
  color: var(--cream);
  box-shadow: 0 8px 24px rgba(77, 32, 74, 0.35);
}
.btn-primary:hover {
  background: var(--purple-mid);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(77, 32, 74, 0.45);
}
.btn-outline {
  background: transparent;
  color: var(--purple-dark);
  border: 2px solid var(--purple-dark);
}
.btn-outline:hover {
  background: var(--purple-dark);
  color: var(--cream);
  transform: translateY(-3px);
}
.btn-cream {
  background: var(--cream);
  color: var(--purple-dark);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.btn-cream:hover {
  background: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.2);
}
.btn-wa {
  background: var(--green-wa);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}
.btn-wa:hover {
  background: #1ea855;
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.5);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--purple-deep);
  box-shadow: 0 8px 24px rgba(212, 168, 83, 0.4);
  font-weight: 700;
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(212, 168, 83, 0.5);
}
.btn-checkout {
  background: #10C24A;
  color: var(--white) !important;
  box-shadow: 0 8px 24px rgba(16, 194, 74, 0.4);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 2px solid #10C24A;
  animation: glow-checkout 2s infinite ease-in-out;
}
.btn-checkout:hover {
  background: #0EA940;
  border-color: #0EA940;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 32px rgba(16, 194, 74, 0.5);
}

/* ===== SECTIONS ===== */
section { padding: 5rem 2rem; }
.container { max-width: 1200px; margin: 0 auto; }
.section-badge {
  display: inline-block;
  background: rgba(77,32,74,0.1);
  color: var(--purple-mid);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.section-title { color: var(--purple-deep); margin-bottom: 1rem; }
.section-subtitle { color: #666; max-width: 600px; }
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ===== CARDS ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(77,32,74,0.06);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--purple-dark), var(--purple-light));
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}
.card-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--purple-dark), var(--purple-mid));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}
.card h3 { color: var(--purple-deep); margin-bottom: 0.75rem; }
.card p { color: #666; font-size: 0.95rem; }

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: var(--green-wa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
  z-index: 999;
  transition: var(--transition);
  cursor: pointer;
}
.wa-float:hover { transform: scale(1.1) translateY(-4px); box-shadow: 0 16px 40px rgba(37, 211, 102, 0.6); }
.wa-float svg { width: 32px; height: 32px; fill: white; }

/* ===== FOOTER ===== */
footer {
  background: var(--purple-deep);
  color: var(--text-light);
  padding: 4rem 2rem 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--cream);
  margin-bottom: 0.75rem;
}
.footer-brand p { font-size: 0.9rem; opacity: 0.75; line-height: 1.7; }
.footer-col h4 { color: var(--cream); font-family: 'Playfair Display', serif; font-size: 1.1rem; margin-bottom: 1.25rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul li a { font-size: 0.9rem; opacity: 0.75; transition: var(--transition); }
.footer-col ul li a:hover { opacity: 1; color: var(--cream-dark); padding-left: 4px; }
.footer-col p { font-size: 0.9rem; opacity: 0.75; line-height: 1.8; }
.social-links { display: flex; gap: 1rem; margin-top: 1rem; }
.social-links a {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  font-size: 1.1rem;
}
.social-links a:hover { background: var(--purple-mid); transform: translateY(-3px); }
.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  opacity: 0.65;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 8px 56px rgba(37, 211, 102, 0.8); }
}
@keyframes glow-checkout {
  0%, 100% { box-shadow: 0 8px 24px rgba(16, 194, 74, 0.4); }
  50% { box-shadow: 0 8px 48px rgba(16, 194, 74, 0.8), 0 0 15px rgba(16, 194, 74, 0.6); }
}
.animate-up { animation: fadeUp 0.7s ease forwards; opacity: 0; }
.animate-up.d1 { animation-delay: 0.1s; }
.animate-up.d2 { animation-delay: 0.2s; }
.animate-up.d3 { animation-delay: 0.3s; }
.animate-up.d4 { animation-delay: 0.4s; }
.wa-float { animation: pulse-glow 2.5s ease-in-out infinite; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  section { padding: 4rem 1.5rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
