/* UP4IT public website design system */
:root {
  --navy: #0d1330;
  --navy-2: #151d42;
  --purple: #6c4ef7;
  --purple-2: #8b6ffb;
  --teal: #2dd4bf;
  --teal-dark: #0ea5a0;
  --ink: #1c2038;
  --muted: #5b6178;
  --line: #e7e8f0;
  --bg: #ffffff;
  --bg-soft: #f7f7fb;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(13, 19, 48, 0.08);
  --shadow-lg: 0 24px 60px rgba(13, 19, 48, 0.16);
  --maxw: 1120px;
  --grad: linear-gradient(120deg, var(--purple) 0%, #5d7bf7 55%, var(--teal) 120%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--purple); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
  border-radius: 4px;
}
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; color: var(--navy); }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(56px, 9vw, 104px) 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--navy); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255, 255, 255, 0.78); }
.center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 12px;
}
.section-dark .eyebrow { color: var(--teal); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 24px rgba(108, 78, 247, 0.35); }
.btn-primary:hover { box-shadow: 0 12px 30px rgba(108, 78, 247, 0.45); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-ghost:hover { border-color: var(--purple); color: var(--purple); }
.btn-light { background: #fff; color: var(--navy); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; color: var(--navy); text-decoration: none; letter-spacing: -0.02em; }
.nav-logo:hover { text-decoration: none; }
.nav-logo .logo-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--grad);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem; font-weight: 800;
}
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: var(--purple); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--purple); }
.nav-cta { margin-left: 6px; padding: 10px 22px; font-size: 0.95rem; }
.nav-toggle { display: none; }
.nav-toggle-label { display: none; cursor: pointer; padding: 8px; }
.nav-toggle-label span { display: block; width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px; margin: 5px 0; transition: transform 0.2s ease, opacity 0.2s ease; }
@media (max-width: 900px) {
  .nav-toggle-label { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px 24px;
    gap: 18px;
    box-shadow: var(--shadow);
  }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

/* Hero */
.hero {
  position: relative;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(45, 212, 191, 0.14), transparent 60%),
    radial-gradient(900px 500px at 10% 0%, rgba(108, 78, 247, 0.12), transparent 55%),
    var(--bg);
  padding: clamp(56px, 8vw, 96px) 0 0;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-bottom: clamp(56px, 8vw, 96px); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-media { position: relative; }
.hero-media img { border-radius: 24px; box-shadow: var(--shadow-lg); aspect-ratio: 16/11; object-fit: cover; width: 100%; }
.hero-media::after {
  content: "";
  position: absolute; inset: -14px;
  border-radius: 32px;
  background: var(--grad);
  opacity: 0.14;
  z-index: -1;
}

/* Cards & grids */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 4px 14px rgba(13, 19, 48, 0.04);
}
.card-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(108, 78, 247, 0.12), rgba(45, 212, 191, 0.16));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.media-card { overflow: hidden; padding: 0; }
.media-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.media-card .media-body { padding: 22px 24px 26px; }

/* Category tiles */
.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.tile {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1/1;
  display: block;
  background: var(--navy-2);
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.tile:hover img { transform: scale(1.05); }
.tile .tile-label {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 14px 12px;
  background: linear-gradient(transparent, rgba(13, 19, 48, 0.82));
  color: #fff; font-weight: 700; font-size: 0.95rem;
}
.tile-more {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(108, 78, 247, 0.1), rgba(45, 212, 191, 0.12));
  border: 1.5px dashed rgba(108, 78, 247, 0.4);
  color: var(--purple); font-weight: 700;
}
.tile-more:hover { text-decoration: none; border-color: var(--purple); }

/* Steps */
.step-num {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--grad); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem;
  margin-bottom: 16px;
}

/* Split feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split img { border-radius: 20px; box-shadow: var(--shadow); }

/* Chips / badges */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: 0.88rem; font-weight: 600; color: var(--ink);
}
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Mock UI card (Who's up for it) */
.mock-chat {
  background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg);
  padding: 26px; max-width: 420px; border: 1px solid var(--line);
}
.mock-bubble {
  border-radius: 16px; padding: 14px 18px; font-weight: 600; margin-bottom: 14px; font-size: 1rem;
}
.mock-bubble.me { background: var(--grad); color: #fff; border-bottom-right-radius: 4px; margin-left: 36px; }
.mock-bubble.reply { background: var(--bg-soft); color: var(--navy); border-bottom-left-radius: 4px; margin-right: 36px; }

/* Pricing */
.price-card { position: relative; text-align: left; }
.price-card.featured { border: 2px solid var(--purple); box-shadow: var(--shadow-lg); }
.price-badge {
  position: absolute; top: -14px; left: 24px;
  background: var(--grad); color: #fff;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px;
}
.price { font-size: 2.2rem; font-weight: 800; color: var(--navy); }
.price small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 0 0 8px; }
.check-list li { padding: 8px 0 8px 30px; position: relative; }
.check-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 8px;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(45, 212, 191, 0.18); color: var(--teal-dark);
  font-size: 0.8rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* Legal layout */
.legal-hero { background: var(--navy); padding: clamp(48px, 7vw, 80px) 0; }
.legal-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); }
.legal-hero p { color: rgba(255, 255, 255, 0.72); margin: 0; }
.legal-wrap { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .legal-wrap { grid-template-columns: 1fr; } }
.toc {
  position: sticky; top: 92px;
  background: var(--bg-soft); border-radius: var(--radius); padding: 22px;
  font-size: 0.92rem;
}
.toc strong { display: block; margin-bottom: 10px; color: var(--navy); }
.toc ol { margin: 0; padding-left: 18px; display: grid; gap: 7px; }
.toc a { color: var(--muted); }
.toc a:hover { color: var(--purple); }
@media (max-width: 900px) { .toc { position: static; } }
.legal-body { max-width: 760px; }
.legal-body h2 { font-size: 1.35rem; margin-top: 2.2em; scroll-margin-top: 90px; }
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body p, .legal-body li { color: #383e56; }
.callout {
  background: linear-gradient(135deg, rgba(108, 78, 247, 0.06), rgba(45, 212, 191, 0.08));
  border: 1px solid rgba(108, 78, 247, 0.18);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
}

/* CTA band */
.cta-band {
  background: var(--grad);
  border-radius: 24px;
  padding: clamp(40px, 6vw, 64px);
  text-align: center;
  color: #fff;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.88); }

/* Footer */
.footer { background: var(--navy); color: rgba(255, 255, 255, 0.72); padding: 64px 0 40px; }
.footer a { color: rgba(255, 255, 255, 0.72); }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 0.92rem; }
.footer .tagline { font-size: 1.05rem; font-weight: 600; color: #fff; margin-top: 12px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 24px; font-size: 0.85rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Misc */
.faq-item { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq-item summary { cursor: pointer; font-weight: 700; padding: 16px 0; color: var(--navy); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--purple); font-weight: 400; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--muted); padding-bottom: 16px; margin: 0; }
.stat { font-size: 2rem; font-weight: 800; color: var(--navy); }
.small { font-size: 0.88rem; color: var(--muted); }
