:root {
  color-scheme: dark;
  --bg: #0c0d0f;
  --bg-deep: #07080a;
  --surface: rgba(255, 255, 255, 0.065);
  --surface-strong: rgba(255, 255, 255, 0.105);
  --stroke: rgba(255, 255, 255, 0.16);
  --stroke-soft: rgba(255, 255, 255, 0.09);
  --text: #f7f4ea;
  --muted: rgba(247, 244, 234, 0.72);
  --faint: rgba(247, 244, 234, 0.52);
  --accent: #ffc72e;
  --accent-soft: #ffe06d;
  --teal: #2ec9a5;
  --blue: #5bb4ff;
  --danger: #ff7167;
  --radius: 16px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  --max: 1280px;
  --page-gutter: clamp(28px, 5.5vw, 72px);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 22% 0%, rgba(255, 199, 46, 0.18), transparent 28rem),
    radial-gradient(circle at 82% 18%, rgba(46, 201, 165, 0.14), transparent 26rem),
    linear-gradient(135deg, #0b0b0d 0%, #1b1d20 47%, #0a1111 100%);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 75%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(9, 10, 12, 0.76);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--stroke-soft);
}

.nav {
  width: min(100% - calc(var(--page-gutter) * 2), var(--max));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 172px;
  height: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.nav-links a {
  white-space: nowrap;
  transition: color 160ms ease;
}

.nav-links a:hover {
  color: var(--text);
}

.language-select {
  appearance: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 8px 34px 8px 14px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.hero,
.section,
.legal-main {
  position: relative;
  width: min(100% - calc(var(--page-gutter) * 2), var(--max));
  margin: 0 auto;
}

.hero {
  min-height: min(760px, calc(100vh - 74px));
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(600px, 1.22fr);
  align-items: center;
  gap: 38px;
  padding: 54px 0 48px;
}

.hero-copy {
  display: grid;
  gap: 26px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(3rem, 5.8vw, 5rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0 18px;
  font-weight: 800;
  line-height: 1;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #10100b;
  background: linear-gradient(180deg, var(--accent-soft), var(--accent));
  box-shadow: 0 16px 34px rgba(255, 199, 46, 0.22);
}

.button.primary.is-disabled {
  cursor: not-allowed;
  opacity: 0.82;
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.075);
  border-color: var(--stroke);
}

.hero-note {
  color: var(--faint);
  font-size: 0.9rem;
}

.hero-device {
  position: relative;
  border-radius: 24px;
  padding: 14px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow);
}

.hero-product-shot {
  padding: 10px;
  transform: translateX(26px);
}

.hero-product-shot::after {
  content: "";
  position: absolute;
  inset: 10px;
  pointer-events: none;
  border-radius: 17px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.hero-product-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 17px;
}

.mock-window {
  overflow: hidden;
  min-height: 430px;
  border-radius: 16px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    #101215;
  border: 1px solid var(--stroke);
}

.mock-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 15px;
  border-bottom: 1px solid var(--stroke-soft);
}

.traffic {
  display: flex;
  gap: 7px;
}

.traffic span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
}

.traffic span:first-child {
  background: #ff6258;
}

.traffic span:nth-child(2) {
  background: #ffc02f;
}

.traffic span:nth-child(3) {
  background: #2ccf6e;
}

.mini-logo {
  width: 118px;
  opacity: 0.96;
}

.mock-actions {
  display: flex;
  gap: 8px;
}

.mock-actions span {
  width: 30px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mock-body {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 14px;
  padding: 14px;
}

.panel {
  border: 1px solid var(--stroke-soft);
  background: rgba(255, 255, 255, 0.055);
  border-radius: 14px;
}

.photo-stack {
  display: grid;
  gap: 11px;
  padding: 12px;
}

.photo-frame {
  min-height: 78px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 199, 46, 0.25), transparent 48%),
    linear-gradient(145deg, rgba(91, 180, 255, 0.18), rgba(46, 201, 165, 0.13)),
    rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.11);
}

.preview-panel {
  min-height: 260px;
  padding: 13px;
  display: grid;
  align-content: end;
  gap: 14px;
  background:
    linear-gradient(180deg, rgba(255, 199, 46, 0.10), transparent 44%),
    rgba(255, 255, 255, 0.045);
}

.preview-canvas {
  min-height: 172px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(46, 201, 165, 0.18), transparent),
    url("reelipop-app-icon.png") center / 132px no-repeat,
    #090b0e;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.timeline {
  grid-column: 1 / -1;
  min-height: 118px;
  padding: 14px;
}

