/*
Theme Name: LP Checkout
Theme URI: https://example.com/lp-checkout
Author: LP
Description: A cinematic, conversion-focused streaming checkout theme with trial capture and interactive package selection.
Version: 1.1.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: lp-checkout
*/

:root {
  --lp-bg: #080808;
  --lp-surface: #121212;
  --lp-surface-2: #191919;
  --lp-text: #ffffff;
  --lp-muted: #aaa7a7;
  --lp-red: #df2b20;
  --lp-red-dark: #a81912;
  --lp-gold: #facc15;
  --lp-line: rgba(255, 255, 255, .12);
  --lp-radius: 22px;
  --lp-shadow: 0 30px 80px rgba(0, 0, 0, .38);
  --lp-container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--lp-bg);
  color: var(--lp-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .lp-header { top: 32px; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.lp-container { width: min(calc(100% - 40px), var(--lp-container)); margin-inline: auto; }
.lp-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; }

.lp-header {
  position: absolute;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(3,3,3,.88), rgba(3,3,3,.18));
}
.lp-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.lp-brand { display: inline-flex; align-items: center; gap: 2px; text-decoration: none; font-weight: 900; font-size: 31px; letter-spacing: -1.6px; line-height: 1; }
.lp-brand::after { content: "+"; color: var(--lp-red); }
.lp-brand span { position: relative; }
.lp-brand span::after { content: ""; position: absolute; left: 0; bottom: -9px; width: 55%; height: 3px; border-radius: 8px; background: var(--lp-red); }
.lp-button { display: inline-flex; min-height: 50px; padding: 13px 24px; border: 0; border-radius: 10px; align-items: center; justify-content: center; gap: 10px; background: var(--lp-red); color: #fff; font-weight: 800; text-decoration: none; cursor: pointer; box-shadow: 0 12px 34px rgba(223,43,32,.24); transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.lp-button:hover { transform: translateY(-2px); background: #f13a2f; box-shadow: 0 16px 40px rgba(223,43,32,.35); }
.lp-button--gold { background: var(--lp-gold); color: #0a0a0a; box-shadow: 0 12px 34px rgba(250,204,21,.18); }
.lp-button--gold:hover { background: #ffe151; box-shadow: 0 16px 40px rgba(250,204,21,.28); }
.lp-button--wide { width: 100%; }

.lp-hero { position: relative; min-height: 880px; display: grid; align-items: center; overflow: hidden; isolation: isolate; padding: 155px 0 95px; }
.lp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.70) 46%, rgba(0,0,0,.28) 100%),
    linear-gradient(0deg, var(--lp-bg) 0%, transparent 28%),
    radial-gradient(circle at 82% 34%, rgba(223,43,32,.44), transparent 27%),
    radial-gradient(circle at 70% 80%, rgba(14,76,105,.36), transparent 30%),
    #101010;
}
.lp-hero::after { content: ""; position: absolute; z-index: -2; width: 720px; height: 720px; right: -100px; top: 110px; transform: rotate(-8deg); background: linear-gradient(145deg, rgba(255,255,255,.15), rgba(255,255,255,.01)); border: 1px solid rgba(255,255,255,.13); border-radius: 44px; box-shadow: inset 0 0 0 18px rgba(255,255,255,.025), var(--lp-shadow); }
.lp-hero__glow { position: absolute; z-index: -1; right: 8%; top: 28%; width: 420px; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(from 210deg, rgba(223,43,32,.05), rgba(223,43,32,.75), rgba(255,255,255,.10), rgba(14,76,105,.48), rgba(223,43,32,.05)); filter: blur(1px); opacity: .5; }
.lp-hero__glow::after { content: "▶"; position: absolute; inset: 54px; display: grid; place-items: center; color: rgba(255,255,255,.85); background: rgba(4,4,4,.74); border: 1px solid rgba(255,255,255,.15); border-radius: 50%; font-size: 90px; padding-left: 15px; box-shadow: 0 0 90px rgba(223,43,32,.35); }
.lp-hero__content { max-width: 760px; }
.lp-eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 20px; color: #ff6b63; font-size: 13px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.lp-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--lp-red); }
.lp-hero h1 { margin: 0; max-width: 800px; font-size: clamp(46px, 6vw, 76px); line-height: 1.02; letter-spacing: -.055em; text-wrap: balance; }
.lp-hero h1 em { display: block; color: transparent; font-style: normal; -webkit-text-stroke: 1px rgba(255,255,255,.72); }
.lp-hero__copy { max-width: 660px; margin: 28px 0 34px; color: #ccc; font-size: clamp(17px, 2vw, 20px); }
.lp-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.lp-proof { display: flex; align-items: center; gap: 12px; color: #d2d2d2; font-size: 14px; }
.lp-proof__avatars { display: flex; padding-left: 7px; }
.lp-proof__avatars i { display: grid; width: 34px; height: 34px; margin-left: -8px; place-items: center; border: 2px solid #111; border-radius: 50%; color: #f2f2f2; background: linear-gradient(145deg,#4a4a4a,#171717); box-shadow: 0 4px 12px rgba(0,0,0,.3); }
.lp-proof__avatars i:nth-child(2) { background: linear-gradient(145deg,#74342f,#261513); }
.lp-proof__avatars i:nth-child(3) { background: linear-gradient(145deg,#39536a,#141c23); }
.lp-proof__avatars svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.lp-proof strong { color: #fff; font-weight: 900; }

.lp-section { padding: 96px 0; position: relative; }
.lp-section--tight { padding-top: 36px; }
.lp-section__head { max-width: 690px; margin: 0 auto 46px; text-align: center; }
.lp-section__head h2 { margin: 0 0 14px; font-size: clamp(34px, 5vw, 52px); line-height: 1.08; letter-spacing: -.04em; }
.lp-section__head p { margin: 0; color: var(--lp-muted); font-size: 18px; }

.lp-trial-card { margin-top: -115px; position: relative; z-index: 8; display: grid; grid-template-columns: .9fr 1.1fr; overflow: hidden; border: 1px solid var(--lp-line); border-radius: 28px; background: rgba(18,18,18,.96); box-shadow: var(--lp-shadow); }
.lp-trial-card__pitch { padding: 48px; background: linear-gradient(145deg, rgba(223,43,32,.22), rgba(223,43,32,.03)), #141414; }
.lp-trial-card__pitch h2 { margin: 0 0 12px; font-size: 34px; line-height: 1.15; }
.lp-trial-card__pitch p { color: #c6c3c3; }
.lp-checks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.lp-checks li { display: flex; align-items: center; gap: 11px; }
.lp-checks li::before { content: "✓"; display: grid; width: 24px; height: 24px; place-items: center; flex: 0 0 24px; border-radius: 50%; background: rgba(223,43,32,.2); color: #ff655c; font-weight: 900; }
.lp-trial-card__form { display: flex; flex-direction: column; justify-content: center; padding: 48px; background: #fff; color: #120b0b; }
.lp-trial-card__form .lp-eyebrow { margin-bottom: 12px; color: var(--lp-red); }
.lp-trial-card__form h2 { margin: 0 0 10px; font-size: 38px; line-height: 1.1; letter-spacing: -.035em; }
.lp-trial-card__form p { margin: 0 0 24px; color: #5f5959; }
.lp-form-row { display: grid; grid-template-columns: minmax(0,1fr); gap: 12px; }
.lp-form-row > .lp-button { width: 100%; }
.lp-input { width: 100%; min-height: 54px; padding: 12px 17px; border: 1px solid #d7d3d3; border-radius: 10px; background: #fff; color: #151515; outline: none; transition: border .2s, box-shadow .2s; }
.lp-input:focus { border-color: var(--lp-red); box-shadow: 0 0 0 4px rgba(223,43,32,.10); }
.lp-phone-group { display: grid; grid-template-columns: minmax(145px,.44fr) minmax(0,1fr); gap: 8px; min-width: 0; }
.lp-country-picker { position: relative; min-width: 0; min-height: 54px; border: 1px solid #d7d3d3; border-radius: 10px; background: #fff; transition: border .2s, box-shadow .2s; }
.lp-country-picker:focus-within { border-color: var(--lp-red); box-shadow: 0 0 0 4px rgba(223,43,32,.10); }
.lp-country-display { position: absolute; inset: 0; display: flex; align-items: center; gap: 10px; padding: 0 34px 0 13px; color: #151515; pointer-events: none; }
.lp-country-display img { width: 29px; height: 20px; flex: 0 0 auto; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.lp-country-display strong { font-size: 15px; font-weight: 700; }
.lp-country-display i { position: absolute; right: 13px; top: 50%; width: 8px; height: 8px; border-right: 2px solid #222; border-bottom: 2px solid #222; transform: translateY(-65%) rotate(45deg); }
.lp-country-code { position: absolute; inset: 0; z-index: 2; min-width: 0; min-height: 52px; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.lp-form-note { display: block; margin-top: 12px; color: #777; font-size: 12px; }

.lp-featured { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 45px; padding: 48px; border: 1px solid rgba(250,204,21,.35); border-radius: var(--lp-radius); background: radial-gradient(circle at 88% 50%, rgba(250,204,21,.16), transparent 26%), linear-gradient(135deg,#151515,#0d0d0d); box-shadow: var(--lp-shadow); }
.lp-featured__badge { display: inline-flex; padding: 7px 12px; border-radius: 999px; background: var(--lp-gold); color: #0b0b0b; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.lp-featured h2 { margin: 18px 0 12px; font-size: clamp(34px,4vw,50px); line-height: 1.07; letter-spacing: -.04em; }
.lp-featured p { max-width: 680px; margin: 0; color: #aaa; font-size: 18px; }
.lp-featured__meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; }
.lp-featured__meta span { padding: 8px 12px; border: 1px solid var(--lp-line); border-radius: 999px; background: rgba(255,255,255,.04); color: #ddd; font-size: 13px; }
.lp-featured__price { min-width: 230px; text-align: center; }
.lp-price { display: flex; align-items: flex-start; justify-content: center; margin: 0 0 20px; color: var(--lp-gold); font-size: 76px; font-weight: 950; line-height: 1; letter-spacing: -.08em; }
.lp-price sup { margin: 8px 0 0 6px; font-size: 25px; letter-spacing: 0; }

.lp-plans { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.lp-plan { position: relative; display: flex; flex-direction: column; min-height: 365px; padding: 30px; border: 1px solid var(--lp-line); border-radius: 18px; background: linear-gradient(150deg,rgba(255,255,255,.055),rgba(255,255,255,.015)); color: #fff; text-align: left; cursor: pointer; transition: transform .2s, border .2s, background .2s; }
.lp-plan:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.25); }
.lp-plan.is-selected { border-color: var(--lp-red); background: linear-gradient(150deg,rgba(223,43,32,.20),rgba(223,43,32,.04)); box-shadow: 0 20px 60px rgba(223,43,32,.10); }
.lp-plan__flag { position: absolute; right: 18px; top: 18px; padding: 6px 9px; border-radius: 999px; background: var(--lp-red); color: #fff; font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.lp-plan__term { color: #fff; font-size: 28px; font-weight: 900; }
.lp-plan__device { margin-top: 3px; color: var(--lp-muted); font-size: 14px; }
.lp-plan ul { list-style: none; margin: 27px 0; padding: 0; display: grid; gap: 12px; color: #d0d0d0; font-size: 14px; }
.lp-plan li { display: flex; gap: 9px; }
.lp-plan li::before { content: "✓"; color: #ff5f55; font-weight: 900; }
.lp-plan__price { margin-top: auto; font-size: 42px; font-weight: 950; letter-spacing: -.05em; }
.lp-plan__selected { float: right; margin-top: 12px; color: #ff6e65; font-size: 12px; font-weight: 900; text-transform: uppercase; opacity: 0; }
.lp-plan.is-selected .lp-plan__selected { opacity: 1; }

.lp-device-box { max-width: 820px; margin: 32px auto 0; padding: 30px; border: 1px solid var(--lp-line); border-radius: 18px; background: #101010; }
.lp-device-box__head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.lp-device-box h3 { margin: 0; font-size: 24px; }
.lp-device-box p { margin: 3px 0 0; color: var(--lp-muted); font-size: 14px; }
.lp-devices { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; width: 100%; }
.lp-device { min-width: 0; min-height: 76px; padding: 12px 8px; border: 1px solid transparent; border-radius: 12px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.72); cursor: pointer; font-weight: 800; overflow: hidden; }
.lp-device strong, .lp-device span { display: block; }
.lp-device strong { margin-bottom: 3px; color: currentColor; font-size: 18px; line-height: 1; }
.lp-device span { max-width: 100%; font-size: 13px; line-height: 1.15; overflow-wrap: anywhere; }
.lp-device.is-selected { border-color: var(--lp-red); background: var(--lp-red); color: #fff; }
.lp-checkout-bar { max-width: 820px; margin: 18px auto 0; }

.lp-trust { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.lp-trust__item { padding: 25px; border-top: 1px solid var(--lp-line); color: #bababa; }
.lp-trust__item strong { display: block; margin-bottom: 4px; color: #fff; font-size: 17px; }
.lp-trust__icon { display: grid; width: 48px; height: 48px; margin-bottom: 18px; place-items: center; border: 1px solid rgba(255,95,85,.18); border-radius: 14px; background: linear-gradient(145deg,rgba(223,43,32,.20),rgba(223,43,32,.08)); color: #ff655c; }
.lp-trust__icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

.lp-footer { padding: 34px 0 45px; border-top: 1px solid var(--lp-line); color: #777; font-size: 13px; }
.lp-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.lp-footer .lp-brand { color: #fff; font-size: 22px; }
.lp-whatsapp { position: fixed; z-index: 40; right: 24px; bottom: 24px; display: grid; width: 62px; height: 62px; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: #25d366; color: #fff; text-decoration: none; box-shadow: 0 14px 35px rgba(0,0,0,.42); transition: transform .2s; }
.lp-whatsapp svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.lp-whatsapp:hover { transform: scale(1.07); }

@media (max-width: 900px) {
  .lp-hero { min-height: 800px; }
  .lp-hero::after { right: -420px; opacity: .6; }
  .lp-hero__glow { right: -140px; opacity: .35; }
  .lp-trial-card { grid-template-columns: 1fr; }
  .lp-trial-card__pitch, .lp-trial-card__form { padding: 38px; }
  .lp-featured { grid-template-columns: 1fr; }
  .lp-featured__price { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 22px; text-align: left; }
  .lp-price { margin: 0; }
  .lp-plans { grid-template-columns: 1fr; }
  .lp-plan { min-height: 280px; }
  .lp-trust { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  body.admin-bar .lp-header { top: 46px; }
  .lp-container { width: min(calc(100% - 28px), var(--lp-container)); }
  .lp-header { padding: 18px 0; }
  .lp-brand { font-size: 24px; }
  .lp-header .lp-button { min-height: 43px; padding: 9px 14px; font-size: 13px; }
  .lp-hero { min-height: 740px; padding-top: 125px; text-align: center; }
  .lp-hero__content { margin: 0 auto; }
  .lp-eyebrow { justify-content: center; }
  .lp-hero h1 { font-size: 43px; }
  .lp-hero__copy { font-size: 16px; }
  .lp-hero__actions { justify-content: center; }
  .lp-proof { width: 100%; justify-content: center; }
  .lp-section { padding: 70px 0; }
  .lp-section--tight { padding-top: 25px; }
  .lp-trial-card { margin-top: -70px; }
  .lp-trial-card__pitch, .lp-trial-card__form { padding: 27px 22px; }
  .lp-trial-card__pitch h2, .lp-trial-card__form h2 { font-size: 30px; }
  .lp-form-row { grid-template-columns: 1fr; }
  .lp-phone-group { grid-template-columns: minmax(132px,.46fr) minmax(0,1fr); }
  .lp-country-display { gap: 8px; padding-left: 10px; }
  .lp-country-display img { width: 26px; height: 18px; }
  .lp-country-display strong { font-size: 14px; }
  .lp-featured { padding: 28px 22px; }
  .lp-featured__price { grid-template-columns: 1fr; text-align: center; }
  .lp-price { font-size: 65px; }
  .lp-plan { padding: 24px; }
  .lp-device-box { padding: 22px; }
  .lp-device-box__head { display: block; }
  .lp-devices { gap: 8px; }
  .lp-device-box { overflow: hidden; }
  .lp-devices { gap: 7px; }
  .lp-device { min-height: 72px; padding: 11px 4px; }
  .lp-device span { font-size: 11px; }
  .lp-trust { grid-template-columns: 1fr; }
  .lp-footer__inner { flex-direction: column; text-align: center; }
  .lp-whatsapp { width: 55px; height: 55px; right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
