/* Devit — SEO Pages CSS · No afecta al dashboard React */

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

:root {
  --brand:   #7c4dff;
  --brand2:  #b260ff;
  --dark:    #0a0e0f;
  --dark2:   #0f1517;
  --dark3:   #141c1e;
  --border:  #1e2f32;
  --text:    #e8f0f1;
  --text2:   #8aa5a9;
  --text3:   #4d6a6e;
  --green:   #00e5a0;
  --amber:   #f5a623;
}

body { background: var(--dark); color: var(--text); font-family: system-ui, -apple-system, sans-serif; font-size: 16px; line-height: 1.65; }

/* NAV */
.seo-nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  background: rgba(10,14,15,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.seo-nav-logo img { display: block; }
.seo-nav-links { display: flex; align-items: center; gap: 24px; }
.seo-nav-links a { color: var(--text2); text-decoration: none; font-size: 14px; transition: color .15s; }
.seo-nav-links a:hover { color: var(--text); }
.seo-btn-nav {
  padding: 7px 16px; border-radius: 6px;
  background: var(--brand); color: #fff !important;
  font-size: 13px; font-weight: 600;
}
.seo-btn-nav:hover { background: var(--brand2) !important; }

/* LAYOUT */
.seo-main { padding: 0 0 60px; }
.seo-container { max-width: 820px; margin: 0 auto; padding: 0 24px; }

/* H1 */
.seo-h1 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: var(--text);
  margin: 48px 0 32px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

/* SECTIONS */
section { margin-bottom: 40px; }

.hero-section .hero-tag {
  display: inline-block;
  font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--brand2);
  background: rgba(124,77,255,0.1);
  border: 1px solid rgba(124,77,255,0.25);
  border-radius: 20px; padding: 3px 12px;
  margin-bottom: 16px;
}
.hero-section .hero-intro {
  font-size: 18px; color: var(--text2); line-height: 1.6;
  border-left: 3px solid var(--brand); padding-left: 16px;
}

.problem-section { background: var(--dark2); border: 1px solid var(--border); border-radius: 10px; padding: 28px 32px; }
.solution-section { background: rgba(124,77,255,0.05); border: 1px solid rgba(124,77,255,0.2); border-radius: 10px; padding: 28px 32px; }
.case-section { background: var(--dark3); border: 1px solid var(--border); border-radius: 10px; padding: 28px 32px; }
.features-section { padding: 4px 0; }

h2 { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 14px; }
h3 { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 12px; }
p  { color: var(--text2); margin-bottom: 12px; }
p:last-child { margin-bottom: 0; }

ul { list-style: none; padding: 0; margin-top: 12px; }
ul li {
  padding: 8px 0 8px 24px;
  position: relative;
  color: var(--text2);
  border-bottom: 1px solid var(--border);
}
ul li:last-child { border-bottom: none; }
ul li::before {
  content: '→';
  position: absolute; left: 0;
  color: var(--brand);
  font-size: 13px;
}
ul li strong { color: var(--text); }

/* FAQS */
.faqs-section { border-top: 1px solid var(--border); padding-top: 32px; }
.faqs-section h2 { margin-bottom: 20px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  background: none; border: none; cursor: pointer;
  color: var(--text); font-size: 15px; font-weight: 500;
  padding: 16px 0; text-align: left; gap: 12px;
}
.faq-q:hover { color: var(--brand2); }
.faq-icon { font-size: 20px; color: var(--brand); flex-shrink: 0; }
.faq-a { color: var(--text2); font-size: 14px; padding: 0 0 16px; line-height: 1.65; }

/* RELATED */
.related-section { background: var(--dark2); border: 1px solid var(--border); border-radius: 10px; padding: 24px 28px; }
.related-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.internal-link {
  padding: 7px 14px; border-radius: 20px;
  background: var(--dark3); border: 1px solid var(--border);
  color: var(--text2); text-decoration: none; font-size: 13px;
  transition: all .15s;
}
.internal-link:hover { background: rgba(124,77,255,0.1); border-color: rgba(124,77,255,0.4); color: var(--brand2); }

/* CTA */
.cta-section { margin-top: 48px; }
.cta-box {
  background: linear-gradient(135deg, rgba(124,77,255,0.15), rgba(178,96,255,0.08));
  border: 1px solid rgba(124,77,255,0.3);
  border-radius: 14px; padding: 40px 36px; text-align: center;
}
.cta-box h2 { font-size: 22px; margin-bottom: 10px; }
.cta-box p  { font-size: 15px; margin-bottom: 24px; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-primary {
  padding: 12px 28px; border-radius: 8px;
  background: var(--brand); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 15px; transition: background .15s;
}
.cta-primary:hover { background: var(--brand2); }
.cta-secondary {
  padding: 12px 28px; border-radius: 8px;
  border: 1px solid var(--border); background: var(--dark3);
  color: var(--text2); text-decoration: none; font-size: 15px;
  transition: all .15s;
}
.cta-secondary:hover { border-color: var(--brand); color: var(--text); }

/* FOOTER */
.seo-footer {
  background: var(--dark2); border-top: 1px solid var(--border);
  padding: 40px 0 24px;
}
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-tagline { color: var(--text3); font-size: 12px; margin-top: 8px; }
.footer-heading { color: var(--text3); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.seo-footer a { display: block; color: var(--text2); text-decoration: none; font-size: 13px; margin-bottom: 8px; }
.seo-footer a:hover { color: var(--text); }
.footer-copy { color: var(--text3); font-size: 12px; border-top: 1px solid var(--border); padding-top: 20px; }

/* RESPONSIVE */
@media (max-width: 640px) {
  .seo-nav-links a:not(.seo-btn-nav) { display: none; }
  .seo-h1 { margin: 32px 0 24px; }
  .problem-section, .solution-section, .case-section { padding: 20px; }
  .cta-box { padding: 28px 20px; }
  .footer-cols { grid-template-columns: 1fr; gap: 24px; }
  .cta-buttons { flex-direction: column; }
  .cta-primary, .cta-secondary { text-align: center; }
}
