/* Fuega AI — Shared Styles */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #FF6B2C;
  --primary-glow: rgba(255, 107, 44, 0.3);
  --secondary: #1A1A2E;
  --accent: #00D4AA;
  --surface: #0F0F1A;
  --surface-alt: #1C1C2E;
  --text: #FFFFFF;
  --text-dim: #A0A0B8;
  --success: #22C55E;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--surface);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; }

/* Nav */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1rem 2rem;
  background: rgba(15, 15, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex; justify-content: space-between; align-items: center;
}
.logo {
  font-size: 1.5rem; font-weight: 800; text-decoration: none;
  background: linear-gradient(135deg, var(--primary), #FF9A5C);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  color: var(--text-dim); text-decoration: none; font-size: 0.9rem;
  font-weight: 500; transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  padding: 0.5rem 1.2rem !important; font-size: 0.85rem !important;
  background: var(--primary) !important; color: white !important;
  border-radius: 8px; box-shadow: 0 4px 24px var(--primary-glow);
  transition: all 0.3s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 32px var(--primary-glow); }
.lang-switcher {
  display: flex; gap: 0; align-items: center;
}
.lang-toggle {
  font-size: 0.8rem !important; font-weight: 600 !important;
  color: var(--accent) !important; border: 1px solid var(--accent);
  padding: 0.25rem 0.6rem; border-radius: 0;
}
.lang-switcher .lang-toggle:first-child { border-radius: 4px 0 0 4px; }
.lang-switcher .lang-toggle:last-child { border-radius: 0 4px 4px 0; }
.lang-switcher .lang-toggle + .lang-toggle { border-left: none; }
.lang-toggle:hover { background: rgba(0, 212, 170, 0.1); }
.lang-toggle.active {
  background: var(--accent); color: var(--surface) !important;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 0.5rem; color: var(--text);
}
.nav-toggle svg { width: 24px; height: 24px; }

/* Buttons */
.btn {
  display: inline-block; padding: 0.8rem 2rem; border-radius: 8px;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  transition: all 0.3s; cursor: pointer; border: none;
}
.btn-primary {
  background: var(--primary); color: white;
  box-shadow: 0 4px 24px var(--primary-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--primary-glow);
}
.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-outline:hover {
  border-color: var(--primary); color: var(--primary);
}
.btn-accent {
  background: var(--accent); color: var(--surface); font-weight: 700;
}
.btn-accent:hover { transform: translateY(-2px); }

/* Hero */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 8rem 2rem 4rem;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 800px; height: 800px; border-radius: 50%;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: center;
}
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900;
  line-height: 1.1; margin-bottom: 1.5rem;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.2rem; color: var(--text-dim);
  margin-bottom: 2rem; max-width: 520px;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-visual {
  display: flex; justify-content: center; align-items: center;
}
.agent-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.agent-card {
  background: var(--surface-alt); border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px; padding: 1.2rem; text-align: center;
  transition: all 0.3s;
}
.agent-card:hover {
  border-color: var(--primary); transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(255, 107, 44, 0.15);
}
.agent-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.agent-name { font-weight: 600; font-size: 0.85rem; }
.agent-role { font-size: 0.75rem; color: var(--text-dim); }
.agent-specialty { font-size: 0.65rem; color: var(--text-dim); opacity: 0.7; margin-top: 0.2rem; }
.agent-status {
  display: inline-block; margin-top: 0.4rem; font-size: 0.65rem;
  color: var(--success); font-weight: 600;
  background: rgba(34, 197, 94, 0.1); padding: 0.15rem 0.5rem;
  border-radius: 20px;
}

/* Sections */
section { padding: 6rem 2rem; }
.container { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.15em; color: var(--primary); margin-bottom: 0.5rem;
}
.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 800;
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1.1rem; color: var(--text-dim); max-width: 600px;
}

/* Value Props / Service Cards */
.values-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem; margin-top: 3rem;
}
.value-card {
  background: var(--surface-alt); border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px; padding: 2rem;
  transition: border-color 0.3s;
}
.value-card:hover { border-color: rgba(255, 107, 44, 0.3); }
.value-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(255, 107, 44, 0.1); display: flex;
  align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1rem;
}
.value-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; }
.value-card p { color: var(--text-dim); font-size: 0.95rem; }

/* How it works */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2rem; margin-top: 3rem; position: relative;
}
.step { text-align: center; position: relative; }
.step-number {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #FF9A5C);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.3rem; margin: 0 auto 1rem;
}
.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.step p { color: var(--text-dim); font-size: 0.9rem; }

/* Pricing */
.pricing-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; margin-top: 3rem;
}
.price-card {
  background: var(--surface-alt); border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px; padding: 2rem;
  display: flex; flex-direction: column;
  transition: all 0.3s;
}
.price-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 40px var(--primary-glow);
  position: relative;
}
.price-card.featured::before {
  content: attr(data-label);
  position: absolute; top: -12px; left: 50%;
  transform: translateX(-50%); background: var(--primary); color: white;
  font-size: 0.7rem; font-weight: 700; padding: 0.3rem 1rem;
  border-radius: 20px; text-transform: uppercase; letter-spacing: 0.05em;
}
.price-card:hover { transform: translateY(-4px); }
.price-tier {
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--primary); margin-bottom: 0.5rem;
}
.price-amount {
  font-size: 2.5rem; font-weight: 900; margin-bottom: 0.2rem;
}
.price-amount span { font-size: 1rem; font-weight: 500; color: var(--text-dim); }
.price-mxn { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 1.5rem; }
.price-features {
  list-style: none; flex: 1; margin-bottom: 1.5rem;
}
.price-features li {
  padding: 0.4rem 0; font-size: 0.9rem; color: var(--text-dim);
  display: flex; align-items: baseline; gap: 0.5rem;
}
.price-features li::before {
  content: '\2713'; color: var(--accent); font-weight: 700; flex-shrink: 0;
}

