/* 
========================================================================
   STYLE.CSS - AI Publisher Pro Landing Page
======================================================================== 
*/

/* ═══ PALETA Y TOKENS ═══ */
:root {
  --bg: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F1F5F9;
  --primary: #1256E5; /* Azul intenso del banner */
  --secondary: #0037A8; /* Azul más oscuro para degradados */
  --text: #0F172A; /* Texto principal oscuro */
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --border: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(0, 0, 0, 0.15);
  --glow-primary: rgba(18, 86, 229, 0.15);
  --glow-secondary: rgba(0, 55, 168, 0.15);
  --gradient: linear-gradient(135deg, #1256E5, #0037A8);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-glow: 0 10px 30px rgba(18, 86, 229, 0.15);
}

/* ═══ 1. RESET + BASE ═══ */
*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background-color: rgba(45, 127, 249, 0.3);
  color: #FFFFFF;
}

/* Scrollbar custom */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-card-hover);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(45, 127, 249, 0.5);
}

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

section {
  padding: 7rem 0;
  position: relative;
}

/* ═══ 3. TIPOGRAFÍA ═══ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(45, 127, 249, 0.1);
  border: 1px solid rgba(45, 127, 249, 0.2);
  color: var(--primary);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
  color: var(--text);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══ 4. BOTONES ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(45, 127, 249, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(45, 127, 249, 0.4);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border-hover);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(45, 127, 249, 0.05);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

/* ═══ 5. GLASS CARD PATTERN ═══ */
.glass-card,
.problem-card,
.solution-card,
.solution-visual,
.step-card,
.feature-card,
.flow-content,
.seo-card,
.provider-card,
.pricing-card,
.screenshot-placeholder,
.testimonial-card,
.cta-form-wrapper {
  background: linear-gradient(135deg, rgba(18, 86, 229, 0.10) 0%, rgba(0, 55, 168, 0.07) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(18, 86, 229, 0.22);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  box-shadow: 0 2px 16px rgba(18, 86, 229, 0.07), inset 0 1px 0 rgba(255,255,255,0.5);
}

.glass-card:hover,
.problem-card:hover,
.solution-card:hover,
.feature-card:hover,
.seo-card:hover,
.provider-card:hover,
.pricing-card:hover,
.testimonial-card:hover {
  border-color: rgba(18, 86, 229, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(18, 86, 229, 0.18), inset 0 1px 0 rgba(255,255,255,0.6);
  background: linear-gradient(135deg, rgba(18, 86, 229, 0.15) 0%, rgba(0, 55, 168, 0.10) 100%);
}

/* ═══ 6. NAVBAR ═══ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
}

.navbar-logo svg {
  color: var(--primary);
}

.navbar-nav {
  display: flex;
  gap: 2rem;
}

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

.navbar-nav a:hover {
  color: var(--text);
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.navbar-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

.navbar-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar-toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ═══ 7. HERO ═══ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 6rem;
  position: relative;
  overflow: hidden;
  width: 100%;
}

#particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(45, 127, 249, 0.15) 0%, rgba(124, 58, 237, 0.08) 40%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(45, 127, 249, 0.08);
  border: 1px solid rgba(45, 127, 249, 0.15);
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--primary);
  margin-bottom: 2rem;
  animation: float 3s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

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

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 4rem;
}

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

.hero-stat .counter {
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-heading);
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-stat .stat-suffix {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-heading);
}

.hero-stat .stat-label {
  display: block;
  color: var(--text-secondary);
  font-size: 0.8rem;
  margin-top: 4px;
}

/* ═══ 8. HERO IMAGES (BANNER & BOT) ═══ */
.hero-dashboard-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 3rem;
  position: relative;
  z-index: 10;
  clear: both;
}

.hero-images-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-banner-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 40px rgba(18, 86, 229, 0.12);
  display: block;
}

.hero-bot-img {
  position: absolute;
  width: 160px;
  height: auto;
  bottom: -30px;
  right: -20px;
  animation: floatBot 4s ease-in-out infinite;
  z-index: 20;
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.15));
}

@keyframes floatBot {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

/* ═══ 9. LOGOS ═══ */
#logos {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.logos-title {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.logos-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.logo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.6;
  transition: var(--transition);
}

.logo-item:hover {
  opacity: 1;
}

.logo-item svg {
  width: 24px;
  height: 24px;
}

/* ═══ 10. PROBLEM ═══ */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.problem-card {
  padding: 2rem;
}

.problem-card .problem-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 127, 249, 0.1);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.problem-card .problem-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.problem-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.problem-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ═══ 11. SOLUTION ═══ */
.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.solution-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.solution-check {
  width: 32px;
  height: 32px;
  min-width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 127, 249, 0.1);
  border-radius: 50%;
  margin-top: 4px;
}

.solution-check svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.solution-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.solution-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.solution-card {
  padding: 2rem;
}

