/* PacketFive brand palette */
:root {
  --pf-violet:   #5a67d8;
  --pf-indigo:   #434190;
  --pf-periwinkle: #ebf4ff;
  --pf-dark:     #ffffff;
  --pf-surface:  #f8fafc;
  --pf-text:     #1e293b;
  --pf-muted:    #64748b;
  --pf-border:   #e2e8f0;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--pf-dark);
  color: var(--pf-text);
  line-height: 1.6;
  min-height: 100vh;
}

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p  { color: var(--pf-muted); line-height: 1.7; }
a  { color: var(--pf-violet); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout helpers ─────────────────────────────────────── */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section--alt { background: var(--pf-surface); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: .65rem 1.5rem;
  border-radius: 6px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(120,127,246,.35); text-decoration: none; }
.btn-primary  { background: var(--pf-violet); color: #fff; }
.btn-outline  { background: transparent; color: var(--pf-violet); border-color: var(--pf-violet); }
.btn-indigo   { background: var(--pf-indigo); color: #fff; }

/* ── Navigation ─────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--pf-border);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav__brand {
  display: flex;
  align-items: center;
  line-height: 1;
}
.nav__brand img { display: block; }
.nav__links { display: flex; gap: 2rem; align-items: center; list-style: none; }
.nav__links a { color: var(--pf-muted); font-size: .93rem; }
.nav__links a:hover { color: var(--pf-text); text-decoration: none; }
.nav__links .active { color: var(--pf-violet) !important; }
.nav__cta { margin-left: 1rem; }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  padding: 7rem 0 6rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 60%, #f8fafc 100%);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 65% 40%, rgba(90,103,216,.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero__eyebrow {
  display: inline-block;
  padding: .3rem .8rem;
  border-radius: 999px;
  background: rgba(90,103,216,.1);
  color: var(--pf-violet);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero__headline { margin-bottom: 1.25rem; }
.hero__headline em { font-style: normal; color: var(--pf-violet); }
.hero__sub { font-size: 1.15rem; max-width: 560px; margin-bottom: 2.5rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__badge {
  position: absolute; top: 2.5rem; right: 0;
  background: rgba(255,255,255,.9); border: 1px solid var(--pf-border);
  border-radius: 10px; padding: 1.25rem 1.5rem;
  text-align: center; font-size: .8rem; color: var(--pf-muted);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
  display: none;
}
@media (min-width: 900px) { .hero__badge { display: block; } }
.hero__badge strong { display: block; font-size: 1.4rem; color: var(--pf-violet); font-weight: 800; margin-bottom: .2rem; }

/* ── Cards ───────────────────────────────────────────────── */
.card {
  background: var(--pf-surface);
  border: 1px solid var(--pf-border);
  border-radius: 12px;
  padding: 1.75rem;
}
.card__icon { font-size: 2rem; margin-bottom: .75rem; }
.card h3    { margin-bottom: .5rem; }
.card p     { font-size: .9rem; }

/* ── Tags / badges ──────────────────────────────────────── */
.tag {
  display: inline-block;
  padding: .2rem .65rem;
  border-radius: 4px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  background: rgba(90,103,216,.1);
  color: var(--pf-violet);
  margin-right: .35rem;
  margin-bottom: .35rem;
}

/* ── Product highlight ──────────────────────────────────── */
.product-hero {
  background: linear-gradient(135deg, var(--pf-surface) 0%, #e2e8f0 100%);
  border: 1px solid var(--pf-border);
  border-radius: 16px;
  padding: 2.5rem;
}
.product-hero__name {
  font-size: 2rem; font-weight: 900; color: var(--pf-violet); letter-spacing: .08em;
}
.product-hero__sub {
  font-size: .85rem; color: var(--pf-muted); text-transform: uppercase; letter-spacing: .12em;
  margin-top: .2rem;
}

/* ── Stat bar ───────────────────────────────────────────── */
.stat-row { display: flex; gap: 2.5rem; flex-wrap: wrap; padding: 2rem 0; }
.stat { text-align: center; }
.stat__val { font-size: 2.5rem; font-weight: 900; color: var(--pf-violet); }
.stat__lbl { font-size: .8rem; color: var(--pf-muted); text-transform: uppercase; letter-spacing: .08em; }

/* ── Section heading ────────────────────────────────────── */
.section-heading { margin-bottom: 3rem; text-align: center; }
.section-heading p { max-width: 580px; margin: .75rem auto 0; }

/* ── Feature list ───────────────────────────────────────── */
.feature-list { list-style: none; }
.feature-list li { padding: .5rem 0; color: var(--pf-muted); font-size: .95rem; }
.feature-list li::before { content: "✦ "; color: var(--pf-violet); }

/* ── Contact form ───────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .4rem; color: var(--pf-muted); }
.form-group input, .form-group textarea {
  width: 100%; padding: .7rem 1rem;
  background: var(--pf-surface);
  border: 1px solid var(--pf-border);
  border-radius: 6px;
  color: var(--pf-text); font-size: .95rem;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--pf-violet);
}
.form-group textarea { min-height: 130px; resize: vertical; }

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--pf-surface);
  border-top: 1px solid var(--pf-border);
  padding: 3rem 0 2rem;
  font-size: .85rem;
  color: var(--pf-muted);
}
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer__brand h3  { font-size: 1.25rem; color: var(--pf-violet); margin-bottom: .5rem; }
.footer__col h4    { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; color: var(--pf-text); }
.footer__col ul    { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.footer__col ul a  { color: var(--pf-muted); }
.footer__col ul a:hover { color: var(--pf-violet); text-decoration: none; }
.footer__bottom { border-top: 1px solid var(--pf-border); padding-top: 1.25rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.social-links { display: flex; gap: 1rem; }
.social-links a { color: var(--pf-muted); }
.social-links a:hover { color: var(--pf-violet); }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .footer__grid    { grid-template-columns: 1fr; }
  .nav__links      { display: none; }
}
