:root {
  --primary: #2667ff;
  --primary-dark: #1f4fd8;
  --secondary: #0b1460;
  --tertiary: #6ef1b2;
  --dark: #0f172a;
  --text: #1f2937;
  --muted: #5c6185;
  --bg: #f8fafc;
  --white: #ffffff;
  --border: #e5e7eb;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1150px, calc(100% - 32px)); margin: 0 auto; }
.topbar { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 20px; }
.brand img { height: 68px; width: auto; transform: scale(1.05); }
.nav-links { display: flex; gap: 24px; font-weight: 600; align-items: center; }
.nav-links a.active, .nav-links a:hover, .dropdown-toggle:hover { color: var(--primary); }
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  padding: 8px 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(11, 20, 96, 0.12);
  display: none;
  z-index: 20;
}
.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  color: var(--text);
}
.dropdown-menu a:hover {
  background: #f3f7ff;
  color: var(--primary);
}
.dropdown:hover .dropdown-menu { display: block; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 700; transition: 0.2s ease; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { border: 1px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-light { background: var(--white); color: var(--primary); }
.hero {
  padding: 90px 0;
  background:
    radial-gradient(circle at top left, rgba(110, 241, 178, 0.25), transparent 35%),
    linear-gradient(135deg, rgba(38, 103, 255, 0.12), rgba(11, 20, 96, 0.08));
  position: relative;
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.9;
}
.hero::before {
  width: 280px;
  height: 280px;
  background: rgba(110, 241, 178, 0.25);
  top: -80px;
  right: -60px;
}
.hero::after {
  width: 220px;
  height: 220px;
  background: rgba(38, 103, 255, 0.18);
  bottom: -50px;
  left: -40px;
}
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 36px; min-height: 520px; position: relative; z-index: 1; }
.hero-content h1 { font-size: clamp(2.2rem, 4vw, 3.5rem); margin: 0 0 16px; max-width: 700px; color: var(--secondary); }
.hero-content p { font-size: 1.08rem; color: var(--muted); max-width: 680px; margin-bottom: 24px; }

/* ---------- Hero visual: 3D isometric scene ---------- */
.hero-visual {
  position: relative;
  width: 100%;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
}

.glow-backdrop {
  position: absolute;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(38,103,255,0.22) 0%, rgba(110,241,178,0.12) 45%, transparent 75%);
  border-radius: 50%;
  filter: blur(6px);
  animation: glowPulse 3s ease-in-out infinite;
  z-index: 0;
}

@keyframes glowPulse {
  0%, 100% { transform: scale(0.95); opacity: 0.85; }
  50%      { transform: scale(1.08); opacity: 1; }
}

.scene {
  position: relative;
  width: 320px;
  height: 320px;
  transform-style: preserve-3d;
  z-index: 1;
}

/* layered 3D panel stack */
.stack {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 260px;
  height: 200px;
  transform-style: preserve-3d;
  transform: translate(-50%, -50%) rotateX(50deg) rotateZ(-38deg);
  animation: stackSpin 4.5s ease-in-out infinite;
}

@keyframes stackSpin {
  0%, 100% { transform: translate(-50%, -50%) rotateX(50deg) rotateZ(-38deg) translateY(0); }
  50%      { transform: translate(-50%, -50%) rotateX(46deg) rotateZ(-32deg) translateY(-14px); }
}

.panel {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 30px 60px rgba(11,20,96,0.25);
}

.panel-back {
  background: linear-gradient(135deg, rgba(11,20,96,0.85), rgba(38,103,255,0.65));
  transform: translateZ(-26px) scale(0.94);
  opacity: 0.85;
}

.panel-mid {
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(225,236,255,0.9));
  transform: translateZ(-2px) scale(0.98);
  padding: 18px;
}

.panel-front {
  background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(255,255,255,0.86));
  backdrop-filter: blur(10px);
  transform: translateZ(24px);
  padding: 18px;
}

.panel-line {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(38,103,255,0.4), rgba(110,241,178,0.4));
  margin-bottom: 12px;
}
.panel-line.w-70 { width: 70%; }
.panel-line.w-50 { width: 50%; }

.panel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 16px;
}
.panel-grid span {
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(160deg, rgba(38,103,255,0.18), rgba(110,241,178,0.18));
  border: 1px solid rgba(38,103,255,0.12);
}

.panel-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 6px;
}
.dot-blue { background: var(--primary); }
.dot-teal { background: var(--tertiary); }

