:root {
  --primary: #25D366;
  --primary-dark: #1da851;
  --text-main: #111827;
  --text-secondary: #4B5563;
  --bg-light: #F9FAFB;
  --white: #FFFFFF;
  --border: #E5E7EB;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --radius: 8px;
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  color: var(--text-main);
  line-height: 1.5;
  background-color: var(--white);
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

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

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2.25rem; letter-spacing: -0.025em; }
h2 { font-size: 1.875rem; color: var(--text-main); }
h3 { font-size: 1.25rem; }

p { color: var(--text-secondary); margin-bottom: 1rem; }

.highlight { color: var(--primary-dark); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background-color: var(--primary-dark);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--border);
  color: var(--text-main);
}
.btn-outline:hover {
  border-color: var(--text-main);
}

.btn-outline-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border: 1px solid var(--border);
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
}

.full-width { width: 100%; }

.icon-whatsapp { margin-right: 0.5rem; }

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  padding: 1rem 0;
}

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

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary-dark);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  display: none; /* Mobile first hidden */
}

@media (min-width: 768px) {
  .nav-links a { display: block; }
}

/* Hero */
.hero {
  padding: 4rem 0;
  text-align: center;
  background: radial-gradient(circle at 50% 50%, #f0fdf4 0%, #ffffff 100%);
}

.hero h1 { font-size: 2.5rem; margin-bottom: 1.5rem; }
.subheadline { font-size: 1.125rem; max-width: 600px; margin: 0 auto 2rem; }
.cta-group { display: flex; flex-direction: column; gap: 1rem; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.microcopy { font-size: 0.875rem; color: var(--text-secondary); opacity: 0.8; }

@media (min-width: 640px) {
  .cta-group { flex-direction: row; }
  .hero h1 { font-size: 3.5rem; }
}

/* Sections */
.section { padding: 4rem 0; }

.pain, .objection, .plans { background-color: var(--bg-light); }

.pain-list {
  list-style: none;
  margin-top: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.pain-list li {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
}

/* Timeline */
.loop .container h2 { text-align: center; margin-bottom: 3rem; }

.timeline {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  border-left: 2px solid var(--primary);
  padding-left: 2rem;
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.step-num {
  position: absolute;
  left: -2.9rem;
  top: 0;
  width: 1.8rem;
  height: 1.8rem;
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: 50%;
  text-align: center;
  line-height: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
}

.highlight-step { color: var(--primary-dark); }
.highlight-step .step-num { background: var(--primary); color: var(--white); }

/* Benefits */
.grid-2 {
  display: grid;
  gap: 2rem;
}

.benefit-card {
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
}

/* Plans */
.plans-grid {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

.plan-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
  position: relative;
}

.plan-card.featured {
  border: 2px solid var(--primary);
  box-shadow: 0 10px 15px -3px rgba(37, 211, 102, 0.1);
}

.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 1rem 0;
  color: var(--text-main);
}

.price .period { font-size: 1rem; color: var(--text-secondary); font-weight: 400; }

.plan-card ul {
  list-style: none;
  margin: 1.5rem 0;
  text-align: left;
}

.plan-card ul li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.plan-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
}

@media (min-width: 768px) {
  .plans-grid { grid-template-columns: repeat(3, 1fr); align-items: center; }
  .plan-card.featured { transform: scale(1.05); z-index: 10; }
}

/* Footer */
.footer-cta {
  background: var(--text-main);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}
.footer-cta h2 { color: var(--white); margin-bottom: 2rem; }
.footer-cta .btn-outline { color: var(--white); border-color: rgba(255,255,255,0.3); }
.footer-cta .btn-outline:hover { background: rgba(255,255,255,0.1); }

/* Modals */
.modal {
  display: none;
}

.modal.is-open {
  display: block;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  animation: fadeIn 0.2s ease-out;
}

.modal-container {
  background: var(--white);
  width: 100%;
  height: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

@media (min-width: 640px) {
  .modal-container {
    width: 90%;
    max-width: 500px;
    height: auto;
    max-height: 90vh;
    border-radius: var(--radius);
  }
}

.modal-header {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-content {
  padding: 1rem;
  flex: 1;
}

.modal-close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
}

/* Demo Form */
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; font-size: 0.9rem; }
.form-group input, .form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
}
.form-group input:focus { outline: 2px solid var(--primary); border-color: var(--primary); }

.hidden { display: none; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
