:root {
  --primary: #1677ff;
  --secondary: #8b5cf6;
  --dark: #07111f;
  --dark-2: #0d1930;
  --light: #f7fbff;
  --muted: #aab7cf;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.16);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--white);
  background: radial-gradient(circle at top left, rgba(22, 119, 255, 0.25), transparent 34%),
              radial-gradient(circle at top right, rgba(139, 92, 246, 0.23), transparent 32%),
              var(--dark);
  overflow-x: hidden;
  line-height: 1.6;
}

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

img {
  max-width: 100%;
}

.container {
  width: min(1160px, 92%);
  margin: auto;
}

.narrow {
  max-width: 850px;
  text-align: center;
}

.section-padding {
  padding: 100px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 17, 31, 0.76);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 10px 35px rgba(22, 119, 255, 0.35);
}

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

.nav-links a {
  color: var(--muted);
  font-weight: 600;
  transition: 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  background: var(--glass);
  border-radius: 12px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.hero,
.page-hero {
  min-height: calc(100vh - 82px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.page-hero {
  min-height: 62vh;
}

.hero-grid,
.split-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
}

.eyebrow {
  color: #8fd5ff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  margin-bottom: 14px;
}

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

h1 {
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  max-width: 850px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: 18px;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

p {
  color: var(--muted);
}

.hero-text,
.page-hero p {
  font-size: 1.15rem;
  max-width: 650px;
  margin-top: 24px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 18px 45px rgba(139, 92, 246, 0.28);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border);
}

.glass-card,
.service-card,
.value-card,
.image-panel,
.contact-form,
.cta-card,
.timeline-item {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045));
  border: 1px solid var(--border);
  border-radius: 30px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.floating-card {
  padding: 34px;
  animation: float 5s ease-in-out infinite;
}

.status-pill {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  color: #dff4ff;
  background: rgba(22, 119, 255, 0.18);
  border: 1px solid rgba(143, 213, 255, 0.25);
  font-weight: 800;
  margin-bottom: 30px;
}

.dashboard-lines span {
  display: block;
  height: 16px;
  border-radius: 50px;
  margin: 18px 0;
  background: linear-gradient(90deg, var(--primary), var(--secondary), transparent);
  animation: pulseLine 2.6s ease-in-out infinite;
}

.dashboard-lines span:nth-child(2) { width: 78%; animation-delay: 0.2s; }
.dashboard-lines span:nth-child(3) { width: 58%; animation-delay: 0.4s; }
.dashboard-lines span:nth-child(4) { width: 88%; animation-delay: 0.6s; }

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.metric-row div {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
}

.metric-row strong {
  display: block;
  font-size: 1.45rem;
}

.metric-row small {
  color: var(--muted);
}

.orb {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  filter: blur(30px);
  opacity: 0.28;
  pointer-events: none;
}

.orb-one {
  background: var(--primary);
  top: 14%;
  left: -120px;
  animation: drift 10s ease-in-out infinite;
}

.orb-two {
  background: var(--secondary);
  right: -110px;
  bottom: 8%;
  animation: drift 12s ease-in-out infinite reverse;
}

.trusted-strip {
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.marquee {
  display: flex;
  gap: 42px;
  white-space: nowrap;
  padding: 22px 0;
  animation: marquee 25s linear infinite;
}

.marquee span {
  color: #dbeafe;
  font-weight: 800;
}

.section-title {
  max-width: 760px;
  margin-bottom: 44px;
}

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

.service-card,
.value-card {
  padding: 30px;
  transition: 0.35s ease;
}

.service-card:hover,
.value-card:hover,
.timeline-item:hover {
  transform: translateY(-10px);
  border-color: rgba(143, 213, 255, 0.45);
}

.icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(22, 119, 255, 0.25), rgba(139, 92, 246, 0.25));
  font-size: 1.7rem;
  margin-bottom: 22px;
}

.cta-card {
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.contact-details {
  margin-top: 24px;
}

.contact-details p {
  margin: 10px 0;
}

.contact-form {
  padding: 30px;
  display: grid;
  gap: 16px;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px 18px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.075);
  outline: none;
  font: inherit;
}

input::placeholder,
textarea::placeholder {
  color: #8390aa;
}

.form-message {
  min-height: 22px;
  color: #8fd5ff;
  font-weight: 700;
}

.image-panel {
  padding: 38px;
  position: relative;
  overflow: hidden;
}

.image-panel ul {
  list-style: none;
  margin-top: 20px;
}

.image-panel li {
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #dce7ff;
}

.tech-ring {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  border: 24px solid rgba(22, 119, 255, 0.18);
  border-top-color: rgba(139, 92, 246, 0.8);
  margin-bottom: 28px;
  animation: spin 8s linear infinite;
}

.value-card span {
  color: #8fd5ff;
  font-weight: 900;
  display: block;
  margin-bottom: 36px;
}

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

.timeline-item {
  padding: 28px;
  transition: 0.35s ease;
}

.timeline-item strong {
  color: var(--white);
  display: block;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.footer {
  padding: 28px 0;
  background: rgba(0, 0, 0, 0.28);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer a {
  color: #8fd5ff;
  font-weight: 800;
}

.cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 119, 255, 0.18), transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: 0.8s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.22s; }

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

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(80px, 40px) scale(1.15); }
}

@keyframes pulseLine {
  0%, 100% { opacity: 0.55; transform: scaleX(0.88); transform-origin: left; }
  50% { opacity: 1; transform: scaleX(1); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-42%); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }

  .nav-links {
    position: absolute;
    top: 82px;
    left: 4%;
    right: 4%;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
    border-radius: 22px;
    background: rgba(7, 17, 31, 0.96);
    border: 1px solid var(--border);
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
  }

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

  .hero-grid,
  .split-grid,
  .contact-grid,
  .service-grid,
  .values-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .section-padding {
    padding: 74px 0;
  }

  .cta-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .metric-row {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
