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

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #0f172a;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

/* ==================== UTILITIES ==================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ==================== HEADER ==================== */
.lp-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226,232,240,0.6);
  transition: box-shadow 0.3s;
}
.lp-header.scrolled { box-shadow: 0 1px 8px rgba(0,0,0,0.06); }
.lp-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 14px 24px; gap: 16px;
}
.lp-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 800; color: #0f172a;
  letter-spacing: -0.3px;
}
.lp-logo-img { height: 32px; width: auto; }
.lp-logo-fallback {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: linear-gradient(135deg, #4338ca, #6366f1);
  border-radius: 10px; font-size: 18px;
}
.lp-nav { display: flex; align-items: center; gap: 6px; }
.lp-nav a {
  padding: 8px 14px; font-size: 14px; font-weight: 600; color: #475569;
  border-radius: 8px; transition: all 0.2s;
}
.lp-nav a:hover { color: #4338ca; background: #f1f5f9; }
.lp-nav .lp-cta {
  background: #4338ca; color: #fff; padding: 9px 18px; margin-left: 6px;
  box-shadow: 0 2px 8px rgba(67,56,202,0.25);
}
.lp-nav .lp-cta:hover { background: #3730a3; color: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(67,56,202,0.3); }

/* Mobile menu */
.lp-mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: #0f172a; }
@media (max-width: 768px) {
  .lp-mobile-toggle { display: block; }
  .lp-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 12px 24px 20px; border-bottom: 1px solid #e2e8f0; box-shadow: 0 8px 16px rgba(0,0,0,0.06); }
  .lp-nav.open { display: flex; }
  .lp-nav .lp-cta { margin-left: 0; text-align: center; }
}

/* ==================== HERO ==================== */
.lp-hero {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #312e81 70%, #4338ca 100%);
  color: #fff;
  padding: 100px 24px 80px;
  text-align: center;
  overflow: hidden;
}
.lp-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(99,102,241,0.15) 0%, transparent 50%),
                    radial-gradient(circle at 80% 50%, rgba(6,182,212,0.1) 0%, transparent 50%);
  pointer-events: none;
}
.lp-hero-grid {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  opacity: 0.04;
}
.lp-hero-grid::before {
  content: ''; position: absolute; width: 200%; height: 200%; top: -50%; left: -50%;
  background-image: linear-gradient(#fff 1px, transparent 1px),
                    linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 60px 60px;
}
.lp-hero-content { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; }
.lp-hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  padding: 6px 16px; border-radius: 100px;
  font-size: 13px; font-weight: 600; color: #c7d2fe;
  margin-bottom: 28px;
}
.lp-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800; line-height: 1.12;
  letter-spacing: -1px;
  color: #fff;
}
.lp-hero h1 span { background: linear-gradient(135deg, #a5b4fc, #67e8f9); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.lp-hero p.lead {
  margin-top: 20px; font-size: 18px; font-weight: 500;
  color: rgba(255,255,255,0.75);
  line-height: 1.6; max-width: 640px; margin-left: auto; margin-right: auto;
}
.lp-hero-buttons { margin-top: 36px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.lp-btn-primary {
  background: #fff; color: #0f172a; padding: 15px 32px;
  font-weight: 700; border-radius: 10px; font-size: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.25s;
}
.lp-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.lp-btn-outline {
  border: 2px solid rgba(255,255,255,0.3); color: #fff;
  padding: 13px 28px; font-weight: 700; border-radius: 10px; font-size: 16px;
  display: inline-flex; align-items: center; gap: 8px; transition: all 0.25s;
}
.lp-btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.lp-hero-trust { margin-top: 48px; }
.lp-hero-trust p { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.5); letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 12px; }
.lp-hero-trust-logos { display: flex; justify-content: center; align-items: center; gap: 32px; flex-wrap: wrap; }
.lp-hero-trust-logos span { font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.35); letter-spacing: -0.3px; }

