:root {
  --bg: #061326;
  --bg-2: #091b33;
  --bg-3: #0c2744;
  --surface: rgba(12, 22, 42, 0.54);
  --surface-strong: rgba(15, 28, 52, 0.74);
  --surface-border: rgba(255, 255, 255, 0.14);
  --text: #f5f8ff;
  --muted: rgba(230, 238, 255, 0.74);
  --soft: rgba(202, 218, 245, 0.52);
  --accent: #6eb6ff;
  --accent-2: #79ffd6;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.36);
  --cursor: rgba(121, 255, 214, 0.45);
  --grid-gap: 24px;
}

body.light {
  --bg: #eaf4ff;
  --bg-2: #f7fbff;
  --bg-3: #dbe8ff;
  --surface: rgba(255, 255, 255, 0.7);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --surface-border: rgba(72, 99, 140, 0.12);
  --text: #11233f;
  --muted: rgba(17, 35, 63, 0.8);
  --soft: rgba(17, 35, 63, 0.48);
  --accent: #2d6df6;
  --accent-2: #13c59d;
  --shadow: 0 24px 60px rgba(76, 108, 159, 0.16);
  --cursor: rgba(45, 109, 246, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background:
  radial-gradient(circle at 10% 15%, rgba(110, 182, 255, 0.18), transparent 28%),
  radial-gradient(circle at 85% 18%, rgba(121, 255, 214, 0.14), transparent 28%),
  radial-gradient(circle at 70% 80%, rgba(99, 122, 255, 0.12), transparent 24%),
  linear-gradient(135deg, var(--bg) 0%, var(--bg-2) 46%, var(--bg-3) 100%);
  background-attachment: fixed;
  cursor: none;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
  linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
  linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at center, black, transparent 88%);
  pointer-events: none;
  opacity: 0.5;
}

#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1360px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 40px;
}

.topbar,
.hero,
.section-head,
.services-grid {
  position: relative;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 10px 10px;
}

.brand-mark span {
  position: absolute;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.brand-mark span:nth-child(1) { width: 26px; height: 26px; transform: rotate(45deg); }
.brand-mark span:nth-child(2) { width: 12px; height: 12px; top: 10px; right: 10px; opacity: 0.9; }
.brand-mark span:nth-child(3) { width: 10px; height: 10px; bottom: 10px; left: 10px; opacity: 0.8; }

.brand-kicker {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--soft);
  margin-bottom: 4px;
}

.brand-title {
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 800;
  line-height: 1;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switcher,
.theme-toggle {
  border: 1px solid var(--surface-border);
  background: var(--surface);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.lang-switcher {
  display: inline-flex;
  padding: 6px;
  border-radius: 999px;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
}

.lang-btn.is-active {
  background: linear-gradient(135deg, rgba(110, 182, 255, 0.24), rgba(121, 255, 214, 0.16));
  color: var(--text);
}

.theme-toggle {
  border-radius: 999px;
  padding: 6px;
  cursor: pointer;
}

.theme-track {
  width: 82px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 0 12px;
}

.theme-icon {
  font-size: 15px;
  z-index: 2;
  color: var(--soft);
}

.theme-thumb {
  position: absolute;
  left: 4px;
  top: 4px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  transition: transform 0.35s ease;
}

body.light .theme-thumb { transform: translateX(40px); }

.glass-panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: var(--grid-gap);
  margin-bottom: 28px;
}

.hero-copy,
.hero-side {
  border-radius: 30px;
  padding: 34px;
  overflow: hidden;
  position: relative;
}

.hero-copy::before,
.hero-side::before,
.service-card::before {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(121,255,214,0.18), transparent 70%);
  filter: blur(8px);
  pointer-events: none;
}

.eyebrow,
.section-kicker,
.mini-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--soft);
  margin-bottom: 14px;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 6vw, 50px);
  line-height: 0.98;
  max-width: 100%;
}

.hero-text,
.hero-side-text,
.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

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

.stat-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--surface-border);
}

.stat-value {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 6px;
}

.stat-label {
  color: var(--soft);
  font-size: 14px;
}

.hero-side-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  min-height: 100%;
}

.orbital-card {
  position: relative;
  height: 300px;
  margin: 12px 0 16px;
}

.orbital-core,
.orb {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.orbital-core {
  width: 120px;
  height: 120px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, rgba(110, 182, 255, 0.28), rgba(121,255,214,0.18));
  border: 1px solid var(--surface-border);
  font-weight: 800;
  letter-spacing: 0.12em;
  box-shadow: 0 0 0 18px rgba(255,255,255,0.03), 0 0 0 48px rgba(255,255,255,0.02);
}

.orb {
  width: 58px;
  height: 58px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--surface-border);
  color: var(--text);
  animation: float 6s ease-in-out infinite;
}

.orbital-1 { top: 14px; left: 50%; transform: translateX(-50%); }
.orbital-2 { top: 68px; right: 44px; animation-delay: -1s; }
.orbital-3 { top: 194px; right: 64px; animation-delay: -2s; }
.orbital-4 { bottom: 10px; left: 50%; transform: translateX(-50%); animation-delay: -1.6s; }
.orbital-5 { top: 192px; left: 64px; animation-delay: -0.8s; }
.orbital-6 { top: 68px; left: 44px; animation-delay: -2.2s; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(24px, 4vw, 36px);
}

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

.service-card {
  position: relative;
  border-radius: 30px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(121, 255, 214, 0.34);
  box-shadow: 0 40px 100px rgba(0,0,0,0.28);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
}

.service-icon {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.14), rgba(255,255,255,0.04));
  border: 1px solid var(--surface-border);
  font-size: 24px;
}

.service-badge {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--surface-border);
}

.service-card h3 {
  margin: 0 0 14px;
  font-size: 20px;
  line-height: 1.2;
}

.service-card p { margin-bottom: 24px; }

.service-link {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 700;
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 30;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-2);
}

.cursor-ring {
  width: 40px;
  height: 40px;
  border: 1px solid var(--cursor);
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(4px);
}

body.is-touch .cursor-dot,
body.is-touch .cursor-ring { display: none; }
body.is-touch { cursor: auto; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 1100px) {
  .hero,
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-copy { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .page-shell { width: min(100% - 24px, 1360px); }
  .topbar {
    flex-direction: column;
    align-items: stretch;
  }
  .topbar-actions {
    justify-content: space-between;
  }
  .hero,
  .services-grid {
    grid-template-columns: 1fr;
  }
  .hero-copy,
  .hero-side,
  .service-card { border-radius: 24px; }
  .hero-copy,
  .hero-side { padding: 24px; }
  .hero-stats { grid-template-columns: 1fr; }
  .orbital-card { height: 250px; }
}

@media (max-width: 560px) {
  .brand-title { font-size: 24px; }
  .hero h1 { max-width: none; }
  .lang-switcher { width: 100%; justify-content: center; }
  .topbar-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .theme-toggle { align-self: center; }
  .brand-mark img{
  width: 70px;
}
}
.brand-mark img{
  width: 170px;
}