/* ═══ 12. HOW IT WORKS ═══ */
.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step-card {
  padding: 2.5rem;
  text-align: center;
  position: relative;
}

.step-card:hover {
  border-color: rgba(45, 127, 249, 0.2);
}

.step-number {
  font-size: 4rem;
  font-weight: 800;
  font-family: var(--font-heading);
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.step-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 127, 249, 0.1);
  border-radius: var(--radius-md);
}

.step-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.step-title {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.step-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.step-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.step-feature {
  font-size: 0.75rem;
  padding: 4px 12px;
  background: rgba(45, 127, 249, 0.08);
  border: 1px solid rgba(45, 127, 249, 0.15);
  border-radius: 100px;
  color: var(--primary);
}

/* ═══ 13. FEATURES ═══ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card {
  padding: 1.5rem;
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-title {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.feature-description {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ═══ 14. AUTOMATION ═══ */
.automation-flow {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.automation-flow::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient);
  opacity: 0.3;
}

.flow-step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.flow-number {
  width: 56px;
  min-width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 2px solid rgba(45, 127, 249, 0.3);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary);
  z-index: 1;
}

.flow-content {
  padding: 1.5rem;
  flex: 1;
}

.flow-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.flow-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.flow-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ═══ 15. SEO ═══ */
.seo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.seo-card {
  padding: 2rem;
}

.seo-card .seo-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 127, 249, 0.1);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.seo-card .seo-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.seo-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

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

/* ═══ 16. PROVIDERS ═══ */
.providers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.provider-card {
  padding: 2rem;
  text-align: center;
}

.provider-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 127, 249, 0.08);
  border-radius: var(--radius-lg);
}

