*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: #0a0a0f;
  color: #e2e8f0;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ---- Nav ---- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(10,10,15,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
nav .container { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: .5rem; font-size: 1.5rem; font-weight: 800; background: linear-gradient(135deg,#818cf8,#c084fc); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.logo img { height: 32px; width: auto; }
.nav-links { display: flex; gap: 2rem; font-weight: 500; }
.nav-links a:hover { color: #a78bfa; }
.nav-cta {
  background: linear-gradient(135deg,#6366f1,#a855f7);
  color: #fff; padding: .6rem 1.4rem; border-radius: 999px;
  font-weight: 600; font-size: .9rem; transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(99,102,241,.4); }
.mobile-btn { display: none; background: none; border: none; color: #e2e8f0; font-size: 1.6rem; cursor: pointer; }

/* ---- Hero ---- */
.hero {
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(99,102,241,.2) 0%, transparent 60%);
  pointer-events: none;
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}
.hero h1 span { background: linear-gradient(135deg,#818cf8,#c084fc,#f472b6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.by-academy {
  display: inline-block;
  font-size: .55em;
  font-weight: 600;
  vertical-align: super;
  background: #012970;
  color: #fff;
  padding: .15em .7em;
  border-radius: 999px;
  margin-left: .4em;
  letter-spacing: .03em;
  -webkit-text-fill-color: #fff;
}
.hero p {
  font-size: 1.15rem;
  color: #94a3b8;
  max-width: 650px;
  margin: 0 auto 2rem;
}
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: linear-gradient(135deg,#6366f1,#a855f7);
  color: #fff; padding: .85rem 2rem; border-radius: 999px;
  font-weight: 600; font-size: 1rem; border: none; cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(99,102,241,.4); }
.btn-secondary {
  background: transparent; color: #e2e8f0; padding: .85rem 2rem; border-radius: 999px;
  font-weight: 600; font-size: 1rem; border: 1px solid rgba(255,255,255,.15); cursor: pointer;
  transition: border-color .2s, background .2s;
}
.btn-secondary:hover { border-color: #a78bfa; background: rgba(167,139,250,.08); }
.hero-stats {
  display: flex; justify-content: center; gap: 3rem; margin-top: 3rem; flex-wrap: wrap;
}
.hero-stats div { text-align: center; }
.hero-stats strong { display: block; font-size: 1.8rem; font-weight: 800; color: #fff; }
.hero-stats span { font-size: .9rem; color: #64748b; }

/* ---- Section base ---- */
.section { padding: 80px 0; }
.section-label {
  display: inline-block; font-size: .85rem; font-weight: 600; color: #a78bfa;
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: .5rem;
}
.section-title { font-size: 2rem; font-weight: 700; margin-bottom: .75rem; }
.section-sub { color: #94a3b8; max-width: 550px; margin-bottom: 3rem; }

/* ---- Industrias ---- */
.industrias-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 1.5rem;
}
.industria-card {
  background: linear-gradient(135deg,rgba(255,255,255,.04),rgba(255,255,255,.01));
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px; padding: 2rem; text-align: center;
  transition: transform .25s, border-color .25s;
}
.industria-card:hover { transform: translateY(-6px); border-color: rgba(167,139,250,.3); }
.industria-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.industria-card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.industria-card p { font-size: .92rem; color: #94a3b8; }

/* ---- Soluciones ---- */
.solutions-section {
  background: radial-gradient(ellipse at 50% 100%, rgba(99,102,241,.06) 0%, transparent 60%);
}
.solutions-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 1rem;
}
.solution-item {
  background: linear-gradient(135deg,rgba(255,255,255,.04),rgba(255,255,255,.01));
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px; padding: 1.25rem 1.5rem;
  font-weight: 500; font-size: .95rem;
  display: flex; align-items: center; gap: .75rem;
  transition: border-color .25s, transform .25s;
}
.solution-item:hover { border-color: rgba(167,139,250,.3); transform: translateY(-3px); }
.solution-check { color: #a78bfa; font-weight: 700; font-size: 1.1rem; }

/* ---- Plataformas ---- */
.platforms-section {
  background: radial-gradient(ellipse at 50% 0%, rgba(99,102,241,.08) 0%, transparent 60%);
}
.platforms-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 1.5rem;
}
.platform-card {
  background: linear-gradient(135deg,rgba(255,255,255,.04),rgba(255,255,255,.01));
  border: 1px solid rgba(255,255,255,.06); border-radius: 20px;
  padding: 2rem; transition: transform .25s, border-color .25s;
  display: flex; flex-direction: column;
}
.platform-card:hover { transform: translateY(-6px); border-color: rgba(167,139,250,.3); }
.platform-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: .5rem; }
.platform-card > p { font-size: .92rem; color: #94a3b8; margin-bottom: 1.25rem; }
.platform-features { list-style: none; margin-bottom: 1.5rem; flex: 1; }
.platform-features li { padding: .35rem 0; font-size: .9rem; }
.platform-features li::before { content: '✓ '; color: #a78bfa; font-weight: 700; }
.platform-btn {
  display: inline-block; color: #818cf8; font-weight: 600; font-size: .9rem;
  transition: color .2s;
}
.platform-btn:hover { color: #a78bfa; }

/* ---- Why / Elegirnos ---- */
.why-section {
  background: radial-gradient(ellipse at 50% 100%, rgba(99,102,241,.06) 0%, transparent 60%);
}
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 1.5rem;
}
.why-card {
  background: linear-gradient(135deg,rgba(255,255,255,.04),rgba(255,255,255,.01));
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px; padding: 2rem; transition: transform .25s, border-color .25s;
}
.why-card:hover { transform: translateY(-6px); border-color: rgba(167,139,250,.3); }
.why-icon { font-size: 2rem; margin-bottom: 1rem; }
.why-card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.why-card p { font-size: .92rem; color: #94a3b8; }

/* ---- Timeline ---- */
.timeline-section {
  background: radial-gradient(ellipse at 50% 0%, rgba(99,102,241,.06) 0%, transparent 60%);
}
.timeline { max-width: 700px; margin: 0 auto; position: relative; padding-left: 3rem; }
.timeline::before {
  content: ''; position: absolute; left: 14px; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, #6366f1, #a855f7, transparent);
}
.timeline-item { position: relative; padding-bottom: 2.5rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-num {
  position: absolute; left: -3rem; top: 0;
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg,#6366f1,#a855f7);
  color: #fff; font-size: .8rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.timeline-content h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.timeline-content p { font-size: .92rem; color: #94a3b8; }

/* ---- Trust ---- */
.trust-section {
  background: radial-gradient(ellipse at 50% 100%, rgba(99,102,241,.06) 0%, transparent 60%);
}
.trust-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 1rem;
}
.trust-item {
  background: linear-gradient(135deg,rgba(255,255,255,.04),rgba(255,255,255,.01));
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px; padding: 1rem 1.5rem;
  font-weight: 500; font-size: .95rem;
  display: flex; align-items: center; gap: .75rem;
  transition: border-color .25s, transform .25s;
}
.trust-item:hover { border-color: rgba(167,139,250,.3); transform: translateY(-3px); }
.trust-check { color: #a78bfa; font-weight: 700; font-size: 1.1rem; }

/* ---- Contact ---- */
.contact-tags {
  display: flex; justify-content: center; gap: .75rem; flex-wrap: wrap;
  margin-bottom: 2rem;
}
.contact-tag {
  background: rgba(167,139,250,.1); color: #a78bfa;
  padding: .4rem 1.2rem; border-radius: 999px;
  font-size: .85rem; font-weight: 500;
}
.contact-form {
  max-width: 500px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 1rem;
}
.contact-form input,
.contact-form textarea {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; padding: .85rem 1rem; color: #e2e8f0;
  font-family: inherit; font-size: .95rem; outline: none; transition: border-color .2s;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: #a78bfa; }
.contact-form textarea { resize: vertical; min-height: 120px; }
.newsletter-box {
  max-width: 420px; margin: 0 auto;
  display: flex; gap: .5rem;
}
.newsletter-box input {
  flex: 1;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; padding: .75rem 1rem; color: #e2e8f0;
  font-family: inherit; font-size: .92rem; outline: none;
}
.newsletter-box input:focus { border-color: #a78bfa; }

/* ---- Footer ---- */
footer {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 3rem 0 0;
  color: #64748b; font-size: .9rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem;
  padding-bottom: 2rem;
}
.footer-brand .logo { font-size: 1.3rem; margin-bottom: 1rem; }
.footer-brand p { max-width: 300px; line-height: 1.5; }
.footer-social { display: flex; gap: .75rem; margin-top: 1.25rem; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 700; transition: border-color .2s, background .2s;
}
.footer-social a:hover { border-color: #a78bfa; background: rgba(167,139,250,.08); }
.footer-col h4 { color: #e2e8f0; font-size: .95rem; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .6rem; }
.footer-col ul a { transition: color .2s; }
.footer-col ul a:hover { color: #a78bfa; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 1.5rem 0; text-align: center;
}

/* ---- Animations ---- */
[x-cloak] { display: none !important; }
.fade-in { animation: fadeIn .6s ease forwards; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ---- Utilities ---- */
.text-center { text-align: center; }
.w-full { width: 100%; }
.whitespace-nowrap { white-space: nowrap; }
.nav-link-small { color: #94a3b8; font-size: .9rem; }
.btn-link { background: none; border: none; color: inherit; font: inherit; cursor: pointer; }
.display-contents { display: contents; }
.container-sm { max-width: 720px; margin: 0 auto; padding: 0 1.5rem; }
.response-msg { text-align: center; margin-top: 1rem; }
.divider { border: none; border-top: 1px solid rgba(255,255,255,.06); margin: 3rem auto; max-width: 300px; }
.section-label-center { display: block; text-align: center; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: rgba(10,10,15,.95); padding: 1.5rem; border-bottom: 1px solid rgba(255,255,255,.06); gap: 1.2rem; align-items: center; }
  .mobile-btn { display: block; }
  .hero-stats { gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand p { max-width: 100%; }
  .footer-social { justify-content: center; }
  .newsletter-box { flex-direction: column; }
  .timeline { padding-left: 2.5rem; }
  .timeline-num { left: -2.5rem; width: 24px; height: 24px; font-size: .7rem; }
  .platforms-grid { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
}
