:root {
  /* Design tokens used across the page. */
  --bg: #070912;
  --bg-soft: #0d1120;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.13);
  --border: rgba(255, 255, 255, 0.16);
  --text: #f6f8ff;
  --muted: #aab4cc;
  --blue: #38bdf8;
  --violet: #8b5cf6;
  --cyan: #22d3ee;
  --success: #34d399;
  --danger: #fb7185;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(
      circle at 15% 5%,
      rgba(56, 189, 248, 0.24),
      transparent 28rem
    ),
    radial-gradient(
      circle at 85% 15%,
      rgba(139, 92, 246, 0.22),
      transparent 26rem
    ),
    linear-gradient(180deg, #070912 0%, #0a0d19 48%, #070912 100%);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

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

.section {
  position: relative;
  padding: 112px 0;
}

.site-header {
  /* Fixed glass navigation that remains readable while scrolling. */
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 9, 18, 0.78);
  backdrop-filter: blur(18px);
}

.logo {
  width: 230px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  letter-spacing: 0;
}

.brand strong {
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 14px 34px rgba(56, 189, 248, 0.28);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-menu a {
  transition: color 0.25s ease;
}

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

.nav-cta {
  padding: 10px 16px;
  border: 1px solid rgba(56, 189, 248, 0.34);
  border-radius: 8px;
  background: linear-gradient(
    135deg,
    rgba(56, 189, 248, 0.16),
    rgba(139, 92, 246, 0.16)
  );
  color: var(--text) !important;
}

.nav-mobile-actions {
  display: none;
  align-items: center;
  gap: 10px;
}

.mobile-login {
  min-height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(56, 189, 248, 0.34);
  border-radius: 8px;
  background: linear-gradient(
    135deg,
    rgba(56, 189, 248, 0.16),
    rgba(139, 92, 246, 0.16)
  );
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--text);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 154px;
}

.hero-grid,
.overview-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: 64px;
}

.hero-centered {
  display: block;
  max-width: 1080px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.08);
  color: #b8edff;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.65rem, 6vw, 5.25rem);
}

.hero-centered h1 {
  max-width: 1040px;
  margin: 0 auto;
  color: var(--yellow);
  font-size: clamp(2.55rem, 5.2vw, 4.65rem);
  font-weight: 800;
}

.hero-centered h1 span {
  display: block;
}

.hero-centered h1 .hero-accent {
  /* font-size: clamp(1.25rem, 3vw, 2.1rem); */
  display: inline-block;
  padding-top: 12px;
  color: #00d4ff;
  background-image: linear-gradient(
    90deg,
    #00d4ff 0%,
    #00d4ff 32%,
    #ffffff 44%,
    #00d4ff 55%,
    #60a5fa 66%,
    #ffffff 78%,
    #00d4ff 90%,
    #00d4ff 100%
  );
  background-size: 240% 100%;
  background-position: 100% 50%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 0 rgba(0, 212, 255, 0);
  transition:
    background-position 0.72s ease-in-out,
    text-shadow 0.72s ease-in-out;
}

.hero-centered h1 .hero-accent:hover {
  background-position: 0% 50%;
  text-shadow:
    0 0 18px rgba(0, 212, 255, 0.28),
    0 0 34px rgba(0, 212, 255, 0.14);
}

@media (prefers-reduced-motion: reduce) {
  .hero-centered h1 .hero-accent {
    transition: text-shadow 0.2s ease;
  }

  .hero-centered h1 .hero-accent:hover {
    background-position: 100% 50%;
  }
}

h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
}

h3 {
  font-size: 1.1rem;
}

.hero-copy p,
.section-heading p,
.overview-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-copy p {
  max-width: 650px;
  margin: 24px auto 42px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: white;
  box-shadow: 0 16px 38px rgba(56, 189, 248, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 22px 54px rgba(139, 92, 246, 0.32);
}

.btn-secondary {
  border-color: rgba(56, 189, 248, 0.34);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.dashboard-shell,
.dashboard-image-card,
.contact-call,
.glass-card {
  /* Shared glassmorphism surface for premium SaaS panels. */
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.13),
    rgba(255, 255, 255, 0.055)
  );
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-visual {
  perspective: 1200px;
}

.dashboard-shell {
  position: relative;
  padding: 22px;
  overflow: hidden;
  transform: rotateX(4deg) rotateY(-7deg);
  animation: floatCard 6s ease-in-out infinite;
}

.dashboard-shell::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(
    135deg,
    rgba(56, 189, 248, 0.24),
    transparent,
    rgba(139, 92, 246, 0.2)
  );
  pointer-events: none;
}

