:root {
  --bg: #070b16;
  --panel: rgba(15, 23, 42, 0.72);
  --panel-strong: rgba(15, 23, 42, 0.9);
  --text: #e5eefb;
  --muted: #9fb0ca;
  --line: rgba(148, 163, 184, 0.18);
  --accent: #7c3aed;
  --accent-2: #22d3ee;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(124, 58, 237, 0.22), transparent 35%),
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.16), transparent 32%),
    linear-gradient(180deg, #050816 0%, #0b1120 100%);
  color: var(--text);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.bg-orb {
  position: fixed;
  inset: auto;
  width: 420px;
  height: 420px;
  filter: blur(70px);
  opacity: 0.32;
  pointer-events: none;
  z-index: 0;
  animation: float 12s ease-in-out infinite;
}
.orb-1 { top: -120px; left: -140px; background: #7c3aed; }
.orb-2 { right: -160px; top: 240px; background: #22d3ee; animation-delay: -6s; }

.header, .footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: var(--shadow);
}

.nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform .25s ease, border-color .25s ease, background .25s ease, opacity .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #4f46e5);
  box-shadow: 0 18px 50px rgba(124, 58, 237, .28);
}
.btn-secondary {
  background: rgba(255,255,255,0.04);
  border-color: var(--line);
}
.btn-ghost {
  background: rgba(255,255,255,0.03);
  border-color: var(--line);
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: center;
  padding: 52px 0 30px;
}

.badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(255,255,255,0.04);
  color: #c7d6ee;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  margin-bottom: 18px;
}

h1, h2, h3 { margin: 0; line-height: 1.05; }
h1 { font-size: clamp(40px, 6vw, 68px); max-width: 11ch; }
h2 { font-size: clamp(28px, 3.2vw, 44px); max-width: 14ch; }
h3 { font-size: 20px; }

.lead, .section-copy p, .card p, .contact-card p { color: var(--muted); line-height: 1.7; font-size: 16px; }
.lead { max-width: 56ch; margin: 20px 0 26px; }

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.hero-stats div, .metric, .card, .promo, .contact-card {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  border-radius: 24px;
}
.hero-stats div {
  padding: 18px;
}
.hero-stats strong, .metric strong {
  display: block;
  font-size: 28px;
  margin-bottom: 6px;
}
.hero-stats span, .metric small { color: var(--muted); }

.glass { background: var(--panel-strong); }

.hero-card {
  padding: 18px;
  border-radius: 28px;
  transform: perspective(1200px) rotateY(-8deg) rotateX(5deg);
  animation: bob 7s ease-in-out infinite;
}

.card-top {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 18px;
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.red { background: #fb7185; }
.yellow { background: #facc15; }
.green { background: #34d399; }
.mini-title { margin-left: 8px; }

.dashboard {
  display: grid;
  gap: 14px;
}
.metric {
  padding: 18px;
  display: grid;
  gap: 4px;
}
.chart-wrap {
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(148, 163, 184, 0.16);
}
.chart { width: 100%; height: auto; display: block; }

.section {
  position: relative;
  z-index: 1;
  padding: 50px 0 0;
}
.section-heading { margin-bottom: 20px; }
.section-heading h2 { margin-top: 12px; }

.grid {
  display: grid;
  gap: 18px;
}
.features-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.card {
  padding: 24px;
  min-height: 180px;
  transform: translateY(20px);
}
.card p { margin-top: 14px; }

.split {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 24px;
  align-items: center;
}
.promo {
  padding: 14px;
}
.promo img {
  border-radius: 18px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.section-copy { padding-left: 12px; }
.checklist {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}
.checklist li {
  position: relative;
  padding-left: 28px;
  color: #d7e2f5;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #22d3ee;
  font-weight: 700;
}

.gallery-section { padding-bottom: 18px; }
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery img {
  border-radius: 22px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact {
  padding-bottom: 54px;
}
.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px;
}

.footer {
  padding-bottom: 34px;
  color: var(--muted);
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(30px, 24px, 0) scale(1.06); }
}
@keyframes bob {
  0%, 100% { transform: perspective(1200px) rotateY(-8deg) rotateX(5deg) translateY(0); }
  50% { transform: perspective(1200px) rotateY(-8deg) rotateX(5deg) translateY(-10px); }
}

@media (max-width: 960px) {
  .hero, .split, .features-grid, .gallery, .contact-card { grid-template-columns: 1fr; display: grid; }
  .hero-card { transform: none; }
  .nav { display: none; }
  .hero-stats { grid-template-columns: 1fr; }
  .section-copy { padding-left: 0; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 20px, 1120px); }
  .header { gap: 10px; }
  .brand span:last-child { display: none; }
  h1 { max-width: 12ch; }
  .hero { padding-top: 26px; }
}
