/* ==========================================================================
   Pandio — apex landing page
   Palette and type lifted from Pandio-Deck-Poppins.pptx so the site and the
   deck are visibly the same product. Hex values are the ones actually used in
   the slides, not approximations.
   ========================================================================== */

:root {
  /* surfaces — darkest at the page, lifting as elements come forward */
  --bg:          #0D1321;
  --bg-alt:      #0B1B2C;
  --panel:       #0E1E30;
  --panel-2:     #13233B;
  --line:        #24405E;

  /* type */
  --text:        #DCE4EB;
  --text-strong: #FFFFFF;
  --muted:       #A5AEB8;
  --dim:         #5E7488;
  --label:       #89A0B4;

  /* signal */
  --green:       #22C55E;
  --green-dark:  #16A34A;
  --amber:       #F59E0B;

  --radius:      14px;
  --radius-lg:   20px;
  --wrap:        1140px;

  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); }

h1, h2, h3 { color: var(--text-strong); line-height: 1.18; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5vw, 3.05rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.3rem); letter-spacing: -.015em; }
h3 { font-size: 1.08rem; font-weight: 600; }
p  { margin: 0 0 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

.accent { color: var(--green); }

.skip {
  position: absolute; left: -9999px;
  background: var(--green); color: #06210F;
  padding: 10px 16px; border-radius: 8px; font-weight: 600; z-index: 100;
}
.skip:focus { left: 16px; top: 16px; }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

/* ── shared bits ─────────────────────────────────────────────────────────── */

.eyebrow {
  color: var(--green);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 .85rem;
}

.section { padding: clamp(64px, 9vw, 108px) 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid rgba(36, 64, 94, .5); }
.section__lede { color: var(--muted); max-width: 62ch; margin-bottom: 2.6rem; font-size: 1.03rem; }

.microcopy { color: var(--dim); font-size: .88rem; margin: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  background: var(--green); color: #06210F;
  font-weight: 600; font-size: .96rem;
  padding: .8rem 1.5rem;
  border: 1px solid var(--green);
  border-radius: 10px;
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); color: #06210F; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--text-strong); border-color: var(--line); }
.btn--ghost:hover { background: rgba(34, 197, 94, .08); border-color: var(--green); color: var(--text-strong); }
.btn--sm  { padding: .55rem 1.05rem; font-size: .88rem; }
.btn--lg  { padding: .95rem 2rem; font-size: 1.04rem; }
.btn--full { width: 100%; }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.card h3 { margin-bottom: .45rem; }
.card p  { color: var(--muted); font-size: .95rem; margin: 0; }

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card--row { display: flex; gap: 18px; align-items: flex-start; }

.icon {
  flex: none;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: rgba(34, 197, 94, .1);
  border: 1px solid rgba(34, 197, 94, .28);
  color: var(--green);
  margin-bottom: 1rem;
}
.card--row .icon { margin-bottom: 0; }
.icon svg { width: 21px; height: 21px; }

/* ── nav ─────────────────────────────────────────────────────────────────── */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 19, 33, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav.is-stuck { border-bottom-color: var(--line); background: rgba(13, 19, 33, .95); }

.nav__inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text-strong); }
.brand:hover { color: var(--text-strong); }
.brand__word { font-weight: 700; font-size: 1.32rem; letter-spacing: -.02em; }