/* ==================== SOCIAL PROOF BAR ==================== */
.lp-stats {
  background: #f8fafc; border-bottom: 1px solid #e2e8f0;
  padding: 28px 24px;
}
.lp-stats-inner { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.lp-stat { text-align: center; }
.lp-stat-value { font-size: 28px; font-weight: 800; color: #0f172a; letter-spacing: -0.5px; }
.lp-stat-label { font-size: 13px; color: #64748b; font-weight: 500; margin-top: 2px; }

/* ==================== SECTIONS ==================== */
.lp-section { padding: 88px 24px; }
.lp-section-alt { background: #f8fafc; }
.lp-section h2 {
  text-align: center; font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800; color: #0f172a; letter-spacing: -0.5px;
}
.lp-subtitle {
  text-align: center; font-size: 17px; color: #64748b;
  max-width: 620px; margin: 12px auto 48px; line-height: 1.6;
}
.lp-section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: #eef2ff; color: #4338ca; padding: 4px 12px;
  border-radius: 100px; font-size: 12px; font-weight: 700;
  margin-bottom: 16px; letter-spacing: 0.3px; text-transform: uppercase;
}

/* ==================== FEATURES ==================== */
.lp-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.lp-feature {
  background: #fff; border: 1px solid #e2e8f0;
  border-radius: 16px; padding: 28px;
  transition: all 0.3s;
}
.lp-feature:hover { border-color: #c7d2fe; box-shadow: 0 4px 20px rgba(67,56,202,0.06); transform: translateY(-2px); }
.lp-feature-icon {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  background: linear-gradient(135deg, #eef2ff, #e0e7ff);
  border-radius: 12px;
  margin-bottom: 14px;
}
.lp-feature-icon svg { width: 24px; height: 24px; color: #4338ca; stroke: #4338ca; }
.lp-feature h3 { font-size: 17px; font-weight: 700; color: #0f172a; }
.lp-feature p { margin-top: 6px; font-size: 14px; color: #64748b; line-height: 1.6; }

/* ==================== PLANS ==================== */
.lp-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px; align-items: start;
}
.lp-plan {
  background: #fff; border: 2px solid #e2e8f0;
  border-radius: 20px; padding: 36px 32px;
  position: relative; transition: all 0.3s;
}
.lp-plan:hover { border-color: #cbd5e1; box-shadow: 0 8px 24px rgba(0,0,0,0.04); }
.lp-plan-popular {
  border-color: #4338ca;
  box-shadow: 0 0 0 4px rgba(67,56,202,0.06), 0 8px 24px rgba(67,56,202,0.1);
  transform: scale(1.03);
}
.lp-plan-popular:hover { border-color: #4338ca; }
.lp-plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, #4338ca, #6366f1);
  color: #fff; padding: 4px 16px; border-radius: 100px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px; white-space: nowrap;
}
.lp-plan h3 { font-size: 18px; font-weight: 700; color: #0f172a; }
.lp-plan-price { margin-top: 8px; display: flex; align-items: baseline; gap: 4px; }
.lp-plan-amount { font-size: 36px; font-weight: 800; color: #0f172a; letter-spacing: -1px; }
.lp-plan-currency { font-size: 18px; font-weight: 600; color: #64748b; }
.lp-plan-period { font-size: 14px; color: #94a3b8; font-weight: 500; margin-top: 2px; }
.lp-plan-trial {
  display: inline-block; margin-top: 8px;
  background: #ecfdf5; color: #059669;
  padding: 2px 10px; border-radius: 6px;
  font-size: 12px; font-weight: 600;
}
.lp-plan ul { list-style: none; margin-top: 24px; padding: 0; }
.lp-plan ul li {
  padding: 7px 0; font-size: 14px; color: #334155;
  display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #f1f5f9;
}
.lp-plan ul li:last-child { border-bottom: none; }
.lp-plan ul li::before {
  content: '✓'; display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 50%; background: #d1fae5; color: #059669;
  font-size: 11px; font-weight: 700; flex-shrink: 0;
}
.lp-plan-popular ul li::before { background: #e0e7ff; color: #4338ca; }
.lp-plan-cta {
  display: block; margin-top: 24px; text-align: center;
  padding: 13px 16px; border-radius: 10px;
  font-weight: 700; font-size: 15px; transition: all 0.25s;
}
.lp-plan-cta-primary { background: #4338ca; color: #fff; box-shadow: 0 2px 8px rgba(67,56,202,0.2); }
.lp-plan-cta-primary:hover { background: #3730a3; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(67,56,202,0.25); }
.lp-plan-cta-secondary { background: #0f172a; color: #fff; }
.lp-plan-cta-secondary:hover { background: #1e293b; transform: translateY(-1px); }
.lp-plan-cta-ghost { background: #f1f5f9; color: #0f172a; }
.lp-plan-cta-ghost:hover { background: #e2e8f0; }

/* ==================== CTA SECTION ==================== */
.lp-cta-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #312e81 100%);
  color: #fff; text-align: center; padding: 80px 24px;
}
.lp-cta-section h2 { color: #fff; }
.lp-cta-section p { color: rgba(255,255,255,0.7); font-size: 17px; max-width: 560px; margin: 12px auto 36px; }
.lp-cta-section .lp-btn-primary { font-size: 17px; padding: 16px 36px; }

/* ==================== FOOTER ==================== */
.lp-footer {
  background: #0f172a; color: #94a3b8;
  padding: 56px 24px 32px;
}
.lp-footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 768px) {
  .lp-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .lp-footer-grid { grid-template-columns: 1fr; }
}
.lp-footer-brand .lp-logo { color: #fff; margin-bottom: 12px; }
.lp-footer-brand p { font-size: 14px; line-height: 1.7; }
.lp-footer-col h4 { color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 16px; }
.lp-footer-col a { display: block; padding: 4px 0; font-size: 14px; color: #94a3b8; transition: color 0.2s; }
.lp-footer-col a:hover { color: #fff; }
.lp-footer-bottom {
  max-width: 1200px; margin: 40px auto 0; padding-top: 24px;
  border-top: 1px solid #1e293b;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; flex-wrap: wrap; gap: 12px;
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.lp-animate { opacity: 0; }
.lp-animate.visible { animation: fadeUp 0.6s ease-out forwards; }

/* ==================== REGISTRO ==================== */
.signup-grid { display: grid; min-height: 100vh; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .signup-grid { grid-template-columns: 1fr 1fr; } }
.signup-side { display: none; background: linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #312e81 100%); color: #fff; padding: 48px; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.signup-side::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 30% 50%, rgba(99,102,241,0.12) 0%, transparent 50%);
  pointer-events: none;
}
@media (min-width: 1024px) { .signup-side { display: flex; } }
.signup-side-content { position: relative; z-index: 1; }
.signup-side .brand { font-size: 24px; font-weight: 800; color: #fff; display: flex; align-items: center; gap: 10px; }
.signup-side h2 { font-size: 28px; font-weight: 800; line-height: 1.2; color: #fff; margin-top: 40px; }
.signup-side p { margin-top: 12px; font-size: 16px; color: rgba(255,255,255,0.7); }
.signup-side ul { margin-top: 24px; list-style: none; padding: 0; }
.signup-side ul li { padding: 6px 0; font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.85); display: flex; align-items: center; gap: 8px; }
.signup-side ul li::before { content: '✓'; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,0.1); font-size: 12px; flex-shrink: 0; }
.signup-side .copy { font-size: 12px; color: rgba(255,255,255,0.5); font-weight: 500; position: relative; z-index: 1; }
.signup-form-wrap { background: #fff; display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.signup-form { width: 100%; max-width: 460px; }
.signup-logo-wrap { text-align: center; margin-bottom: 20px; }
.signup-logo-img { max-height: 48px; width: auto; object-fit: contain; }
.signup-form h1 { font-size: 24px; font-weight: 800; color: #0f172a; }
.signup-form .desc { margin-top: 4px; font-size: 14px; color: #64748b; }
.signup-row { margin-top: 16px; }
.signup-row-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .signup-row-grid { grid-template-columns: 1fr; } }
.signup-label { display: block; font-size: 14px; font-weight: 600; color: #1e293b; margin-bottom: 6px; }
.signup-input, .signup-select {
  width: 100%; padding: 11px 13px; border: 1px solid #cbd5e1; border-radius: 8px;
  background: #fff; color: #0f172a; font-size: 14px; font-family: inherit;
  outline: none; transition: all 0.2s;
}
.signup-input::placeholder { color: #94a3b8; }
.signup-input:focus, .signup-select:focus { border-color: #4338ca; box-shadow: 0 0 0 3px rgba(67,56,202,0.12); }
.signup-help { margin-top: 4px; font-size: 12px; color: #64748b; }
.signup-checkbox { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; font-size: 13px; color: #334155; line-height: 1.5; }
.signup-checkbox input { margin-top: 3px; }
.signup-submit {
  width: 100%; margin-top: 20px; padding: 13px; background: #4338ca; color: #fff;
  font-weight: 700; font-size: 15px; border: none; border-radius: 8px; cursor: pointer;
  transition: all 0.2s;
}
.signup-submit:hover { background: #3730a3; transform: translateY(-1px); }
.signup-bottom { text-align: center; margin-top: 16px; font-size: 14px; color: #64748b; }
.signup-bottom a { color: #4338ca; font-weight: 600; }
.signup-bottom a:hover { text-decoration: underline; }
.signup-alert { margin-top: 16px; padding: 12px 16px; border-radius: 8px; font-size: 14px; border: 1px solid; }
.signup-alert-error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.signup-alert-error ul { margin-left: 20px; }
