body { overflow-x: clip; }
.premium-page { min-height: 100vh; }
.premium-page .cinematic-header {
  background: linear-gradient(180deg, rgba(5,7,13,.96), rgba(5,7,13,.78) 62%, rgba(5,7,13,.5));
  border-bottom-color: transparent;
  box-shadow: 0 18px 46px rgba(5,7,13,.2);
}
.premium-page .cinematic-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -42px;
  left: 0;
  height: 42px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5,7,13,.48), transparent);
}
.premium-page .cinematic-header.is-scrolled::after { opacity: 0; }
.premium-main { position: relative; isolation: isolate; width: min(1080px, calc(100% - 40px)); margin: 0 auto; padding: clamp(142px, 13vw, 178px) 0 90px; }
.premium-main::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 72px;
  left: 50%;
  width: min(1120px, 112vw);
  height: 520px;
  transform: translateX(-50%);
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 28%, rgba(99,102,241,.2), rgba(34,211,238,.055) 42%, transparent 72%);
  filter: blur(16px);
}
.premium-hero { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.premium-hero h1 { font-size: clamp(38px, 7vw, 66px); line-height: 1.02; letter-spacing: -2px; }
.premium-hero p { color: var(--muted); margin: 18px auto 0; line-height: 1.65; font-size: 17px; }
.premium-eyebrow { margin: 0 0 10px !important; color: var(--cyan) !important; font-size: 11px !important; font-weight: 850; letter-spacing: .15em; line-height: 1.3 !important; text-transform: uppercase; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 25px; }
.trust-row span { padding: 8px 12px; color: #cbd5e1; font-size: 12px; border: 1px solid rgba(148,163,184,.18); border-radius: 999px; background: rgba(15,23,42,.42); }
.trust-row span::before { content: "✓"; margin-right: 7px; color: var(--cyan); font-weight: 900; }
.public-pricing, .premium-benefits, .comparison { margin: 76px auto 0; }
.premium-section-heading { max-width: 720px; margin: 0 auto; text-align: center; }
.premium-section-heading h2, .comparison-head h2 { margin: 0; font-size: clamp(27px, 4vw, 42px); line-height: 1.12; letter-spacing: -.035em; }
.premium-section-heading > p:last-child { margin: 13px 0 0; color: var(--muted); line-height: 1.6; }
.premium-panel { width: 100%; max-width: 980px; margin: 0 auto; padding: 28px; }
.login-card { max-width: 456px; margin-top: 72px; scroll-margin-top: 110px; }
.login-card h2, .offers-head h2 { margin-bottom: 8px; }
.login-card > p, .offers-head p { color: var(--muted); line-height: 1.55; }
.login-card form { margin-top: 18px; }
.login-card .btn { width: 100%; margin-top: 22px; }
.fineprint { font-size: 12px; color: var(--muted); margin-top: 15px; line-height: 1.5; }
.offers-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.account-logout { min-height: 38px; padding: 8px 14px; border: 1px solid rgba(148,163,184,.24); border-radius: 999px; color: #cbd5e1; background: rgba(255,255,255,.045); cursor: pointer; font: inherit; font-size: 12px; font-weight: 700; white-space: nowrap; }
.account-logout:hover { color: #fff; border-color: rgba(34,211,238,.45); background: rgba(34,211,238,.08); }
.account-overview { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.account-card { min-width: 0; padding: 20px; border: 1px solid rgba(148,163,184,.16); border-radius: 16px; background: rgba(15,23,42,.38); }
.account-card > span { display: block; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.account-card strong { display: block; margin-top: 9px; color: #f8fafc; font-size: 16px; overflow-wrap: anywhere; }
.account-plan-card strong[data-active="true"] { color: #a5f3fc; }
.account-card small { display: block; min-height: 18px; margin-top: 7px; color: var(--muted); line-height: 1.45; }
.account-notice { margin: 18px 0 0; padding: 13px 15px; border: 1px solid rgba(34,211,238,.25); border-radius: 12px; color: #cffafe; background: rgba(34,211,238,.07); font-size: 13px; line-height: 1.55; }
.account-management { display: flex; justify-content: center; }
.subscription-choices { margin-top: 38px; padding-top: 30px; border-top: 1px solid rgba(148,163,184,.16); }
.account-plans-heading h3 { margin: 0; font-size: clamp(23px, 3vw, 31px); }
.account-plans-heading > p:last-child { margin: 10px 0 0; color: var(--muted); line-height: 1.55; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 26px 22px; text-align: center; }
.plan-kicker { min-height: 14px; margin: 0 0 8px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.plan h3 { margin: 0; font-size: 19px; }
.plan.featured { border-color: rgba(34, 211, 238, .55); box-shadow: 0 18px 50px rgba(34, 211, 238, .08); }
.plan.is-selected { border-color: rgba(34,211,238,.8); box-shadow: 0 0 0 2px rgba(34,211,238,.12), 0 18px 50px rgba(34,211,238,.1); }
.plan.featured::before { content: "Meilleur tarif"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--cyan); color: #071019; padding: 5px 10px; border-radius: 99px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.price { font-size: 34px; font-weight: 850; margin: 18px 0 4px; }
.plan-suffix { min-height: 38px; color: var(--muted); font-size: 13px; }
.saving { min-height: 20px; margin: 4px 0 0; color: #67e8f9; font-size: 12px; font-weight: 750; }
.plan .btn { width: 100%; margin-top: auto; padding-inline: 12px; }
.public-plans .plan { min-height: 315px; }
.pricing-note { margin: 16px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.benefit { padding: 25px; }
.benefit > span { color: var(--cyan); font-size: 11px; font-weight: 850; letter-spacing: .12em; }
.benefit h3 { margin: 16px 0 8px; font-size: 18px; }
.benefit p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.comparison { padding: 34px; }
.comparison-head { max-width: 720px; margin-bottom: 28px; }
.comparison-table { border-top: 1px solid rgba(148,163,184,.16); }
.comparison-row { display: grid; grid-template-columns: minmax(190px, 1.3fr) minmax(130px, .8fr) minmax(190px, 1fr); align-items: center; gap: 20px; padding: 16px 4px; border-bottom: 1px solid rgba(148,163,184,.13); color: var(--muted); font-size: 14px; }
.comparison-row > :first-child { color: #e2e8f0; }
.comparison-row strong { color: #cffafe; font-weight: 750; }
.comparison-labels { padding-top: 11px; padding-bottom: 11px; font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }
.comparison-labels strong { color: var(--muted); }
.social-login { display: grid; gap: 10px; width: 100%; max-width: 400px; margin: 20px auto 0; }
.social-provider-row, #google-signin { width: 100%; height: 40px; min-height: 40px; }
#google-signin { display: flex; overflow: hidden; border-radius: 4px; }
#google-signin > div, #google-signin iframe { width: 100% !important; max-width: none !important; height: 40px !important; margin: 0 !important; }
.social-provider { appearance: none; position: relative; box-sizing: border-box; width: 100%; height: 40px; min-height: 40px; margin: 0; padding: 0 12px; display: flex; align-items: center; justify-content: center; border: 1px solid #747775; border-radius: 4px; cursor: pointer; font-family: Roboto, arial, sans-serif; font-size: 14px; font-weight: 500; line-height: 20px; letter-spacing: .25px; }
.apple-signin { color: #3c4043; background: #fff; }
.apple-signin:hover { background: #f8faff; }
.apple-signin svg { position: absolute; left: 12px; width: 18px; height: 18px; fill: currentColor; }
.social-provider:disabled { opacity: .58; cursor: wait; }
.social-divider { display: flex; align-items: center; gap: 12px; margin: 8px 0 2px; color: var(--muted); font-size: 11px; }
.social-divider::before, .social-divider::after { content: ""; height: 1px; flex: 1; background: rgba(148,163,184,.18); }
.social-divider span { white-space: nowrap; }
.status { min-height: 24px; text-align: center; margin: 24px auto 0; color: var(--muted); line-height: 1.5; }
.status[data-kind="error"] { color: #fca5a5; }
.status[data-kind="success"] { color: #67e8f9; }
.manage { display: block; width: fit-content; max-width: 100%; margin: 22px auto 0; padding: 11px 17px;
  color: #fff; text-align: center; font-weight: 750; border-radius: 999px;
  border: 1px solid rgba(34,211,238,.35); background: rgba(34,211,238,.09);
  transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.manage:hover { color: #fff; background: rgba(34,211,238,.15); border-color: rgba(34,211,238,.62); transform: translateY(-1px); }
.premium-legal { max-width: 840px; margin: 25px auto 0; color: var(--muted); font-size: 12px; line-height: 1.65; text-align: center; }
button:disabled { opacity: .55; cursor: wait; }
[hidden] { display: none !important; }
@media (max-width: 760px) {
  html, body { width: 100%; max-width: 100vw; }
  .premium-page .cinematic-header::after { bottom: -30px; height: 30px; }
  .premium-main { width: auto; max-width: none; margin-inline: 16px; padding-top: calc(126px + env(safe-area-inset-top)); }
  .premium-main::before { top: 62px; width: 130vw; height: 440px; }
  .premium-hero { margin-bottom: 44px; }
  .premium-panel { width: auto; max-width: 100%; margin-inline: 0; padding: 24px 20px; }
  .premium-hero h1 { overflow-wrap: anywhere; }
  .premium-hero h1 .gradient-text { display: block; }
  .plans { grid-template-columns: 1fr; }
  .public-pricing, .premium-benefits, .comparison { margin-top: 56px; }
  .public-plans { gap: 24px; }
  .public-plans .plan { min-height: 0; }
  .benefit-grid { grid-template-columns: 1fr; }
  .comparison { padding: 26px 20px; }
  .comparison-row { grid-template-columns: minmax(110px, 1.15fr) minmax(70px, .7fr) minmax(100px, 1fr); gap: 10px; padding: 14px 0; font-size: 12px; }
  .offers-head { display: block; }
  .account-logout { margin-top: 14px; }
  .account-overview { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .trust-row { display: grid; }
  .comparison { margin-inline: -4px; }
  .comparison-row { grid-template-columns: 1fr 76px 100px; font-size: 11px; }
}
