/* AudioScope Music Lab — landing. Sin fuentes ni scripts externos. */
:root {
  --bg: #02043c;
  --bg-deep: #01021f;
  --surface: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.12);
  --text: #eef1ff;
  --muted: #a9b0d6;
  --cyan: #34d5ff;
  --violet: #a06bff;
  --amber: #ffb02e;
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg-deep);
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: radial-gradient(1100px 700px at 50% -120px, #0b1a8a 0%, var(--bg) 55%, var(--bg-deep) 100%) no-repeat var(--bg-deep);
  background-size: 100% 900px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--cyan);
}

a:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: min(1040px, 100% - 40px);
  margin-inline: auto;
}

/* Cabecera */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  font-size: 0.95rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current='page'] {
  color: var(--text);
}

/* Portada */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  padding: 36px 0 56px;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2.1rem, 5.2vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero h1 span {
  background: linear-gradient(90deg, var(--cyan), var(--violet) 55%, var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin: 0 0 24px;
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 34em;
}

.hero-icon {
  justify-self: center;
  width: min(320px, 70vw);
  height: auto;
  aspect-ratio: 1;
  border-radius: 22%;
  box-shadow: 0 30px 80px rgba(52, 213, 255, 0.25), 0 0 0 1px var(--border);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  color: #02043c;
  background: linear-gradient(90deg, var(--cyan), #7fe3ff);
}

.button.ghost {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border);
}

.badge {
  display: inline-block;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px dashed var(--border);
  color: var(--muted);
  font-size: 0.95rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}

/* Secciones */
section {
  padding: 44px 0;
}

h2 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  letter-spacing: -0.01em;
}

.section-intro {
  margin: 0 0 26px;
  color: var(--muted);
  max-width: 44em;
}

.feature-graphic {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.card {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}

.card h3 {
  margin: 0 0 6px;
  font-size: 1.08rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}

.card .tag {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--cyan);
}

.card:nth-child(3n + 2) .tag {
  color: var(--violet);
}

.card:nth-child(3n) .tag {
  color: var(--amber);
}

.privacy-panel {
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(52, 213, 255, 0.1), rgba(160, 107, 255, 0.1));
  border: 1px solid var(--border);
}

.privacy-panel ul {
  margin: 14px 0 18px;
  padding-left: 1.2em;
}

.privacy-panel li {
  margin: 6px 0;
}

.note {
  padding: 16px 20px;
  border-left: 3px solid var(--amber);
  background: rgba(255, 176, 46, 0.08);
  border-radius: 6px;
  color: var(--text);
  font-size: 0.97rem;
}

/* Documento (privacidad) */
.doc {
  max-width: 760px;
  padding: 24px 0 56px;
}

.doc h1 {
  margin: 0 0 6px;
  font-size: clamp(1.9rem, 4.6vw, 2.6rem);
  letter-spacing: -0.02em;
}

.doc .meta {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 0.95rem;
}

.doc h2 {
  margin: 34px 0 8px;
  font-size: 1.3rem;
}

.doc p,
.doc li {
  color: #dfe4ff;
}

.doc ul {
  padding-left: 1.2em;
}

.doc li {
  margin: 6px 0;
}

.summary {
  padding: 20px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}

.summary p {
  margin: 0;
}

/* Pie */
.site-footer {
  margin-top: 24px;
  padding: 28px 0 44px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
}

.site-footer a {
  color: var(--muted);
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 16px;
  }

  .hero-icon {
    order: -1;
    width: min(200px, 52vw);
  }

  body {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
