/* ═══ RIZZL UPGRADE/PRICING/FAQ — Brand-consistent ═══ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

:root {
  --bg: #0A0A0A;
  --bg2: #0F0F0F;
  --card: #141414;
  --card2: #1A1A1A;
  --line: rgba(255, 255, 255, .06);
  --line2: rgba(255, 255, 255, .10);
  --ink: #E8E8E8;
  --ink2: rgba(255, 255, 255, .55);
  --ink3: rgba(255, 255, 255, .28);
  --accent: #4B6BFB;
  --accent2: #3451DB;
  --green: #22C55E;
  --yellow: #F59E0B;
  --red: #EF4444;
  --display: 'Bricolage Grotesque', sans-serif;
  --body: 'Manrope', sans-serif;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden
}

::selection {
  background: var(--accent);
  color: #fff
}

a {
  color: inherit;
  text-decoration: none
}

/* ═══ NAV ═══ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 40px);
  height: 64px;
  background: rgba(10, 10, 10, .72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line)
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px
}

.brand span {
  font-family: var(--display);
  font-weight: 800;
  font-size: 19px;
  color: #fff;
  letter-spacing: -.03em
}

.nav-mid {
  display: flex;
  gap: 32px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink2)
}

.nav-mid a {
  transition: color .15s
}

.nav-mid a:hover {
  color: #fff
}

.nav-end {
  display: flex;
  gap: 8px;
  align-items: center
}

.btn-g {
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink2);
  border: 1px solid var(--line2);
  border-radius: 9px;
  transition: all .15s
}

.btn-g:hover {
  border-color: var(--ink2);
  color: #fff
}

.btn-a {
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  border-radius: 9px;
  transition: all .2s
}

.btn-a:hover {
  background: var(--accent2)
}

@media(max-width:800px) {
  nav {
    height: 56px;
    padding: 0 16px
  }

  .nav-mid {
    display: none
  }
}

/* ═══ PAGE HEADER ═══ */
.page-hd {
  padding: 140px clamp(20px, 4vw, 48px) 64px;
  text-align: center;
  position: relative;
  overflow: hidden
}

.page-hd::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(500px at 30% 40%, rgba(75, 107, 251, .1), transparent 60%);
  pointer-events: none
}

.page-hd>* {
  position: relative;
  z-index: 2
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  border: 1px solid var(--line2);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink2);
  letter-spacing: .05em;
  margin-bottom: 24px
}

h1.pg-title {
  font-family: var(--display);
  font-size: clamp(32px, 6vw, 72px);
  font-weight: 800;
  line-height: .96;
  letter-spacing: -.04em;
  margin-bottom: 18px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto
}

h1.pg-title em {
  font-style: normal;
  color: var(--accent)
}

.pg-lead {
  font-size: 17px;
  color: var(--ink2);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.55
}

@media(max-width:800px) {
  .page-hd {
    padding: 110px 20px 48px
  }
}

/* Billing toggle */
.billing {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  background: var(--card);
  border: 1px solid var(--line2);
  border-radius: 10px;
  margin: 28px 0 48px
}

.billing button {
  padding: 8px 18px;
  background: none;
  border: none;
  color: var(--ink2);
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: all .2s
}

.billing button.active {
  background: #fff;
  color: #000
}

.billing .save {
  background: var(--green);
  color: #000;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 3px;
  margin-left: 5px
}

/* ═══ PLANS ═══ */
.plans-sec {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px) 80px
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px
}

@media(max-width:1050px) {
  .plans-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:600px) {
  .plans-grid {
    grid-template-columns: 1fr
  }
}

.plan {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all .3s cubic-bezier(.2, .8, .2, 1)
}

.plan:hover {
  border-color: var(--line2);
  transform: translateY(-3px)
}

.plan.pop {
  border: 1px solid var(--accent);
  background: linear-gradient(180deg, rgba(75, 107, 251, .05), var(--card))
}

.plan.pop::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 4px 12px;
  border-radius: 100px
}

.pl-name {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 5px;
  letter-spacing: -.02em
}

.pl-name em {
  color: var(--accent)
}

.pl-tag {
  font-size: 12.5px;
  color: var(--ink3);
  margin-bottom: 24px;
  min-height: 36px;
  line-height: 1.5
}

.pl-price {
  font-family: var(--display);
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
  margin-bottom: 3px
}

