:root {
  --bg: #07111f;
  --bg-soft: #0d1a2f;
  --surface: rgba(10, 24, 45, 0.72);
  --surface-strong: rgba(14, 30, 56, 0.92);
  --text: #f2f7ff;
  --muted: #98acc7;
  --line: rgba(129, 177, 255, 0.18);
  --brand: #208dff;
  --brand-strong: #0d6bff;
  --accent: #73d5ff;
  --accent-warm: #b7f3ff;
  --navy: #0a2247;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 15%, rgba(28, 135, 255, 0.28), transparent 34%),
    radial-gradient(circle at 88% 20%, rgba(115, 213, 255, 0.2), transparent 26%),
    radial-gradient(circle at 50% 100%, rgba(22, 92, 214, 0.2), transparent 34%),
    linear-gradient(180deg, #07111f 0%, #08192a 52%, #050d18 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 38%, transparent 88%);
  pointer-events: none;
  opacity: 0.22;
}

img {
  max-width: 100%;
  display: block;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  position: relative;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  background: rgba(5, 13, 24, 0.56);
  border-bottom: 1px solid rgba(150, 197, 255, 0.1);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 86px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.3rem;
  box-shadow: 0 10px 30px rgba(32, 141, 255, 0.18);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-nav a {
  padding: 0.8rem 1rem;
  color: var(--muted);
  border-radius: 999px;
  transition: 0.3s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 6px auto;
  background: var(--text);
}

.hero,
.page-hero {
  position: relative;
  padding: 7rem 0 4rem;
}

.hero-home {
  padding-top: 8rem;
}

.hero-grid,
.solution-grid,
.demo-grid,
.contact-grid,
.detail-grid,
.about-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-grid {
  grid-template-columns: 1.12fr 0.88fr;
}

.hero-copy h1,
.page-hero h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  line-height: 0.98;
  max-width: 12ch;
}

.page-hero h1 {
  max-width: 14ch;
}

.eyebrow {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent-warm);
}

.lead,
.section-heading p,
.hero-copy > p,
.detail-copy p,
.about-grid p,
.contact-info p,
.portfolio-panel p,
.case-study p,
.problem-card p,
.service-card p,
.testimonial-card p,
.timeline-step p,
.detail-card p,
.value-card p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-actions,
.cta-actions,
.section-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--brand-strong) 100%);
  color: #031222;
  box-shadow: 0 18px 40px rgba(32, 141, 255, 0.3);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

.hero-points,
.feature-list,
.service-card ul {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 0.9rem;
}

.hero-points li,
.feature-list li,
.service-card li {
  position: relative;
  padding-left: 1.6rem;
  color: #d9e7fb;
}

.hero-points li::before,
.feature-list li::before,
.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--brand) 100%);
  box-shadow: 0 0 18px rgba(115, 213, 255, 0.5);
}

.glass-card,
.problem-card,
.service-card,
.testimonial-card,
.case-study,
.value-card,
.metrics-grid article,
.contact-card,
.info-stack article,
.portfolio-panel {
  background: linear-gradient(180deg, rgba(17, 32, 58, 0.78), rgba(10, 22, 40, 0.76));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.orbital-card {
  position: relative;
  padding: 1.5rem;
  min-height: 430px;
  overflow: hidden;
}

.orbital-card::before,
.orbital-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(115, 213, 255, 0.14);
}

.orbital-card::before {
  width: 280px;
  height: 280px;
  right: -30px;
  top: 70px;
}

.orbital-card::after {
  width: 420px;
  height: 420px;
  right: -100px;
  top: 0;
}

.pulse-line {
  height: 150px;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(115, 213, 255, 0.12) 30%, rgba(13, 107, 255, 0.12) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.25rem;
  position: relative;
}

.pulse-line::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 10%;
  width: 72%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--brand), transparent);
  box-shadow: 0 0 26px rgba(32, 141, 255, 0.65);
  animation: pulse 4s linear infinite;
}

@keyframes pulse {
  0% { transform: translateX(-6%); opacity: 0.4; }
  50% { transform: translateX(4%); opacity: 1; }
  100% { transform: translateX(-6%); opacity: 0.4; }
}

.stat-row,
.dashboard-grid,
.metrics-grid,
.problem-grid,
.service-grid,
.testimonial-grid,
.footer-grid,
.values-grid,
.case-study-grid {
  display: grid;
  gap: 1.25rem;
}

