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

:root {
  --bg: #f4f7fc;
  --text: #1c2434;
  --muted: #5d6778;
  --line: #dde5f2;
  --brand: #0a84ff;
  --brand-strong: #076ad6;
  --card: rgba(255, 255, 255, 0.8);
  --shadow: 0 18px 50px rgba(24, 45, 83, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(7, 106, 214, 0.08), transparent 38%),
    radial-gradient(circle at 85% 0%, rgba(10, 132, 255, 0.1), transparent 35%),
    var(--bg);
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: "Sora", sans-serif;
  letter-spacing: -0.02em;
  margin: 0;
}

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

a {
  color: inherit;
  transition: color 0.25s ease, transform 0.25s ease;
}

a:hover {
  text-decoration: none;
}

.bg-orb {
  position: fixed;
  width: 32rem;
  height: 32rem;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.45;
  z-index: -1;
  animation: drift 16s ease-in-out infinite;
}

.orb-one {
  top: -14rem;
  left: -8rem;
  background: #7ec8ff;
}

.orb-two {
  bottom: -20rem;
  right: -10rem;
  background: #bca3ff;
  animation-delay: -8s;
}

.site-nav {
  padding: 1rem 0;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-nav .container {
  align-items: center;
}

.site-nav .navbar-collapse {
  justify-content: space-between;
  align-items: center;
}

.site-nav .nav-links {
  gap: 0.4rem;
}

.site-nav .navbar-toggler {
  border: 0;
  color: var(--text);
  margin-left: auto;
}

.site-nav .nav-link {
  color: var(--text);
  font-weight: 600;
  margin-left: 0;
  margin-right: 1.2rem;
  position: relative;
}

.site-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 100%;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.site-nav .nav-link:hover::after {
  transform: scaleX(1);
}

.site-nav .nav-cta {
  padding: 0.55rem 1.3rem;
  font-size: 0.95rem;
}

.site-nav.scrolled {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.section-shell {
  padding: 7rem 0;
  position: relative;
}

.hero-area {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(10, 132, 255, 0.12);
  color: var(--brand-strong);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-title {
  font-size: clamp(2.1rem, 6vw, 3.8rem);
  margin-top: 1rem;
}

.hero-copy {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-top: 1rem;
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.btn-primary-modern,
.btn-secondary-modern {
  border-radius: 999px;
  padding: 0.8rem 1.5rem;
  font-weight: 700;
  border: 0;
}

.btn-primary-modern {
  background: linear-gradient(135deg, var(--brand), #4ca8ff);
  color: #fff;
  box-shadow: 0 12px 26px rgba(10, 132, 255, 0.28);
}

.btn-primary-modern:hover {
  color: #fff;
  transform: translateY(-2px);
}

.btn-secondary-modern {
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--text);
}

.btn-secondary-modern:hover {
  transform: translateY(-2px);
  color: var(--text);
}

.hero-visual-wrap {
  position: relative;
  max-width: 920px;
  margin: 1.4rem auto 0;
}

.hero-glow {
  position: absolute;
  inset: 14% 8%;
  background: radial-gradient(circle, rgba(10, 132, 255, 0.35), transparent 65%);
  filter: blur(20px);
  display: none;
}

.hero-device {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  position: relative;
  z-index: 1;
  border-radius: 0;
  box-shadow: none;
  border: 0;
  transform: translateY(-80px) scale(1.35);
  transform-origin: center top;
}

.hero-rocket {
  position: absolute;
  right: -320px;
  top: -210px;
  width: clamp(320px, 39vw, 570px);
  height: auto;
  z-index: 2;
  pointer-events: none;
  animation: rocketFloatY 4.8s ease-in-out infinite;
}

.section-header {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-header h2 {
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  margin-top: 0.9rem;
}

.section-header p {
  margin-top: 1rem;
  line-height: 1.8;
  font-size: 1.02rem;
}

.service-grid {
  row-gap: 1.5rem;
}

.service-card {
  height: 100%;
  padding: 2rem 1.6rem;
  border-radius: 1.1rem;
  background: var(--card);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 34px rgba(22, 39, 66, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 42px rgba(22, 39, 66, 0.17);
}

.service-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  display: grid;
  place-items: center;
  color: var(--brand);
  background: rgba(10, 132, 255, 0.12);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.service-card p {
  line-height: 1.75;
}

.section-contact {
  padding-top: 3rem;
}

.section-services {
  padding-top: 2.5rem;
}

.contact-panel {
  border-radius: 1.4rem;
  padding: 2.4rem;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.modern-group {
  margin-bottom: 1rem;
}

.modern-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.modern-group .form-control {
  border-radius: 0.8rem;
  border: 1px solid #d6dfec;
  min-height: 3rem;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
}

.modern-group textarea.form-control {
  min-height: 8.5rem;
}

.modern-group .form-control:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 0.2rem rgba(10, 132, 255, 0.12);
}

.submit-wrap {
  padding-top: 0.6rem;
}

.footer-shell {
  padding: 2.5rem 0 1.2rem;
}

.footer-copy {
  margin-top: 0.8rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  font-weight: 600;
  color: var(--muted);
}

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

.social-icon a {
  width: 2.3rem;
  height: 2.3rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #ffffff;
  color: var(--brand-strong);
  border: 1px solid var(--line);
}

.social-icon a:hover {
  transform: translateY(-2px);
}

.copyright-row {
  margin-top: 1.7rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.copyright-row a {
  color: var(--brand-strong);
  font-weight: 700;
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 2.7rem;
  height: 2.7rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 20px rgba(10, 132, 255, 0.38);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  transition-delay: var(--delay, 0ms);
}

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

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

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

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(20px, -24px, 0);
  }
}

@media (max-width: 991.98px) {
  .hero-area {
    min-height: auto;
    padding-top: 8rem;
  }

  .hero-row {
    row-gap: 2rem;
  }

  .site-nav {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
  }

  .site-nav .nav-link {
    margin-left: 0;
    margin-right: 0;
    margin-top: 0.5rem;
  }

  .site-nav .navbar-collapse {
    margin-top: 0.8rem;
    align-items: flex-start;
    padding-left: 1rem;
  }

  .site-nav .nav-links {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .site-nav .nav-cta {
    margin-top: 0.8rem;
  }

  .contact-panel {
    padding: 1.5rem;
  }

  .hero-visual-wrap {
    max-width: 700px;
    margin-top: 1rem;
  }

  .hero-device {
    transform: translateY(-24px) scale(1.12);
  }

  .hero-rocket {
    right: -120px;
    top: -210px;
    width: clamp(220px, 52vw, 360px);
  }

  .footer-shell {
    text-align: center;
  }

  .footer-copy {
    margin-top: 1rem;
  }

  .footer-links {
    margin-top: 0.9rem;
  }

  .social-icon {
    margin-top: 0.9rem;
  }
}

@media (max-width: 575.98px) {
  .hero-visual-wrap {
    max-width: 100%;
    margin-top: 0.75rem;
  }

  .hero-device {
    transform: translateY(0) scale(1.02);
    transform-origin: center top;
  }

  .hero-rocket {
    right: -72px;
    top: -130px;
    width: clamp(170px, 50vw, 240px);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-rocket {
    animation: none;
  }
}
