:root {
  color-scheme: dark;
  --ink: #0b1526;
  --navy: #0d1b2b;
  --navy-deep: #050d17;
  --surface: #112238;
  --surface-raised: #172b42;
  --electric: #2878f0;
  --electric-bright: #4b8df3;
  --cyan: #6cc8e2;
  --paper: #f2f5f8;
  --muted: #a7b5c5;
  --line: rgba(183, 204, 226, .13);
  --line-strong: rgba(183, 204, 226, .22);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-card: 0 24px 54px rgba(1, 8, 16, .32);
  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: radial-gradient(ellipse at 50% -18%, #142439 0, var(--ink) 58%);
  color: var(--paper);
  font-family: "DM Sans", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: rgba(47,214,242,.28); color: #fff; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 20; top: 12px; left: 12px; transform: translateY(-160%); padding: 11px 15px; border-radius: 7px; background: var(--paper); color: var(--ink); font-size: 13px; font-weight: 700; transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }
.wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }

/* Identidad y navegación */
.nav {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { display: block; width: 174px; height: auto; mix-blend-mode: screen; transition: filter .25s, transform .25s; }
.brand:hover img { filter: drop-shadow(0 0 9px var(--cyan)); transform: translateY(-2px); }
.links { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 34px); color: #c3d2e6; font-size: 13px; font-weight: 500; }
.links > a:not(.button) { transition: color .2s; }
.links > a:not(.button):hover, .foot-links a:hover { color: var(--cyan); }
.button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  min-height: 47px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--electric);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 9px 24px rgba(28, 107, 255, .24);
  transition: transform .22s var(--ease-out), background .22s, box-shadow .22s, border-color .22s;
}
.button::after {
  position: absolute;
  z-index: -1;
  inset: -80% auto -80% -45%;
  width: 27%;
  transform: rotate(22deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.34), transparent);
  content: "";
  transition: left .55s ease;
}
.button:hover { transform: translateY(-2px); background: var(--electric-bright); box-shadow: 0 14px 30px rgba(28, 107, 255, .34); }
.button:active { transform: translateY(1px) scale(.985); }
.button:hover::after { left: 120%; }
.button span { display: inline-block; transition: transform .2s; }
.button:hover span { transform: translateX(4px); }

