/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0a0c10;
  --surface:   #111520;
  --surface2:  #161c2d;
  --border:    rgba(30, 42, 69, 0.8);
  --blue:      hsl(211, 100%, 41%);
  --blue-glow: rgba(0, 120, 212, 0.22);
  --blue-dim:  hsl(211, 100%, 31%);
  --blue-light:hsl(211, 100%, 65%);
  --text:      #e8edf5;
  --text-dim:  #7a8aab;
  --text-muted:#3d4f6e;
  --radius:    12px;
  --transition:0.25s cubic-bezier(.4,0,.2,1);
  --font:      'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', monospace;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

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

/* ─── Animations ────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50%       { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

.anim-fade-up { animation: fadeUp 0.7s ease both; }
.anim-delay-1 { animation-delay: 0.1s; }
.anim-delay-2 { animation-delay: 0.2s; }
.anim-delay-3 { animation-delay: 0.3s; }

/* ─── Nav ───────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 40px;
  background: rgba(17, 21, 32, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo-mark {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
  color: #fff;
  letter-spacing: -0.5px;
  box-shadow: 0 0 18px var(--blue-glow);
}

.nav-logo-name {
  font-weight: 800;
  font-size: 14px;
  color: var(--text);
  letter-spacing: -0.3px;
  line-height: 1.1;
}

.nav-logo-sub {
  font-size: 9px;
  color: var(--blue-light);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-spacer { flex: 1; }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  padding: 8px 22px;
  border-radius: 99px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transition: all var(--transition);
  box-shadow: 0 0 20px var(--blue-glow);
  white-space: nowrap;
}

.nav-cta:hover {
  background: hsl(211, 100%, 48%);
  box-shadow: 0 0 30px var(--blue-glow);
  transform: translateY(-1px);
}

/* ─── Hero ──────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 40px 0;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.hero-inner {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  gap: 60px;
}

.hero-glow-1 {
  position: absolute;
  top: -100px; right: -100px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--blue-glow) 0%, transparent 70%);
  pointer-events: none;
  animation: pulse 4s ease infinite;
}

.hero-glow-2 {
  position: absolute;
  bottom: -150px; left: 80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, hsla(195, 80%, 50%, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 640px;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 120, 212, 0.08);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 6px 14px;
  margin-bottom: 28px;
}

.hero-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px var(--blue);
  animation: pulse 2s ease infinite;
}

.hero-badge span {
  font-size: 11px;
  color: var(--blue-light);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}

.hero-headline {
  font-size: 72px;
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -2px;
  color: var(--text);
  margin-bottom: 24px;
}

.hero-headline em {
  font-style: normal;
  color: var(--blue-light);
}

.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-dim);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 14px 32px;
  border-radius: 99px;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  transition: all var(--transition);
  box-shadow: 0 0 30px var(--blue-glow);
  border: 2px solid transparent;
}

.btn-primary:hover {
  background: hsl(211, 100%, 48%);
  box-shadow: 0 0 40px var(--blue-glow);
  transform: translateY(-2px);
}

.btn-secondary {
  padding: 14px 32px;
  border-radius: 99px;
  background: transparent;
  color: var(--text-dim);
  font-size: 15px;
  font-weight: 600;
  border: 2px solid var(--border);
  transition: all var(--transition);
}

.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--text);
}

/* Hero stats */
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 52px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}

.stat-num {
  font-size: 30px;
  font-weight: 900;
  color: var(--blue-light);
  letter-spacing: -1px;
  text-shadow: 0 0 30px var(--blue-glow);
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Hero visual */
.hero-visual {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  z-index: 2;
}

.dashboard-card {
  width: 400px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 0 60px var(--blue-glow), 0 40px 80px rgba(0,0,0,0.5);
  animation: float 5s ease-in-out infinite;
  position: relative;
}

.dashboard-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.dashboard-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px var(--blue);
}

.dashboard-title {
  font-size: 11px;
  color: var(--text-dim);
  font-weight: 600;
}

.dashboard-live {
  margin-left: auto;
  font-size: 10px;
  color: var(--blue-light);
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 90px;
  background: var(--surface2);
  border-radius: 8px;
  padding: 10px 10px 0;
  margin-bottom: 18px;
}

.chart-bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(to top, var(--blue-dim), var(--blue));
  box-shadow: 0 0 6px var(--blue-glow);
}

.kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.kpi-item {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px;
}