.wave {
  position: relative;
  height: 42px;
  display: flex;
  align-items: end;
  gap: 5px;
  padding: 0 4px;
}

.wave span {
  flex: 1 1 0;
  min-width: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, var(--accent), rgba(255, 199, 46, 0.28));
}

.beat-row {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
}

.beat-row span {
  min-height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-left: 2px solid var(--accent);
}

.section {
  padding: 84px 0;
}

.section-head {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin-bottom: 34px;
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-head p,
.legal-copy p,
.legal-copy li {
  color: var(--muted);
  line-height: 1.72;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.feature-card,
.use-card,
.requirement-row,
.cookie-card {
  border: 1px solid var(--stroke);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.045);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.feature-card {
  min-height: 190px;
  padding: 22px;
  display: grid;
  align-content: start;
  gap: 14px;
}

.icon {
  width: 36px;
  height: 36px;
  color: var(--accent);
}

h3 {
  font-size: 1.14rem;
  line-height: 1.2;
}

.feature-card p,
.use-card p,
.requirement-row p,
.cookie-card p {
  color: var(--muted);
  line-height: 1.58;
}

.video-section {
  padding-top: 24px;
  padding-bottom: 64px;
}

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: var(--bg-deep);
  box-shadow: var(--shadow);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.ai-music-section {
  padding-top: 40px;
}

.ai-showcase {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr);
  gap: 16px;
  align-items: stretch;
}

.lyrics-panel,
.ai-steps article {
  border: 1px solid var(--stroke);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.05);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.lyrics-panel {
  min-height: 460px;
  padding: 28px;
  display: grid;
  align-content: end;
  gap: 18px;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 199, 46, 0.26), transparent 18rem),
    radial-gradient(circle at 86% 72%, rgba(46, 201, 165, 0.18), transparent 20rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.05);
}

.lyrics-panel > span {
  color: var(--accent-soft);
  font-size: 0.88rem;
  font-weight: 850;
}

.lyrics-panel h3 {
  max-width: 520px;
  font-size: clamp(1.9rem, 3vw, 3.25rem);
  line-height: 1;
}

.lyrics-panel p {
  color: var(--muted);
  line-height: 1.68;
}

.lyric-lines {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.20);
}

.lyric-lines span {
  color: var(--faint);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.lyric-lines strong {
  color: var(--text);
  line-height: 1.42;
}

.ai-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.ai-steps article {
  min-height: 220px;
  padding: 22px;
  display: grid;
  align-content: start;
  gap: 12px;
}

.ai-steps article::before {
  content: "";
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, var(--accent-soft), var(--accent));
  box-shadow: 0 12px 28px rgba(255, 199, 46, 0.20);
}

.ai-steps strong {
  color: var(--accent-soft);
  font-size: 1.06rem;
}

.ai-steps p {
  color: var(--muted);
  line-height: 1.62;
}

.suite-section {
  padding-top: 40px;
}

.suite-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 28px;
  align-items: stretch;
  padding: 30px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 199, 46, 0.20), transparent 30rem),
    linear-gradient(130deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
}

.suite-copy {
  display: grid;
  gap: 18px;
  align-content: center;
}

.suite-copy p {
  color: var(--muted);
  line-height: 1.7;
  max-width: 620px;
}

.suite-copy .button {
  justify-self: start;
}

.credit-strip {
  display: grid;
  gap: 12px;
}

.credit-strip div {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--stroke);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.18);
}

.credit-strip strong {
  color: var(--accent-soft);
}

.credit-strip span {
  color: var(--muted);
  line-height: 1.5;
}

.uses-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
}

.use-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  min-height: 210px;
  display: grid;
  align-content: end;
  gap: 12px;
  isolation: isolate;
  background-size: cover;
  background-position: center;
  border: 0;
  outline: 1px solid rgba(255, 255, 255, 0.18);
  outline-offset: -1px;
  transform: translateZ(0);
}

.use-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: rgba(255, 255, 255, 0.06);
  border-radius: inherit;
}

.use-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 7, 9, 0.08), rgba(6, 7, 9, 0.88)),
    linear-gradient(135deg, rgba(255, 199, 46, 0.10), rgba(46, 201, 165, 0.10));
  border-radius: inherit;
}

.use-card h3,
.use-card p {
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.72);
}

.use-card.large {
  min-height: 434px;
}

.use-family {
  background-image: url("use-familias.jpg");
  background-position: center 42%;
}

