/* ===== HERO SECTION ===== */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 3rem 2rem;
  background: var(--bg-primary);
  position: relative;
}

.hero-title {
  font-family: 'Lexend', sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
  max-width: 700px;
  line-height: 1.6;
  font-weight: 400;
}


/* ===== DEMO TICKER ===== */
.demo-ticker {
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 700px;
  width: 100%;
}

.demo-panel {
  border: 1px solid var(--border-primary);
  border-radius: 5px;
  padding: 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease;
}

.demo-panel-title {
  font-size: 0.75rem;
  color: var(--text-primary);
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.demo-panel-value {
  font-family: 'SF Mono', 'Monaco', 'Cascadia Code', monospace;
  font-size: 1.4rem;
  font-weight: 600;
}

/* ===== COLOR CLASSES ===== */
.green {
  color: var(--success-color);
}

.red {
  color: var(--error-color);
}

.yellow {
  color: var(--warning-color);
}

.white {
  color: var(--text-primary);
}

/* ===== ANIMATION CLASSES ===== */
.scroll-text {
  animation: scrollLeft 3s linear infinite;
}

.blink-text {
  animation: blink 1.5s ease-in-out infinite alternate;
}

.pulse-text {
  animation: pulse 2s ease-in-out infinite;
}

/* ===== KEYFRAMES ===== */
@keyframes scrollLeft {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

@keyframes blink {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0.4;
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

/* ===== HERO ACTION BUTTONS ===== */
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.primary-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.secondary-actions {
  display: flex;
  justify-content: center;
}

.start-btn {
  background: var(--accent-color);
  color: #fff;
  border: none;
  padding: 1rem 2rem;
  font-family: 'Lexend', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: -0.01em;
}

.start-btn:hover {
  background: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.import-btn {
  background: var(--bg-secondary);
  color: var(--text-primary);
  padding: 1rem 2rem;
  font-family: 'Lexend', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.import-btn:hover {
  background: var(--accent-color);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.template-btn {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-primary);
  padding: 0.75rem 1.5rem;
  font-family: 'Lexend', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: -0.01em;
}

.template-btn:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border-color: var(--border-secondary);
}

/* ===== SEO CONTENT SECTIONS ===== */
.features-section,
.use-cases-section,
.privacy-section,
.data-sync-section {
  padding: 4rem 2rem;
  background: var(--bg-primary);
}

.features-section {
  background: var(--bg-secondary);
}

.features-container,
.use-cases-container,
.privacy-container,
.data-sync-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-title {
  font-family: 'Lexend', sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-align: center;
}

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

/* ===== FEATURES GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-primary);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.1);
  border-color: var(--accent-color);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: #fff;
}

.feature-title {
  font-family: 'Lexend', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.feature-description {
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 400;
}

/* ===== USE CASES GRID ===== */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
}

.use-case-item {
  background: var(--bg-primary);
  border: 1px solid var(--border-primary);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.use-case-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.1);
  border-color: var(--accent-color);
}

.use-case-content {
  padding: 1.5rem;
}

.use-case-title {
  font-family: 'Lexend', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
  letter-spacing: -0.01em;
}

.use-case-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
  font-weight: 400;
}

.use-case-keywords {
  font-size: 0.9rem;
  color: var(--accent-color);
  font-weight: 500;
}

/* ===== BLOG-STYLE LISTS (READING WIDTH) ===== */
ol.use-case-list {
  max-width: 800px; /* ancho de lectura solicitado */
  margin: 0 auto;
  padding-left: 1.25rem; /* mantener numeración visible */
}

ol.use-case-list li.use-case-card {
  margin-bottom: 1rem;
}

ol.use-case-list .use-case-description {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== DATA SYNC SECTION ===== */
.sync-features {
  max-width: 800px;
  margin: 0 auto;
}

.sync-feature-main {
  background: var(--bg-primary);
  border: 1px solid var(--border-primary);
  border-radius: 8px;
  padding: 2.5rem;
}

.sync-feature-title {
  font-family: 'Lexend', sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  text-align: center;
  letter-spacing: -0.01em;
}

.sync-feature-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 400;
}

.sync-methods {
  display: grid;
  gap: 1.5rem;
}

.sync-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-radius: 8px;
  border: 1px solid var(--border-primary);
  transition: all 0.2s ease;
}

.sync-method:hover {
  border-color: var(--accent-color);
  background: var(--bg-primary);
}

.sync-method-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.sync-method-info {
  flex: 1;
}

.sync-method-title {
  font-family: 'Lexend', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}

.sync-method-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 400;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .hero-section {
    padding: 2rem 1rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 3rem;
  }

  .demo-ticker {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.5rem;
    margin-bottom: 3rem;
  }

  .demo-panel {
    padding: 1rem;
  }

  .demo-panel-value {
    font-size: 1.2rem;
  }

  .primary-actions {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }

  .start-btn,
  .import-btn {
    width: 100%;
    justify-content: center;
  }

  /* SEO Sections Responsive */
  .features-section,
  .use-cases-section,
  .privacy-section,
  .data-sync-section {
    padding: 3rem 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1.1rem;
  }

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

  .privacy-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .privacy-highlight {
    padding: 1.5rem;
  }

  .privacy-highlight-title {
    font-size: 1.6rem;
  }

  .privacy-guarantee-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .use-cases-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .sync-method {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .sync-feature-main {
    padding: 1.5rem;
  }
}

/* ===== PRIVACY SECTION ===== */
.privacy-section {
  background: var(--bg-secondary);
}

/* ===== PRIVACY GRID ===== */
.privacy-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.privacy-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-primary);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.privacy-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.1);
  border-color: var(--accent-color);
}

.privacy-card-icon {
  width: 64px;
  height: 64px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: #fff;
}

.privacy-card-title {
  font-family: 'Lexend', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.privacy-card-desc {
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 400;
}

.privacy-note {
  text-align: center;
  padding: 1.5rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-primary);
  border-radius: 8px;
  margin-top: 2rem;
}

.privacy-note-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 400;
}

.privacy-note-highlight {
  color: var(--accent-color);
  font-weight: 500;
}

/* ===== PRIVACY GUARANTEE STYLES ===== */
.privacy-guarantee {
  margin-top: 2rem;
  padding: 2rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-primary);
  border-radius: 8px;
}

.privacy-guarantee-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.privacy-guarantee-icon {
  width: 64px;
  height: 64px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.privacy-guarantee-text {
  flex: 1;
}

.privacy-guarantee-title {
  font-family: 'Lexend', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.privacy-guarantee-desc {
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 400;
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .demo-ticker {
    padding: 1rem;
  }

  .demo-panel {
    padding: 0.75rem;
  }

  .demo-panel-value {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .feature-card,
  .use-case-content,
  .sync-feature-main {
    padding: 1.5rem;
  }
}

/* ===== ESTILOS ESPECÍFICOS PARA PÁGINAS INFORMATIVAS ===== */
/* Hero más estrecho para how-it-works, about y contact */
.how-it-works-page .hero-section,
.about-page .hero-section,
.contact-page .hero-section {
  min-height: 30vh;
  padding: 2rem 2rem 3rem;
}

@media (max-width: 768px) {
  .how-it-works-page .hero-section,
  .about-page .hero-section,
  .contact-page .hero-section {
    min-height: 50vh;
    padding: 1.5rem 1rem 2rem;
  }
}
