:root {
  --bg: #07111f;
  --surface-hover: rgba(18, 35, 62, 0.92);
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8eefc;
  --muted: #9ca7bd;
  --primary: #3fb3ff;
  --primary-2: #00d2ff;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius-xl: 28px;
  --radius-lg: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(38, 110, 255, 0.18), transparent 30%),
    radial-gradient(circle at 80% 15%, rgba(0, 210, 255, 0.16), transparent 22%),
    linear-gradient(180deg, #08111e 0%, #050b15 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  position: relative;
  overflow-x: hidden;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,0));
  pointer-events: none;
  z-index: 0;
}

.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
}

.orb-1 { width: 320px; height: 320px; background: #1f8fff; top: -60px; left: -80px; }
.orb-2 { width: 300px; height: 300px; background: #00d2ff; bottom: 12%; right: -60px; }

.container, .navbar, .hero-card, .footer-card { position: relative; z-index: 1; }

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  color: var(--text);
  text-decoration: none;
}

.brand-badge {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.08em;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(63, 179, 255, 0.95), rgba(0, 210, 255, 0.72));
  color: #021423;
  box-shadow: 0 16px 35px rgba(13, 108, 255, 0.32);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text small { color: var(--muted); font-size: 0.85rem; }

.hero-card, .footer-card, .service-card, .stats-panel {
  background: rgba(10, 22, 40, 0.78);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-card {
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.stats-panel {
  border-radius: 24px;
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.stat-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 1rem .8rem;
  text-align: center;
}

.stat-value { display: block; font-size: 1.25rem; font-weight: 700; }
.stat-label { color: var(--muted); font-size: .85rem; }

.service-card {
  height: 100%;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-card:hover {
  transform: translateY(-8px);
  background: var(--surface-hover);
  border-color: rgba(63, 179, 255, 0.35);
  box-shadow: 0 25px 60px rgba(1, 9, 20, 0.58);
}

.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }

.service-icon {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: #031220;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 12px 30px rgba(0, 127, 255, .24);
}

.service-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: .38rem .72rem;
  font-size: .78rem;
  border-radius: 999px;
  color: #c5f8e8;
  background: rgba(76, 224, 179, .12);
  border: 1px solid rgba(76, 224, 179, .16);
}

.service-title { margin: 0; font-size: 1.2rem; }
.service-description { margin: 0; color: var(--muted); min-height: 48px; }
.service-actions { display: flex; align-items: center; justify-content: flex-start; margin-top: auto; }

.open-btn {
  border-radius: 14px;
  padding: .8rem 1.1rem;
  font-weight: 700;
  min-width: 170px;
  box-shadow: 0 12px 30px rgba(0, 127, 255, .18);
}

.footer-card {
  border-radius: 20px;
  padding: 1rem 1.25rem;
  color: var(--muted);
}

.text-secondary { color: var(--muted) !important; }

@media (max-width: 767.98px) {
  .hero-card { border-radius: 24px; }
  .stats-panel { grid-template-columns: 1fr 1fr 1fr; }
  .service-description { min-height: auto; }
  .open-btn { width: 100%; }
}

@media (max-width: 575.98px) {
  .brand-badge { width: 50px; height: 50px; border-radius: 16px; }
  .stats-panel { grid-template-columns: 1fr; }
  .stat-item { text-align: left; }
}
