:root {
  --navy: #071629;
  --ink: #102039;
  --muted: #5f6e82;
  --paper: #f5f8fc;
  --pink: #ff176f;
  --magenta: #d913aa;
  --blue: #1975f2;
  --line: #dce5ef;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }

.site-header { position: absolute; top: 0; left: 50%; z-index: 20; display: flex; width: min(1180px, calc(100% - 48px)); height: 92px; align-items: center; justify-content: space-between; transform: translateX(-50%); color: #fff; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 21px; font-weight: 800; letter-spacing: -.03em; }
.brand img { object-fit: contain; }
.site-header nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 700; }
.site-header nav a { opacity: .78; transition: opacity .2s ease; }
.site-header nav a:hover { opacity: 1; }
.site-header .nav-cta { padding: 12px 18px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; opacity: 1; }

.hero { position: relative; display: grid; min-height: 760px; grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr); align-items: center; gap: 48px; overflow: hidden; padding: 140px max(7vw, calc((100vw - 1180px)/2)) 90px; color: #fff; background: linear-gradient(128deg, #061324 0%, #0a1c35 58%, #0d2850 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, var(--pink), var(--magenta), var(--blue)); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .5; }
.hero-glow-one { width: 620px; height: 620px; right: -250px; top: -170px; background: radial-gradient(circle, rgba(31,113,255,.42), transparent 68%); }
.hero-glow-two { width: 430px; height: 430px; left: -220px; bottom: -170px; background: radial-gradient(circle, rgba(255,23,111,.2), transparent 70%); }
.hero-copy, .hero-visual { position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: #2a5e9e; font-size: 12px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow span { width: 25px; height: 2px; background: linear-gradient(90deg, var(--pink), var(--blue)); }
.eyebrow.light { color: #9fc6ff; }
.hero h1 { max-width: 720px; margin: 0; font-size: clamp(54px, 5.2vw, 78px); line-height: .98; letter-spacing: -.055em; }
.hero h1 span { display: block; color: transparent; background: linear-gradient(90deg, #ff3c84, #c83ee8 52%, #4b95ff); -webkit-background-clip: text; background-clip: text; }
.hero-lead { max-width: 620px; margin: 30px 0 0; color: #b9c8da; font-size: 19px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; border-radius: 12px; padding: 0 22px; font-size: 14px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: linear-gradient(100deg, var(--pink), #c826d5 55%, var(--blue)); box-shadow: 0 13px 35px rgba(218,27,173,.25); }
.button-secondary { border: 1px solid rgba(255,255,255,.2); color: #fff; background: rgba(255,255,255,.06); }
.trust-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 45px; color: #8298b2; font-size: 11px; font-weight: 700; }
.trust-row span { display: flex; align-items: center; gap: 7px; }
.trust-row i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #29d8a0; box-shadow: 0 0 0 4px rgba(41,216,160,.1); }

.hero-visual { min-height: 500px; }
.visual-orbit { position: absolute; border: 1px solid rgba(115,172,255,.15); border-radius: 50%; }
.orbit-one { width: 480px; height: 480px; right: -45px; top: 0; }
.orbit-two { width: 350px; height: 350px; right: 20px; top: 65px; border-color: rgba(255,39,132,.13); }
.visual-card { position: absolute; border: 1px solid rgba(132,173,225,.22); border-radius: 22px; background: rgba(9,28,52,.88); box-shadow: 0 30px 80px rgba(0,0,0,.3); backdrop-filter: blur(14px); }
.card-main { right: 20px; top: 95px; width: min(460px, 92%); padding: 24px; transform: rotate(-1.5deg); }
.card-back { right: -15px; bottom: 50px; width: 240px; padding: 20px; transform: rotate(5deg); color: #9bb0ca; }
.card-back strong { display: block; margin-top: 7px; color: #fff; font-size: 20px; }
.mini-label { font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.status-line { display: flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 11px; }
.status-line i { width: 7px; height: 7px; border-radius: 50%; background: #28d49a; }
.card-top { display: flex; align-items: center; gap: 9px; color: #9eafc5; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.card-top b { margin-left: auto; color: #fff; font-size: 13px; letter-spacing: 0; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 5px rgba(255,23,111,.12); }
.match-line { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; margin: 35px 0; text-align: center; }
.match-line div { padding: 22px 12px; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; background: rgba(255,255,255,.03); }
.match-line span { display: block; margin-bottom: 8px; color: #71859e; font-size: 9px; letter-spacing: .13em; }
.match-line strong { font-size: 28px; }
.match-line em { color: #5e7490; font-size: 12px; font-style: normal; }
.youtube-ready { display: flex; align-items: center; gap: 12px; padding: 15px; border-radius: 13px; background: linear-gradient(90deg, rgba(255,23,111,.13), rgba(49,102,235,.12)); }
.play-mark { display: grid; width: 35px; height: 35px; place-items: center; border-radius: 10px; color: #fff; background: #f0184e; font-size: 12px; }
.youtube-ready div { display: flex; flex-direction: column; gap: 3px; }
.youtube-ready small { color: #8395ac; font-size: 8px; letter-spacing: .16em; }
.youtube-ready b { font-size: 13px; }
.check-mark { display: grid; width: 23px; height: 23px; place-items: center; margin-left: auto; border-radius: 50%; color: #062b22; background: #2ee1aa; font-size: 12px; font-weight: 900; }
.hero-symbol { position: absolute; z-index: -1; left: -10px; bottom: 15px; object-fit: contain; opacity: .08; filter: grayscale(1); }

.section { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 110px 0; }
.intro { display: grid; grid-template-columns: 1fr 1fr; column-gap: 80px; }
.section-heading h2, .privacy-summary h2, .youtube-copy h2, .contact-strip h2 { margin: 0; font-size: clamp(36px, 4vw, 54px); line-height: 1.07; letter-spacing: -.045em; }
.section-intro { max-width: 570px; margin: 30px 0 0; color: var(--muted); font-size: 18px; line-height: 1.75; }
.steps-grid { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 65px; }
.step-card { min-height: 265px; border: 1px solid var(--line); border-radius: 18px; padding: 28px; background: rgba(255,255,255,.8); box-shadow: 0 15px 45px rgba(26,52,82,.05); }
.step-number { display: inline-flex; width: 43px; height: 43px; align-items: center; justify-content: center; border: 1px solid #d7e3f0; border-radius: 11px; color: #346498; font-size: 11px; font-weight: 800; }
.step-card h3 { margin: 30px 0 12px; font-size: 22px; letter-spacing: -.025em; }
.step-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }

.youtube-section { padding: 0 24px; }
.youtube-panel { position: relative; display: grid; width: min(1280px, 100%); min-height: 590px; margin: 0 auto; grid-template-columns: 120px minmax(0,1fr) minmax(300px,.7fr); align-items: center; gap: 55px; overflow: hidden; border-radius: 32px; padding: 80px; color: #fff; background: linear-gradient(130deg, #071425, #0d2441 60%, #102e58); }
.youtube-panel::before { content: ""; position: absolute; width: 560px; height: 560px; right: -250px; bottom: -280px; border-radius: 50%; background: radial-gradient(circle, rgba(38,113,255,.34), transparent 70%); }
.youtube-icon { display: grid; width: 94px; height: 94px; place-items: center; border-radius: 28px; background: linear-gradient(135deg, #ff1b66, #ba28db 60%, #2a75ec); box-shadow: 0 20px 50px rgba(218,33,178,.28); font-size: 28px; }
.youtube-copy { position: relative; z-index: 1; }
.youtube-copy p:not(.eyebrow) { max-width: 650px; margin: 24px 0; color: #adc0d6; font-size: 16px; line-height: 1.75; }
.youtube-copy ul { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin: 28px 0 0; padding: 0; list-style: none; color: #d6e3f0; font-size: 13px; }
.youtube-copy li { display: flex; gap: 9px; align-items: flex-start; }
.youtube-copy li i { color: #34dfa9; font-style: normal; }
.permission-card { position: relative; z-index: 1; border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 24px; background: rgba(3,15,29,.46); }
.permission-card > p { margin: 0 0 20px; color: #6f89a9; font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.permission-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(255,255,255,.08); padding: 17px 0; color: #8096b0; font-size: 12px; }
.permission-row b { color: #fff; font-size: 11px; }
.permission-row .safe { color: #35dbaa; }

.privacy-summary { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: 100px; }
.privacy-points { display: grid; gap: 1px; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--line); }
.privacy-points article { display: flex; gap: 23px; padding: 25px; background: #fff; }
.privacy-points article > span { color: #1e65ae; font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.privacy-points h3 { margin: 0 0 8px; font-size: 17px; }
.privacy-points p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

.contact-strip { display: flex; width: min(1180px, calc(100% - 48px)); margin: 0 auto 90px; align-items: center; justify-content: space-between; gap: 40px; border-radius: 25px; padding: 50px 55px; color: #fff; background: linear-gradient(105deg, #bd168d, #9d25d2 45%, #246fe5); box-shadow: 0 25px 65px rgba(68,51,177,.2); }
.contact-strip h2 { max-width: 680px; font-size: clamp(29px, 3.2vw, 43px); }
.button-light { flex-shrink: 0; color: #7f258e; background: #fff; }

footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 25px; border-top: 1px solid var(--line); padding: 45px max(4vw, calc((100vw - 1180px)/2)); background: #fff; }
.footer-brand img { width: 62px; height: 66px; object-fit: contain; }
.footer-copy { display: flex; flex-direction: column; gap: 5px; }
.footer-copy strong { font-size: 14px; }
.footer-copy span, .copyright { color: #788698; font-size: 11px; }
.footer-links { display: flex; gap: 24px; font-size: 12px; font-weight: 700; }
.copyright { grid-column: 2 / -1; margin: -18px 0 0; }

@media (max-width: 980px) {
  .site-header nav a:not(.nav-cta) { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 145px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { min-height: 470px; }
  .intro, .privacy-summary { grid-template-columns: 1fr; gap: 30px; }
  .youtube-panel { grid-template-columns: 90px 1fr; padding: 60px 45px; }
  .permission-card { grid-column: 2; }
  .contact-strip { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 700px) {
  .site-header { width: calc(100% - 32px); height: 78px; }
  .brand { font-size: 18px; }
  .brand img { width: 38px; height: auto; }
  .site-header .nav-cta { padding: 10px 14px; }
  .hero { grid-template-columns: minmax(0,1fr); gap: 25px; padding: 120px 20px 65px; }
  .hero h1 { font-size: 45px; }
  .hero-lead { font-size: 16px; }
  .button { width: 100%; }
  .trust-row { align-items: flex-start; flex-direction: column; gap: 12px; }
  .hero-visual { min-height: 400px; }
  .card-main { right: 0; top: 55px; width: 100%; padding: 18px; }
  .card-back { right: 0; bottom: 5px; }
  .match-line { gap: 10px; margin: 24px 0; }
  .match-line strong { font-size: 22px; }
  .section { width: calc(100% - 40px); padding: 78px 0; }
  .section-intro { font-size: 16px; }
  .steps-grid { grid-template-columns: 1fr; margin-top: 40px; }
  .step-card { min-height: 0; }
  .youtube-section { padding: 0 10px; }
  .youtube-panel { display: flex; min-height: 0; flex-direction: column; align-items: flex-start; gap: 30px; border-radius: 22px; padding: 50px 26px; }
  .youtube-icon { width: 66px; height: 66px; border-radius: 20px; }
  .youtube-copy ul { grid-template-columns: 1fr; }
  .permission-card { width: 100%; }
  .privacy-summary { gap: 42px; }
  .contact-strip { width: calc(100% - 20px); margin-bottom: 50px; padding: 40px 26px; }
  .button-light { font-size: 12px; }
  footer { grid-template-columns: auto 1fr; padding: 35px 20px; }
  .footer-links { grid-column: 1 / -1; }
  .copyright { grid-column: 1 / -1; margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Pàgines legals */
.legal-page { min-height: 100vh; background: #f7f9fc; }
.legal-header { display: flex; width: min(1040px, calc(100% - 48px)); height: 88px; align-items: center; justify-content: space-between; margin: 0 auto; color: var(--ink); }
.legal-header .brand { color: var(--ink); }
.legal-header nav { display: flex; gap: 28px; color: #617086; font-size: 13px; font-weight: 700; }
.legal-header nav a:hover { color: #164f91; }
.legal-hero { overflow: hidden; padding: 80px 24px; color: #fff; background: linear-gradient(125deg, #061426, #0e294c); }
.legal-hero > div { width: min(1040px, 100%); margin: 0 auto; }
.legal-hero h1 { max-width: 790px; margin: 0; font-size: clamp(45px, 6vw, 70px); line-height: 1; letter-spacing: -.055em; }
.legal-hero > div > p:last-child { margin: 25px 0 0; color: #91a9c4; font-size: 13px; }
.legal-content { width: min(880px, calc(100% - 48px)); margin: 0 auto; padding: 80px 0 110px; }
.legal-lead { margin: 0 0 55px; color: #43546a; font-size: 20px; line-height: 1.75; }
.legal-content section { border-top: 1px solid var(--line); padding: 37px 0 18px; }
.legal-content h2 { margin: 0 0 17px; color: #10253e; font-size: 22px; letter-spacing: -.025em; }
.legal-content p, .legal-content li { color: #52637a; font-size: 15px; line-height: 1.8; }
.legal-content p { margin: 0 0 16px; }
.legal-content ul { margin: 12px 0 22px; padding-left: 23px; }
.legal-content li { margin: 7px 0; }
.legal-content a { color: #196ac1; text-decoration: underline; text-underline-offset: 3px; }
.policy-callout { margin: 26px 0 10px; border-left: 4px solid transparent; border-image: linear-gradient(var(--pink), var(--blue)) 1; padding: 18px 22px; color: #263c58; background: #edf3fa; font-size: 14px; font-weight: 700; line-height: 1.7; }
.legal-footer { display: grid; grid-template-columns: 1fr auto; gap: 22px 45px; padding: 45px max(4vw, calc((100vw - 1040px)/2)); color: #c1cfde; background: var(--navy); }
.legal-footer > div:first-child { display: flex; flex-direction: column; gap: 6px; }
.legal-footer strong { color: #fff; font-size: 14px; }
.legal-footer span, .legal-footer p { color: #748ba5; font-size: 11px; }
.legal-footer > div:nth-child(2) { display: flex; gap: 23px; font-size: 12px; font-weight: 700; }
.legal-footer p { grid-column: 1 / -1; margin: 0; }

@media (max-width: 700px) {
  .legal-header { width: calc(100% - 32px); height: 76px; }
  .legal-header nav a:not(:first-child) { display: none; }
  .legal-hero { padding: 65px 20px; }
  .legal-content { width: calc(100% - 40px); padding: 60px 0 80px; }
  .legal-lead { font-size: 17px; }
  .legal-content h2 { font-size: 20px; }
  .legal-content p, .legal-content li { font-size: 14px; }
  .legal-footer { grid-template-columns: 1fr; padding: 38px 20px; }
  .legal-footer > div:nth-child(2) { flex-direction: column; gap: 12px; }
  .legal-footer p { grid-column: 1; }
}
