/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #dbeafe;
  --accent: #10b981;
  --accent-dark: #059669;
  --text: #1e293b;
  --text-muted: #64748b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #0f172a;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.04);
  --shadow-lg: 0 4px 16px rgba(0,0,0,.1), 0 12px 40px rgba(0,0,0,.06);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); line-height: 1.6; background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ===== Typography ===== */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.25rem; }
.section-label {
  display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--primary); background: var(--primary-light);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 12px;
}
.section-subtitle { color: var(--text-muted); font-size: 1.125rem; max-width: 640px; margin: 12px auto 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600;
  padding: 14px 28px; border-radius: 10px; font-size: .95rem;
  transition: all .2s; cursor: pointer; border: none;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-secondary { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-secondary:hover { background: var(--primary-light); color: var(--primary-dark); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; max-width: 1120px; margin: 0 auto;
}
.nav-logo { font-size: 1.35rem; font-weight: 800; color: var(--text); }
.nav-logo span { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: var(--text-muted); font-size: .9rem; font-weight: 500; }
.nav-links a:hover { color: var(--primary); }
.nav-cta { font-size: .85rem !important; padding: 10px 20px !important; }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.mobile-toggle svg { width: 24px; height: 24px; color: var(--text); }

/* ===== Hero ===== */
.hero {
  padding: 80px 0 60px; text-align: center;
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--bg) 100%);
}
.hero h1 { margin-bottom: 20px; }
.hero h1 span { color: var(--primary); }
.hero-subtitle { font-size: 1.2rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 32px; }
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-proof {
  margin-top: 48px; display: flex; gap: 40px; justify-content: center; flex-wrap: wrap;
  color: var(--text-muted); font-size: .9rem;
}
.hero-proof strong { color: var(--text); }

