/* ============ CheckHub Marketing Site ============ */
:root {
  --bg: #0b1020;
  --bg-alt: #11182e;
  --surface: #ffffff;
  --surface-alt: #f5f7fb;
  --ink: #0d1424;
  --ink-soft: #4a5468;
  --ink-mute: #7b8499;
  --brand: #2f6bff;
  --brand-dark: #1f4fd6;
  --brand-soft: #e8efff;
  --accent: #14c8a6;
  --line: #e6e9f2;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 40px rgba(15, 23, 42, .08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, .14);
  --maxw: 1160px;
  --font: 'Segoe UI', system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 13px 26px; border-radius: 999px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  border: 1.5px solid transparent; transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 24px rgba(47,107,255,.32); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,16,32,.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .3s ease;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; }
.brand-mark {
  display: grid; place-items: center; width: 36px; height: 36px;
  border-radius: 9px; background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff; font-size: 15px; font-weight: 800; letter-spacing: .5px;
}
.brand-name { font-size: 19px; letter-spacing: .3px; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { color: rgba(255,255,255,.78); font-size: 15px; font-weight: 500; transition: color .2s; }
.site-nav a:hover { color: #fff; }
.nav-cta {
  padding: 9px 20px; border-radius: 999px;
  background: var(--brand); color: #fff !important;
}
.nav-cta:hover { background: var(--brand-dark); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1000px 500px at 80% -10%, rgba(47,107,255,.35), transparent 60%),
    radial-gradient(800px 400px at 10% 10%, rgba(20,200,166,.20), transparent 55%),
    var(--bg);
  color: #fff; padding: 80px 0 96px; overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .8px;
  text-transform: uppercase; color: var(--accent);
  background: rgba(20,200,166,.12); padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero-text h1 { font-size: 50px; line-height: 1.12; font-weight: 800; letter-spacing: -1px; margin-bottom: 20px; }
.hero-sub { font-size: 18px; color: rgba(255,255,255,.72); max-width: 540px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stats { display: flex; gap: 40px; }
.stat strong { display: block; font-size: 30px; font-weight: 800; background: linear-gradient(135deg,#fff,var(--accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat span { font-size: 13px; color: rgba(255,255,255,.6); }

/* Hero visual — support chat */
.hero-visual { position: relative; min-height: 320px; display: flex; align-items: center; }
.support-illustration {
  width: 100%; max-width: 380px; margin-left: auto;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px; padding: 22px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 12px; backdrop-filter: blur(6px);
}
.chat-bubble {
  max-width: 80%; padding: 11px 15px; border-radius: 16px;
  font-size: 14px; line-height: 1.45; animation: bubbleIn .5s ease both;
}
.bubble-in { align-self: flex-start; background: rgba(255,255,255,.12); color: #fff; border-bottom-left-radius: 5px; }
.bubble-out { align-self: flex-end; background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; border-bottom-right-radius: 5px; }
.support-illustration .chat-bubble:nth-child(2) { animation-delay: .25s; }
.support-illustration .chat-bubble:nth-child(3) { animation-delay: .5s; }
.support-illustration .chat-bubble:nth-child(4) { animation-delay: .75s; }
@keyframes bubbleIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--surface-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.kicker {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--brand); margin-bottom: 14px;
}
.kicker.light { color: var(--accent); }
.section-head h2 { font-size: 36px; line-height: 1.2; font-weight: 800; letter-spacing: -.5px; color: var(--ink); }
.section-intro { margin-top: 16px; font-size: 17px; color: var(--ink-soft); }

/* About */
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.about-lead p { font-size: 17px; color: var(--ink-soft); margin-bottom: 18px; }
.about-points { list-style: none; display: grid; gap: 16px; }
.about-points li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; font-weight: 500; color: var(--ink); }
.about-points .dot { width: 10px; height: 10px; margin-top: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0; box-shadow: 0 0 0 4px rgba(20,200,166,.18); }

/* Cards grid */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: all .25s ease; box-shadow: 0 2px 12px rgba(15,23,42,.04);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature-icon {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  font-size: 24px; color: #fff; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
}
.feature-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 15px; color: var(--ink-soft); }

/* Commitment */
.commit-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.commit-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; border-left: 4px solid var(--accent);
}
.commit-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.commit-card p { font-size: 15px; color: var(--ink-soft); }
.commit-card a { color: var(--brand); font-weight: 600; }

/* Company info */
.company-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px; max-width: 820px; margin: 0 auto; box-shadow: var(--shadow);
}
.company-dl { display: grid; gap: 0; }
.company-dl > div {
  display: grid; grid-template-columns: 220px 1fr; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.company-dl > div:last-child { border-bottom: none; }
.company-dl dt { font-weight: 700; color: var(--ink); font-size: 15px; }
.company-dl dd { color: var(--ink-soft); font-size: 15px; }
.company-note { margin-top: 20px; font-size: 14px; color: var(--ink-mute); }

/* Contact */
.contact { background: var(--bg); color: #fff; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.contact-text h2 { color: #fff; font-size: 34px; font-weight: 800; margin-bottom: 16px; }
.contact-text > p { color: rgba(255,255,255,.7); font-size: 17px; }
.contact-channels { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.channel-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column;
  gap: 6px; transition: all .2s ease; color: #fff;
}
a.channel-card:hover { background: rgba(255,255,255,.12); transform: translateY(-3px); }
.channel-icon { font-size: 24px; color: var(--accent); }
.channel-label { font-size: 12px; text-transform: uppercase; letter-spacing: .6px; color: rgba(255,255,255,.55); }
.channel-value { font-size: 15px; font-weight: 600; word-break: break-word; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); color: rgba(255,255,255,.7); padding-top: 56px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 48px; padding-bottom: 40px; }
.footer-brand .brand-mark { display: inline-grid; }
.footer-brand .brand-name { color: #fff; font-size: 19px; font-weight: 700; margin-left: 8px; }
.footer-brand p { margin-top: 14px; font-size: 14px; max-width: 280px; }
.footer-cols { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,.62); margin-bottom: 9px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 24px 0; }
.footer-bottom .container { display: flex; flex-direction: column; gap: 10px; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.5); }
.disclaimer { font-size: 12px; line-height: 1.6; max-width: 820px; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-inner, .about-grid, .contact-inner, .footer-inner { grid-template-columns: 1fr; }
  .hero-visual { min-height: auto; order: -1; }
  .support-illustration { margin: 0 auto; }
  .cards-grid, .commit-grid { grid-template-columns: repeat(2,1fr); }
  .footer-inner { gap: 32px; }
}
@media (max-width: 640px) {
  .site-nav {
    position: fixed; top: 72px; left: 0; right: 0;
    background: var(--bg); flex-direction: column; gap: 0;
    padding: 12px 24px 24px; transform: translateY(-150%); transition: transform .3s ease;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .site-nav.open { transform: translateY(0); }
  .site-nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav-cta { text-align: center; margin-top: 8px; }
  .nav-toggle { display: flex; }
  .hero-text h1 { font-size: 36px; }
  .hero-stats { gap: 24px; }
  .cards-grid, .commit-grid, .contact-channels { grid-template-columns: 1fr; }
  .company-dl > div { grid-template-columns: 1fr; gap: 4px; }
  .section { padding: 60px 0; }
  .section-head h2 { font-size: 28px; }
}
