:root {
  --bg: #0b1220;
  --panel: #f8fafc;
  --muted: #94a3b8;
  --text: #e2e8f0;
  --brand: #6ee7b7;
  --brand-ink: #064e3b;
  --accent: #60a5fa;
  --danger: #ef4444;
  --radius: 14px;
  --page-bg: #cfe4ff; /* slightly darker blue background */
  --navy: #0b1b3b; /* hero text color */
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji';
  background: var(--page-bg);
  color: #0b1220; /* darker text for light background */
  line-height: 1.6;
}
.hero, .section { color: #0b1220; }
.section.alt { color: #0b1220; }
.card, .metric, .hero-card { color: #0b1220; }
.site-header .brand-name { color: var(--text); }


.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy); /* match hero text navy */
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px; /* slightly taller top menu bar */
}
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.brand-name { font-weight: 700; letter-spacing: 0.2px; font-size: clamp(28px, 3vw, 32px); line-height: 1.1; color: #ffffff; }
.brand-tag { font-size: clamp(11px, 1.2vw, 12px); font-weight: 500; color: #d9dee7; line-height: 1.25; margin-top: 0; align-self: center; }

.menu { display: flex; gap: 20px; align-items: center; }
.menu a { color: var(--text); text-decoration: none; opacity: 0.9; }
.menu a:hover { opacity: 1; }
.menu .cta {
  background: linear-gradient(135deg, var(--accent), #34d399);
  padding: 10px 14px; border-radius: 999px; color: #071019;
  font-weight: 600;
}

.hero { position: relative; overflow: hidden; min-height: 56vh; padding: 0; display: grid; align-items: center; }
.hero .hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(90deg, rgba(207,228,255,0.75) 0%, rgba(207,228,255,0.5) 40%, rgba(207,228,255,0.25) 100%),
    url('/images/Magnifying%20Wall%20Street%20View.png') center bottom / cover no-repeat;
}
.hero .hero-bg::after {
  content: ""; position: absolute; inset: 0;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  mask-image: linear-gradient(90deg, #000 55%, transparent 85%);
}
.hero > .container { position: relative; z-index: 1; padding: 24px 20px 8px; }
.grid-2 { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; }
.hero h1 { font-size: 44px; line-height: 1.1; margin: 0 0 12px; color: var(--navy); }
.hero p { color: var(--navy); font-size: 18px; text-shadow: 0 1px 1px rgba(0,0,0,0.06); }
.hero-cta { margin-top: 20px; display: flex; gap: 12px; }

.btn { display: inline-block; padding: 12px 16px; border-radius: 10px; border: 1px solid #cbd5e1; color: #0b1220; text-decoration: none; background: rgba(255,255,255,0.85); }
.btn.primary { background: linear-gradient(135deg, var(--accent), #34d399); color: #071019; font-weight: 700; border: none; }
.btn.small { padding: 8px 10px; border-radius: 8px; font-size: 12px; }

.hero-card {
  background: var(--panel);
  border: 1px solid rgba(2,6,23,0.08);
  padding: 24px; border-radius: var(--radius);
}
.product-badge { display: inline-block; font-size: 12px; color: #052e2b; background: #5eead4; padding: 4px 8px; border-radius: 999px; font-weight: 700; }
.product-badge.badge-amber { background: #fbbf24; color: #1f2937; }
.product-badge.small { font-size: 10px; padding: 2px 6px; margin-right: 8px; }
.checks { padding-left: 18px; }
.checks li { margin: 6px 0; }

.section { padding: 36px 0; scroll-margin-top: 110px; }
#solutions { margin-top: 0; padding-top: 24px; background: var(--navy); color: var(--text); border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); }
#solutions h2 { color: var(--text); }
#solutions .card, #solutions .metric {
  background: transparent; /* match navy background */
  border: 2px solid rgba(203,213,225,0.5); /* thicker gray outline */
  color: var(--text);
}
.section.alt { background: rgba(2, 6, 23, 0.04); border-top: 1px solid rgba(2,6,23,0.06); border-bottom: 1px solid rgba(2,6,23,0.06); }

/* Product Metrics navy background and white heading */
#metrics { background: var(--navy); color: var(--text); border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); }
#metrics h2 { color: var(--text); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; align-items: stretch; }
.card { background: var(--panel); border: 1px solid rgba(2,6,23,0.08); padding: 16px; border-radius: var(--radius); display: flex; flex-direction: column; }
.card-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.card-header h3 { display: flex; align-items: center; gap: 8px; margin: 0; }
.card h3 { margin-top: 0; margin-bottom: 6px; }
.card p { margin-bottom: 0; font-size: 15px; line-height: 1.5; }

.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.metric { background: var(--panel); border: 1px solid rgba(2,6,23,0.08); padding: 20px; border-radius: var(--radius); text-align: center; }
.metric-value { font-size: 32px; font-weight: 800; }
.metric-label { color: var(--muted); font-size: 14px; }
.muted { color: var(--muted); }

/* Product Metrics iframe - fixed height to avoid excess whitespace */
.iframe-wrap { position: relative; width: 100%; max-width: 1280px; margin: 16px auto 0; }
.metrics-embed { display: block; width: 100%; height: 360px; border: 0; border-radius: 12px; background: #0b1b3b; }

.about { align-items: center; justify-content: center; }
.about-content { max-width: 880px; margin: 0 auto; text-align: left; }
#about { background: var(--navy); color: var(--text); border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); }
#about h2 { color: var(--text); text-align: center; }

.form { margin-top: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: 14px; }
.field input, .field textarea {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148,163,184,0.2);
  color: var(--text);
  padding: 12px 12px;
  border-radius: 10px;
  caret-color: var(--text);
}
.field input::placeholder, .field textarea::placeholder { color: #ffffff; opacity: 0.85; }
.field input:focus, .field textarea:focus { outline: none; border-color: rgba(255,255,255,0.6); box-shadow: 0 0 0 2px rgba(255,255,255,0.12) inset; }
.form-actions { display: flex; gap: 12px; align-items: center; }
#form-status { color: var(--muted); font-size: 14px; }

.site-footer { padding: 30px 0; }
.footer { display: flex; align-items: center; justify-content: space-between; color: var(--muted); }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--text); }

@media (max-width: 960px) {
  .grid-2 { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr 1fr; }
}


