:root {
  --navy: #071428;
  --blue: #1d4ed8;
  --gold: #f5b942;
  --text: #e8eefc;
  --muted: #9fb0d0;
  --card: rgba(12, 28, 58, 0.72);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  background: radial-gradient(circle at top, #12305f 0%, var(--navy) 48%);
  color: var(--text);
  overflow-x: hidden;
}

.bg-orb {
  position: fixed;
  z-index: 0;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.35;
  pointer-events: none;
  animation: float 10s ease-in-out infinite;
}
.bg-orb-1 { width: 280px; height: 280px; background: #2563eb; top: 10%; left: -80px; }
.bg-orb-2 { width: 220px; height: 220px; background: #f59e0b; right: -60px; top: 40%; animation-delay: -3s; }
.bg-orb-3 { width: 180px; height: 180px; background: #38bdf8; bottom: 10%; left: 30%; animation-delay: -6s; }

.nav, footer { position: relative; z-index: 1; }
main { position: relative; z-index: 0; }

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 7%;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(7, 20, 40, 0.88);
  border-bottom: 1px solid rgba(245, 185, 66, 0.12);
  pointer-events: auto;
}
.logo {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  text-decoration: none;
  background: transparent;
}
.logo img {
  height: 54px;
  width: auto;
  display: block;
  background: transparent;
}
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  cursor: pointer;
  z-index: 3;
}
.menu-btn span {
  display: block;
  height: 2px;
  margin: 6px 10px;
  background: #fff;
  border-radius: 2px;
}
.nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
  z-index: 2;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 999px;
  position: relative;
  z-index: 2;
}
.nav-links a:hover { color: white; background: rgba(255,255,255,0.08); }
.section, .hero { scroll-margin-top: 88px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 999px; padding: 12px 20px;
  font-weight: 800; cursor: pointer; text-decoration: none;
}
.btn-primary { background: linear-gradient(90deg, #f5b942, #f59e0b); color: #1a1303; }
.btn-ghost, .btn-nav { background: rgba(255,255,255,0.08); color: white; }
.btn-nav { padding: 10px 16px; }

.hero {
  min-height: 88vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px 7% 80px;
  perspective: 1200px;
}
.eyebrow { color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; font-weight: 800; }
h1, h2 { margin: 8px 0 16px; }
h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.05; }
.lead, p { color: var(--muted); }
.hero-actions { display: flex; gap: 12px; margin-top: 24px; }

.stage {
  position: relative;
  height: 520px;
  transform-style: preserve-3d;
  z-index: 0;
}
.platform {
  position: absolute;
  width: 70%;
  height: 70px;
  left: 15%;
  bottom: 40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56,189,248,0.55), transparent 70%);
  filter: blur(2px);
  animation: pulse 3s ease-in-out infinite;
}
.phone {
  position: absolute;
  width: 236px;
  height: 478px;
  border-radius: 38px;
  padding: 8px;
  background: linear-gradient(180deg, #2a2f38, #0b0d12);
  box-shadow: 0 30px 60px rgba(0,0,0,0.45), inset 0 0 0 1px rgba(255,255,255,0.18);
  transform-style: preserve-3d;
  animation: floatPhone 6s ease-in-out infinite;
}
.phone-bezel {
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: #000;
  position: relative;
}
.phone-bezel::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 86px;
  height: 18px;
  margin-left: -43px;
  border-radius: 20px;
  background: #0a0a0a;
  z-index: 3;
}
.phone-left { left: 14%; top: 6px; transform: rotateY(18deg) rotateX(8deg); }
.phone-right { right: 4%; top: 54px; width: 206px; height: 418px; animation-delay: -2s; transform: rotateY(-16deg) rotateX(10deg); }
.phone-screen {
  height: 100%;
  padding: 28px 10px 10px;
  font-size: 11px;
  color: #0f172a;
  overflow: hidden;
}
.screen-dash { background: #f4f7fb; }
.screen-services { background: #f7f9fc; }
.status-bar {
  display: flex;
  justify-content: space-between;
  color: #334155;
  font-weight: 700;
  font-size: 10px;
  margin-bottom: 8px;
}
.dash-head {
  display: grid;
  grid-template-columns: 28px 1fr 22px;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}
.avatar {
  width: 28px;
  height: 28px;
  object-fit: contain;
  background: #0b1220;
  border-radius: 50%;
}
.dash-head strong { display: block; font-size: 12px; }
.dash-head small, .mini-label { color: #64748b; }
.mini-label { margin: 8px 2px 6px; font-weight: 700; text-align: left; font-size: 10px; }
.bell { font-size: 12px; }
.dash-card {
  background: linear-gradient(135deg, #2563eb, #1d4ed8 55%, #1e3a8a);
  color: white;
  border-radius: 16px;
  padding: 10px 12px 6px;
}
.dash-card-top span { font-size: 10px; opacity: 0.85; }
.dash-card-top b { display: block; font-size: 22px; line-height: 1.1; }
.dash-card-top small { font-size: 10px; font-weight: 600; opacity: 0.85; }
.spark { width: 100%; height: 36px; display: block; }
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.quick div {
  background: white;
  border-radius: 12px;
  padding: 8px 6px;
  font-weight: 700;
  font-size: 10px;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06);
}
.quick span { display: block; font-size: 14px; margin-bottom: 2px; }
.activity { list-style: none; margin: 0; padding: 0; }
.activity li {
  display: flex;
  align-items: center;
  gap: 6px;
  background: white;
  border-radius: 10px;
  padding: 6px 8px;
  margin-bottom: 5px;
  font-weight: 650;
  font-size: 9px;
}
.activity i {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e; flex-shrink: 0;
}
.activity em { margin-left: auto; color: #94a3b8; font-style: normal; font-size: 8px; }
.tabbar {
  position: absolute;
  left: 8px; right: 8px; bottom: 8px;
  height: 38px;
  border-radius: 14px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-around;
  font-size: 8px;
  font-weight: 700;
  color: #94a3b8;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08);
}
.tabbar .on { color: #2563eb; }
.tabbar .plus {
  width: 22px; height: 22px; border-radius: 50%;
  background: #2563eb; color: white;
  display: grid; place-items: center; font-size: 14px;
}
.screen-services h4 {
  margin: 0 0 8px;
  text-align: center;
  font-size: 13px;
}
.svc {
  background: white;
  border-radius: 14px;
  padding: 8px;
  margin-bottom: 8px;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.06);
  text-align: left;
}
.svc-art {
  height: 72px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 800;
  margin-bottom: 6px;
  font-size: 22px;
}
.svc-art.code { background: radial-gradient(circle at 30% 20%, #60a5fa, #1d4ed8 62%); }
.svc-art.cloud { background: radial-gradient(circle at 70% 30%, #38bdf8, #1e3a8a 65%); }
.svc b { font-size: 11px; }
.svc p { margin: 4px 0 0; font-size: 9px; color: #64748b; line-height: 1.35; }
.phone-right .tabbar { height: 32px; font-size: 7px; }
.phone-right .svc-art { height: 58px; }

.section { padding: 70px 7%; }
.cards, .why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.card, .why-grid div, .contact form {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 22px;
  transform-style: preserve-3d;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover, .why-grid div:hover { transform: translateY(-8px) rotateX(6deg); box-shadow: 0 20px 40px rgba(0,0,0,0.25); }
.card span { color: var(--gold); font-weight: 800; }

.tech-section {
  text-align: center;
  position: relative;
  overflow: hidden;
}
.section-lead {
  max-width: 520px;
  margin: 0 auto 36px;
}
.tech-orbit {
  position: absolute;
  inset: 20% auto auto 50%;
  width: 520px;
  height: 520px;
  margin-left: -260px;
  border-radius: 50%;
  border: 1px dashed rgba(245, 185, 66, 0.18);
  pointer-events: none;
  animation: spin 28s linear infinite;
}
.tech-orbit::before,
.tech-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(56, 189, 248, 0.15);
}
.tech-orbit::before { inset: 40px; }
.tech-orbit::after { inset: 90px; animation: spin 18s linear infinite reverse; }

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  perspective: 1000px;
  position: relative;
}
.tech-card {
  background: linear-gradient(180deg, rgba(18, 40, 78, 0.92), rgba(8, 18, 40, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 26px 16px 22px;
  transform-style: preserve-3d;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
}
.tech-card:hover {
  border-color: color-mix(in srgb, var(--accent) 55%, white);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.32), 0 0 28px color-mix(in srgb, var(--accent) 28%, transparent);
}
.tech-logo {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background:
    radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 55%),
    rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: translateZ(28px);
}
.tech-logo svg { width: 38px; height: 38px; }
.tech-card h3 {
  margin: 0 0 4px;
  font-size: 17px;
  color: white;
  transform: translateZ(16px);
}
.tech-card p {
  margin: 0;
  font-size: 13px;
  transform: translateZ(12px);
}

.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 32px; }
.contact-list { list-style: none; padding: 0; }
.contact-list a { color: white; }
.contact form { display: grid; gap: 12px; }
label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; }
input, textarea {
  width: 100%; border: 0; border-radius: 12px; padding: 12px 14px;
  background: #0b1b36; color: white; font: inherit;
}
.form-status { color: #86efac; }
footer { text-align: center; padding: 24px; color: var(--muted); }

@keyframes float {
  50% { transform: translateY(-18px); }
}
@keyframes floatPhone {
  50% { transform: translateY(-16px) rotateY(12deg) rotateX(6deg); }
}
@keyframes pulse {
  50% { opacity: 0.45; transform: scale(1.08); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes bulbPulse {
  0%, 100% { opacity: 0.18; }
  50% { opacity: 0.55; }
}

@media (max-width: 900px) {
  .hero, .contact { grid-template-columns: 1fr; }
  .menu-btn { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% - 4px);
    right: 5%;
    left: 5%;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: 16px;
    background: rgba(7, 20, 40, 0.96);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { display: block; text-align: center; }
  .logo img { height: 40px; }
  .stage { height: 420px; }
  .phone-left { left: 12%; }
  .phone-right { right: 6%; }
  .tech-orbit { display: none; }
}