.pl-price span {
  font-size: 15px;
  color: var(--ink3);
  font-weight: 500
}

.pl-bill {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink3);
  letter-spacing: .04em;
  margin-bottom: 24px
}

.pl-cta {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  font-family: var(--body);
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 24px;
  transition: all .2s;
  cursor: pointer;
  border: 1px solid var(--line2);
  color: var(--ink);
  background: transparent
}

.pl-cta:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #000
}

.plan.pop .pl-cta {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent)
}

.plan.pop .pl-cta:hover {
  background: var(--accent2);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(75, 107, 251, .35)
}

.pl-feats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  border-top: 1px solid var(--line);
  padding-top: 20px
}

.pl-feats li {
  font-size: 12.5px;
  color: var(--ink2);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5
}

.pl-feats li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 12px;
  margin-top: 1px
}

/* ═══ FAQ ═══ */
.faq-sec {
  max-width: 720px;
  margin: 0 auto;
  padding: 72px clamp(20px, 4vw, 48px) 80px;
  border-top: 1px solid var(--line)
}

.faq-sec h2 {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 32px;
  text-align: center
}

.faq-sec h2 em {
  font-style: normal;
  color: var(--accent)
}

.fq {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  cursor: pointer;
  transition: all .15s
}

.fq:hover .fq-q {
  color: #fff
}

.fq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink2);
  transition: color .15s
}

.fq-q::after {
  content: '+';
  font-size: 20px;
  color: var(--ink3);
  font-weight: 300
}

.fq.open .fq-q {
  color: var(--accent)
}

.fq.open .fq-q::after {
  content: '−'
}

.fq-a {
  display: none;
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--ink2);
  line-height: 1.7
}

.fq.open .fq-a {
  display: block
}

/* ═══ CTA ═══ */
.cta-fin {
  position: relative;
  padding: 100px clamp(20px, 4vw, 48px);
  text-align: center;
  border-top: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg2)
}

.cta-fin::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(400px at 50% 0%, rgba(75, 107, 251, .1), transparent 60%)
}

.cta-fin>* {
  position: relative;
  z-index: 2
}

.cta-fin h2 {
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
  margin-bottom: 14px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto
}

.cta-fin h2 em {
  font-style: normal;
  color: var(--accent)
}

.cta-fin p {
  font-size: 16px;
  color: var(--ink2);
  margin-bottom: 28px
}

.btn-p {
  padding: 14px 26px;
  background: #fff;
  color: #000;
  font-weight: 700;
  font-size: 14.5px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all .2s cubic-bezier(.2, .8, .2, 1);
  font-family: var(--body)
}

.btn-p:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(75, 107, 251, .4)
}

.btn-p svg {
  transition: transform .2s
}

.btn-p:hover svg {
  transform: translateX(4px)
}

.btn-s {
  padding: 14px 22px;
  border: 1px solid var(--line2);
  color: var(--ink);
  font-weight: 500;
  font-size: 14.5px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .15s
}

.btn-s:hover {
  border-color: rgba(255, 255, 255, .2)
}

.cta-btns {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap
}

/* ═══ FOOTER ═══ */
footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 56px clamp(20px, 4vw, 48px) 28px
}

.ft-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px
}

@media(max-width:800px) {
  .ft-inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px
  }
}

.ft-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px
}

.ft-brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px
}

.ft-brand span {
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  color: #fff
}

.ft-tag {
  color: var(--ink3);
  font-size: 13px;
  max-width: 260px;
  line-height: 1.5
}

.ft-col h5 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink3);
  margin-bottom: 14px
}

.ft-col a {
  display: block;
  color: var(--ink2);
  font-size: 13.5px;
  padding: 3px 0;
  transition: color .15s
}

.ft-col a:hover {
  color: var(--accent)
}

.ft-bottom {
  max-width: 1200px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--ink3)
}

@media(max-width:600px) {
  .ft-bottom {
    flex-direction: column;
    gap: 10px
  }
}

/* ═══ REVEAL ═══ */
.rv {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1)
}

.rv.vis {
  opacity: 1;
  transform: translateY(0)
}

.rv[data-d="1"] {
  transition-delay: .08s
}

.rv[data-d="2"] {
  transition-delay: .16s
}

.rv[data-d="3"] {
  transition-delay: .24s
}