.panel-bar {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--tertiary));
  margin-top: 14px;
  opacity: 0.85;
}
.panel-bar.short { width: 60%; }

/* orbiting icon rings — rotate the whole ring, counter-rotate the icon to keep it upright */
.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px dashed rgba(38,103,255,0.25);
  border-radius: 50%;
  transform-style: preserve-3d;
}

.ring-one {
  width: 300px;
  height: 300px;
  margin: -150px 0 0 -150px;
  transform: rotateX(70deg);
  animation: ringSpin 6s linear infinite;
}
.ring-two {
  width: 360px;
  height: 360px;
  margin: -180px 0 0 -180px;
  transform: rotateX(70deg) rotateZ(40deg);
  animation: ringSpin 8s linear infinite reverse;
}
.ring-three {
  width: 230px;
  height: 230px;
  margin: -115px 0 0 -115px;
  transform: rotateX(70deg) rotateZ(-60deg);
  animation: ringSpin 5s linear infinite;
}
.ring-four {
  width: 420px;
  height: 420px;
  margin: -210px 0 0 -210px;
  transform: rotateX(70deg) rotateZ(110deg);
  animation: ringSpin 9.5s linear infinite reverse;
}
.ring-five {
  width: 180px;
  height: 180px;
  margin: -90px 0 0 -90px;
  transform: rotateX(70deg) rotateZ(-150deg);
  animation: ringSpin 4s linear infinite;
}
.ring-six {
  width: 270px;
  height: 270px;
  margin: -135px 0 0 -135px;
  transform: rotateX(70deg) rotateZ(200deg);
  animation: ringSpin 7s linear infinite reverse;
}

@keyframes ringSpin {
  from { transform: rotateX(70deg) rotateZ(0deg); }
  to   { transform: rotateX(70deg) rotateZ(360deg); }
}

