/* Pàgina d'inici. Identitat de landing.css: degradat 135° --color-gradient-1 → --color-gradient-2, logo en Raleway 800 cursiva. */
main.home { background: none; padding: 0; color: #1c222e; filter: none; }
.hm-wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.hm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* :where() = especificitat 0: els components poden decidir els seus marges */
:where(main.home) h1, :where(main.home) h2, :where(main.home) h3 { font-family: 'Raleway', sans-serif; margin: 0; }
main.home a { color: inherit; }

/* botons */
.hm-btn { display: inline-block; padding: 14px 28px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 16px; border: 2px solid transparent; }
.hm-btn-main { background: #fff; color: #A52F72 !important; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.hm-btn-main:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.25); color: #A52F72; }
.hm-btn-ghost { border-color: rgba(255,255,255,.7); color: #fff !important; margin-left: 10px; }
.hm-btn-ghost:hover { background: rgba(255,255,255,.15); color: #fff; }
.hm-btn-line { border-color: #A52F72; color: #A52F72 !important; }
.hm-btn-line:hover { background: #A52F72; color: #fff !important; }
.hm-btn-big { font-size: 20px; padding: 18px 40px; }
.hm-plan-pro .hm-btn-main { background: linear-gradient(135deg, var(--color-gradient-1), var(--color-gradient-2)); color: #fff !important; box-shadow: 0 8px 24px rgba(165,47,114,.35); }

/* HERO */
.hm-hero { position: relative; overflow: hidden; color: #fff; padding: 150px 0 130px;
    background: linear-gradient(135deg, var(--color-gradient-1) 0%, var(--color-gradient-2) 100%); }
.hm-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; position: relative; z-index: 2; }
.hm-hero h1 { font-size: clamp(40px, 6vw, 76px); font-weight: 800; line-height: 1.02; letter-spacing: -1.5px; }
.hm-rot { display: block; position: relative; height: 1.1em; font-style: italic; color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.18); }
.hm-rot span { position: absolute; left: 0; top: 0; opacity: 0; white-space: nowrap; animation: hmrot 12s infinite; }
.hm-rot span:nth-child(1) { animation-delay: 0s; } .hm-rot span:nth-child(2) { animation-delay: 3s; }
.hm-rot span:nth-child(3) { animation-delay: 6s; } .hm-rot span:nth-child(4) { animation-delay: 9s; }
@keyframes hmrot { 0% { opacity: 0; transform: translateY(40%); } 4%, 22% { opacity: 1; transform: none; } 27%, 100% { opacity: 0; transform: translateY(-40%); } }
.hm-lead { font-size: clamp(18px, 2vw, 23px); line-height: 1.5; font-weight: 400; max-width: 560px; margin: 22px 0; }
.hm-cta { margin: 26px 0 8px; }
.hm-small { font-size: 13px; opacity: .85; margin: 8px 0 0; }
.hm-hero-visual { position: relative; display: flex; justify-content: center; }

/* mòbil */
.hm-phone { width: 270px; background: #10131a; border-radius: 38px; padding: 12px; box-shadow: 0 40px 80px rgba(0,0,0,.4); transform: rotate(4deg); animation: hmfloat 7s ease-in-out infinite; }
.hm-screen { background: #fff; color: #1c222e; border-radius: 28px; padding: 18px 16px 16px; min-height: 500px; }
.hm-cover { aspect-ratio: 1; border-radius: 12px; background: linear-gradient(135deg, #1c222e, #3a4256); display: flex; align-items: center; justify-content: center; }
.hm-vinyl { display: block; width: 62%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--color-gradient-2) 0 14%, #111 15% 100%); box-shadow: 0 0 0 4px rgba(255,255,255,.07); animation: hmspin 8s linear infinite; }
.hm-ph-title { font-weight: 800; font-size: 18px; margin-top: 12px; }
.hm-ph-artist { opacity: .6; font-size: 13px; margin-bottom: 10px; }
.hm-pills { display: flex; flex-wrap: wrap; gap: 5px; }
.hm-pills span { font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: #eef1f5; }
.hm-ph-h { font-weight: 800; font-size: 13px; margin: 16px 0 6px; text-transform: uppercase; letter-spacing: .06em; opacity: .55; }
.hm-show { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid #eef1f5; font-size: 12px; }
.hm-show b { display: flex; flex-direction: column; align-items: center; min-width: 38px; line-height: 1; font-size: 17px; background: #1c222e; color: #fff; border-radius: 8px; padding: 6px 4px; }
.hm-show b small { font-size: 9px; letter-spacing: .08em; opacity: .8; margin-top: 3px; }
.hm-show span { flex: 1; }
.hm-show i { color: var(--color-gradient-2); }
@keyframes hmspin { to { transform: rotate(360deg); } }
@keyframes hmfloat { 0%, 100% { transform: rotate(4deg) translateY(0); } 50% { transform: rotate(4deg) translateY(-12px); } }

/* targetes flotants */
.hm-float { position: absolute; background: #fff; color: #1c222e; border-radius: 14px; padding: 10px 14px; font-size: 13px; font-weight: 600; box-shadow: 0 14px 34px rgba(0,0,0,.25); display: flex; align-items: center; gap: 8px; animation: hmfloat2 6s ease-in-out infinite; }
.hm-float i { color: var(--color-gradient-2); }
.hm-float b { font-family: 'Open Sans', sans-serif; }
.hm-float-a { top: 14%; left: -6%; }
.hm-float-b { bottom: 24%; right: -4%; animation-delay: -2s; max-width: 190px; }
.hm-float-c { bottom: 6%; left: 2%; animation-delay: -4s; }
@keyframes hmfloat2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* equalitzador decoratiu */
.hm-eq { position: absolute; left: 0; right: 0; bottom: 0; height: 90px; display: flex; align-items: flex-end; justify-content: center; gap: 6px; opacity: .35; z-index: 1; padding: 0 12px; }
.hm-eq span { flex: 1; max-width: 18px; background: #fff; border-radius: 4px 4px 0 0; height: 100%; transform-origin: bottom; animation: hmeq 1.4s ease-in-out infinite; animation-delay: calc(var(--i) * -0.13s); }
@keyframes hmeq { 0%, 100% { transform: scaleY(.12); } 25% { transform: scaleY(.7); } 50% { transform: scaleY(.3); } 75% { transform: scaleY(1); } }

/* seccions */
.hm-sec { padding: 90px 0; }
.hm-sec h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -.5px; margin-bottom: 40px; }
.hm-white { background: #fff; } .hm-soft { background: #f4f6fa; } .hm-dark { background: #1c222e; color: #fff; }
.hm-dark a { color: #fff; }

.hm-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.hm-step { background: #f4f6fa; border-radius: 18px; padding: 28px; }
.hm-num { display: inline-flex; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; color: #fff; background: linear-gradient(135deg, var(--color-gradient-1), var(--color-gradient-2)); margin-bottom: 14px; }
.hm-step h3 { font-size: 22px; margin-bottom: 8px; } .hm-step p { margin: 0; line-height: 1.55; font-weight: 400; }

/* mostra: navegador */
.hm-show-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: center; }
.hm-show-copy p { font-size: 19px; line-height: 1.6; font-weight: 400; opacity: .9; margin: 0 0 24px; }
.hm-browser { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.45); color: #1c222e; transform: perspective(1200px) rotateY(-6deg); }
.hm-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #e9ecf1; }
.hm-bar i { width: 10px; height: 10px; border-radius: 50%; background: #c3c9d4; }
.hm-bar span { flex: 1; margin-left: 12px; background: #fff; border-radius: 999px; padding: 3px 14px; font-size: 12px; opacity: .8; }
.hm-site { padding: 18px 22px 24px; }
.hm-site-nav { display: flex; gap: 16px; align-items: center; font-size: 12px; margin-bottom: 16px; } .hm-site-nav b { flex: 1; font-size: 15px; }
.hm-site-hero { display: flex; gap: 20px; align-items: center; background: linear-gradient(135deg, #1c222e, #3a4256); color: #fff; border-radius: 12px; padding: 20px; }
.hm-site-art { width: 110px; aspect-ratio: 1; flex: none; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.06); border-radius: 10px; }
.hm-site-hero small { display: block; font-size: 10px; letter-spacing: .12em; opacity: .7; } .hm-site-hero strong { display: block; font-size: 22px; margin: 4px 0 12px; font-family: 'Raleway', sans-serif; font-weight: 800; }
.hm-site-btn { display: inline-block; background: var(--color-gradient-1); color: #10131a; padding: 7px 16px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.hm-site-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.hm-site-cols small { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; opacity: .55; font-weight: 700; }
.hm-site-cols p { height: 10px; background: #e9ecf1; border-radius: 5px; margin: 10px 0; } .hm-site-cols p:nth-of-type(2) { width: 80%; } .hm-site-cols p:nth-of-type(3) { width: 60%; }
.hm-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; } .hm-thumbs i { aspect-ratio: 4/3; border-radius: 6px; background: linear-gradient(135deg, var(--color-gradient-1), var(--color-gradient-2)); opacity: .75; }
.hm-note { font-size: 12px; opacity: .55; margin-top: 18px; text-align: center; }

/* funcions */
.hm-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hm-feature { position: relative; background: #fff; border-radius: 16px; padding: 24px 20px; box-shadow: 0 2px 0 rgba(28,34,46,.04); }
.hm-feature:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(28,34,46,.12); }
.hm-feature i { font-size: 26px; background: linear-gradient(135deg, var(--color-gradient-1), var(--color-gradient-2)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 12px; display: block; }
.hm-feature h3 { font-size: 17px; margin-bottom: 6px; } .hm-feature p { margin: 0; font-size: 14px; line-height: 1.5; font-weight: 400; opacity: .8; }
.hm-feature em { font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--color-gradient-2); border-radius: 999px; padding: 2px 8px; position: absolute; top: 14px; right: 14px; white-space: nowrap; }

/* preus */
.hm-plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 820px; }
.hm-plan { border: 2px solid #e4e8ef; border-radius: 22px; padding: 32px; }
.hm-plan-pro { border-color: transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, var(--color-gradient-1), var(--color-gradient-2)) border-box; border: 3px solid transparent; }
.hm-plan h3 { font-size: 22px; } .hm-price { font-size: 44px; font-weight: 800; margin: 8px 0 14px; } .hm-price small { font-size: 16px; font-weight: 400; opacity: .6; }
.hm-plan ul { list-style: none; padding: 0; margin: 0 0 24px; } .hm-plan li { padding: 6px 0 6px 26px; position: relative; font-weight: 400; }
.hm-plan li:before { content: "✓"; position: absolute; left: 0; color: var(--color-gradient-2); font-weight: 800; }
.hm-plan .hm-small { color: #1c222e; opacity: .6; margin-top: 12px; }

/* FAQ */
.hm-faq { max-width: 780px; }
.hm-faq details { background: #fff; border-radius: 14px; padding: 18px 22px; margin-bottom: 10px; }
.hm-faq summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; } .hm-faq summary::-webkit-details-marker { display: none; }
.hm-faq summary:after { content: "+"; float: right; font-size: 24px; line-height: 1; color: var(--color-gradient-2); }
.hm-faq details[open] summary:after { content: "–"; }
.hm-faq details p { margin: 12px 0 0; line-height: 1.6; font-weight: 400; }

/* final */
.hm-final { text-align: center; color: #fff; padding: 90px 0; background: linear-gradient(135deg, var(--color-gradient-1) 0%, var(--color-gradient-2) 100%); }
.hm-final h2 { font-size: clamp(30px, 5vw, 54px); font-weight: 800; letter-spacing: -1px; margin-bottom: 30px; }

/* responsive */
@media (max-width: 900px) {
    .hm-hero { padding: 120px 0 110px; }
    .hm-hero-grid, .hm-show-grid { grid-template-columns: 1fr; }
    .hm-hero-visual { margin-top: 20px; }
    .hm-float-a { left: 2%; } .hm-float-b { right: 2%; }
    .hm-steps { grid-template-columns: 1fr; }
    .hm-features { grid-template-columns: repeat(2, 1fr); }
    .hm-plans { grid-template-columns: 1fr; }
    .hm-browser { transform: none; }
    .hm-btn-ghost { margin-left: 0; margin-top: 10px; }
}
@media (max-width: 480px) { .hm-features { grid-template-columns: 1fr; } .hm-eq { height: 60px; } }

/* sense moviment per a qui ho demana */
@media (prefers-reduced-motion: reduce) {
    .hm-phone, .hm-float, .hm-vinyl, .hm-eq span { animation: none; }
    .hm-rot span { animation: none; opacity: 0; } .hm-rot span:first-child { opacity: 1; }
    .hm-eq span { transform: scaleY(.4); }
    .hm-btn-main:hover, .hm-feature:hover { transform: none; }
}

/* ------------------------------------------------------------------ pàgina de preus */
.hm-hero-sm { padding: 130px 0 90px; }
.hm-hero-sm h1 { font-size: clamp(40px, 6vw, 68px); }
.hm-plans-4 { grid-template-columns: repeat(4, 1fr); max-width: none; gap: 18px; }
.hm-plans-4 .hm-plan { position: relative; background: #fff; padding: 28px 24px; display: flex; flex-direction: column; }
.hm-plans-4 .hm-plan ul { flex: 1; }
.hm-plans-4 .hm-price { font-size: 38px; }
.hm-ask { font-size: 16px !important; opacity: .65; font-weight: 600 !important; }
.hm-ribbon { position: absolute; top: -13px; left: 24px; background: linear-gradient(135deg, var(--color-gradient-1), var(--color-gradient-2)); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.hm-fine { font-size: 13px; opacity: .65; margin: 22px 0 0; text-align: center; }
@media (max-width: 1000px) { .hm-plans-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .hm-plans-4 { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ login, registre, política i compra: targeta blanca sobre el degradat */
body.login main, body.register main, body.policy main, body.checkout_gracias main, body.checkout_cancel main { padding: 120px 0 80px; min-height: 100vh; }
body.login main .container, body.register main .container, body.policy main .container, body.checkout_gracias main .container, body.checkout_cancel main .container {
    width: auto; max-width: 460px; margin: 0 auto; padding: 36px 32px; background: #fff; color: #1c222e; border-radius: 24px; box-shadow: 0 30px 70px rgba(0,0,0,.25); }
body.policy main .container { max-width: 860px; padding: 44px 48px; }
body.checkout_gracias main .container, body.checkout_cancel main .container { max-width: 560px; text-align: center; }
body.login main .container .container, body.register main .container .container { all: unset; display: block; }
body.login main .container a, body.register main .container a, body.policy main .container a { color: #A52F72; }
body.login main .container a:hover, body.register main .container a:hover, body.policy main .container a:hover { color: var(--color-gradient-1); }
body.login main h1, body.register main h1 { font-size: 34px; font-weight: 800; letter-spacing: -.5px; margin: 0 0 20px; text-align: center; }
body.policy main h1 { font-size: 34px; font-weight: 800; }

/* formularis */
body.login form .form-box .input, body.register form .form-box .input { border: 1px solid #d6dbe5; border-radius: 12px; color: #1c222e; background: #fff; }
body.login form .form-box .input:focus, body.register form .form-box .input:focus { outline: none; border-color: var(--color-gradient-2); box-shadow: 0 0 0 3px rgba(165,47,114,.18); }
body.login form .form-box, body.register form .form-box { margin-bottom: 12px; }
body.login form .form-box label.mini-label, body.register form .form-box label.mini-label { color: #6b7385; }
body.login form .button.block, body.register form .button.block { background: linear-gradient(135deg, var(--color-gradient-1), var(--color-gradient-2)); color: #fff !important; border: 0; border-radius: 999px; text-align: center; padding: 16px 24px; font-size: 17px; font-weight: 700; text-transform: none; box-shadow: 0 8px 24px rgba(165,47,114,.3); cursor: pointer; }
body.login form .button.block:hover, body.register form .button.block:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(165,47,114,.4); }
body.login form .box, body.register form .box { border: 1px solid #d6dbe5; border-radius: 12px; background: #f7f8fb; font-size: 13px; padding: 12px 16px; margin-bottom: 12px; }
body.login main .container a.login-spotify, body.register main .container a.login-spotify { max-width: none; text-align: center; border-radius: 999px; padding: 13px; color: #fff; }
body.login main .container a.login-spotify:hover, body.register main .container a.login-spotify:hover { color: #fff; opacity: .85; }
body.login .socials-logins .col, body.register .socials-logins .col { float: none; padding: 0; }
body.login form .info, body.register form .info { font-size: 14px; }
body.login form .info > div, body.register form .info > div { float: none; margin-top: 8px; text-align: center; }
body.login .alert, body.register .alert { border-radius: 12px; padding: 14px 18px; font-size: 14px; }
body.login .alert.-success, body.register .alert.-success { background: #e4f6ec; color: #14532d; }
body.login .alert.-error, body.register .alert.-error { background: #fde8e8; color: #7f1d1d; }
body.checkout_gracias main .button, body.checkout_cancel main .button { display: inline-block; margin-top: 16px; padding: 14px 28px; border-radius: 999px; text-decoration: none; background: linear-gradient(135deg, var(--color-gradient-1), var(--color-gradient-2)); color: #fff; font-weight: 700; }
@media (max-width: 560px) {
    body.login main .container, body.register main .container, body.policy main .container, body.checkout_gracias main .container, body.checkout_cancel main .container { margin: 0 14px; padding: 26px 20px; }
    body.policy main .container { padding: 28px 20px; }
}
body.login form button, body.register form button, body.login form input, body.register form input { font-family: inherit; }