.use-events {
  background-image: url("use-eventos.jpg");
  background-position: center 28%;
}

.use-creators {
  background-image: url("use-creadores.jpg");
  background-position: center 22%;
}

.use-business {
  background-image: url("use-negocios.jpg");
  background-position: center 25%;
}

.use-stack {
  display: grid;
  gap: 14px;
}

.requirements {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.requirement-row {
  display: grid;
  gap: 14px;
  min-height: 210px;
  padding: 24px;
  align-content: start;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.05);
}

.requirement-row strong {
  color: var(--accent-soft);
  font-size: 1.08rem;
}

.requirement-card::before {
  content: "";
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, var(--accent-soft), var(--accent));
  box-shadow: 0 12px 28px rgba(255, 199, 46, 0.22);
}

.download-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 30px;
  border-radius: 22px;
  background:
    linear-gradient(120deg, rgba(255, 199, 46, 0.18), rgba(46, 201, 165, 0.10)),
    rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.download-band p {
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.6;
}

.site-footer {
  border-top: 1px solid var(--stroke-soft);
  background: rgba(6, 7, 9, 0.72);
}

.footer-inner {
  width: min(100% - calc(var(--page-gutter) * 2), var(--max));
  margin: 0 auto;
  padding: 34px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.footer-brand img {
  width: 148px;
  display: block;
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--faint);
  line-height: 1.5;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-weight: 650;
}

.legal-main {
  padding: 72px 0 96px;
}

.legal-copy {
  max-width: 860px;
}

.legal-copy h1 {
  font-size: clamp(2.6rem, 5vw, 5rem);
  margin-bottom: 18px;
}

.legal-copy h2 {
  font-size: 1.55rem;
  margin-top: 38px;
  margin-bottom: 10px;
}

.legal-copy ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.cookie-grid {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.cookie-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  padding: 20px;
  align-items: center;
}

.toggle {
  position: relative;
  width: 54px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
}

.toggle[aria-checked="true"] {
  background: var(--accent);
}

.toggle[disabled] {
  cursor: not-allowed;
  opacity: 0.7;
}

.toggle::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform 160ms ease;
}

.toggle[aria-checked="true"]::after {
  transform: translateX(24px);
  background: #111;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.notice {
  min-height: 22px;
  margin-top: 16px;
  color: var(--accent-soft);
  font-weight: 700;
}

@media (max-width: 980px) {
  .nav {
    min-height: auto;
    padding: 14px 0;
    flex-wrap: wrap;
  }

  .nav-links {
    width: 100%;
    order: 3;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .language-select {
    margin-left: auto;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 54px;
  }

  .hero-product-shot {
    transform: none;
  }

  .feature-grid,
  .ai-showcase,
  .uses-layout,
  .suite-panel,
  .requirements {
    grid-template-columns: 1fr;
  }

  .ai-steps {
    grid-template-columns: 1fr;
  }

  .use-card.large {
    min-height: 390px;
  }

  .use-card {
    min-height: 330px;
  }

  .requirement-row {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  .brand img {
    width: 150px;
  }

  h1 {
    font-size: clamp(2.65rem, 15vw, 4.3rem);
  }

  .hero {
    gap: 34px;
    padding-top: 42px;
  }

  .mock-body {
    grid-template-columns: 1fr;
  }

  .timeline {
    grid-column: auto;
  }

  .hero-device {
    padding: 9px;
    border-radius: 18px;
  }

  .hero-product-shot img {
    border-radius: 13px;
  }

  .hero-product-shot::after {
    inset: 9px;
    border-radius: 13px;
  }

  .mock-window {
    min-height: 0;
  }

  .photo-stack {
    display: none;
  }

  .preview-panel {
    min-height: 250px;
  }

  .section {
    padding: 64px 0;
  }

  .video-section {
    padding-top: 16px;
    padding-bottom: 48px;
  }

  .feature-card {
    min-height: 0;
  }

  .lyrics-panel {
    min-height: 0;
    padding: 24px;
  }

  .ai-steps article {
    min-height: 0;
  }

  .use-card {
    min-height: 318px;
    padding: 24px;
  }

  .use-card.large {
    min-height: 360px;
  }

  .requirement-row,
  .download-band,
  .footer-inner,
  .cookie-card,
  .suite-panel {
    grid-template-columns: 1fr;
  }

  .suite-panel {
    padding: 22px;
  }

  .download-band {
    padding: 24px;
  }

  .footer-links {
    display: grid;
  }
}