.orbit-icon {
  position: absolute;
  top: -18px;
  left: 50%;
  width: 36px;
  height: 36px;
  margin-left: -18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 10px 24px rgba(38,103,255,0.4);
  transform: rotateX(-70deg);
}
.icon-cloud { background: linear-gradient(135deg, var(--tertiary), #2bb673); color: #04331c; }
.icon-gear { background: linear-gradient(135deg, #ff8a5c, #ff5c8a); }
.icon-lock { background: linear-gradient(135deg, #845ef7, #4263eb); }
.icon-bolt { background: linear-gradient(135deg, #ffd43b, #ff922b); color: #4a2c00; }
.icon-chip { background: linear-gradient(135deg, #15aabf, #1c7ed6); }

/* small twinkling particles around the scene */
.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tertiary);
  box-shadow: 0 0 10px 2px rgba(110,241,178,0.6);
  animation: twinkle 2.4s ease-in-out infinite;
  z-index: 2;
}
.p1 { top: 12%; left: 30%; animation-delay: 0s; }
.p2 { top: 70%; left: 18%; background: var(--primary); box-shadow: 0 0 10px 2px rgba(38,103,255,0.6); animation-delay: 0.6s; }
.p3 { top: 22%; left: 78%; background: #ff8a5c; box-shadow: 0 0 10px 2px rgba(255,138,92,0.6); animation-delay: 1.1s; }
.p4 { top: 82%; left: 70%; animation-delay: 1.6s; }

@keyframes twinkle {
  0%, 100% { transform: scale(0.6); opacity: 0.3; }
  50%      { transform: scale(1.4); opacity: 1; }
}

/* ---------- Earth sphere with orbiting satellites, positioned above the scene ---------- */
.earth-system {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90px;
  height: 90px;
  transform: translate(-50%, -50%) translateY(-5cm);
  transform-style: preserve-3d;
  z-index: 3;
}

.earth-sphere {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,0.55), transparent 35%),
    radial-gradient(circle at 65% 70%, rgba(110,241,178,0.55), transparent 40%),
    linear-gradient(135deg, var(--primary) 0%, var(--secondary) 60%, #061046 100%);
  box-shadow:
    inset -14px -14px 28px rgba(0,0,0,0.45),
    inset 10px 10px 20px rgba(255,255,255,0.18),
    0 18px 40px rgba(11,20,96,0.4);
  animation: earthSpin 6s linear infinite;
  background-size: 220% 220%;
}

@keyframes earthSpin {
  0%   { background-position: 0% 50%; transform: rotate(0deg); }
  100% { background-position: 200% 50%; transform: rotate(360deg); }
}

.sat-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px dashed rgba(38,103,255,0.3);
  border-radius: 50%;
  transform-style: preserve-3d;
}

.sat-ring-one {
  width: 160px;
  height: 160px;
  margin: -80px 0 0 -80px;
  transform: rotateX(68deg);
  animation: ringSpin 3.5s linear infinite;
}
.sat-ring-two {
  width: 210px;
  height: 210px;
  margin: -105px 0 0 -105px;
  transform: rotateX(68deg) rotateZ(70deg);
  animation: ringSpin 5.5s linear infinite reverse;
}
.sat-ring-three {
  width: 130px;
  height: 130px;
  margin: -65px 0 0 -65px;
  transform: rotateX(68deg) rotateZ(-120deg);
  animation: ringSpin 2.6s linear infinite;
}

.satellite {
  position: absolute;
  top: -8px;
  left: 50%;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd43b, #ff922b);
  box-shadow: 0 0 12px 3px rgba(255,146,43,0.6);
  transform: rotateX(-68deg);
}
.satellite.sat-small {
  width: 10px;
  height: 10px;
  margin-left: -5px;
  background: linear-gradient(135deg, var(--tertiary), #2bb673);
  box-shadow: 0 0 10px 2px rgba(110,241,178,0.6);
}

/* floating status chips for tech/SaaS feel */
.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(38,103,255,0.15);
  box-shadow: 0 14px 30px rgba(11,20,96,0.18);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--secondary);
  z-index: 2;
  animation: chipFloat 3.2s ease-in-out infinite;
}
.chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tertiary);
  box-shadow: 0 0 0 4px rgba(110,241,178,0.25);
}
.chip-one { top: 10%; left: -6%; animation-delay: 0s; }
.chip-two { bottom: 8%; right: -4%; animation-delay: 1.4s; }

@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}


.section { padding: 80px 0; }
.section-heading { text-align: center; margin-bottom: 32px; }
.section-heading h2 { font-size: 2rem; margin: 0; }
.cards-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.service-card { background: var(--white); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.04); }
.service-card img { height: 220px; width: 100%; object-fit: cover; }
.service-card > div { padding: 20px; }
.service-card h3 { margin: 0 0 8px; }
.service-card p { color: var(--muted); margin: 0 0 14px; }
.service-card a { color: var(--primary); font-weight: 700; }
.about-section { background: #f8fbff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.about-images { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-images img { border-radius: 20px; height: 260px; object-fit: cover; }
.cta-section { padding: 0 0 80px; }
.cta-box { background: linear-gradient(90deg, var(--primary), #0f172a); color: var(--white); border-radius: 24px; padding: 32px 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.pricing-section { background: #f8fafc; }
.pricing-card { max-width: 720px; margin: 0 auto; background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 28px 32px; box-shadow: 0 10px 30px rgba(0,0,0,0.04); }
.pricing-card p { margin: 8px 0; }
.pricing-card .note { margin-top: 16px; color: var(--primary); font-weight: 700; }
.footer { background: var(--dark); color: #dbeafe; padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer h3 { color: var(--white); margin-top: 0; }
.footer a { display: block; margin: 8px 0; color: #dbeafe; }
.footer-bottom { padding-top: 28px; margin-top: 28px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.95rem; color: #cbd5e1; }
.page { padding: 60px 0; }
.page h1 { font-size: 2rem; margin-top: 0; }
.page .content { background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 28px; box-shadow: 0 10px 30px rgba(0,0,0,0.04); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; }
.form-card, .info-card { background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 24px; box-shadow: 0 10px 30px rgba(0,0,0,0.04); }
form { display: grid; gap: 16px; }
label { display: grid; gap: 8px; font-weight: 600; }
input, textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; font: inherit; }
button { border: 0; cursor: pointer; font: inherit; }
.form-message { min-height: 24px; font-weight: 600; }
.form-message.success { color: #15803d; }
.form-message.error { color: #dc2626; }
@media (max-width: 900px) {
  .hero-visual { min-height: 320px; }
  .scene { width: 240px; height: 240px; transform: scale(0.8); }
  .glow-backdrop { width: 320px; height: 320px; }
  .float-chip { font-size: 0.72rem; padding: 6px 10px; }
  .earth-system { transform: translate(-50%, -50%) translateY(-2.5cm) scale(0.75); }
}
@media (max-width: 860px) {
  .cards-grid, .about-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { min-height: 280px; }
  .cta-box { flex-direction: column; align-items: flex-start; }
  .nav-links { display: none; }
}