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

/* ── TOKENS ─────────────────────────────────────────── */
:root {
  --purple:       #7C3AED;
  --purple-dark:  #3D1A8B;
  --purple-light: #A78BFA;
  --black:        #0D0D0D;
  --surface:      #141414;
  --surface2:     #1E1E1E;
  --border:       #2A2A2A;
  --white:        #FFFFFF;
  --gray:         #888888;
  --gray-light:   #CCCCCC;
  --radius:       12px;
  --radius-lg:    20px;
}

/* ── RESET ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── TIPOGRAFIA ─────────────────────────────────────── */
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 300; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 300; line-height: 1.2; }
h3 { font-size: 1.2rem; font-weight: 600; }
p  { font-size: 1rem; color: var(--gray-light); line-height: 1.7; }

/* ── NAV ────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2.5rem;
  background: rgba(13,13,13,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo .iso {
  width: 36px; height: 36px; background: var(--purple);
  border-radius: 8px; display: flex; align-items: center;
  justify-content: center; font-size: 18px; font-weight: 700; color: #fff;
}
.nav-logo span { font-size: 1.25rem; font-weight: 300; letter-spacing: 3px; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { font-size: 0.875rem; font-weight: 500; color: var(--gray); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-cta {
  background: var(--purple); color: #fff !important;
  padding: 0.5rem 1.25rem; border-radius: 8px;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--purple-dark) !important; }
.nav-hamburger {
  display: none; flex-direction: column;
  gap: 5px; cursor: pointer; padding: 4px;
}
.nav-hamburger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; }

/* ── BOTONES ────────────────────────────────────────── */
.btn-primary {
  background: var(--purple); color: #fff;
  padding: 0.85rem 2rem; border-radius: 10px;
  font-size: 0.95rem; font-weight: 500;
  transition: background 0.2s, transform 0.15s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { background: var(--purple-dark); transform: translateY(-2px); }
.btn-secondary {
  background: transparent; color: var(--white);
  padding: 0.85rem 2rem; border-radius: 10px;
  font-size: 0.95rem; font-weight: 500;
  border: 1px solid var(--border);
  transition: border-color 0.2s, transform 0.15s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-secondary:hover { border-color: var(--purple); transform: translateY(-2px); }
.btn-white {
  background: #fff; color: var(--purple);
  padding: 0.85rem 2rem; border-radius: 10px;
  font-size: 0.95rem; font-weight: 600;
  transition: transform 0.15s, box-shadow 0.15s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

/* ── SECCIONES ──────────────────────────────────────── */
section { padding: 6rem 2.5rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--purple-light);
  margin-bottom: 0.75rem; display: flex; align-items: center; gap: 8px;
}
.section-label::before { content: ''; width: 24px; height: 1px; background: var(--purple-light); }
.section-title { margin-bottom: 1rem; }
.section-desc { color: var(--gray); max-width: 540px; margin-bottom: 3rem; }

/* ── PAGE HEADER ────────────────────────────────────── */
.page-header {
  padding: 10rem 2.5rem 5rem; text-align: center;
  background: radial-gradient(ellipse at top, rgba(124,58,237,0.2) 0%, transparent 60%);
}
.page-header .section-label { justify-content: center; }
.page-header p { margin: 0 auto; max-width: 560px; font-size: 1.1rem; }

/* ── FOOTER ─────────────────────────────────────────── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 3rem 2.5rem 2rem;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand p { font-size: 0.875rem; color: var(--gray); max-width: 280px; }
.footer-col h4 { font-size: 0.875rem; font-weight: 600; margin-bottom: 1rem; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { font-size: 0.875rem; color: var(--gray); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--purple-light); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 0.8rem; color: var(--gray); }

/* ── ANIMACIONES ────────────────────────────────────── */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 600px) {
  nav { padding: 1rem 1.25rem; }
  .nav-links {
    display: none; flex-direction: column;
    position: fixed; top: 64px; left: 0; right: 0;
    background: var(--surface); padding: 1.5rem;
    gap: 1.25rem; border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }
  section { padding: 4rem 1.25rem; }
  .footer-top { grid-template-columns: 1fr; }
}