/* Stats */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2rem; margin-top: 3rem;
}
.stat { text-align: center; }
.stat-number {
  font-size: 3rem; font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { color: var(--text-dim); font-size: 0.9rem; margin-top: 0.3rem; }

/* CTA */
.cta-section {
  text-align: center; padding: 6rem 2rem;
  background: linear-gradient(180deg, var(--surface) 0%, var(--secondary) 100%);
}
.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; margin-bottom: 1rem;
}
.cta-section p {
  color: var(--text-dim); font-size: 1.1rem;
  max-width: 500px; margin: 0 auto 2rem;
}

/* Footer */
footer {
  padding: 3rem 2rem; border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem;
}
.footer-col h4 {
  font-size: 0.9rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--text);
}
.footer-col a {
  display: block; color: var(--text-dim); text-decoration: none;
  font-size: 0.85rem; padding: 0.2rem 0; transition: color 0.2s;
}
.footer-col a:hover { color: var(--primary); }
.footer-col p { color: var(--text-dim); font-size: 0.85rem; }
.footer-bottom {
  max-width: 1200px; margin: 2rem auto 0;
  padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { color: var(--text-dim); font-size: 0.8rem; }
.footer-bottom a { color: var(--text-dim); text-decoration: none; font-size: 0.8rem; margin-left: 1.5rem; }
.footer-bottom a:hover { color: var(--primary); }
.social-links { display: flex; gap: 1rem; margin-top: 0.5rem; }
.social-links a {
  color: var(--text-dim); font-size: 0.85rem; transition: color 0.2s;
}
.social-links a:hover { color: var(--primary); }

/* Page header (for inner pages) */
.page-header {
  padding: 10rem 2rem 4rem;
  text-align: center;
  position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; top: -40%; right: -10%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  pointer-events: none;
}
.page-header h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 900;
  margin-bottom: 1rem; position: relative;
}
.page-header p {
  font-size: 1.15rem; color: var(--text-dim); max-width: 600px;
  margin: 0 auto; position: relative;
}

/* Content sections for inner pages */
.content-section {
  padding: 4rem 2rem;
}
.content-section:nth-child(even) {
  background: var(--secondary);
}
.content-card {
  background: var(--surface-alt); border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px; padding: 2.5rem; margin-bottom: 2rem;
  transition: border-color 0.3s;
}
.content-card:hover { border-color: rgba(255, 107, 44, 0.3); }
.content-card h3 {
  font-size: 1.4rem; font-weight: 700; margin-bottom: 0.75rem;
}
.content-card p, .content-card li {
  color: var(--text-dim); font-size: 0.95rem; line-height: 1.7;
}
.content-card ul {
  list-style: none; padding: 0; margin-top: 1rem;
}
.content-card ul li {
  padding: 0.3rem 0; padding-left: 1.5rem; position: relative;
}
.content-card ul li::before {
  content: '\2713'; color: var(--accent); font-weight: 700;
  position: absolute; left: 0;
}

/* Contact form */
.contact-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; margin-top: 3rem;
}
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block; font-size: 0.9rem; font-weight: 600;
  margin-bottom: 0.4rem; color: var(--text);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 0.8rem 1rem; border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--surface); color: var(--text);
  font-family: inherit; font-size: 0.95rem;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none; border-color: var(--primary);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-info-card {
  background: var(--surface-alt); border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px; padding: 2rem; margin-bottom: 1.5rem;
}
.contact-info-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.contact-info-card p { color: var(--text-dim); font-size: 0.95rem; }
.contact-info-card a { color: var(--primary); text-decoration: none; }
.contact-info-card a:hover { text-decoration: underline; }

/* Legal pages */
.legal-content {
  max-width: 800px; margin: 0 auto; padding: 2rem 0 4rem;
}
.legal-content h2 {
  font-size: 1.5rem; font-weight: 700; margin-top: 2.5rem; margin-bottom: 0.75rem;
  color: var(--text);
}
.legal-content h3 {
  font-size: 1.2rem; font-weight: 600; margin-top: 1.5rem; margin-bottom: 0.5rem;
  color: var(--text);
}
.legal-content p {
  color: var(--text-dim); font-size: 0.95rem; line-height: 1.8;
  margin-bottom: 1rem;
}
.legal-content ul {
  color: var(--text-dim); font-size: 0.95rem; line-height: 1.8;
  margin-bottom: 1rem; padding-left: 1.5rem;
}
.legal-content li { margin-bottom: 0.3rem; }
.legal-content strong { color: var(--text); }

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 99;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}
.whatsapp-float svg { width: 28px; height: 28px; fill: white; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-visual { display: none; }
  .values-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .nav-links {
    display: none; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: rgba(15, 15, 26, 0.98);
    padding: 1.5rem 2rem; gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .nav-links.active { display: flex; }
  .nav-toggle { display: block; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-bottom { justify-content: center; text-align: center; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (min-width: 901px) {
  .nav-toggle { display: none; }
}
