:root {
  --bg: #07090d;
  --surface: #10141b;
  --surface-2: #151b24;
  --line: #273140;
  --text: #f8fafc;
  --muted: #aab5c5;
  --blue: #4f8cff;
  --blue-strong: #246bfa;
  --yellow: #ffd21f;
  --green: #22c77a;
  --danger: #ff6b6b;
  --max: 1180px;
  --radius: 8px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--yellow);
  color: #07090d;
  padding: 10px 14px;
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 9, 13, .96);
  border-bottom: 1px solid var(--line);
}
.nav-shell { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand {
  width: 205px;
  height: 52px;
  flex: 0 0 205px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background: #fff url("alphaplay-logo.png") center / 200px auto no-repeat;
  border: 1px solid #dbe2ea;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
  overflow: hidden;
}
.brand-mark {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}
.brand-mark svg { width: 20px; height: 20px; }
.brand-copy { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.brand-copy strong { font-size: 16px; letter-spacing: 0; }
.brand-copy small { margin-top: 5px; color: var(--green); font-weight: 800; font-size: 10px; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { color: #dce4ef; text-decoration: none; font-size: 14px; font-weight: 750; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: white; }
.nav-cta { border: 1px solid #667085; padding: 10px 16px; border-radius: 7px; }
.menu-button { display: none; width: 42px; height: 42px; padding: 0; place-items: center; background: var(--surface); color: white; border: 1px solid var(--line); border-radius: 7px; }

.hero {
  min-height: min(720px, calc(100vh - 72px));
  display: grid;
  align-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #07101b;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("hero-alphaplay-recarga.webp") center / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(5,8,13,.98) 0%, rgba(5,8,13,.90) 34%, rgba(5,8,13,.26) 69%, rgba(5,8,13,.12) 100%);
}
.hero-content { max-width: 650px; padding: 76px 0 104px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--yellow); font-size: 13px; font-weight: 850; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
h1, h2, h3 { margin-top: 0; line-height: 1.12; letter-spacing: 0; }
.hero h1 { max-width: 620px; margin: 16px 0 20px; font-size: clamp(42px, 6vw, 76px); }
.hero-lead { max-width: 620px; color: #d7dee9; font-size: 20px; margin: 0 0 30px; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border-radius: 7px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 850;
  cursor: pointer;
}
.button svg { width: 18px; height: 18px; }
.button-primary { background: var(--yellow); color: #08090c; }
.button-primary:hover { background: #ffe15c; }
.button-secondary { background: rgba(7,9,13,.72); border-color: #778197; color: white; }
.button-secondary:hover { border-color: white; }
.hero-trust { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 16px; color: #c2ccda; font-size: 14px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 17px; height: 17px; color: var(--green); }

.section { padding: 82px 0; }
.section-compact { padding: 58px 0; }
.section-alt { background: #0b0e13; border-block: 1px solid #171e28; }
.section-heading { max-width: 720px; margin-bottom: 34px; }
.section-heading.center { text-align: center; margin-inline: auto; }
.section-heading h2 { margin-bottom: 12px; font-size: clamp(30px, 4vw, 45px); }
.section-heading p { margin: 0; color: var(--muted); font-size: 18px; }

.plans-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; min-width: 0; }
.plan-card.featured { border-color: var(--blue); box-shadow: 0 18px 50px rgba(36,107,250,.12); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.plan-top h3 { margin: 0; font-size: 22px; }
.badge { border-radius: 999px; background: #0b3c2b; color: #67e2a8; padding: 5px 9px; font-size: 11px; font-weight: 850; text-transform: uppercase; }
.badge.blue { background: #17396f; color: #91b8ff; }
.price { display: flex; align-items: baseline; gap: 7px; margin: 22px 0 4px; }
.price .currency { font-size: 20px; font-weight: 850; }
.price strong { font-size: 44px; line-height: 1; }
.period { color: var(--muted); font-size: 14px; }
.feature-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.feature-list li { display: flex; align-items: flex-start; gap: 9px; color: #dbe3ee; }
.feature-list svg { flex: 0 0 18px; width: 18px; height: 18px; color: var(--green); margin-top: 3px; }
.plan-card .button { width: 100%; margin-top: auto; }
.microcopy { margin: 12px 0 0; color: #8491a3; font-size: 12px; text-align: center; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.step { padding: 26px; background: var(--surface); border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; }
.step-number { color: var(--yellow); font-size: 13px; font-weight: 900; }
.step h3 { margin: 10px 0 8px; font-size: 20px; }
.step p { margin: 0; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.info-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.info-panel h2 { font-size: 32px; margin-bottom: 14px; }
.info-panel p { color: var(--muted); }
.device-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.device-item { display: flex; align-items: center; gap: 10px; background: #0b0f15; border: 1px solid #232d3b; padding: 13px; border-radius: 6px; }
.device-item svg { width: 20px; height: 20px; color: var(--blue); }
.notice { border-left: 3px solid var(--yellow); padding: 15px 18px; background: #15140b; color: #e5dfbd; }

.faq-list { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; padding: 20px 42px 20px 0; font-weight: 800; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 8px; top: 16px; font-size: 24px; color: var(--blue); }
.faq-list details[open] summary::after { content: "−"; }
.faq-answer { padding: 0 42px 20px 0; color: var(--muted); }
.faq-answer p { margin: 0; }

.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 34px; background: #111827; border: 1px solid #30405a; border-radius: var(--radius); }
.cta-band h2 { margin-bottom: 8px; font-size: 28px; }
.cta-band p { margin: 0; color: var(--muted); }

.page-hero { padding: 84px 0 58px; background: #0b1018; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 820px; margin: 15px 0 12px; font-size: clamp(38px, 6vw, 62px); }
.page-hero p { max-width: 760px; margin: 0; color: var(--muted); font-size: 19px; }
.content-shell { max-width: 820px; }
.prose h2 { margin: 42px 0 12px; font-size: 28px; }
.prose h3 { margin: 28px 0 8px; font-size: 21px; }
.prose p, .prose li { color: #c4cedb; }
.prose a { color: #8db5ff; }
.prose ol, .prose ul { padding-left: 22px; }
.prose li + li { margin-top: 9px; }
.legal-note { padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--muted); }

.guide-band { padding: 76px 0; border-top: 1px solid var(--line); background: #080b10; }
.guide-band-alt { background: #0b1018; }
.guide-section { display: grid; grid-template-columns: minmax(0, .8fr) minmax(520px, 1.2fr); gap: 54px; align-items: start; }
.guide-section-text { grid-template-columns: minmax(0, 1fr) minmax(380px, .8fr); }
.guide-copy h2 { margin: 12px 0 18px; font-size: 34px; }
.guide-copy > p { color: #c4cedb; }
.instruction-list, .code-steps { margin: 0; padding-left: 24px; color: #c4cedb; }
.instruction-list li, .code-steps li { padding-left: 6px; }
.instruction-list li + li, .code-steps li + li { margin-top: 16px; }
.instruction-list li::marker, .code-steps li::marker { color: var(--yellow); font-weight: 900; }
.guide-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.guide-gallery figure, .guide-single-image { margin: 0; min-width: 0; }
.guide-gallery img, .guide-single-image img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: contain; background: #05070a; border: 1px solid #2a3545; border-radius: 7px 7px 0 0; }
.guide-gallery figcaption, .guide-single-image figcaption { min-height: 58px; padding: 13px 14px; color: #afbac9; background: #111720; border: 1px solid #2a3545; border-top: 0; border-radius: 0 0 7px 7px; font-size: 14px; }
.guide-single-image img { aspect-ratio: 16 / 9; }
.important-box { display: flex; gap: 14px; margin: 22px 0; padding: 18px; background: #211b08; border: 1px solid #7d6510; border-left: 4px solid var(--yellow); border-radius: 6px; color: #fff1b2; }
.important-box svg { flex: 0 0 24px; width: 24px; height: 24px; color: var(--yellow); }
.important-box p { margin: 5px 0 0; color: #e1d39d; }

.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.contact-card h2 { font-size: 28px; }
.contact-card p { color: var(--muted); }
.contact-options { display: grid; gap: 12px; margin-top: 22px; }
.contact-option { display: flex; align-items: center; gap: 12px; padding: 15px; border: 1px solid var(--line); border-radius: 7px; text-decoration: none; }
.contact-option:hover { background: #151b24; }
.contact-option svg { color: var(--blue); width: 22px; }
.contact-option span { display: grid; }
.contact-option small { color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); background: #06080b; padding: 42px 0 24px; }
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #20bd67;
  color: #06110b;
  border: 1px solid #62e49a;
  box-shadow: 0 14px 34px rgba(0,0,0,.38);
}
.whatsapp-float:hover { background: #42d982; }
.whatsapp-float svg { width: 25px; height: 25px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-about { max-width: 430px; color: var(--muted); font-size: 14px; }
.footer-title { font-size: 13px; text-transform: uppercase; font-weight: 850; color: #8290a4; }
.footer-links { display: grid; gap: 9px; margin-top: 14px; }
.footer-links a { color: #dce4ef; text-decoration: none; font-size: 14px; }
.footer-bottom { margin-top: 38px; padding-top: 20px; border-top: 1px solid #1c2430; color: #768397; font-size: 12px; }

@media (max-width: 900px) {
  .menu-button { display: grid; }
  .site-nav { display: none; position: fixed; inset: 72px 0 0; background: #080b10; padding: 26px 20px; align-items: stretch; flex-direction: column; gap: 0; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 16px 6px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav-cta { margin-top: 16px; text-align: center; border-bottom: 1px solid #667085 !important; }
  .plans-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .guide-section, .guide-section-text { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .nav-shell { min-height: 64px; }
  .site-nav { inset-block-start: 64px; }
  .brand { width: 178px; height: 46px; flex-basis: 178px; background-size: 174px auto; }
  .hero { min-height: 720px; align-items: end; }
  .hero::before { background-position: 68% center; opacity: .62; }
  .hero::after { background: linear-gradient(0deg, rgba(5,8,13,1) 0%, rgba(5,8,13,.88) 52%, rgba(5,8,13,.24) 100%); }
  .hero-content { padding: 250px 0 54px; }
  .hero h1 { font-size: 42px; }
  .hero-lead { font-size: 17px; }
  .button-row .button { width: 100%; }
  .section { padding: 62px 0; }
  .guide-band { padding: 58px 0; }
  .guide-gallery { grid-template-columns: 1fr; }
  .guide-copy h2 { font-size: 29px; }
  .section-heading p { font-size: 16px; }
  .device-list { grid-template-columns: 1fr; }
  .cta-band { align-items: stretch; flex-direction: column; padding: 24px; }
  .cta-band .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid > :first-child { grid-column: auto; }
  .price strong { font-size: 40px; }
  .whatsapp-float { right: 14px; bottom: 14px; width: 50px; height: 50px; }
}

