:root {
  --bg: #0b1020;
  --bg-soft: #121a33;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #5b6478;
  --line: #e6e9f0;
  --brand: #4f6bff;
  --brand-2: #22c7b8;
  --radius: 16px;
  --max: 1120px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: #f7f8fc;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgb(11 16 32 / 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgb(255 255 255 / 0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.logo:hover { text-decoration: none; }
.logo-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
}
.nav-links { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: rgb(255 255 255 / 0.75); font-size: 0.95rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: #fff; text-decoration: none; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  color: #fff;
  padding: clamp(5rem, 12vw, 8.5rem) 0 clamp(4.5rem, 10vw, 7rem);
}
.hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgb(79 107 255 / 0.45), transparent 65%);
  filter: blur(20px);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto auto -50% -15%;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgb(34 199 184 / 0.3), transparent 65%);
  filter: blur(20px);
}
.hero .container { position: relative; z-index: 1; }
.eyebrow {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgb(255 255 255 / 0.15);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgb(255 255 255 / 0.8);
  background: rgb(255 255 255 / 0.04);
}
.hero h1 {
  margin: 1.25rem 0 1rem;
  font-size: clamp(2.3rem, 5.5vw, 3.9rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 16ch;
}
.gradient-text {
  background: linear-gradient(90deg, #8ea0ff, var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p { max-width: 56ch; font-size: 1.125rem; color: rgb(255 255 255 / 0.72); margin: 0 0 2rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #6a5bff);
  box-shadow: 0 10px 30px -10px rgb(79 107 255 / 0.7);
}
.btn-ghost { color: #fff; border: 1px solid rgb(255 255 255 / 0.2); }
.btn-ghost:hover { background: rgb(255 255 255 / 0.06); }

/* Sections */
section { padding: clamp(4rem, 9vw, 6rem) 0; }
.section-head { max-width: 640px; margin-bottom: 2.75rem; }
.section-head .label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}
.section-head h2 { font-size: clamp(1.75rem, 3.5vw, 2.4rem); letter-spacing: -0.02em; line-height: 1.2; margin: 0.5rem 0 0.75rem; }
.section-head p { color: var(--muted); margin: 0; }

.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center; }
.about-grid p { color: var(--muted); }
.facts {
  display: grid;
  gap: 1rem;
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.fact { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px dashed var(--line); font-size: 0.95rem; }
.fact:last-child { border-bottom: 0; padding-bottom: 0; }
.fact span:first-child { color: var(--muted); }
.fact span:last-child { font-weight: 600; text-align: right; }

.services { background: var(--surface); border-block: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.card {
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcff;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.card:hover { transform: translateY(-4px); border-color: #cfd6ff; box-shadow: 0 18px 40px -20px rgb(79 107 255 / 0.35); }
.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1.1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgb(79 107 255 / 0.12), rgb(34 199 184 / 0.12));
  color: var(--brand);
}
.card h3 { margin: 0 0 0.4rem; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 1.5rem; }
.contact-list { display: grid; gap: 1rem; }
.contact-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.contact-item .card-icon { margin: 0; flex-shrink: 0; }
.contact-item h3 { margin: 0 0 0.15rem; font-size: 0.85rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.contact-item p, .contact-item address { margin: 0; font-style: normal; font-weight: 500; }
.map {
  min-height: 340px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }

/* Footer */
.site-footer { background: var(--bg); color: rgb(255 255 255 / 0.6); padding: 2.5rem 0; font-size: 0.9rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; }
.site-footer a { color: rgb(255 255 255 / 0.8); }
.footer-links { display: flex; gap: 1.5rem; }

/* Legal page */
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); letter-spacing: -0.02em; margin: 0 0 0.25rem; }
.legal .updated { color: var(--muted); margin-bottom: 2.5rem; }
.legal h2 { font-size: 1.25rem; margin: 2.25rem 0 0.5rem; }
.legal p, .legal li { color: #334155; }

/* Responsive */
@media (max-width: 820px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .nav-links { gap: 1.1rem; }
}
@media (max-width: 560px) {
  .nav-links { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
