/* VisitFlow — Hoja de estilos global */

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

:root {
  --sf-black: #0a0a0f;
  --sf-deep: #0f0f1a;
  --sf-navy: #111128;
  --sf-card: #16162a;
  --sf-border: rgba(120, 120, 255, 0.15);
  --sf-blue: #4f7aff;
  --sf-blue-glow: rgba(79, 122, 255, 0.25);
  --sf-cyan: #00e5ff;
  --sf-cyan-dim: rgba(0, 229, 255, 0.12);
  --sf-green: #00e676;
  --sf-text: #f0f0ff;
  --sf-muted: rgba(240, 240, 255, 0.55);
  --sf-subtle: rgba(240, 240, 255, 0.25);
  --font-display: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--sf-black);
  color: var(--sf-text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(79,122,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,122,255,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 5%;
  background: rgba(10,10,15,0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--sf-border);
}

.logo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--sf-text); text-decoration: none; letter-spacing: -0.02em; }
.logo span { color: var(--sf-blue); }

.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { color: var(--sf-muted); text-decoration: none; font-size: 0.9rem; font-weight: 400; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--sf-text); }

.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: 0.3rem; }
.nav-dropdown > a::after { content: '▾'; font-size: 0.65rem; opacity: 0.6; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--sf-card);
  border: 1px solid var(--sf-border);
  border-radius: 12px;
  padding: 0.5rem;
  min-width: 200px;
  z-index: 200;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 0.6rem 1rem; border-radius: 7px; font-size: 0.85rem; color: var(--sf-muted); text-decoration: none; transition: background 0.15s, color 0.15s; white-space: nowrap; }
.dropdown-menu a:hover { background: rgba(79,122,255,0.1); color: var(--sf-text); }

.nav-cta { background: var(--sf-blue); color: #fff !important; padding: 0.5rem 1.25rem; border-radius: 6px; font-weight: 500 !important; transition: opacity 0.2s !important; }
.nav-cta:hover { opacity: 0.85; }

.nav-mobile-btn { display: none; background: none; border: 1px solid var(--sf-border); border-radius: 6px; padding: 0.4rem 0.7rem; color: var(--sf-text); cursor: pointer; font-size: 1rem; }

/* ── BREADCRUMB ── */
.breadcrumb { padding: 1.25rem 5%; position: relative; z-index: 1; }
.breadcrumb-inner { max-width: 1140px; margin: 0 auto; display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: var(--sf-muted); }
.breadcrumb a { color: var(--sf-muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--sf-text); }
.breadcrumb .current { font-weight: 500; }

/* ── BUTTONS ── */
.btn-primary { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--sf-blue); color: #fff; padding: 0.85rem 2rem; border-radius: 8px; font-weight: 600; font-size: 0.95rem; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; box-shadow: 0 0 24px var(--sf-blue-glow); font-family: var(--font-display); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 36px var(--sf-blue-glow); }
.btn-ghost { display: inline-flex; align-items: center; gap: 0.5rem; background: transparent; color: var(--sf-text); padding: 0.85rem 1.75rem; border-radius: 8px; font-weight: 500; font-size: 0.95rem; text-decoration: none; border: 1px solid var(--sf-border); transition: border-color 0.2s, background 0.2s; }
.btn-ghost:hover { border-color: rgba(79,122,255,0.5); background: rgba(79,122,255,0.06); }

/* ── SECTION TYPOGRAPHY ── */
section { position: relative; z-index: 1; }
.section-eyebrow { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sf-blue); margin-bottom: 0.75rem; }
.section-title { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; margin-bottom: 1rem; }
.section-desc { color: var(--sf-muted); font-size: 1rem; max-width: 540px; font-weight: 300; line-height: 1.75; }

/* ── BADGE ── */
.badge { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--sf-cyan-dim); border: 1px solid rgba(0,229,255,0.3); color: var(--sf-cyan); padding: 0.3rem 0.85rem; border-radius: 100px; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 1.5rem; }
.badge-dot { width: 6px; height: 6px; background: var(--sf-cyan); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

/* ── FORMS ── */
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.8rem; color: var(--sf-muted); margin-bottom: 0.4rem; font-weight: 500; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: rgba(255,255,255,0.05); border: 1px solid var(--sf-border);
  border-radius: 8px; padding: 0.65rem 1rem; color: var(--sf-text);
  font-family: var(--font-body); font-size: 0.9rem; outline: none;
  transition: border-color 0.2s; -webkit-appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--sf-blue); }
