/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --accent: #f59e0b;
  --text: #1e293b;
  --text-light: #64748b;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --border: #e2e8f0;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }
p { color: var(--text-light); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 20px rgba(99,102,241,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99,102,241,0.5);
}

.btn-outline {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
}

.btn-outline-dark {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline-dark:hover {
  background: var(--bg-soft);
  border-color: var(--text);
}

.btn-nav {
  background: var(--primary);
  color: white;
  padding: 10px 22px;
  font-size: 0.88rem;
}
.btn-nav:hover { background: var(--primary-dark); }

.btn-card {
  background: transparent;
  color: var(--c, var(--primary));
  border-color: var(--c, var(--primary));
  padding: 10px 22px;
  font-size: 0.9rem;
  margin-top: 10px;
}
.btn-card:hover {
  background: var(--c, var(--primary));
  color: white;
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: all 0.3s ease;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 12px 0;
}
.navbar.scrolled .nav-links a { color: var(--text); }
.navbar.scrolled .logo { color: var(--text); }

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-size: 1.4rem;
  font-weight: 800;
}
.navbar.scrolled .logo { color: var(--text); }
.logo-icon { font-size: 1.5rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: white;
  transform: scaleX(0);
  transition: transform 0.2s;
}
.navbar.scrolled .nav-links a::after { background: var(--primary); }
.nav-links a:hover { color: white; }
.nav-links a:hover::after { transform: scaleX(1); }
.navbar.scrolled .nav-links a { color: var(--text); }
.navbar.scrolled .nav-links a:hover { color: var(--primary); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.navbar.scrolled .hamburger span { background: var(--text); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #4c1d95 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(99,102,241,0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(139,92,246,0.25) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(236,72,153,0.15) 0%, transparent 40%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 160px 24px 100px;
  max-width: 780px;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: white;
  margin-bottom: 20px;
}
.gradient-text {
  background: linear-gradient(135deg, #a78bfa, #f472b6, #fb923c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 580px;
  margin-bottom: 36px;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.stat strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: white;
}
.stat span { font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.15); }

.hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.07;
}
.shape1 { width: 500px; height: 500px; background: #a78bfa; top: -200px; right: -150px; }
.shape2 { width: 300px; height: 300px; background: #f472b6; bottom: -100px; right: 200px; }
.shape3 { width: 200px; height: 200px; background: #6366f1; top: 50%; left: -50px; }

/* ===== SECTION HEADER ===== */
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
}
.section-desc { max-width: 560px; margin: 0 auto; font-size: 1rem; }

/* ===== PRODUCTS ===== */
.products { padding: 100px 0; background: var(--bg-soft); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.product-card {
  background: white;
  border-radius: var(--radius);
  padding: 36px 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #6366f1, #a78bfa);
  opacity: 0;
  transition: opacity 0.3s;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-card:hover::before { opacity: 1; }

.product-card.featured {
  border-color: var(--primary);
  box-shadow: 0 8px 40px rgba(99,102,241,0.15);
}
.product-card.featured::before { opacity: 1; background: linear-gradient(90deg, #f5576c, #f093fb); }

.popular-badge {
  position: absolute;
  top: 20px; right: 20px;
  background: linear-gradient(135deg, #f093fb, #f5576c);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 50px;
}

.card-icon-wrap {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card-icon { font-size: 1.8rem; }

.card-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.product-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.product-card > p { font-size: 0.93rem; margin-bottom: 20px; }

.card-features { margin-bottom: 8px; }
.card-features li {
  font-size: 0.88rem;
  color: var(--text);
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
}
.card-features li:last-child { border-bottom: none; }

/* ===== FEATURES ===== */
.features { padding: 100px 0; }

.features-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.features-text .section-tag { display: block; margin-bottom: 12px; }
.features-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.features-text > p { margin-bottom: 36px; }

.feature-list { display: flex; flex-direction: column; gap: 20px; }
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  border-radius: 12px;
  transition: background 0.2s;
}
.feature-item:hover { background: var(--bg-soft); }
.feature-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.feature-item h4 { font-size: 0.97rem; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.feature-item p { font-size: 0.88rem; }

.features-visual {
  position: relative;
  height: 380px;
}
.visual-card {
  position: absolute;
  background: white;
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  min-width: 240px;
  transition: transform 0.3s ease;
}
.visual-card:hover { transform: scale(1.04); }
.visual-card span:first-child { font-size: 1.6rem; }
.visual-card strong { display: block; font-size: 0.92rem; color: var(--text); }
.visual-card small { font-size: 0.78rem; color: var(--text-light); }
.vc-badge {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  background: #d1fae5;
  color: #065f46;
  white-space: nowrap;
}
.vc1 { top: 20px; left: 0; }
.vc2 { top: 140px; right: 0; }
.vc3 { top: 260px; left: 20px; }

.visual-glow {
  position: absolute;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(99,102,241,0.12), transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
}

/* ===== PRICING ===== */
.pricing { padding: 100px 0; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}
.pricing-card {
  background: white;
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}
.pricing-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.pricing-card.highlighted {
  border-color: var(--primary);
  box-shadow: 0 10px 40px rgba(99,102,241,0.15);
  transform: scale(1.03);
}
.pricing-card.highlighted:hover { transform: scale(1.05) translateY(-8px); }

.popular-label {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.pricing-header { text-align: center; margin-bottom: 32px; }
.pricing-header h3 { font-size: 1.25rem; margin-bottom: 8px; }
.price { font-size: 3rem; font-weight: 800; color: var(--text); }
.price span { font-size: 1rem; color: var(--text-light); font-weight: 500; }

.pricing-features { margin-bottom: 32px; flex-grow: 1; }
.pricing-features li {
  padding: 12px 0;
  border-bottom: 1px solid var(--bg-soft);
  font-size: 0.95rem;
}
.pricing-features li:last-child { border-bottom: none; }

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal-content {
  background: white;
  width: 100%;
  max-width: 450px;
  border-radius: 24px;
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.modal-overlay.active .modal-content {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--bg-soft);
  border: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
}
.modal-close:hover { background: var(--border); color: var(--text); }

.modal-header { text-align: center; margin-bottom: 30px; }
.modal-badge {
  display: inline-block;
  background: #d1fae5;
  color: #065f46;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.modal-header h3 { font-size: 1.5rem; margin-bottom: 4px; }

.payment-form .form-group { margin-bottom: 20px; }
.input-with-icon { position: relative; }
.input-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
}

.payment-security {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  font-size: 0.75rem;
  color: var(--text-light);
}

.success-icon {
  width: 80px; height: 80px;
  background: #22c55e;
  border-radius: 50%;
  color: white;
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  animation: scaleUp 0.5s ease;
}

@keyframes scaleUp {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ===== CONTACT ===== */
.contact { padding: 100px 0; background: var(--bg-soft); }

.contact-wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-form {
  background: white;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-group label { font-size: 0.88rem; font-weight: 600; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.93rem;
  color: var(--text);
  background: var(--bg-soft);
  transition: all 0.2s;
  outline: none;
  resize: vertical;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}
.form-note { font-size: 0.85rem; margin-top: 12px; text-align: center; }

.contact-info { display: flex; flex-direction: column; gap: 24px; }

.info-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.info-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; color: var(--text); }

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.info-item:last-child { margin-bottom: 0; }
.info-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.info-item strong { display: block; font-size: 0.85rem; font-weight: 700; color: var(--text); }
.info-item p { font-size: 0.9rem; margin-top: 2px; }

.testimonial-card {
  background: linear-gradient(135deg, #6366f1, #4f46e5) !important;
  border: none !important;
}
.testimonial-card p { color: rgba(255,255,255,0.9) !important; font-size: 0.97rem; font-style: italic; line-height: 1.7; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 0.9rem;
}
.testimonial-author strong { color: white; font-size: 0.9rem; display: block; }
.testimonial-author small { color: rgba(255,255,255,0.7); font-size: 0.8rem; }

/* ===== FOOTER ===== */
.footer {
  background: #0f172a;
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo { color: white; margin-bottom: 14px; }
.footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.5); max-width: 260px; }

.footer-links h4 { color: white; font-size: 0.9rem; font-weight: 700; margin-bottom: 16px; }
.footer-links a {
  display: block;
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-links a:hover { color: white; }

.footer-bottom {
  padding: 20px 24px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

/* ===== SCROLL REVEAL ===== */
.fade-in { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .features-inner { grid-template-columns: 1fr; gap: 48px; }
  .features-visual { height: 280px; }
  .vc1 { top: 0; left: 0; }
  .vc2 { top: 100px; right: 0; min-width: 200px; }
  .vc3 { top: 200px; left: 0; display: none; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    padding: 20px 24px;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--text) !important; }
  .hamburger { display: flex; }
  .btn-nav { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: fit-content; }
  .footer-inner { grid-template-columns: 1fr; }
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  animation: pulse-wa 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #128c7e;
  color: white;
}

@keyframes pulse-wa {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 700px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
}

