/* Dataquant Technologies — site styles */
:root {
  --bg: #0b1020;
  --bg-soft: #11182e;
  --panel: #151d36;
  --line: #233056;
  --text: #e7ecf7;
  --muted: #9aa6c4;
  --brand: #4f7bff;
  --brand-2: #22d3ee;
  --accent: #7c5cff;
  --radius: 16px;
  --maxw: 1140px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
}

* { 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(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-2);
  margin: 0 0 14px;
}
h1, h2, h3 { line-height: 1.15; margin: 0 0 16px; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 4vw, 40px); }
p { color: var(--muted); margin: 0 0 16px; }
.lead { font-size: 18px; max-width: 640px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; box-shadow: 0 12px 30px -10px rgba(79,123,255,.7); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--brand); color: #fff; }

/* Header */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,16,32,.78); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.02em; font-size: 19px; }
.brand .mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: grid; place-items: center; color: #04101f; font-weight: 900; font-size: 16px;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.menu-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 26px; cursor: pointer; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(124,92,255,.22), transparent 60%),
    radial-gradient(900px 500px at 0% 20%, rgba(34,211,238,.16), transparent 55%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5.4vw, 58px); }
.hero h1 .grad { background: linear-gradient(120deg, var(--brand-2), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 19px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-card {
  background: linear-gradient(180deg, var(--panel), var(--bg-soft));
  border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: var(--shadow);
}
.hero-card h3 { font-size: 17px; margin-bottom: 6px; }
.hero-card .row { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.hero-card .row:last-child { border-bottom: 0; }
.hero-card .ic { width: 38px; height: 38px; border-radius: 10px; background: rgba(79,123,255,.14); color: var(--brand-2); display: grid; place-items: center; font-size: 18px; flex: none; }
.hero-card .row p { margin: 0; color: var(--text); font-weight: 600; font-size: 15px; }
.hero-card .row span { display: block; color: var(--muted); font-weight: 400; font-size: 13px; }

/* Stats */
.stats { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 44px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat .num { font-size: 38px; font-weight: 800; color: #fff; letter-spacing: -0.03em; }
.stat .lbl { color: var(--muted); font-size: 14px; }

/* Section heading */
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.sec-head p { margin: 0 auto; }

/* Services */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: linear-gradient(180deg, var(--panel), var(--bg-soft));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--brand); }
.card .ic {
  width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; font-size: 24px; margin-bottom: 18px;
  background: rgba(79,123,255,.13); color: var(--brand-2);
}
.card h3 { font-size: 19px; }
.card p { margin: 0; font-size: 15px; }

/* Product / split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.product-panel {
  background: linear-gradient(160deg, #16224a, #0e1530);
  border: 1px solid var(--line); border-radius: 22px; padding: 32px; box-shadow: var(--shadow);
}
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { display: flex; gap: 12px; padding: 11px 0; color: var(--text); font-size: 15px; border-bottom: 1px dashed var(--line); }
.feature-list li:last-child { border-bottom: 0; }
.feature-list .tick { color: var(--brand-2); font-weight: 800; flex: none; }
.pill { display: inline-block; background: rgba(34,211,238,.12); color: var(--brand-2); border: 1px solid rgba(34,211,238,.3); padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; margin-bottom: 16px; }

/* About */
.about { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info .row { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-info .row:last-child { border-bottom: 0; }
.contact-info .ic { width: 42px; height: 42px; border-radius: 11px; background: rgba(79,123,255,.14); color: var(--brand-2); display: grid; place-items: center; font-size: 19px; flex: none; }
.contact-info .row b { color: #fff; font-weight: 600; display: block; font-size: 15px; }
.contact-info .row span { color: var(--muted); font-size: 14px; }
form .field { margin-bottom: 16px; }
form label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 7px; font-weight: 600; }
form input, form textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; background: var(--panel);
  border: 1px solid var(--line); color: var(--text); font-size: 15px; font-family: inherit;
}
form input:focus, form textarea:focus { outline: none; border-color: var(--brand); }
form textarea { resize: vertical; min-height: 120px; }

/* Footer */
footer.site { background: #080c18; border-top: 1px solid var(--line); padding: 56px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
footer .brand { margin-bottom: 14px; }
footer h4 { color: #fff; font-size: 15px; margin: 0 0 16px; letter-spacing: .02em; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer ul li { margin-bottom: 10px; }
footer ul li a { color: var(--muted); font-size: 14px; }
footer ul li a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid var(--line); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.foot-bottom p { margin: 0; font-size: 13px; color: var(--muted); }

/* Legal pages */
.legal { padding-top: 56px; }
.legal h1 { font-size: clamp(30px, 4vw, 42px); }
.legal h2 { font-size: 22px; margin-top: 36px; color: #fff; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 20px; }
.legal .updated { color: var(--brand-2); font-size: 14px; font-weight: 600; }

/* Responsive */
@media (max-width: 860px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0;
    background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 18px 24px; gap: 18px;
  }
}
@media (max-width: 540px) {
  .cards { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .nav-cta .btn-ghost { display: none; }
}
