
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #080914;
  --surface: #101222;
  --surface-light: #171a2d;
  --purple: #8657ff;
  --violet: #b18aff;
  --text: #f5f4ff;
  --muted: #9699b1;
  --border: rgba(255,255,255,.09);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.navbar {
  height: 82px;
  padding: 0 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,9,20,.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 2px;
}

.brand-icon {
  width: 37px;
  height: 37px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg,#a783ff,#6032df);
  box-shadow: 0 0 25px rgba(134,87,255,.4);
  color: white;
}

.nav-links {
  display: flex;
  gap: 38px;
  color: var(--muted);
  font-size: 13px;
}

.nav-links a,
.secondary-button {
  transition: color .25s ease;
}

.nav-links a:hover,
.secondary-button:hover {
  color: white;
}

.nav-button {
  padding: 12px 19px;
  background: rgba(134,87,255,.13);
  border: 1px solid rgba(134,87,255,.4);
  border-radius: 9px;
  font-size: 12px;
  transition: .3s;
}

.nav-button:hover {
  background: var(--purple);
  transform: translateY(-2px);
}

.hero {
  min-height: 690px;
  padding: 100px 7%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle,rgba(115,65,255,.19),transparent 70%);
  top: -200px;
  left: 25%;
  pointer-events: none;
  animation: glowMove 8s ease-in-out infinite alternate;
}

@keyframes glowMove {
  from { transform: translate(0,0) scale(1); }
  to { transform: translate(90px,65px) scale(1.2); }
}

.hero-content,
.hero-visual {
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--violet);
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  background: #8b70ff;
  box-shadow: 0 0 12px #8b70ff;
}

.hero h1 {
  font-size: clamp(46px,5.1vw,76px);
  line-height: 1.12;
  letter-spacing: -3.5px;
  margin-top: 28px;
  font-weight: 800;
}

.hero h1 span,
.section-heading h2 span,
.vision h2 span {
  background: linear-gradient(100deg,#a88aff,#7043ff,#d2b9ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description {
  color: var(--muted);
  max-width: 480px;
  font-size: 15px;
  line-height: 1.9;
  margin-top: 25px;
}

.hero-actions {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

.primary-button {
  padding: 15px 23px;
  border-radius: 9px;
  background: linear-gradient(110deg,#8757ff,#6637df);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 30px rgba(113,65,255,.24);
  transition: .3s;
}

.primary-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(113,65,255,.4);
}

.primary-button span {
  margin-left: 12px;
}

.secondary-button {
  padding: 14px 18px;
  font-size: 13px;
  color: var(--muted);
}

.hero-note {
  margin-top: 35px;
  font-size: 11px;
  color: var(--muted);
}

.hero-note span {
  color: var(--violet);
}

.hero-visual {
  perspective: 1200px;
}

.visual-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #743cff;
  filter: blur(120px);
  opacity: .15;
}

.dashboard-preview {
  position: relative;
  padding: 25px;
  border-radius: 18px;
  border: 1px solid rgba(177,138,255,.24);
  background: linear-gradient(145deg,#17192c,#0c0e1c);
  box-shadow: 0 35px 100px rgba(0,0,0,.5);
  animation: float 7s ease-in-out infinite;
  transform-style: preserve-3d;
}

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

.preview-top,
.activity-heading,
.activity-line,
.preview-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.preview-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1px;
}

.preview-brand .brand-icon {
  width: 27px;
  height: 27px;
  font-size: 12px;
}

.preview-label,
.activity-heading span {
  font-size: 8px;
  color: var(--muted);
  letter-spacing: 1px;
}

.preview-welcome {
  margin-top: 35px;
}

.preview-welcome > span {
  color: var(--violet);
  font-size: 9px;
  letter-spacing: 1.5px;
}

.preview-welcome h2 {
  font-size: 26px;
  margin-top: 5px;
}

.preview-welcome p,
.activity-line small {
  color: var(--muted);
  font-size: 10px;
}

.preview-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 25px;
}

