/* HQZ LLC — Corporate Website Styles
   Brand: deep navy + gold, professional fintech */

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

:root {
  --navy-900: #0a1428;
  --navy-800: #112038;
  --navy-700: #1a2b4a;
  --navy-100: #e8edf5;
  --gold-500: #d4a64a;
  --gold-600: #b8862b;
  --gold-100: #fdf6e3;
  --text: #1a1f2e;
  --text-muted: #5a6478;
  --bg: #ffffff;
  --bg-alt: #f7f9fc;
  --border: #e2e7f0;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(10, 20, 40, 0.06);
  --shadow-lg: 0 12px 48px rgba(10, 20, 40, 0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--navy-800); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--gold-600); }

img, svg { max-width: 100%; display: block; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Navigation ===== */
.nav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--navy-900);
}

.brand-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 100%);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--gold-500);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}

.nav-cta {
  background: var(--navy-900);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--navy-800); color: #fff !important; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy-900);
  margin: 4px 0;
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(ellipse at top right, rgba(212, 166, 74, 0.08), transparent 50%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: #fff;
  padding: 96px 0 120px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(212, 166, 74, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(60, 130, 255, 0.05) 0%, transparent 40%);
  pointer-events: none;
}

.hero-inner { position: relative; max-width: 880px; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero h1 .accent { color: var(--gold-500); }

.hero p.lead {
  font-size: 19px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  max-width: 720px;
  margin-bottom: 40px;
}

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  border: 0;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold-500);
  color: var(--navy-900) !important;
}
.btn-primary:hover {
  background: var(--gold-600);
  color: var(--navy-900) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(212, 166, 74, 0.35);
}

.btn-secondary {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.4);
}

/* ===== Sections ===== */
section { padding: 96px 0; }
section.alt { background: var(--bg-alt); }

.section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head .eyebrow { color: var(--gold-600); }

.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-head p {
  font-size: 18px;
  color: var(--text-muted);
}

/* ===== Stat strip ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 40px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  margin-top: -64px;
  position: relative;
  z-index: 2;
}

.stat-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-num .unit { font-size: 18px; color: var(--gold-600); }
.stat-label { font-size: 13px; color: var(--text-muted); font-weight: 500; }

/* ===== Product grid ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-500);
}

.product-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  display: grid;
  place-items: center;
  color: var(--gold-500);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 20px;
}

.product-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.product-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== Two-column ===== */
.cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.cols h2 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  margin-bottom: 20px;
  line-height: 1.2;
}

.cols p { color: var(--text-muted); font-size: 17px; margin-bottom: 18px; }

.feature-list {
  list-style: none;
  margin-top: 28px;
}
.feature-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16px;
}
.feature-list li:last-child { border-bottom: 0; }
.feature-list .check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gold-100);
  color: var(--gold-600);
  display: grid; place-items: center;
  font-weight: 700; font-size: 13px;
  margin-top: 2px;
}

.illus-card {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  border-radius: 18px;
  padding: 48px;
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 360px;
}

.illus-card::after {
  content: '';
  position: absolute;
  right: -80px; bottom: -80px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(212, 166, 74, 0.15), transparent 70%);
  border-radius: 50%;
}

.illus-card h3 {
  font-size: 22px;
  margin-bottom: 14px;
  position: relative;
}
.illus-card p { color: rgba(255, 255, 255, 0.7); position: relative; }

.illus-glyph {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 96px;
  letter-spacing: -0.04em;
  color: var(--gold-500);
  margin-bottom: 24px;
  line-height: 1;
  position: relative;
}

/* ===== CTA band ===== */
.cta-band {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.cta-band p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 580px;
  margin: 0 auto 32px;
}

/* ===== Footer ===== */
.footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; }
.footer a { color: rgba(255, 255, 255, 0.65); font-size: 15px; }
.footer a:hover { color: var(--gold-500); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== Generic content pages ===== */
.page-hero {
  background: var(--bg-alt);
  padding: 80px 0 56px;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  margin-bottom: 12px;
}
.page-hero p { font-size: 18px; color: var(--text-muted); max-width: 640px; }

.prose { max-width: 760px; margin: 0 auto; }
.prose h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--navy-900);
  margin: 48px 0 16px;
  letter-spacing: -0.01em;
}
.prose h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy-900);
  margin: 32px 0 12px;
}
.prose p, .prose li {
  color: #2c3344;
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 14px;
}
.prose ul, .prose ol { padding-left: 24px; margin-bottom: 16px; }
.prose strong { color: var(--navy-900); }

.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.contact-card h3 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 10px;
}
.contact-card p { color: var(--text); font-size: 16px; }
.contact-card a { color: var(--navy-800); font-weight: 600; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    transition: transform 0.25s ease;
    padding: 8px 0;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 14px 24px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links li:last-child a { border-bottom: 0; }
  .nav-cta {
    margin: 12px 24px;
    text-align: center;
  }
  .nav-toggle { display: block; }

  .stats { grid-template-columns: repeat(2, 1fr); margin-top: -40px; padding: 28px; }
  .cols { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-card { grid-template-columns: 1fr; }
  section { padding: 72px 0; }
}

@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
