@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
  --primary: #2A5CFF;
  --primary-glow: rgba(42, 92, 255, 0.4);
  --dark: #0A0A0B;
  --dark-soft: #141416;
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --text: #FFFFFF;
  --text-muted: #A1A1AA;
  --accent: #00D1FF;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

/* Background Effects */
.bg-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: radial-gradient(circle at 10% 20%, rgba(42, 92, 255, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(0, 209, 255, 0.05) 0%, transparent 40%);
  filter: blur(80px);
}

.bg-texture {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.02;
  pointer-events: none;
}

/* Layout & Typography */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 6rem 0;
}

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

h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -1px;
}

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

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

/* Components */
.glass-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2.5rem;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid var(--glass-border);
  margin-left: 1rem;
}

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

/* Header */
header {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(10, 10, 11, 0.5);
}

.logo img {
  display: block;
}

nav ul {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

nav ul li a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: var(--transition);
}

nav ul li a:hover {
  color: var(--text);
}

/* Hero Section */
.hero {
  padding-top: 180px;
  padding-bottom: 100px;
  text-align: center;
  position: relative;
}

.badge {
  display: inline-block;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--primary);
  margin-bottom: 2rem;
  font-weight: 500;
}

h1 {
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -2px;
}

h1 span {
  background: linear-gradient(to right, #ffffff, #8da9ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 3rem auto;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 4rem;
}

.social-proof-banner {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.02);
  padding: 1rem 2rem;
  border-radius: 100px;
  border: 1px solid var(--glass-border);
}

.stars {
  color: #F59E0B;
  font-size: 0.9rem;
}

.proof-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.proof-text strong {
  color: var(--text);
}

/* Grid Benefits */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.icon-wrapper {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  border: 1px solid var(--glass-border);
}

/* Process Steps */
.process-section {
  max-width: 900px;
  margin: 0 auto;
}

.process-steps {
  position: relative;
  /* display: flex; justify-content: space-between; */
}

.step {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.step h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.step-connector {
  height: 20px;
  width: 2px;
  background: var(--glass-border);
  margin: 0 0 1rem 3.5rem;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.price {
  color: var(--text-muted);
  font-size: 0.9rem;
  flex-grow: 1;
}

.learn-more {
  font-size: 0.9rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-weight: 500;
  transition: var(--transition);
}

.service-card:hover .learn-more {
  gap: 0.8rem;
}

/* Testimonial & Social Proof */
.testimonial-card {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem auto;
}

.quote-icon {
  font-size: 2rem;
  color: var(--primary);
  opacity: 0.3;
  margin-bottom: 1rem;
}

blockquote {
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.4;
  margin-bottom: 2rem;
  font-style: italic;
}

.author strong {
  display: block;
  font-size: 1.1rem;
}

.author span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.client-logos {
  display: flex;
  justify-content: center;
  gap: 3rem;
  color: var(--text-muted);
  font-size: 1.2rem;
  font-weight: 600;
  opacity: 0.5;
}

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

.faq-item {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  margin-bottom: 1rem;
  padding: 1.5rem;
}

.faq-item h4 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  cursor: pointer;
}

.faq-answer {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

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

/* Final CTA */
.cta-box {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
  background: linear-gradient(to bottom right, rgba(42, 92, 255, 0.1), rgba(0, 209, 255, 0.05));
  border-color: rgba(42, 92, 255, 0.2);
}

/* Footer */
footer {
  padding: 4rem 0 2rem 0;
  border-top: 1px solid var(--glass-border);
  background: var(--dark-soft);
  margin-top: 4rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand {
  max-width: 300px;
}

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

.link-group h5 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.link-group a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.link-group a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 2rem;
}

/* Form styles (reusing for /formulario/ page) */
.form-container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 3rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
}

.form-subtitle {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

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

.input-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

input,
select,
textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  padding: 1rem;
  border-radius: 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(42, 92, 255, 0.15);
}

.full-width {
  grid-column: span 2;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.terms {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .btn-secondary {
    margin-left: 0;
    margin-top: 1rem;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .social-proof-banner {
    flex-direction: column;
    text-align: center;
  }

  header {
    padding: 0 1.5rem;
  }

  nav {
    display: none;
  }

  .footer-content {
    flex-direction: column;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .full-width {
    grid-column: span 1;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  animation: fadeInUp 1s forwards;
  opacity: 0;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}/* Blog Typography & Structure */
.blog-article {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

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

.article-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  align-items: center;
}

.article-badge {
  background: rgba(42, 92, 255, 0.1);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(42, 92, 255, 0.2);
}

.article-title {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.article-content h2 {
  font-size: 2rem;
  margin: 3rem 0 1.5rem 0;
  color: #fff;
}

.article-content h3 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem 0;
  color: #e2e8f0;
}

.article-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.article-content ul, .article-content ol {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin: 1.5rem 0 1.5rem 2rem;
  line-height: 1.8;
}

.article-content li {
  margin-bottom: 0.75rem;
}

.article-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  margin: 2.5rem 0;
}

.article-caption {
  text-align: center;
  font-size: 0.9rem;
  color: #64748b;
  margin-top: -1.5rem;
  margin-bottom: 2.5rem;
  font-style: italic;
}

/* Upgrade/Lead Magnet Box */
.lead-magnet-box {
  background: var(--glass);
  border: 2px solid rgba(0, 209, 255, 0.3);
  border-radius: 16px;
  padding: 2.5rem;
  margin: 3rem 0;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 209, 255, 0.05);
}

.lead-magnet-box h3 {
  margin-top: 0;
  color: var(--accent);
}

.lead-magnet-form {
  display: flex;
  gap: 1rem;
  max-width: 500px;
  margin: 1.5rem auto 0;
}

.lead-magnet-form input {
  flex-grow: 1;
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--glass-border);
}

/* Callout Box */
.callout-box {
  background: rgba(42, 92, 255, 0.05);
  border-left: 4px solid var(--primary);
  padding: 1.5rem 2rem;
  border-radius: 0 12px 12px 0;
  margin: 2.5rem 0;
}

.callout-box p:last-child {
  margin-bottom: 0;
}

/* Related Posts */
.related-posts {
  border-top: 1px solid var(--glass-border);
  padding-top: 4rem;
  margin-top: 4rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.related-card {
  text-decoration: none;
  color: inherit;
  display: block;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.related-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.15);
}

.related-img {
  width: 100%;
  height: 180px;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.related-content {
  padding: 1.5rem;
}

.related-content h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

@media (max-width: 768px) {
  .article-title { font-size: 2.2rem; }
  .lead-magnet-form { flex-direction: column; }
}