.stat-card {
  padding: 17px;
  border-radius: 11px;
  background: rgba(255,255,255,.035);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.stat-card > span,
.stat-card small {
  font-size: 9px;
  color: var(--muted);
}

.stat-card strong {
  font-size: 31px;
  margin: 5px 0;
}

.preview-activity {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 11px;
  margin-top: 15px;
  background: rgba(255,255,255,.02);
}

.activity-heading {
  margin-bottom: 15px;
  font-size: 11px;
}

.activity-line {
  justify-content: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}

.activity-line > div {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.activity-line strong {
  font-size: 10px;
}

.activity-icon {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  background: rgba(134,87,255,.17);
  color: var(--violet);
  border-radius: 9px;
}

.activity-status {
  font-size: 10px;
  color: var(--violet);
}

.preview-footer {
  justify-content: flex-start;
  gap: 10px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 1px;
}

.section {
  padding: 100px 7%;
}

.departments {
  background: linear-gradient(180deg,#0a0b17,#0d0f20);
  border-top: 1px solid var(--border);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 45px;
}

.section-heading h2 {
  font-size: clamp(32px,4vw,48px);
  line-height: 1.2;
  margin-top: 14px;
}

.section-heading > p {
  color: var(--muted);
  font-size: 12px;
  max-width: 320px;
}

.department-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
}

.department-card {
  position: relative;
  min-height: 205px;
  padding: 25px 20px;
  border-radius: 13px;
  background: linear-gradient(145deg,#17192b,#101221);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .3s,border-color .3s,background .3s;
}

.department-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right,rgba(135,87,255,.17),transparent 60%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}

.department-card:hover {
  transform: translateY(-7px);
  border-color: rgba(165,130,255,.55);
}

.department-card:hover::after {
  opacity: 1;
}

.card-number {
  position: absolute;
  right: 20px;
  top: 20px;
  color: #666982;
  font-size: 10px;
}

.card-icon {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  background: rgba(134,87,255,.15);
  color: var(--violet);
  border-radius: 10px;
  font-size: 19px;
  margin-bottom: 19px;
}

.department-card h3 {
  font-size: 14px;
  margin-bottom: 9px;
}

.department-card p {
  font-size: 10px;
  line-height: 1.8;
  color: var(--muted);
}

.vision {
  text-align: center;
  padding-top: 130px;
  padding-bottom: 130px;
  background: radial-gradient(ellipse at center,rgba(111,63,255,.13),transparent 65%);
}

.vision h2 {
  font-size: clamp(38px,5vw,65px);
  line-height: 1.2;
  margin: 22px 0;
  letter-spacing: -2px;
}

.vision p {
  color: var(--muted);
  max-width: 580px;
  margin: auto;
  font-size: 13px;
  line-height: 1.9;
}

.footer {
  min-height: 90px;
  padding: 25px 7%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 10px;
}

.footer .brand {
  color: white;
  font-size: 16px;
}

@media (max-width:1100px) {
  .hero {
    gap: 35px;
    padding-left: 5%;
    padding-right: 5%;
  }

  .department-grid {
    grid-template-columns: repeat(2,1fr);
  }
}

@media (max-width:760px) {
  .navbar {
    height: 68px;
    padding: 0 5%;
  }

  .nav-links {
    display: none;
  }

  .nav-button {
    font-size: 10px;
    padding: 10px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 75px 6%;
    gap: 60px;
  }

  .hero h1 {
    letter-spacing: -2px;
  }

  .hero-visual {
    max-width: 550px;
    width: 100%;
    margin: auto;
  }

  .section {
    padding: 75px 6%;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .department-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .department-card {
    padding: 18px 13px;
    min-height: 190px;
  }

  .department-card h3 {
    font-size: 12px;
  }

  .department-card p {
    font-size: 9px;
  }

  .footer {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width:380px) {
  .department-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
