/* Color system */
:root {
  --bg: #0b1020;
  --surface: #111731;
  --muted-surface: #0e142a;
  --text: #e8ecf8;
  --muted: #adb7d7;
  --primary: #6ea8fe;
  --primary-strong: #3d8bfd;
  --ring: rgba(110, 168, 254, 0.35);
  --card: #121a37;
}

/* Reset and base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  padding: 0;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue",
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  background: linear-gradient(180deg, rgba(11,16,32,0.9), rgba(11,16,32,0.65) 70%, rgba(11,16,32,0));
  backdrop-filter: blur(8px);
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--text);
}

.brand img {
  width: 28px;
  height: 28px;
}

.site-nav ul {
  display: flex;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-nav a {
  color: var(--text);
  opacity: 0.9;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text);
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle .bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
}

/* Hero */
.hero {
  position: relative;
  padding: 72px 16px 48px;
  overflow: hidden;
}

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  margin: 0 0 12px 0;
  font-size: clamp(28px, 6vw, 44px);
  letter-spacing: -0.02em;
}

.hero p {
  margin: 0 auto;
  color: var(--muted);
  max-width: 700px;
}

.hero-cta {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text);
  background: var(--muted-surface);
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
  will-change: transform;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 8px 24px rgba(61,139,253,0.12);
}

.btn-primary {
  background: linear-gradient(180deg, var(--primary), var(--primary-strong));
  color: #061129;
  border-color: transparent;
}

.btn-secondary {
  background: #121830;
}

.hero-shape {
  position: absolute;
  inset: -25% -10% auto -10%;
  height: 60%;
  background: radial-gradient(60% 60% at 50% 0%, rgba(110,168,254,0.35), rgba(110,168,254,0.08) 55%, transparent 70%);
  transform: translate3d(0,0,0);
  pointer-events: none;
}

/* Sections */
.section {
  padding: 56px 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.card h3 {
  margin: 0 0 8px 0;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.contact .contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 6px;
}

.muted {
  color: var(--muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(0deg, rgba(255,255,255,0.02), transparent 60%);
  padding: 18px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--text);
}

/* Responsive nav */
@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
  }
  .site-nav {
    display: none;
    position: absolute;
    right: 16px;
    top: 54px;
    background: var(--surface);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 12px 36px rgba(0,0,0,0.28);
  }
  .site-nav.open {
    display: block;
  }
  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
}