.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { color: var(--text); font-size: .93rem; font-weight: 500; }
.nav__links a:hover { color: var(--green); }
.nav__links .btn:hover { color: #06210F; }

.nav__toggle {
  display: none;
  background: none; border: 1px solid var(--line); border-radius: 9px;
  width: 42px; height: 38px; padding: 0; cursor: pointer;
}
.nav__toggle span { display: block; width: 18px; height: 2px; margin: 3px auto; background: var(--text); border-radius: 2px; }

/* ── hero ────────────────────────────────────────────────────────────────── */

.hero {
  padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 110px);
  /* the green glow behind the deck's cover slide */
  background:
    radial-gradient(760px 420px at 78% 8%,  rgba(34, 197, 94, .13), transparent 62%),
    radial-gradient(640px 400px at 6%  92%, rgba(96, 165, 250, .07), transparent 60%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}

.hero h1 { margin-bottom: 1.1rem; }

.lede { color: #C4D0DA; font-size: clamp(1.02rem, 1.6vw, 1.15rem); max-width: 52ch; margin-bottom: 1.9rem; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 1.4rem; }

/* status card — the panel from slide 1 */
.status { background: var(--panel-2); border-radius: var(--radius-lg); padding: 24px 26px; box-shadow: 0 24px 60px rgba(0, 0, 0, .38); }

.status__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.status__label { color: var(--label); font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }

.pulse { display: inline-flex; align-items: center; gap: 7px; color: var(--green); font-size: .78rem; font-weight: 600; }
.pulse i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: blip 2s ease-in-out infinite; }
@keyframes blip {
  0%, 100% { opacity: 1;  box-shadow: 0 0 0 0 rgba(34, 197, 94, .5); }
  50%      { opacity: .55; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.status__list { list-style: none; margin: 0; padding: 0; }
.status__list li {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid rgba(36, 64, 94, .55);
  font-size: .95rem;
}
.status__list li:last-child { border-bottom: 0; }
.status__list b { font-size: .88rem; font-weight: 600; }
.ok   { color: var(--green); }
.warn { color: var(--amber); }

.status__foot { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--dim); font-size: .8rem; }

/* ── steps ───────────────────────────────────────────────────────────────── */

.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  counter-reset: step;
}
.steps li {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.steps__n {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 9px;
  background: rgba(34, 197, 94, .1);
  border: 1px solid rgba(34, 197, 94, .3);
  color: var(--green);
  font-weight: 700; font-size: .95rem;
  margin-bottom: 1rem;
}
.steps h3 { margin-bottom: .4rem; }
.steps p  { color: var(--muted); font-size: .93rem; margin: 0; }

/* ── pricing ─────────────────────────────────────────────────────────────── */

.tiers { align-items: stretch; }

.tier { display: flex; flex-direction: column; padding: 30px 26px; }
.tier__name  { font-size: 1.2rem; margin-bottom: .15rem; }
.tier__for   { color: var(--dim); font-size: .87rem; margin-bottom: 1.1rem; }
.tier__price { color: var(--text-strong); font-size: 2.6rem; font-weight: 700; letter-spacing: -.03em; margin: 0 0 1.4rem; line-height: 1; }
.tier__price span { color: var(--dim); font-size: .95rem; font-weight: 500; letter-spacing: 0; }

.tier--pop {
  position: relative;
  border-color: var(--green);
  background: linear-gradient(180deg, rgba(34, 197, 94, .07), transparent 42%), var(--panel);
}
.tier__badge {
  position: absolute; top: -12px; left: 26px;
  background: var(--green); color: #06210F;
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem .7rem; border-radius: 999px;
}

.ticks { list-style: none; margin: 0 0 1.8rem; padding: 0; flex: 1; }
.ticks li {
  position: relative;
  padding: .42rem 0 .42rem 1.75rem;
  color: var(--muted);
  font-size: .93rem;
}
.ticks li::before {
  content: "";
  position: absolute; left: 0; top: .82rem;
  width: 11px; height: 6px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

/* ── cta band ────────────────────────────────────────────────────────────── */

.cta {
  padding: clamp(64px, 9vw, 104px) 0;
  background:
    radial-gradient(620px 300px at 50% 0%, rgba(34, 197, 94, .14), transparent 68%),
    var(--bg-alt);
  border-top: 1px solid var(--line);
  text-align: center;
}
.cta__inner { max-width: 640px; }
.cta p { color: var(--muted); margin-bottom: 1.9rem; }
.cta .microcopy { margin-top: 1.1rem; }

/* ── footer ──────────────────────────────────────────────────────────────── */

.foot { background: #061524; border-top: 1px solid var(--line); padding-top: 46px; }
.foot__inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 34px; }
.foot__tag { color: var(--dim); font-size: .89rem; margin: .7rem 0 0; max-width: 34ch; }
.foot__links { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.foot__links a { color: var(--muted); font-size: .91rem; }
.foot__links a:hover { color: var(--green); }
.foot__legal { border-top: 1px solid rgba(36, 64, 94, .55); padding-block: 20px; }
.foot__legal p { color: var(--dim); font-size: .83rem; margin: 0; }

/* ── reveal on scroll ────────────────────────────────────────────────────── */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ── responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .status { max-width: 460px; }
  .steps  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .nav__toggle { display: block; }
  .nav__links {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--bg-alt);
    border-block: 1px solid var(--line);
    padding: 14px 24px 20px;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 10px 0; }
  .nav__links .btn { margin-top: 8px; justify-content: center; }
  .nav__inner { position: relative; }
}

@media (max-width: 760px) {
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .steps { grid-template-columns: 1fr; }
  .cta-row .btn { flex: 1 1 100%; }
  .foot__inner { flex-direction: column; gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