.provider-icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.provider-name {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.provider-models {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.provider-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.provider-badge.available {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.provider-badge.coming-soon {
  background: rgba(251, 191, 36, 0.1);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.2);
}

/* ═══ 17. PRICING ═══ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
}

.pricing-card {
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.pricing-featured {
  border-color: rgba(45, 127, 249, 0.3);
  transform: scale(1.05);
}

.pricing-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
}

.pricing-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gradient);
  color: #FFFFFF;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.pricing-name {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.pricing-price {
  margin-bottom: 2rem;
}

.price-currency {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-secondary);
  vertical-align: top;
}

.price-amount {
  font-size: 3.5rem;
  font-weight: 800;
  font-family: var(--font-heading);
  line-height: 1;
}

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

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}

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

.pricing-features li svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.pricing-cta {
  width: 100%;
}

.pricing-cta .btn {
  width: 100%;
  justify-content: center;
}

/* ═══ 18. SCREENSHOTS ═══ */
.screenshots-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.tab-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 10px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover {
  border-color: var(--border-hover);
  color: var(--text);
}

.tab-btn.active {
  background: rgba(45, 127, 249, 0.1);
  border-color: rgba(45, 127, 249, 0.3);
  color: var(--primary);
}

.screenshots-viewer {
  max-width: 900px;
  margin: 0 auto;
}

.screenshot-item {
  display: none;
}

.screenshot-item.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

.screenshot-placeholder {
  min-height: 400px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.dash-header {
  padding: 15px 20px;
  background: rgba(0, 0, 0, 0.02);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 15px;
}

.dash-dots {
  display: flex;
  gap: 6px;
}

.dash-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff5f56;
}
.dash-dots span:nth-child(2) { background: #ffbd2e; }
.dash-dots span:nth-child(3) { background: #27c93f; }

.dash-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-secondary);
}

.dash-body {
  display: flex;
  flex: 1;
  background: var(--bg);
}

.dash-main {
  padding: 20px;
  flex: 1;
}

.dash-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.dash-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 15px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.dash-stat-number {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
}

.dash-stat-label {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 5px;
}

.dash-chart {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.dash-chart-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 5px;
}

.dash-chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 15px;
  height: 150px;
  margin-top: 20px;
  padding-bottom: 25px;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.dash-bar {
  flex: 1;
  background: var(--primary);
  height: var(--h);
  border-radius: 4px 4px 0 0;
  position: relative;
  transition: var(--transition);
}

.dash-bar span {
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: var(--text-secondary);
  white-space: nowrap;
}

/* ═══ 19. TESTIMONIALS ═══ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  padding: 2rem;
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial-content {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #FFFFFF;
}

.author-name {
  font-size: 0.95rem;
  font-weight: 600;
}

.author-role {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

/* ═══ 20. FAQ ═══ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.5rem 0;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  text-align: left;
  gap: 1rem;
}

.faq-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  color: var(--text-secondary);
  transition: transform 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
  max-height: 300px;
}

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

/* ═══ 21. CTA ═══ */
#cta {
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(45, 127, 249, 0.15) 0%, rgba(124, 58, 237, 0.08) 40%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.cta-content {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.cta-form-wrapper {
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem;
  position: relative;
  z-index: 1;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-group .required {
  color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(45, 127, 249, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-group select {
  appearance: none;
}

.form-full {
  grid-column: 1 / -1;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-checkbox {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}

.form-checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  margin-top: 2px;
  cursor: pointer;
}

.form-checkbox label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.form-checkbox label a {
  color: var(--primary);
  text-decoration: underline;
}

.form-actions {
  margin-top: 1.5rem;
  text-align: center;
}

.form-actions .btn {
  min-width: 250px;
}

.btn-loader {
  display: inline-flex;
  animation: spin 1s linear infinite;
}

#form-message {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
  padding: 12px;
  border-radius: var(--radius-md);
}

#form-message.form-success {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

#form-message.form-error {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ═══ 22. FOOTER ═══ */
.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
  margin-bottom: 1rem;
}

.footer-logo svg {
  color: var(--primary);
}

.footer-col > p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-social a:hover {
  color: var(--primary);
}

.footer-social a svg {
  width: 20px;
  height: 20px;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

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

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 1rem;
}

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

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-decoration: none;
}

.footer-bottom-links a:hover {
  color: var(--text-secondary);
}

/* ═══ 23. ANIMATIONS ═══ */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ═══ 24. RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .pricing-featured {
    transform: none;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
  
  section {
    padding: 5rem 0;
  }
  
  .navbar-nav {
    display: none;
  }
  
  .navbar-toggle {
    display: flex;
  }
  
  .navbar-nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(8, 11, 20, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border);
  }
  
  .navbar-cta {
    display: none;
  }
  
  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .hero-bot-img {
    width: 100px;
    right: -10px;
    bottom: -20px;
  }
  
  .problem-grid,
  .steps-container,
  .seo-grid,
  .providers-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .solution-grid {
    grid-template-columns: 1fr;
  }
  
  .solution-visual {
    display: none;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .logos-strip {
    gap: 2rem;
  }
  
  .dash-sidebar {
    display: none;
  }
  
  .dash-stats-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .screenshots-tabs {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ═══ 25. PREFERS-REDUCED-MOTION ═══ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* --- 24. NEW SECTIONS (Metrics, Showcase, Docs, Roadmap) --- */

/* Metrics Section */
#metrics {
  padding: 4rem 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}
.metric-item .metric-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.metric-item .metric-label {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Showcase (Large Screenshots) */
#showcase {
  padding: 6rem 0;
}
.showcase-item {
  display: flex;
  align-items: center;
  gap: 4rem;
  margin-bottom: 6rem;
}
.showcase-item:nth-child(even) {
  flex-direction: row-reverse;
}
.showcase-text {
  flex: 1;
}
.showcase-text h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.showcase-text p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.6;
}
.showcase-image {
  flex: 1.5;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.showcase-image .mockup-window {
  width: 100%;
  height: 400px;
  background: var(--bg);
  border-radius: 8px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-family: monospace;
}
@media (max-width: 768px) {
  .showcase-item, .showcase-item:nth-child(even) {
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
  }
}

/* Docs Preview (Stripe Style) */
#docs-preview {
  padding: 6rem 0;
  background: var(--bg-alt);
}
.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.doc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-decoration: none;
}
.doc-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}
.doc-card h4 {
  font-size: 1.1rem;
  color: var(--text);
}
.doc-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Roadmap Section */
#roadmap {
  padding: 6rem 0;
}
.roadmap-timeline {
  max-width: 600px;
  margin: 3rem auto 0;
  position: relative;
}
.roadmap-timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.roadmap-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 2rem;
}
.roadmap-icon {
  position: absolute;
  left: 12px;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  z-index: 2;
}
.roadmap-item.done .roadmap-icon {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}
.roadmap-item.pending .roadmap-icon {
  background: var(--bg);
}
.roadmap-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
.roadmap-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ═══ 25. HERO VIDEO ═══ */
.hero-video-gradient-wrapper {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 3px;
  background: var(--gradient);
  border-radius: 15px;
  transform: perspective(1000px) rotateX(2deg) translateY(10px);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 25px 50px -12px rgba(18, 86, 229, 0.25);
}

.hero-video-gradient-wrapper:hover {
  transform: perspective(1000px) rotateX(0deg) translateY(0);
  box-shadow: 0 35px 70px -15px rgba(18, 86, 229, 0.5);
}

.hero-video-container {
  position: relative;
  width: 100%;
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
}


/* OS Bar Dinámica */
.hero-video-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 32px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  box-sizing: border-box;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.hero-video-container::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 15px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff5f56;
  box-shadow: 20px 0 0 #ffbd2e, 40px 0 0 #27c93f;
  z-index: 11;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.hero-video-container.show-os-bar::before,
.hero-video-container.show-os-bar::after {
  opacity: 1;
}

.hero-video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* ═══ 26. BACK TO TOP BUTTON ═══ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(45, 127, 249, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
  text-decoration: none;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--secondary);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(45, 127, 249, 0.6);
  color: white;
}
