/* asp-software.ca: the colours and look of the ASP pricing video. */
:root {
  --cyan: #40c4ff;
  --teal: #2fd3c0;
  --violet: #8b7bff;
  --ink: #eaf6fc;
  --muted: #8fa9b8;
  --line: rgb(120 190 230 / .14);
  --card: linear-gradient(160deg, #15303f, #0a1822);
  --bg: #03090f;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(ellipse 90% 60% at 50% 0%, #0e2a3b 0%, #071521 55%, var(--bg) 100%) no-repeat, var(--bg);
  color: var(--ink);
  font: 17px/1.6 "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}

a { color: var(--cyan); }

main { flex: 1; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgb(3 9 15 / .78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand img { display: block; height: 38px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
.site-nav a { color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: 15px; }
.site-nav a:hover { background: rgb(64 196 255 / .1); }
.site-nav a[aria-current="page"] { color: var(--cyan); }
.site-nav .sign-in { border: 1px solid rgb(64 196 255 / .45); }

/* ---------------------------------------------------------------- shared */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 12px; border: 0;
  background: linear-gradient(90deg, var(--cyan), var(--teal));
  color: #041019; font-weight: 800; font-size: 16px; text-decoration: none; cursor: pointer;
}
.button.ghost { background: transparent; color: var(--ink); border: 1px solid rgb(64 196 255 / .45); }
.button[aria-disabled="true"] { opacity: .55; cursor: default; pointer-events: none; }

.eyebrow { margin: 0 0 10px; color: var(--teal); font-size: 13px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; }
.gradient-text { background: linear-gradient(90deg, var(--cyan), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }

section { padding: 72px 0; }
section + section { border-top: 1px solid var(--line); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.4px; }
h2 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 14px; }
.section-intro { max-width: 680px; margin: 0 0 36px; color: var(--muted); font-size: 18px; }

/* ---------------------------------------------------------------- hero */
.hero { padding: 80px 0 56px; text-align: center; }
.hero h1 { margin: 0 auto 18px; max-width: 860px; font-size: clamp(36px, 6vw, 64px); }
.hero p { margin: 0 auto 30px; max-width: 680px; color: var(--muted); font-size: 19px; }
.hero .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.video-frame {
  margin: 48px auto 0; max-width: 960px; aspect-ratio: 16 / 9;
  border-radius: 20px; overflow: hidden; border: 1px solid var(--line);
  background: var(--card); box-shadow: 0 30px 80px rgb(0 0 0 / .5), 0 0 60px rgb(64 196 255 / .15);
  display: grid; place-items: center;
}
.video-frame video { width: 100%; height: 100%; display: block; background: #000; }

/* ---------------------------------------------------------------- feature grid */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.card {
  padding: 24px; border-radius: 18px; border: 1px solid var(--line); background: var(--card);
}
.card h3 { margin: 0 0 8px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card .tag { display: inline-block; margin-left: 6px; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 900; letter-spacing: 1.5px; vertical-align: middle;
  background: linear-gradient(90deg, var(--cyan), var(--violet)); color: #041019; }

/* ---------------------------------------------------------------- steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 24px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--teal)); color: #041019; font-weight: 900; font-size: 20px;
}
.steps h3 { margin: 4px 0 6px; font-size: 21px; }
.steps p { margin: 0; color: var(--muted); }

/* ---------------------------------------------------------------- pricing */
.plans { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: 22px; border: 1px solid var(--line); background: var(--card); }
.plan.plus {
  border: 1.5px solid transparent;
  background: var(--card) padding-box, linear-gradient(135deg, var(--cyan), var(--violet), var(--teal)) border-box;
  box-shadow: 0 0 34px rgb(64 196 255 / .2), 0 0 60px rgb(139 123 255 / .12);
}
.plan .badge { position: absolute; top: 24px; right: 24px; padding: 5px 14px; border-radius: 999px; background: linear-gradient(90deg, var(--cyan), var(--violet)); color: #041019; font-size: 12px; font-weight: 900; letter-spacing: 3px; }
.plan h2 { margin: 0; font-size: 30px; }
.plan .price { margin: 14px 0 4px; font-size: 52px; font-weight: 800; letter-spacing: -1px; }
.plan .price small { font-size: 18px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan .note { margin: 0 0 22px; color: var(--muted); font-size: 15px; }
.plan ul { margin: 0 0 28px; padding: 18px 0 0; border-top: 1px solid var(--line); list-style: none; display: grid; gap: 11px; flex: 1; }
.plan li { display: flex; gap: 12px; align-items: flex-start; }
.plan li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2304131c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.plan.plus li::before { background-color: transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2304131c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"), linear-gradient(135deg, var(--cyan), var(--violet)); background-size: 16px, cover; }
.plan .button { width: 100%; }
.fine-print { margin-top: 28px; text-align: center; color: var(--muted); font-size: 15px; }

/* ---------------------------------------------------------------- sign in */
.panel { max-width: 520px; margin: 0 auto; padding: 36px; border-radius: 22px; border: 1px solid var(--line); background: var(--card); text-align: center; }
.panel h1 { margin: 0 0 10px; font-size: 32px; }
.panel p { color: var(--muted); }
.panel .button { margin-top: 10px; }

/* ---------------------------------------------------------------- CTA + footer */
.cta { text-align: center; }
.cta p { margin: 0 auto 26px; max-width: 600px; color: var(--muted); font-size: 18px; }

.site-footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; gap: 16px; justify-content: space-between; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

@media (max-width: 640px) {
  .site-header .wrap { flex-wrap: wrap; gap: 8px; padding: 10px 0; }
  .brand img { height: 30px; }
  .site-nav { margin-left: 0; width: 100%; justify-content: space-between; }
  .site-nav a { padding: 6px 8px; font-size: 14px; }
  section { padding: 52px 0; }
  .hero { padding: 52px 0 40px; }
  .steps li { grid-template-columns: 1fr; }
  .plan { padding: 26px 22px; }
  .plan .badge { top: 18px; right: 18px; }
}
.panel .later { margin-top: 22px; font-size: 15px; }
.video-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
