:root {
  --bg: #0b0d12;
  --bg-soft: #11151c;
  --bg-alt: #0e1219;
  --surface: #161b25;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #e8ecf3;
  --text-dim: #9aa3b2;
  --text-mute: #6b7484;
  --brand: #2a8df2;
  --brand-2: #6ec1ff;
  --brand-deep: #0d2b6b;
  --accent: #4fc3ff;
  --grad: linear-gradient(90deg, #6ec1ff 0%, #2a8df2 50%, #4fc3ff 100%);
  --radius: 14px;
  --radius-lg: 22px;
  --max: 1140px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  background: rgba(11, 13, 18, 0.72);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 28px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border-radius: 12px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 18px rgba(42, 141, 242, 0.18);
}

.brand img { height: 48px; width: auto; }

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-links a:hover { color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 6px 24px rgba(42, 141, 242, 0.35);
}
.btn-primary:hover { background: #1c7be0; transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.2); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
  padding: 8px 14px;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.04); }

.btn.big {
  padding: 16px 28px;
  font-size: 16px;
  border-radius: 12px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 120px 0 100px;
  text-align: center;
  isolation: isolate;
}

.hero-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(42, 141, 242, 0.35) 0%, rgba(42, 141, 242, 0) 60%),
    radial-gradient(40% 40% at 80% 20%, rgba(110, 193, 255, 0.18) 0%, rgba(110, 193, 255, 0) 70%),
    radial-gradient(40% 40% at 20% 30%, rgba(79, 195, 255, 0.15) 0%, rgba(79, 195, 255, 0) 70%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at top, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 70%);
  -webkit-mask-image: radial-gradient(ellipse at top, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 70%);
}

.hero-inner { max-width: 880px; margin: 0 auto; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-2);
  font-weight: 600;
  padding: 6px 12px;
  border: 1px solid rgba(110, 193, 255, 0.25);
  border-radius: 999px;
  background: rgba(110, 193, 255, 0.06);
  margin-bottom: 22px;
}
.eyebrow.center { display: inline-block; }

h1 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  color: var(--text);
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 auto 36px;
}

.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-meta {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  color: var(--text-mute);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.hero-meta span { color: var(--text-mute); }

/* ---------- Sections ---------- */
.section {
  padding: 110px 0;
  border-top: 1px solid var(--border);
}

.section-alt {
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(42, 141, 242, 0.08) 0%, rgba(0,0,0,0) 70%),
    var(--bg-alt);
}

.section-title {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.1;
  text-align: center;
  margin: 16px 0 18px;
}
.section-title.left { text-align: left; }

.section-lede {
  text-align: center;
  color: var(--text-dim);
  font-size: 17px;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-lede.left { text-align: left; margin: 0 0 0; max-width: 520px; }

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature {
  background: linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.0) 100%), var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.feature:hover {
  border-color: rgba(110, 193, 255, 0.35);
  transform: translateY(-2px);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(110, 193, 255, 0.1);
  color: var(--brand-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 18px;
  border: 1px solid rgba(110, 193, 255, 0.2);
}

.feature h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--text);
}
.feature p {
  margin: 0;
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.55;
}

/* ---------- Solutions ---------- */
.solutions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.solution {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

.solution::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(110,193,255,0.45), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.solution:hover::before { opacity: 1; }

.solution h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 10px;
}
.solution p { color: var(--text-dim); margin: 0; font-size: 15px; }

/* ---------- Approach ---------- */
.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.principles {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 20px;
}

.principles li {
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  display: grid;
  gap: 4px;
}

.principles strong { color: var(--text); font-weight: 600; }
.principles span { color: var(--text-dim); font-size: 15px; }

/* ---------- Contact ---------- */
.contact {
  text-align: center;
  background:
    radial-gradient(60% 60% at 50% 100%, rgba(42, 141, 242, 0.18) 0%, rgba(0,0,0,0) 70%),
    var(--bg);
}

.contact-inner { max-width: 700px; margin: 0 auto; }
.contact .section-lede { margin-bottom: 36px; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 40px;
  background: var(--bg-soft);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 48px;
  align-items: start;
}

.footer-brand img {
  height: 60px;
  background: #ffffff;
  padding: 8px 14px;
  border-radius: 12px;
  margin-bottom: 18px;
  box-shadow: 0 4px 18px rgba(42, 141, 242, 0.15);
  width: auto;
  box-sizing: content-box;
}
.footer-brand p { color: var(--text-mute); font-size: 14px; margin: 0; }

.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.footer-cols h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
  margin: 0 0 14px;
}
.footer-cols a {
  display: block;
  color: var(--text-dim);
  font-size: 14px;
  padding: 4px 0;
  transition: color 0.15s ease;
}
.footer-cols a:hover { color: var(--brand-2); }

.copyright {
  grid-column: 1 / -1;
  color: var(--text-mute);
  font-size: 13px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .solutions { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 80px 0; }
  .hero { padding: 90px 0 80px; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .hero-meta { gap: 14px; font-size: 12px; }
}
