/* ==========================================
   CustomMasivos Landing Page Styles
   ========================================== */

:root {
  --bg-primary: #050810;
  --bg-secondary: #0b1120;
  --bg-card: #111b2e;
  --bg-card-hover: #152036;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --cyan: #06b6d4;
  --cyan-dark: #0891b2;
  --cyan-glow: rgba(6, 182, 212, 0.15);
  --cyan-glow-strong: rgba(6, 182, 212, 0.25);
  --green: #10b981;
  --green-glow: rgba(16, 185, 129, 0.15);
  --purple: #8b5cf6;
  --purple-glow: rgba(139, 92, 246, 0.15);
  --amber: #f59e0b;
  --amber-glow: rgba(245, 158, 11, 0.15);
  --red: #ef4444;
  --border: rgba(255, 255, 255, 0.06);
  --border-active: rgba(6, 182, 212, 0.3);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

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

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(5, 8, 16, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 1.15rem;
  font-weight: 400;
}

.nav-logo strong {
  font-weight: 700;
}

.logo-dot {
  width: 10px;
  height: 10px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyan), 0 0 20px rgba(6, 182, 212, 0.3);
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 10px var(--cyan), 0 0 20px rgba(6, 182, 212, 0.3); }
  50% { box-shadow: 0 0 14px var(--cyan), 0 0 28px rgba(6, 182, 212, 0.4); }
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--cyan);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan) 0%, #0e7490 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(6, 182, 212, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-active);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  color: var(--cyan);
}

.btn-nav {
  padding: 9px 20px;
  font-size: 0.85rem;
  background: var(--cyan-glow);
  color: var(--cyan);
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.btn-nav:hover {
  background: var(--cyan-glow-strong);
  border-color: rgba(6, 182, 212, 0.4);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
  border-radius: 12px;
}

.btn-block { width: 100%; }

/* ========== HERO ========== */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: var(--cyan-glow);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 50px;
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 32px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.15;
  max-width: 800px;
  margin: 0 auto 24px;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--cyan), #22d3ee, var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.hero-stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--cyan);
}

.hero-stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ========== SECTIONS SHARED ========== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--cyan-glow);
  border: 1px solid rgba(6, 182, 212, 0.15);
  border-radius: 50px;
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* ========== FEATURES ========== */
.features {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-active);
  transform: translateY(-4px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.fi-messages { background: var(--cyan-glow); color: var(--cyan); }
.fi-media { background: var(--purple-glow); color: var(--purple); }
.fi-personalize { background: var(--green-glow); color: var(--green); }
.fi-extract { background: var(--amber-glow); color: var(--amber); }
.fi-batch { background: var(--cyan-glow); color: var(--cyan); }
.fi-dashboard { background: var(--green-glow); color: var(--green); }

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========== HOW IT WORKS ========== */
.how-it-works {
  padding: 100px 0;
}

.steps-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  flex: 1;
  max-width: 320px;
  transition: var(--transition);
}

.step-card:hover {
  border-color: var(--border-active);
  transform: translateY(-4px);
}

.step-number {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  line-height: 1;
}

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.step-connector {
  color: var(--text-muted);
  flex-shrink: 0;
}

/* ========== PRICING ========== */
.pricing {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.pricing-card-wrapper {
  display: flex;
  justify-content: center;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-active);
  border-radius: 20px;
  padding: 44px 40px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 0 60px rgba(6, 182, 212, 0.06);
}

.pricing-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 50px;
}

.pricing-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 8px;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 32px;
}

.pricing-currency {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.pricing-number {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
}

.pricing-period {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 36px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features svg {
  color: var(--green);
  flex-shrink: 0;
}

.renewal-divider {
  margin: 24px 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.renewal-divider::before,
.renewal-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.renewal-divider span {
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.renewal-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 12px;
  outline: none;
  transition: var(--transition);
  letter-spacing: 1px;
}

.renewal-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.pricing-guarantee {
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ========== FAQ ========== */
.faq {
  padding: 100px 0;
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.1);
}

.faq-question {
  width: 100%;
  padding: 18px 24px;
  background: var(--bg-card);
  border: none;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--bg-card-hover);
}

.faq-arrow {
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--cyan);
  transition: transform 0.3s;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 0 24px 18px;
}

.faq-item.open .faq-arrow {
  transform: rotate(45deg);
}

.faq-answer p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========== FOOTER ========== */
.site-footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 10px;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero h1 { font-size: 2.6rem; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { flex-direction: column; }
  .step-connector { transform: rotate(90deg); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 120px 0 60px; }
  .hero h1 { font-size: 2rem; }
  .hero-desc { font-size: 1rem; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .hero-stat-divider { width: 40px; height: 1px; }
  .features-grid { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 1.8rem; }
  .pricing-card { padding: 32px 24px; }
  .pricing-number { font-size: 3.5rem; }
}