.form-group select option { background: #1a1a2e; }
.form-group .field-error { font-size: 0.75rem; color: #ff6b6b; margin-top: 0.3rem; display: block; }
.form-alert { padding: 0.85rem 1rem; border-radius: 8px; font-size: 0.85rem; margin-bottom: 1.25rem; }
.form-alert.success { background: rgba(0,230,118,0.1); border: 1px solid rgba(0,230,118,0.3); color: #00e676; }
.form-alert.error   { background: rgba(255,80,80,0.1);  border: 1px solid rgba(255,80,80,0.3);  color: #ff6b6b; }

.btn-submit {
  width: 100%; background: var(--sf-blue); color: #fff; border: none; border-radius: 8px;
  padding: 0.85rem; font-size: 0.95rem; font-weight: 600; font-family: var(--font-display);
  cursor: pointer; transition: opacity 0.2s, transform 0.2s; margin-top: 0.5rem;
  box-shadow: 0 0 20px var(--sf-blue-glow);
}
.btn-submit:hover { opacity: 0.85; transform: translateY(-1px); }
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ── FAQ ── */
.faq { padding: 6rem 5%; }
.faq-inner { max-width: 760px; margin: 0 auto; }
.faq-header { text-align: center; margin-bottom: 3rem; }
.faq-item { border-bottom: 1px solid var(--sf-border); }
.faq-question { display: flex; align-items: center; justify-content: space-between; padding: 1.3rem 0; cursor: pointer; font-size: 0.95rem; font-weight: 500; gap: 1rem; }
.faq-question:hover { color: var(--sf-blue); }
.faq-icon { width: 22px; height: 22px; border: 1px solid var(--sf-border); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; transition: transform 0.25s, background 0.25s; color: var(--sf-blue); }
.faq-item.open .faq-icon { transform: rotate(45deg); background: rgba(79,122,255,0.12); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-answer-inner { padding: 0 0 1.3rem; font-size: 0.88rem; color: var(--sf-muted); line-height: 1.8; }

/* ── GUARANTEE STRIP ── */
.guarantee { background: var(--sf-card); border-top: 1px solid var(--sf-border); border-bottom: 1px solid var(--sf-border); padding: 3rem 5%; }
.guarantee-inner { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.guarantee-item h4 { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; margin-bottom: 0.4rem; }
.guarantee-item p { font-size: 0.8rem; color: var(--sf-muted); line-height: 1.6; }
.guarantee-emoji { font-size: 1.8rem; margin-bottom: 0.6rem; display: block; }

/* ── CTA FINAL ── */
.cta-final { padding: 7rem 5%; text-align: center; position: relative; overflow: hidden; }
.cta-final::before { content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(79,122,255,0.1) 0%, transparent 70%); top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.cta-final h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 1rem; position: relative; z-index: 1; }
.cta-final p { color: var(--sf-muted); font-size: 1rem; margin-bottom: 2.5rem; font-weight: 300; max-width: 480px; margin-left: auto; margin-right: auto; position: relative; z-index: 1; }
.cta-actions { position: relative; z-index: 1; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
footer { background: var(--sf-deep); border-top: 1px solid var(--sf-border); padding: 3rem 5%; }
.footer-inner { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; }
.footer-brand h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; margin-bottom: 0.75rem; }
.footer-brand h3 span { color: var(--sf-blue); }
.footer-brand p { font-size: 0.82rem; color: var(--sf-muted); line-height: 1.7; max-width: 240px; }
.footer-col h4 { font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--sf-subtle); margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.55rem; }
.footer-col a { font-size: 0.84rem; color: var(--sf-muted); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--sf-text); }
.footer-bottom { max-width: 1140px; margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--sf-border); display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; color: var(--sf-subtle); }

/* ── SERVICE PAGE SHARED ── */
.page-hero { padding: 6rem 5% 5rem; text-align: center; position: relative; overflow: hidden; }
.page-hero .hero-inner { max-width: 760px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 1.25rem; }
.page-hero h1 em { font-style: normal; }
.page-hero p.lead { color: var(--sf-muted); font-size: 1.1rem; font-weight: 300; line-height: 1.75; max-width: 600px; margin: 0 auto 2.5rem; }
.hero-cta-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.metrics { background: var(--sf-card); border-top: 1px solid var(--sf-border); border-bottom: 1px solid var(--sf-border); padding: 2.5rem 5%; }
.metrics-inner { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.metric-num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; display: block; line-height: 1; }
.metric-label { font-size: 0.82rem; color: var(--sf-muted); margin-top: 0.35rem; }

.what-is { padding: 6rem 5%; }
.what-inner { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.check-list { list-style: none; margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.check-list li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; color: var(--sf-muted); line-height: 1.5; }

.benefits { padding: 6rem 5%; }
.benefits-inner { max-width: 1140px; margin: 0 auto; }
.benefits-header { text-align: center; max-width: 580px; margin: 0 auto 3.5rem; }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.benefit-card { background: var(--sf-card); border: 1px solid var(--sf-border); border-radius: 14px; padding: 1.75rem; transition: border-color 0.25s, transform 0.25s; }
.benefit-card:hover { transform: translateY(-4px); }
.benefit-icon { width: 46px; height: 46px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 1rem; }
.benefit-card h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.benefit-card p { font-size: 0.86rem; color: var(--sf-muted); line-height: 1.7; }

.how-section { padding: 6rem 5%; background: rgba(15,15,26,0.7); }
.how-inner { max-width: 1140px; margin: 0 auto; }
.how-header { text-align: center; max-width: 560px; margin: 0 auto 3.5rem; }
.steps-v { display: flex; flex-direction: column; gap: 1.5rem; max-width: 740px; margin: 0 auto; }
.step-row { display: grid; grid-template-columns: 56px 1fr; gap: 1.5rem; align-items: flex-start; }
.step-num-v { width: 56px; height: 56px; border-radius: 50%; background: var(--sf-blue); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; box-shadow: 0 0 18px var(--sf-blue-glow); flex-shrink: 0; }
.step-content { background: var(--sf-card); border: 1px solid var(--sf-border); border-radius: 12px; padding: 1.25rem 1.5rem; }
.step-content h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.step-content p { font-size: 0.87rem; color: var(--sf-muted); line-height: 1.7; }

/* ── REGISTER PAGE ── */
.register-page { min-height: 100vh; display: flex; align-items: center; padding: 6rem 5%; }
.register-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 480px; gap: 5rem; align-items: center; width: 100%; }
.register-info h1 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 1.25rem; }
.register-info h1 em { font-style: normal; color: var(--sf-blue); }
.register-info p { color: var(--sf-muted); font-size: 1rem; font-weight: 300; line-height: 1.75; margin-bottom: 2rem; max-width: 440px; }
.perks-list { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; }
.perks-list li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; color: var(--sf-muted); }
.perk-icon { width: 32px; height: 32px; border-radius: 8px; background: rgba(79,122,255,0.12); border: 1px solid rgba(79,122,255,0.25); display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.register-card { background: var(--sf-card); border: 1px solid var(--sf-border); border-radius: 20px; padding: 2.5rem; position: relative; }
.register-card::before { content: ''; position: absolute; inset: -1px; border-radius: 21px; background: linear-gradient(135deg, rgba(79,122,255,0.3), transparent 50%, rgba(0,229,255,0.15)); z-index: -1; }
.register-card h2 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; margin-bottom: 0.3rem; }
.register-card .sub { font-size: 0.85rem; color: var(--sf-muted); margin-bottom: 1.75rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.divider { display: flex; align-items: center; gap: 0.75rem; margin: 1.25rem 0; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--sf-border); }
.divider span { font-size: 0.75rem; color: var(--sf-muted); white-space: nowrap; }
.login-link { text-align: center; margin-top: 1.25rem; font-size: 0.83rem; color: var(--sf-muted); }
.login-link a { color: var(--sf-blue); text-decoration: none; font-weight: 500; }
.login-link a:hover { text-decoration: underline; }
.terms-note { font-size: 0.75rem; color: var(--sf-subtle); text-align: center; margin-top: 1rem; line-height: 1.6; }
.terms-note a { color: var(--sf-muted); text-decoration: underline; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 2.75rem; }
.password-toggle { position: absolute; right: 0.85rem; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--sf-muted); cursor: pointer; font-size: 0.9rem; padding: 0; }
.strength-bar { display: flex; gap: 4px; margin-top: 0.4rem; }
.strength-bar span { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,0.07); transition: background 0.3s; }
.strength-label { font-size: 0.72rem; color: var(--sf-muted); margin-top: 0.25rem; }
.plan-selector { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin-bottom: 1rem; }
.plan-opt { border: 1px solid var(--sf-border); border-radius: 8px; padding: 0.65rem 0.5rem; text-align: center; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.plan-opt:hover { border-color: rgba(79,122,255,0.4); background: rgba(79,122,255,0.05); }
.plan-opt.selected { border-color: var(--sf-blue); background: rgba(79,122,255,0.1); }
.plan-opt .p-name { font-family: var(--font-display); font-size: 0.82rem; font-weight: 700; display: block; }
.plan-opt .p-price { font-size: 0.72rem; color: var(--sf-muted); }
.plan-opt.selected .p-name { color: var(--sf-blue); }
.free-badge { display: inline-flex; align-items: center; gap: 0.4rem; background: rgba(0,230,118,0.1); border: 1px solid rgba(0,230,118,0.25); color: #00e676; padding: 0.5rem 1rem; border-radius: 8px; font-size: 0.82rem; font-weight: 600; margin-bottom: 1.25rem; width: 100%; justify-content: center; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .register-grid { grid-template-columns: 1fr; gap: 3rem; }
  .register-info h1 { font-size: 2rem; }
}
@media (max-width: 900px) {
  .what-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .metrics-inner { grid-template-columns: repeat(2,1fr); }
  .guarantee-inner { grid-template-columns: repeat(2,1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-mobile-btn { display: block; }
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .plan-selector { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .guarantee-inner { grid-template-columns: 1fr 1fr; }
}