.window-bar,
.dashboard-top,
.metric-grid,
.chart-panel,
.activity-list {
  position: relative;
  z-index: 1;
}

.window-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
}

.window-bar span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.dashboard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.mini-label {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.status-pill {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.14);
  color: #a7f3d0;
  font-size: 0.78rem;
  font-weight: 800;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.metric-grid article {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(7, 9, 18, 0.48);
}

.metric-grid article {
  padding: 16px;
}

.metric-grid span {
  color: var(--muted);
  font-size: 0.82rem;
}

.metric-grid strong {
  display: block;
  color: var(--text);
  font-size: 1.45rem;
}

.chart-panel {
  height: 170px;
  margin-top: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(7, 9, 18, 0.42);
}

.chart-line {
  height: 2px;
  margin: 28px 0 26px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--cyan),
    var(--violet),
    transparent
  );
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.5);
}

.bar-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  height: 76px;
  gap: 10px;
}

.bar-row span {
  display: block;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--blue), rgba(139, 92, 246, 0.36));
}

.activity-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.activity-list span {
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
  font-size: 0.86rem;
}

.section-heading {
  max-width: 710px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-heading p {
  margin-top: 14px;
}

.feature-grid,
.benefit-grid {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(4, 1fr);
}

.benefit-grid {
  grid-template-columns: repeat(4, 1fr);
}

.feature-card,
.benefit-card {
  min-height: 222px;
  padding: 22px;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.feature-card:hover,
.benefit-card:hover {
  transform: translateY(-8px);
  border-color: rgba(56, 189, 248, 0.42);
  background: linear-gradient(
    145deg,
    rgba(56, 189, 248, 0.12),
    rgba(139, 92, 246, 0.1)
  );
}

.icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(
    135deg,
    rgba(56, 189, 248, 0.22),
    rgba(139, 92, 246, 0.28)
  );
  color: white;
  font-size: 0.82rem;
  font-weight: 900;
}

.feature-card p,
.benefit-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.94rem;
}

.dashboard-overview {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.025),
    rgba(56, 189, 248, 0.045),
    rgba(255, 255, 255, 0.025)
  );
}

.overview-copy p {
  margin: 22px 0 26px;
}

.text-link {
  color: #b8edff;
  font-weight: 800;
}

.text-link:hover {
  color: white;
}

.dashboard-image-card {
  overflow: hidden;
  padding: 14px;
}

.dashboard-image-card img {
  display: block;
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.contact {
  padding-bottom: 26px;
}

.contact-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.85fr);
}

.contact-copy p {
  margin-top: 18px;
}

.contact-call {
  display: grid;
  gap: 14px;
  padding: 26px;
}

.contact-call strong {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1;
}

.contact-call p {
  color: var(--muted);
}

.call-button {
  width: 100%;
}

.footer {
  width: min(1120px, calc(100% - 40px));
  margin: 74px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  text-align: center;
  font-size: 0.92rem;
}

.reveal {
  /* JavaScript adds .is-visible when elements enter the viewport. */
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatCard {
  0%,
  100% {
    transform: rotateX(4deg) rotateY(-7deg) translateY(0);
  }
  50% {
    transform: rotateX(4deg) rotateY(-7deg) translateY(-12px);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .overview-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .hero {
    padding-top: 130px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .section {
    padding: 84px 0;
  }

  .nav-mobile-actions {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .nav-login {
    display: none;
  }

  .nav-menu {
    position: fixed;
    top: 74px;
    right: 14px;
    left: 14px;
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(10, 13, 25, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition:
      opacity 0.25s ease,
      transform 0.25s ease;
  }

  .nav-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu a {
    padding: 12px;
    border-radius: 8px;
  }

  .nav-menu a:hover {
    background: rgba(255, 255, 255, 0.07);
  }

  .nav-cta {
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding-top: 126px;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .dashboard-shell {
    transform: none;
    animation: none;
  }

  .metric-grid,
  .feature-grid,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 420px) {
  h1 {
    font-size: 2.45rem;
  }

  .dashboard-shell,
  .dashboard-image-card,
  .contact-call {
    padding: 18px;
  }

  .chart-panel {
    height: 140px;
  }
}