/* ===== Channel Badges ===== */
.channel-strip {
  display: flex; justify-content: center; gap: 24px; margin-top: 40px; flex-wrap: wrap;
}
.channel-badge {
  display: flex; align-items: center; gap: 10px; background: #fff;
  padding: 12px 24px; border-radius: var(--radius); box-shadow: var(--shadow);
  font-weight: 600; font-size: .95rem;
}
.channel-badge .dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-email { background: #f59e0b; }
.dot-whatsapp { background: #25d366; }
.dot-telegram { background: #229ed9; }

/* ===== Problem ===== */
.problem { padding: 80px 0; background: var(--bg-alt); }
.problem-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; margin-top: 40px; }
.problem-card {
  background: #fff; padding: 32px; border-radius: var(--radius); box-shadow: var(--shadow);
  border-left: 4px solid #ef4444;
}
.problem-card h3 { margin-bottom: 8px; color: #dc2626; }
.problem-card p { color: var(--text-muted); }

/* ===== Solution ===== */
.solution { padding: 80px 0; }
.solution-flow {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px; margin-top: 40px; text-align: center; counter-reset: step;
}
.solution-step {
  background: var(--bg-alt); padding: 32px 24px; border-radius: var(--radius);
  position: relative;
}
.solution-step::before {
  counter-increment: step; content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 700; font-size: 1rem;
  margin: 0 auto 16px;
}
.solution-step h3 { margin-bottom: 8px; }
.solution-step p { color: var(--text-muted); font-size: .9rem; }

/* ===== Features ===== */
.features { padding: 80px 0; background: var(--bg-alt); }
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px; margin-top: 40px;
}
.feature-card {
  background: #fff; padding: 32px; border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 16px;
}
.feature-icon-blue { background: var(--primary-light); }
.feature-icon-green { background: #d1fae5; }
.feature-icon-amber { background: #fef3c7; }
.feature-icon-purple { background: #ede9fe; }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: .9rem; }

/* ===== Use Cases ===== */
.use-cases { padding: 80px 0; }
.use-cases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; margin-top: 40px; }
.use-case-card {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 32px;
  transition: border-color .2s, box-shadow .2s;
}
.use-case-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.use-case-tag {
  font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  padding: 4px 10px; border-radius: 6px; display: inline-block; margin-bottom: 12px;
}
.tag-wellness { background: #fce7f3; color: #be185d; }
.tag-recruiting { background: #ede9fe; color: #6d28d9; }
.tag-realestate { background: #d1fae5; color: #047857; }
.use-case-card h3 { margin-bottom: 8px; }
.use-case-card p { color: var(--text-muted); font-size: .9rem; margin-bottom: 16px; }
.use-case-card blockquote {
  font-style: italic; color: var(--text-muted); border-left: 3px solid var(--primary);
  padding-left: 16px; font-size: .9rem;
}

/* ===== Pricing ===== */
.pricing { padding: 80px 0; background: var(--bg-alt); text-align: center; }
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 40px; align-items: start;
}
.pricing-card {
  background: #fff; border: 2px solid var(--border); border-radius: var(--radius);
  padding: 40px 32px; box-shadow: var(--shadow); position: relative;
  transition: transform .2s, box-shadow .2s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card-featured {
  border-color: var(--primary); box-shadow: var(--shadow-lg);
  transform: scale(1.04);
}
.pricing-card-featured:hover { transform: scale(1.04) translateY(-4px); }
.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; font-size: .75rem; font-weight: 700;
  padding: 4px 16px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em;
}
.pricing-tier { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.pricing-amount { font-size: 2.75rem; font-weight: 800; color: var(--primary); }
.pricing-amount span { font-size: .85rem; font-weight: 500; color: var(--text-muted); }
.pricing-desc { color: var(--text-muted); margin: 8px 0 24px; font-size: .9rem; }
.pricing-features { list-style: none; text-align: left; margin-bottom: 32px; }
.pricing-features li {
  padding: 10px 0; border-bottom: 1px solid var(--border);
  font-size: .9rem; display: flex; align-items: center; gap: 10px;
}
.pricing-features li::before { content: "\2713"; color: var(--accent); font-weight: 700; }

/* ===== CTA ===== */
.cta-section {
  padding: 80px 0; text-align: center;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #1e3a5f 100%); color: #fff;
}
.cta-section h2 { color: #fff; }
.cta-section p { color: #94a3b8; margin: 12px auto 32px; max-width: 500px; }

/* ===== Waitlist Modal ===== */
.wl-modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.5); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 16px;
}
.wl-modal-card {
  background: #fff; border-radius: 24px; padding: 40px 32px;
  max-width: 420px; width: 100%; box-shadow: var(--shadow-lg);
  position: relative; text-align: center;
  animation: modalIn .25s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(.95) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.wl-modal-close {
  position: absolute; top: 16px; right: 16px; background: none; border: none;
  cursor: pointer; color: var(--text-muted); transition: color .2s; padding: 4px;
}
.wl-modal-close:hover { color: var(--text); }
.wl-modal-icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.wl-modal-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.wl-modal-desc { color: var(--text-muted); font-size: .95rem; margin-bottom: 24px; }
.wl-modal-form { display: flex; gap: 10px; }
.wl-modal-input {
  flex: 1; padding: 12px 16px; border-radius: 12px;
  border: 2px solid var(--border); font-size: .95rem; font-family: var(--font);
  outline: none; transition: border-color .2s;
}
.wl-modal-input:focus { border-color: var(--primary); }
.wl-modal-input.wl-input-error { border-color: #ef4444; animation: shake .3s ease; }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}
.wl-modal-btn { white-space: nowrap; padding: 12px 24px; }
.wl-modal-success {
  color: var(--accent); font-weight: 600; font-size: 1.05rem;
  animation: fadeUp .4s ease;
}
.wl-modal-error { color: #ef4444; font-size: .9rem; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Footer ===== */
.footer { padding: 48px 0; background: var(--bg-dark); color: #94a3b8; font-size: .85rem; }
.footer-inner {
  display: flex; justify-content: space-between; align-items: start;
  flex-wrap: wrap; gap: 32px;
}
.footer-brand { max-width: 320px; }
.footer-brand .nav-logo { margin-bottom: 12px; }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #94a3b8; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid #1e293b; text-align: center; }

/* ===== Legal Pages ===== */
.legal { padding: 80px 0; }
.legal h1 { margin-bottom: 8px; }
.legal .last-updated { color: var(--text-muted); font-size: .9rem; margin-bottom: 40px; }
.legal h2 { font-size: 1.35rem; margin: 40px 0 12px; color: var(--text); }
.legal h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--text-muted); margin-bottom: 12px; }
.legal ul, .legal ol { margin-left: 24px; margin-bottom: 16px; }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.legal th, .legal td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: .9rem; }
.legal th { font-weight: 600; color: var(--text); background: var(--bg-alt); }
.legal td { color: var(--text-muted); }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0;
    right: 0; background: #fff; padding: 24px; border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
  }
  .hero { padding: 48px 0 40px; }
  .hero-proof { gap: 20px; }
  .problem-grid, .features-grid, .use-cases-grid { grid-template-columns: 1fr; }
  .solution-flow { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: column; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .pricing-card-featured { transform: none; }
  .pricing-card-featured:hover { transform: translateY(-4px); }
  .pricing-card { padding: 32px 24px; }
  .wl-modal-form { flex-direction: column; }
}
@media (max-width: 480px) {
  .solution-flow { grid-template-columns: 1fr; }
  .channel-strip { flex-direction: column; align-items: center; }
}