.kpi-label { font-size: 9px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.8px; }
.kpi-value { font-size: 15px; font-weight: 800; color: var(--text); margin: 2px 0; }
.kpi-change { font-size: 10px; color: #22c55e; }

.badge-float {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 12px;
}

.badge-float-top {
  top: -14px; right: -14px;
  box-shadow: 0 0 18px var(--blue-glow);
}

.badge-float-bottom {
  bottom: -14px; left: -14px;
}

.badge-float .badge-label { font-size: 9px; color: var(--text-muted); }
.badge-float .badge-value { font-size: 12px; font-weight: 700; }
.badge-float-top .badge-value { color: var(--blue-light); }
.badge-float-bottom .badge-value { color: #22c55e; }

/* ─── Section shared ────────────────────────────────────────── */
section { padding: 80px; }

.section-eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 12px;
}

.section-title {
  font-size: 42px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-title em {
  font-style: normal;
  color: var(--blue-light);
}

.section-sub {
  font-size: 16px;
  color: var(--text-dim);
  max-width: 560px;
  line-height: 1.7;
}

.section-header-center {
  text-align: center;
  margin-bottom: 56px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.section-header-center .section-sub {
  margin: 0 auto;
}

/* ─── Services ──────────────────────────────────────────────── */
#services {
  background: var(--bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  margin-top: 56px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.services-grid .service-card:nth-child(-n+3) {
  grid-column: span 2;
}

.services-grid .service-card:nth-child(4),
.services-grid .service-card:nth-child(5) {
  grid-column: span 3;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), transparent);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.service-icon {
  font-size: 22px;
  color: var(--blue-light);
  margin-bottom: 14px;
  text-shadow: 0 0 20px var(--blue-glow);
}

.service-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-dim);
}

/* ─── Why Us ────────────────────────────────────────────────── */
#why-us {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.why-header {
  max-width: 1200px;
  margin: 0 auto 56px;
}

.why-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1200px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.benefit-tile {
  padding: 36px 32px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
  position: relative;
}

.benefit-tile:hover {
  background: rgba(0, 120, 212, 0.04);
}

.benefit-tile:nth-child(3n) {
  border-right: none;
}

.benefit-tile:nth-child(4),
.benefit-tile:nth-child(5),
.benefit-tile:nth-child(6) {
  border-bottom: none;
}

.benefit-num {
  font-size: 48px;
  font-weight: 900;
  color: var(--blue-light);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -2px;
  font-variant-numeric: tabular-nums;
}

.benefit-tile:hover .benefit-num {
  opacity: 0.6;
}

.benefit-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
}

.benefit-body p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ─── Testimonials ──────────────────────────────────────────── */
#testimonials {
  background: var(--bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform var(--transition);
}

.testimonial-card:hover { transform: translateY(-4px); }

.quote-mark {
  font-size: 32px;
  color: var(--blue-light);
  line-height: 1;
  margin-bottom: 12px;
  font-family: Georgia, serif;
}

.testimonial-card blockquote {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dim);
  margin-bottom: 20px;
  font-style: normal;
}

.testimonial-author {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.testimonial-role {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ─── CTA Banner ────────────────────────────────────────────── */
#cta {
  background: var(--bg);
  border-top: 1px solid var(--border);
  text-align: center;
}

#cta .section-title { margin-bottom: 14px; }
#cta .section-sub { margin: 0 auto 36px; }

/* ─── Footer ────────────────────────────────────────────────── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 36px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo-mark {
  width: 30px; height: 30px;
  border-radius: 6px;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 12px;
  color: #fff;
}

.footer-logo-name {
  font-weight: 700;
  font-size: 13px;
  color: var(--text);
}

.footer-logo-sub {
  font-size: 9px;
  color: var(--blue-light);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 12px;
  color: var(--text-dim);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--text); }

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  #hero { padding: 100px 24px 60px; }
  .hero-inner { flex-direction: column; gap: 60px; }
  .hero-headline { font-size: 52px; }
  .hero-visual { padding-left: 0; justify-content: center; }
  .dashboard-card { width: 340px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid .service-card:nth-child(-n+3) { grid-column: span 1; }
  .services-grid .service-card:nth-child(4),
  .services-grid .service-card:nth-child(5) { grid-column: span 1; }
  .why-benefits { grid-template-columns: 1fr 1fr; }
  .benefit-tile:nth-child(3n) { border-right: 1px solid var(--border); }
  .benefit-tile:nth-child(2n) { border-right: none; }
  .benefit-tile:nth-child(4),
  .benefit-tile:nth-child(5),
  .benefit-tile:nth-child(6) { border-bottom: 1px solid var(--border); }
  .benefit-tile:nth-child(5),
  .benefit-tile:nth-child(6) { border-bottom: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  section { padding: 60px 40px; }
  nav { padding: 0 24px; gap: 20px; }
  .nav-links { display: none; }
  footer { padding: 28px 40px; }
}

@media (max-width: 640px) {
  .hero-headline { font-size: 38px; letter-spacing: -1px; }
  .hero-sub { font-size: 16px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .services-grid { grid-template-columns: 1fr; }
  .services-grid .service-card:nth-child(-n+3) { grid-column: span 1; }
  .services-grid .service-card:nth-child(4),
  .services-grid .service-card:nth-child(5) { grid-column: span 1; }
  .section-title { font-size: 30px; }
  .dashboard-card { width: 100%; }
  section { padding: 48px 24px; }
  footer { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .why-benefits { grid-template-columns: 1fr; }
  .benefit-tile { border-right: none !important; border-bottom: 1px solid var(--border) !important; }
  .benefit-tile:last-child { border-bottom: none !important; }
}