.stat-row {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.stat-label,
.chip,
.dashboard-grid span,
.case-label,
.case-metrics span,
.metrics-grid span {
  color: var(--muted);
}

.stat-row strong,
.dashboard-grid strong,
.metrics-grid strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
}

.chip {
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

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

.dashboard-grid article,
.metrics-grid article {
  padding: 1.15rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.section {
  padding: 2.5rem 0 5rem;
}

.section-alt {
  position: relative;
}

.section-alt::before {
  content: "";
  position: absolute;
  inset: 10% 8% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(115, 213, 255, 0.36), transparent);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading h2,
.detail-copy h2,
.about-grid h2,
.contact-grid h2,
.case-study h2 {
  margin: 0 0 1rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.problem-grid,
.service-grid,
.testimonial-grid,
.values-grid,
.case-study-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.problem-card,
.service-card,
.testimonial-card,
.value-card,
.case-study,
.contact-card,
.detail-card,
.portfolio-panel {
  padding: 1.7rem;
}

.service-card,
.case-study {
  position: relative;
  overflow: hidden;
}

.service-card::before,
.case-study::before {
  content: "";
  position: absolute;
  inset: auto -10% -24% auto;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(115, 213, 255, 0.22), transparent 70%);
}

.service-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  margin-bottom: 1rem;
  color: #031222;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--brand));
}

.service-card h3,
.problem-card h3,
.testimonial-card strong,
.value-card h3,
.detail-card h3,
.contact-info h3,
.footer-grid h3 {
  margin-top: 0;
}

.service-card a {
  display: inline-flex;
  margin-top: 1.2rem;
  color: var(--accent-warm);
  font-weight: 700;
}

.solution-grid,
.demo-grid,
.contact-grid,
.about-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.timeline {
  padding: 1.4rem;
}

.timeline-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
  padding: 1rem 0;
}

.timeline-step + .timeline-step {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.timeline-step span {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent-warm);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.metrics-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 1.25rem;
}

.video-placeholder {
  min-height: 340px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
}

.play-button {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  position: relative;
  background: linear-gradient(135deg, var(--accent), var(--brand));
  box-shadow: 0 22px 40px rgba(32, 141, 255, 0.3);
}

.play-button::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-36%, -50%);
  border-left: 24px solid #031222;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
}

.final-cta {
  padding-bottom: 6rem;
}

.cta-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem;
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(135deg, rgba(21, 69, 146, 0.86), rgba(7, 24, 43, 0.94));
  border: 1px solid rgba(146, 203, 255, 0.2);
  box-shadow: var(--shadow);
}

.site-footer {
  padding: 1rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  grid-template-columns: 1.4fr 1fr 1fr;
  padding: 2rem 0;
}

.footer-grid a,
.footer-grid p {
  color: var(--muted);
  margin: 0.45rem 0;
}

.footer-brand {
  margin-bottom: 1rem;
}

.footer-bottom {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.detail-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.case-metrics,
.info-stack,
.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.55rem;
  color: #dce9fb;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(214, 228, 247, 0.45);
}

.info-stack article {
  padding: 1.3rem;
}

.portfolio-panel {
  min-height: 200px;
  display: grid;
  place-items: center;
  text-align: center;
}

.reveal,
.reveal-delay,
.reveal-delay-2 {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-delay {
  transition-delay: 0.14s;
}

.reveal-delay-2 {
  transition-delay: 0.28s;
}

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

@media (max-width: 980px) {
  .hero-grid,
  .solution-grid,
  .demo-grid,
  .contact-grid,
  .detail-grid,
  .about-grid,
  .cta-banner,
  .footer-grid,
  .problem-grid,
  .service-grid,
  .testimonial-grid,
  .values-grid,
  .case-study-grid,
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .hero-home {
    padding-top: 6.5rem;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    background: rgba(6, 15, 27, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-block;
  }
}

@media (max-width: 720px) {
  .hero,
  .page-hero {
    padding: 6rem 0 2.4rem;
  }

  .section {
    padding: 2rem 0 4rem;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: clamp(2.4rem, 12vw, 3.8rem);
  }

  .brand span {
    display: none;
  }

  .orbital-card {
    min-height: auto;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}