/* Hero */
.hero { position: relative; isolation: isolate; min-height: 720px; overflow: hidden; padding-bottom: 68px; }
.hero::before, .hero::after { position: absolute; z-index: -2; inset: 0; pointer-events: none; content: ""; }
.hero::before {
  background: radial-gradient(ellipse at 82% 27%, rgba(40, 120, 240, .2), transparent 34%),
    radial-gradient(ellipse at 14% 93%, rgba(108, 200, 226, .065), transparent 32%),
    linear-gradient(115deg, #0b1526 8%, #0d1b2b 57%, #122943 100%);
  background-size: 150% 150%, 150% 150%, 100% 100%;
  animation: sky-drift 14s ease-in-out infinite alternate;
}
.hero::after {
  inset: 0;
  width: auto;
  height: 100%;
  opacity: .66;
  background-image: linear-gradient(90deg, #0b1526 0%, rgba(11,21,38,.97) 25%, rgba(11,21,38,.7) 51%, rgba(11,21,38,.18) 78%, rgba(11,21,38,.04) 100%),
    url("assets/patin360-racers.png");
  background-position: center, right top;
  background-size: 100% 100%, auto 560px;
  background-repeat: no-repeat;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 40%, transparent 79%);
  mask-image: linear-gradient(180deg, #000 0%, #000 40%, transparent 79%);
  animation: athlete-pan 18s ease-in-out infinite alternate;
}
.hero-grid { display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: clamp(22px,4vw,58px); padding-top: 54px; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { color: var(--cyan); font-size: 11px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 690px;
  margin: 18px 0 22px;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(49px, 5.55vw, 76px);
  font-weight: 800;
  line-height: 1.015;
  letter-spacing: -.075em;
  text-wrap: balance;
}
h1 span { color: #75cbe4; }
.lead { max-width: 510px; margin-bottom: 0; color: #b7c3d1; font-size: 16px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 31px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: #d1dae5; font-size: 13px; font-weight: 600; transition: color .2s; }
.text-link span { color: var(--cyan); transition: transform .2s; }
.text-link:hover { color: #fff; }
.text-link:hover span { transform: translateY(3px); }
.proof { display: flex; align-items: center; gap: 12px; margin-top: 30px; color: #9baec1; font-size: 12px; }
.proof-mark { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(108,200,226,.35); border-radius: 50%; color: var(--cyan); font-size: 10px; font-weight: 700; letter-spacing: -.04em; }
.hero-copy > * { animation: hero-enter .8s both var(--ease-out); }
.hero-copy > :nth-child(1) { animation-delay: .08s; }
.hero-copy > :nth-child(2) { animation-delay: .18s; }
.hero-copy > :nth-child(3) { animation-delay: .3s; }
.hero-copy > :nth-child(4) { animation-delay: .42s; }
.hero-copy > :nth-child(5) { animation-delay: .54s; }

/* Panel de escritorio */
.product { position: relative; display: flex; min-width: 0; min-height: 490px; align-items: center; justify-content: center; perspective: 1100px; animation: product-enter 1s .18s both var(--ease-out); }
.orbit { position: absolute; width: min(430px, 82vw); aspect-ratio: 1; border: 1px solid rgba(158, 193, 220, .17); border-radius: 50%; box-shadow: 0 0 0 42px rgba(129,177,218,.035), 0 0 0 84px rgba(129,177,218,.018); animation: orbit-breathe 7s ease-in-out infinite alternate; }
.screen {
  position: relative;
  z-index: 1;
  width: min(610px, 108%);
  padding: 9px;
  transform: rotate(-.6deg);
  border: 1px solid rgba(202, 218, 235, .3);
  border-radius: 19px;
  background: linear-gradient(145deg, #33465c, #111e2c 24%);
  box-shadow: 0 34px 72px rgba(0,0,0,.42), inset 0 0 0 1px rgba(255,255,255,.1);
  animation: screen-float 7s 1.3s ease-in-out infinite;
}
.app {
  display: grid;
  min-height: 365px;
  grid-template: 29px 1fr / 92px minmax(0, 1fr);
  overflow: hidden;
  border-radius: 14px;
  background: #f4f7fb;
  color: #132640;
  font-size: 8px;
}
.app::before {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  padding: 0 11px;
  border-bottom: 1px solid #e7edf5;
  background: #fff;
  color: #7488a4;
  font-size: 7px;
  letter-spacing: .1px;
  content: "●  ●  ●         patin360.app / nitroblaze-club                                   Renato M.   ▾";
}
.side { grid-row: 2; padding: 15px 9px; background: linear-gradient(180deg, #0c1928, #13273c); color: #cfe0f4; }
.app-logo { margin-bottom: 18px; padding: 7px 5px; border-bottom: 1px solid rgba(255,255,255,.11); color: #e7eef6; font-size: 8px; font-weight: 800; letter-spacing: .08em; }
.app-logo::before { display: block; width: 38px; height: 27px; margin: 0 auto 4px 0; background: url("assets/patin360-icon.svg") left center / contain no-repeat; content: ""; }
.app-logo::after { color: #82cde5; content: "  360"; }
.app-nav { margin: 4px 0; padding: 7px 6px; border-radius: 5px; color: #b9cbe2; font-size: 7px; white-space: nowrap; }
.app-nav.active { background: linear-gradient(100deg, var(--electric), #2b8eff); color: #fff; box-shadow: 0 5px 12px rgba(28,107,255,.25); }
.dash { grid-row: 2; min-width: 0; padding: 13px 14px 12px; }
.topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; padding-bottom: 8px; border-bottom: 1px solid #e7edf5; color: #73869d; font-size: 7px; letter-spacing: .04em; }
.overview { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 12px; border: 1px solid #e7edf5; border-radius: 8px; background: #fff; box-shadow: 0 4px 14px rgba(18,49,87,.04); }
.club-group { display: flex; align-items: center; gap: 10px; }
.status { padding: 5px 8px; border-radius: 4px; background: #edf4fb; color: #60758d; font-size: 7px; }
.club-logo { width: 58px; height: 48px; flex: 0 0 auto; object-fit: contain; }
.club { color: #15273a; font-size: 13px; font-weight: 700; }
.club small { display: block; margin-top: 3px; color: #687d92; font-size: 7px; font-weight: 400; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin: 9px 0; }
.stat { min-width: 0; min-height: 64px; padding: 9px; border: 1px solid #e4eaf0; border-radius: 7px; background: #fff; color: #64788d; font-size: 6px; letter-spacing: .08em; }
.stat b { display: block; margin: 3px 0 1px; color: #172b40; font-size: 17px; letter-spacing: -.04em; }
.stat > span { color: #8494a5; font-size: 6px; letter-spacing: 0; }
.lower { display: grid; grid-template-columns: 1.12fr .88fr; gap: 8px; }
.table, .chart { min-width: 0; min-height: 119px; padding: 10px; border: 1px solid #e8edf5; border-radius: 8px; background: #fff; }
.table b, .chart b { font-size: 8px; }
.row { display: flex; justify-content: space-between; gap: 6px; padding: 8px 0; border-bottom: 1px solid #edf1f5; color: #536a80; font-size: 7px; }
.row span:last-child { color: #75889b; }
.linechart { position: relative; height: 74px; margin-top: 9px; border-bottom: 1px solid #dce6f1; background: repeating-linear-gradient(to bottom, transparent 0 17px, #edf2f8 18px 19px); }
.linechart::after { position: absolute; right: 4px; bottom: 9px; left: 0; height: 43px; background: linear-gradient(152deg,transparent 0 14%,#4389dd 14.4% 15.6%,transparent 16% 30%,#4389dd 30.4% 31.6%,transparent 32% 45%,#4389dd 45.4% 46.6%,transparent 47% 60%,#4389dd 60.4% 61.6%,transparent 62% 76%,#4389dd 76.4% 77.6%,transparent 78%); content: ""; }
.linechart span { position: absolute; right: 0; bottom: -14px; color: #8698a8; font-size: 6px; }
.float-card { position: absolute; z-index: 2; right: -12px; bottom: 5px; max-width: 205px; padding: 12px 15px; border: 1px solid rgba(183,204,226,.2); border-radius: 8px; background: rgba(9,22,36,.95); color: #9fb0c0; box-shadow: 0 13px 28px rgba(0,0,0,.24); font-size: 10px; backdrop-filter: blur(10px); animation: card-float 5s ease-in-out infinite; }
.float-card strong { display: block; margin-top: 4px; color: #dbe5ee; font-size: 11px; font-weight: 500; }

/* Franja de producto */
.logos { border-block: 1px solid rgba(183,204,226,.11); background: rgba(5,13,23,.44); }
.logos .wrap { display: flex; min-height: 100px; align-items: center; gap: 40px; }
.logos p { max-width: 190px; margin: 0; color: #8fa2b6; font-size: 12px; }
.client-proof { display: flex; flex: 1; align-items: center; justify-content: flex-end; gap: 22px; }
.client-proof span { color: #8193a5; font-size: 10px; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }
.client-proof img { display: block; width: auto; max-width: 104px; height: 80px; object-fit: contain; }

/* Funciones y contenido */
section { padding: 98px 0; }
.features { background: radial-gradient(ellipse at 50% 0,rgba(28,107,255,.08),transparent 43%),linear-gradient(180deg,#091727,#0b1b30); }
.section-head { max-width: 700px; margin: 0; text-align: left; }
.section-head h2, .copy h2, .cta-box h2 { margin: 14px 0 16px; font-family: "Manrope", "Segoe UI", sans-serif; font-size: clamp(36px,4.4vw,56px); font-weight: 800; line-height: 1.08; letter-spacing: -.065em; text-wrap: balance; }
.section-head .eyebrow::after { display: block; width: 34px; height: 2px; margin: 13px 0 0; border-radius: 2px; background: var(--cyan); content: ""; }
.section-head p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.feature-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 12px; margin-top: 54px; }
.feature { position: relative; min-height: 205px; overflow: hidden; padding: 26px 28px; border: 1px solid rgba(183,204,226,.12); border-radius: var(--radius-md); background: linear-gradient(145deg,rgba(18,36,56,.82),rgba(10,23,37,.8)); transition: transform .32s var(--ease-out), border-color .3s, box-shadow .3s, background .3s; }
.feature::after { position: absolute; top: -80px; right: -75px; width: 135px; height: 135px; border-radius: 50%; opacity: .42; background: rgba(28,107,255,.18); filter: blur(18px); content: ""; transition: transform .4s, opacity .4s; }
.feature:first-child { grid-row: span 2; min-height: 422px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 34px; background: radial-gradient(ellipse at 100% 0,rgba(40,120,240,.2),transparent 48%),linear-gradient(145deg,rgba(19,43,68,.95),rgba(9,22,36,.9)); }
.feature:first-child::before { position: absolute; top: 42px; right: 22px; width: min(47%,240px); height: 42%; border: 1px solid rgba(135,177,212,.16); border-radius: 50%; box-shadow: 0 0 0 22px rgba(135,177,212,.035),0 0 0 48px rgba(135,177,212,.025); content: ""; }
.feature:hover { transform: translateY(-4px); border-color: rgba(108,200,226,.38); background-color: #132a42; box-shadow: 0 18px 40px rgba(0,16,37,.2); }
.feature:hover::after { transform: scale(1.6); opacity: .8; }
.icon { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; color: var(--cyan); font-family: "Manrope",sans-serif; font-size: 13px; font-weight: 800; letter-spacing: .04em; transition: transform .25s var(--ease-out); }
.icon span { color: #8194a8; font-family: "DM Sans",sans-serif; font-size: 8px; font-weight: 700; letter-spacing: .13em; }
.feature h3 { position: relative; z-index: 1; margin: 17px 0 8px; font-family: "Manrope",sans-serif; font-size: 20px; font-weight: 700; line-height: 1.3; letter-spacing: -.04em; text-wrap: balance; }
.feature p { position: relative; z-index: 1; max-width: 450px; margin: 0; color: #a8b7c7; font-size: 13px; line-height: 1.75; }
.feature-link { position: relative; z-index: 1; display: inline-flex; gap: 8px; align-items: center; margin-top: 24px; color: #d6e2ed; font-size: 12px; font-weight: 600; }
.feature-link span { color: var(--cyan); transition: transform .2s; }
.feature-link:hover span { transform: translate(2px,-2px); }
.feature:nth-child(4) { display: grid; grid-column: 1 / -1; grid-template-columns: .75fr 1.25fr 1.5fr; align-items: center; gap: 24px; min-height: 128px; }
.feature:nth-child(4) h3 { margin: 0; }
.feature:nth-child(4) p { max-width: 400px; }
.faq { border-top: 1px solid rgba(183,204,226,.08); background: rgba(5,13,23,.28); }
.faq-layout { display: grid; grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); gap: clamp(42px,8vw,100px); }
.faq-intro h2 { max-width: 400px; margin: 14px 0; font-family: "Manrope",sans-serif; font-size: clamp(36px,4vw,50px); font-weight: 800; line-height: 1.08; letter-spacing: -.06em; text-wrap: balance; }
.faq-intro p { max-width: 320px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.faq-list { border-top: 1px solid rgba(183,204,226,.16); }
.faq-item { padding: 22px 0; border-bottom: 1px solid rgba(183,204,226,.16); }
.faq-item h3 { margin: 0 0 8px; color: #e5ebf2; font-family: "Manrope",sans-serif; font-size: 16px; font-weight: 700; letter-spacing: -.025em; }
.faq-item p { max-width: 650px; margin: 0; color: #a8b7c7; font-size: 13px; line-height: 1.75; }
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: clamp(48px,8vw,92px); }
.mini-screen { position: relative; isolation: isolate; display: grid; min-width: 0; min-height: 490px; place-items: center; overflow: visible; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.mini-screen::before { position: absolute; z-index: -1; top: 50%; left: 50%; width: min(430px,92vw); height: 460px; transform: translate(-50%,-50%); border-radius: 50%; background: radial-gradient(ellipse,rgba(28,107,255,.19) 0,rgba(47,214,242,.08) 34%,rgba(7,17,30,0) 70%); filter: blur(12px); content: ""; pointer-events: none; }
.phone { position: relative; width: 232px; margin: auto; padding: 6px; border: 1px solid #63778c; border-radius: 32px; background: linear-gradient(145deg,#61788d 0%,#182635 13%,#09131e 34%,#1a2837 78%,#40566c 100%); box-shadow: 0 30px 58px rgba(0,0,0,.42),0 0 0 1px rgba(255,255,255,.08),inset 0 0 0 2px #080f18; animation: phone-float 6.5s ease-in-out infinite; transition: transform .4s var(--ease-out), box-shadow .4s; }
.phone::before { position: absolute; z-index: 2; top: 7px; left: 50%; width: 72px; height: 14px; transform: translateX(-50%); border-radius: 0 0 10px 10px; background: #03070d; content: ""; }
.mini-screen:hover .phone { animation: none; transform: translateY(-5px) rotate(1deg); }
.mobile { min-height: 414px; padding: 14px 14px 12px; border: 1px solid rgba(255,255,255,.08); border-radius: 27px; background: radial-gradient(circle at 100% 0,rgba(108,200,226,.12),transparent 34%),linear-gradient(160deg,#14283e,#09131f 80%); color: #fff; box-shadow: inset 0 0 22px rgba(2,8,17,.24); }
.mobile::before { display: block; padding: 0 2px 12px; color: #edf6ff; font-size: 7px; font-weight: 600; content: "9:41                                      ▮  ◉  ▰"; }
.m-header { display: flex; align-items: center; justify-content: space-between; padding: 7px 8px; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.m-header::after { color: var(--cyan); font-size: 14px; font-weight: 400; content: "☰"; }
.mobile h4 { margin: 19px 0 2px; font-size: 17px; font-weight: 600; }
.mobile small { color: #9eb7d6; font-size: 7px; letter-spacing: .45px; }
.m-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; margin: 15px 0; }
.m-card { min-height: 42px; padding: 8px 4px; border: 1px solid rgba(163,194,220,.15); border-radius: 8px; background: rgba(214,231,245,.07); color: #dce8f3; font-size: 7px; line-height: 1.5; text-align: center; transition: transform .22s, background .22s; }
.m-card:hover { transform: translateY(-3px); background: rgba(214,231,245,.13); }
.event { position: relative; margin: 12px 0; padding: 11px 10px 10px 34px; border: 1px solid #d8e9fb; border-radius: 9px; background: #ecf5ff; color: #183458; font-size: 7px; box-shadow: 0 8px 18px rgba(0,0,0,.12); }
.event::before { position: absolute; top: 10px; left: 9px; display: grid; width: 18px; height: 22px; place-items: center; border-radius: 5px; background: #dbeeff; color: var(--electric); font-size: 8px; font-weight: 700; content: "21"; }
.event b { display: block; margin-bottom: 5px; font-size: 8px; }
.mobile-summary { display: flex; align-items: center; gap: 10px; margin: 10px 0; padding: 12px; border-radius: 9px; background: rgba(214,231,245,.07); }
.mobile-summary strong { color: var(--cyan); font-family: "Manrope",sans-serif; font-size: 25px; }
.mobile-summary span { color: #a9bbce; font-size: 8px; }
.mob-bar { display: flex; height: 30px; align-items: center; justify-content: center; margin-top: 15px; padding: 0 5px; border-top: 1px solid rgba(255,255,255,.1); color: #c8dcf4; }
.mob-bar::before { font-size: 7px; letter-spacing: .15px; content: "⌂  Inicio       ▣  Agenda       ♙  Perfil"; }
.copy h2 { margin: 14px 0 18px; font-size: clamp(37px,4.4vw,55px); }
.copy p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.checks { margin: 24px 0; padding: 0; list-style: none; }
.checks li { margin: 12px 0; color: #c6d8ee; font-size: 13px; }
.checks li::before { display: inline-grid; width: 20px; height: 20px; place-items: center; margin-right: 10px; border-radius: 50%; background: rgba(108,200,226,.1); color: var(--cyan); content: "✓"; }

/* Recorrido del producto, cierre y pie */
.numbers { padding: 0 0 96px; }
.numberbox { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; border-block: 1px solid rgba(183,204,226,.14); }
.num { padding: 23px 18px; background: transparent; transition: background .25s; }
.num + .num { border-left: 1px solid rgba(183,204,226,.14); }
.num:hover { background: rgba(255,255,255,.025); }
.num b { display: block; color: var(--cyan); font-family: "Manrope",sans-serif; font-size: 27px; font-weight: 800; letter-spacing: -.05em; transition: color .3s; }
.num:hover b { color: #b9eafa; }
.num span { color: #a3b3c3; font-size: 11px; }
.cta { padding: 0 0 100px; }
.cta-box { position: relative; isolation: isolate; overflow: hidden; padding: 62px 8%; border: 1px solid rgba(183,204,226,.18); border-radius: 20px; background: radial-gradient(ellipse at 100% 0,rgba(40,120,240,.19),transparent 42%),linear-gradient(115deg,#101f30,#0c1928 68%,#102439); box-shadow: 0 24px 64px rgba(0,8,18,.22); text-align: center; }
.cta-box::before { position: absolute; z-index: -1; top: -330px; left: -210px; width: 490px; height: 490px; border: 1px solid rgba(183,204,226,.16); border-radius: 50%; box-shadow: 0 0 0 42px rgba(183,204,226,.035),0 0 0 84px rgba(183,204,226,.025); content: ""; animation: cta-ring 12s ease-in-out infinite alternate; }
.cta-box h2 { max-width: 730px; margin: 10px auto 0; font-size: clamp(38px,4.5vw,58px); }
.cta-box p { max-width: 510px; margin: 17px auto 26px; color: #aebdcb; font-size: 14px; line-height: 1.7; }
.cta-box .button { background: #367fe5; color: #fff; box-shadow: 0 12px 25px rgba(24,88,175,.24); }
.cta-box .button:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(24,88,175,.34); }
footer { padding: 27px 0; border-top: 1px solid var(--line); color: #91a8c5; font-size: 11px; }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.foot .brand img { width: 150px; }
.foot-links { display: flex; gap: 18px; }
.foot-links a { transition: color .2s; }

/* Entrada en pantalla y movimiento */
.js .reveal { transform: translateY(24px); opacity: 0; transition: transform .7s var(--ease-out), opacity .7s ease; }
.js .reveal.is-visible { transform: translateY(0); opacity: 1; }
.js .feature.reveal.is-visible:hover { transform: translateY(-4px); }
.js .feature-grid .feature:nth-child(2), .js .numberbox .num:nth-child(2) { transition-delay: .08s; }
.js .feature-grid .feature:nth-child(3), .js .numberbox .num:nth-child(3) { transition-delay: .16s; }
.js .feature-grid .feature:nth-child(4), .js .numberbox .num:nth-child(4) { transition-delay: .08s; }
.js .feature-grid .feature:nth-child(5) { transition-delay: .16s; }
@keyframes hero-enter { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes product-enter { from { transform: translate3d(26px,12px,0) scale(.97); opacity: 0; } to { transform: translate3d(0,0,0) scale(1); opacity: 1; } }
@keyframes screen-float { 0%,100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-8px) rotate(-.8deg); } }
@keyframes phone-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes card-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes orbit-breathe { from { transform: scale(.97) rotate(-7deg); opacity: .55; } to { transform: scale(1.03) rotate(7deg); opacity: .95; } }
  @keyframes athlete-pan { from { background-position: center,right top; } to { background-position: center,right 34px top; } }
@keyframes sky-drift { from { background-position: 0 0,100% 100%,center; } to { background-position: 100% 65%,0 35%,center; } }
@keyframes cta-ring { to { transform: translate(28px,20px) scale(1.08); } }

/* Ajustes por ancho */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr .94fr; gap: 18px; }
  .product { min-height: 430px; }
  .screen { width: min(560px,108%); }
  .app { grid-template-columns: 76px minmax(0,1fr); }
  .app-nav { padding-inline: 4px; font-size: 6px; }
  .feature { padding: 22px; }
  .split { gap: 44px; }
  .feature:nth-child(4) { grid-template-columns: .7fr 1.3fr; }
  .feature:nth-child(4) p { grid-column: 2; }
  .faq-layout { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 38px; }
}
@media (max-width: 760px) {
  .nav { min-height: 74px; }
  .links { gap: 0; }
  .links > a:not(.button) { display: none; }
  .hero { min-height: auto; padding-bottom: 48px; }
  .hero::after { opacity: .42; background-position: center,right top; background-size: 100% 100%,auto 390px; -webkit-mask-image: linear-gradient(180deg,#000 0%,#000 20%,transparent 56%); mask-image: linear-gradient(180deg,#000 0%,#000 20%,transparent 56%); animation: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 42px; }
  .hero-copy { max-width: 650px; }
  h1 { max-width: 620px; font-size: clamp(50px,9vw,68px); }
  .product { min-height: 390px; }
  .screen { width: min(550px,100%); }
  .feature-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .feature:first-child { min-height: 382px; }
  .feature:nth-child(4) { grid-template-columns: .55fr 1.45fr; }
  .feature:nth-child(4) p { grid-column: 2; }
  .split { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 28px; }
  .faq-layout { grid-template-columns: 1fr; gap: 28px; }
  .mini-screen { min-height: 410px; padding: 0; }
  .logos .wrap { min-height: 90px; gap: 22px; }
  .club-logo { width: 48px; height: 42px; }
}
@media (max-width: 560px) {
  .wrap { width: min(100% - 32px,1160px); }
  .brand img { width: 142px; }
  .links .button { min-height: 42px; padding-inline: 13px; font-size: 11px; }
  .hero-grid { padding-top: 34px; }
  .hero::after { opacity: .34; background-size: 100% 100%,auto 300px; -webkit-mask-image: linear-gradient(180deg,#000 0%,#000 13%,transparent 48%); mask-image: linear-gradient(180deg,#000 0%,#000 13%,transparent 48%); }
  h1 { margin-top: 13px; font-size: clamp(36px,10.5vw,45px); letter-spacing: -.055em; }
  .lead { font-size: 14px; line-height: 1.75; }
  .proof { align-items: flex-start; font-size: 10px; }
  .product { min-height: 305px; }
  .orbit { width: 90vw; }
  .screen { width: 100%; padding: 7px; border-radius: 18px; }
  .app { min-height: 282px; grid-template-columns: 59px minmax(0,1fr); grid-template-rows: 22px 1fr; border-radius: 11px; }
  .app::before { padding-inline: 7px; font-size: 5px; content: "●  ●  ●       patin360.app                  ▾"; }
  .side { padding: 10px 4px; }
  .app-logo { margin-bottom: 10px; padding: 5px 2px; }
  .app-logo::before { width: 31px; height: 22px; }
  .app-logo::after { font-size: 6px; }
  .app-nav { margin: 3px 0; padding: 6px 3px; font-size: 5px; }
  .dash { padding: 8px 7px; }
  .topline { margin-bottom: 7px; padding-bottom: 6px; font-size: 5px; }
  .overview { gap: 5px; padding: 7px; }
  .club-logo { width: 40px; height: 36px; }
  .club { font-size: 9px; }
  .club small { font-size: 5px; }
  .overview button { padding: 5px; font-size: 5px; }
  .stats { gap: 4px; margin: 7px 0; }
  .stat { min-height: 48px; padding: 6px 4px; font-size: 5px; }
  .stat b { font-size: 11px; }
  .lower { grid-template-columns: 1fr; }
  .table, .chart { min-height: 86px; padding: 7px; }
  .table b, .chart b { font-size: 6px; }
  .row { padding: 5px 0; font-size: 5px; }
  .chart { display: none; }
  .float-card { display: none; }
  .float-card strong { font-size: 15px; }
  .logos .wrap { display: block; min-height: auto; padding-block: 22px; }
  .logos p { margin-bottom: 14px; }
  .client-proof { justify-content: flex-start; gap: 16px; }
  .client-proof img { height: 78px; }
  .client-proof span { font-size: 9px; }
  section { padding: 70px 0; }
  .section-head h2, .copy h2 { font-size: clamp(35px,9vw,46px); }
  .section-head p { font-size: 13px; }
  .feature-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 34px; }
  .feature, .feature:first-child { grid-row: auto; min-height: 0; padding: 22px; }
  .feature:first-child { min-height: 310px; justify-content: flex-end; }
  .feature:first-child::before { top: 26px; right: 12px; width: 48%; height: 43%; }
  .feature:nth-child(4) { grid-column: auto; grid-template-columns: 1fr; gap: 0; }
  .feature:nth-child(4) p { grid-column: auto; }
  .feature:nth-child(4) h3 { margin: 15px 0 8px; }
  .feature h3 { margin-top: 15px; font-size: 16px; }
  .feature p { font-size: 12px; }
  .split { grid-template-columns: 1fr; gap: 38px; }
  .mini-screen { order: 2; max-width: 360px; width: 100%; min-height: 430px; justify-self: center; padding: 0; }
  .copy { order: 1; }
  .phone { width: 224px; }
  .numbers { padding-bottom: 70px; }
  .numberbox { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .num:nth-child(3) { border-left: 0; border-top: 1px solid rgba(183,204,226,.14); }
  .num:nth-child(4) { border-top: 1px solid rgba(183,204,226,.14); }
  .num { padding: 20px 8px; }
  .num b { font-size: 28px; }
  .num span { font-size: 10px; }
  .cta { padding-bottom: 70px; }
  .cta-box { padding: 44px 20px; border-radius: 18px; }
  .cta-box .button { width: 100%; padding-inline: 10px; font-size: 12px; }
  .cta-box h2 { font-size: clamp(35px,9vw,46px); }
  .cta-box p { font-size: 12px; }
  .foot { align-items: flex-start; flex-direction: column; }
  .foot .brand img { width: 142px; }
  .foot-links { flex-wrap: wrap; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { transform: none; opacity: 1; }
}
