/* =========================================================
   SPACEG DIGITAL - MAIN STYLESHEET
   ========================================================= */


/* =========================================================
   1. ROOT COLORS / VARIABLES
   ========================================================= */

:root {
  --bg: #020914;
  --blue: #087cff;
  --blue2: #22a1ff;
  --muted: #b9c7d8;
  --line: #1f4367;
}


/* =========================================================
   2. GLOBAL RESET
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;

  background: var(--bg);
  color: #fff;

  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

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

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


/* =========================================================
   3. HEADER / NAVIGATION
   ========================================================= */

.site-header {
  position: absolute;
  top: 0;

  width: 100%;
  z-index: 20;

  border-bottom: 1px solid #ffffff12;
}

.nav {
  height: 86px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}


/* Logo */

.brand-logo {
  display: flex;
  align-items: center;
}

.brand-logo img {
  display: block;
  width: 125px;
  height: auto;
}

/* FOOTER LOGO IMAGE */
.footer-brand {
  max-width: 250px;
}

.footer-logo-image {
  display: block;
  width: 150px;
  height: auto;
  margin-bottom: 14px;
}

.footer-brand p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}


/* Navigation Menu */

.menu {
  display: flex;
  gap: 28px;

  font-size: 14px;
  font-weight: 600;
}

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


/* =========================================================
   4. BUTTONS
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 13px 22px;

  border-radius: 7px;

  background: linear-gradient(
    135deg,
    #0873f2,
    #0496ff
  );

  box-shadow: 0 9px 28px #0078ff47;

  font-size: 14px;
  font-weight: 700;

  transition: 0.2s;
}

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

.btn-outline {
  background: #ffffff08;
  border: 1px solid #aebed0;
  box-shadow: none;
}


/* =========================================================
   5. HERO SECTION
   ========================================================= */

.hero {
  min-height: 610px;

  position: relative;
  overflow: hidden;

  background:
    linear-gradient(
      to bottom,
      transparent 65%,
      #020914 100%
    ),

    linear-gradient(
      90deg,
      rgba(2, 9, 20, 0.98) 0%,
      rgba(2, 9, 20, 0.88) 30%,
      rgba(2, 9, 20, 0.55) 50%,
      rgba(2, 9, 20, 0.10) 75%
    ),

    url("hero-space.png");

  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.hero-inner {
  min-height: 610px;

  display: flex;
  align-items: center;

  position: relative;
  z-index: 3;

  padding-top: 78px;
}

.hero-copy {
  max-width: 540px;
}

.eyebrow {
  margin-bottom: 8px;

  color: #20a1ff;

  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.7px;
}

.hero h1 {
  margin: 12px 0 20px;

  font-size: 64px;
  line-height: 1.02;
  letter-spacing: -3px;
}

.lead {
  max-width: 475px;

  color: #d5e0eb;

  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;

  margin-top: 26px;
}


/* =========================================================
   6. SERVICES SECTION
   ========================================================= */

.services-section {
  padding: 64px 0 72px;

  background: linear-gradient(
    #03101e,
    #020914
  );
}

.section-title {
  margin-bottom: 34px;

  text-align: center;
}

.section-title h2,
.about h2,
.cta h2 {
  margin: 0;

  font-size: 34px;
  line-height: 1.08;
}


/* Service Grid */

.service-grid {
  display: grid;

  grid-template-columns: repeat(5, 1fr);

  gap: 15px;
}


/* Service Card */

.card {
  min-height: 270px;

  padding: 25px 18px;

  text-align: center;

  border: 1px solid var(--line);
  border-radius: 12px;

  background: linear-gradient(
    145deg,
    #0b223b,
    #03101f
  );

  box-shadow: 0 12px 28px #0003;
}

.card .icon {
  margin-bottom: 8px;

  color: var(--blue);

  font-size: 40px;
}

.card h3 {
  font-size: 17px;
  line-height: 1.2;
}

.card p,
.about p,
.steps p,
.benefit p,
.footer p,
.footer a,
.footer span {
  color: var(--muted);

  font-size: 13px;
}

.center {
  margin-top: 12px;

  text-align: center;
}


/* =========================================================
   7. BENEFITS SECTION
   ========================================================= */

.benefits {
  padding: 27px 0;

  border-top: 1px solid #123a60;
  border-bottom: 1px solid #123a60;

  background: #031020;
}

.benefits-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 20px;
}

.benefit {
  display: flex;
  gap: 14px;

  padding: 8px 10px;
}

.benefit-icon {
  color: var(--blue);

  font-size: 29px;
}

.benefit h4 {
  margin: 0 0 5px;
}

.benefit p {
  margin: 0;
}


/* =========================================================
   8. ABOUT SECTION
   ========================================================= */

.about {
  padding: 72px 0;

  background:
    radial-gradient(
      circle at 84% 47%,
      #07376a 0,
      transparent 34%
    ),
    #020914;
}

.about-grid {
  display: grid;

  grid-template-columns: 0.78fr 1.22fr;

  gap: 60px;

  align-items: center;
}

.about h2 {
  font-size: 40px;
}

.about p {
  font-size: 15px;
}


/* =========================================================
   9. DEVICE / LAPTOP SCENE
   ========================================================= */

.about-image {
  width: 100%;
  overflow: hidden;

  border-radius: 18px;

  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.45);
}

.about-image img {
  display: block;

  width: 100%;
  height: auto;

  border-radius: 18px;

  object-fit: cover;
}


/* Laptop */

.laptop {
  position: absolute;

  width: 66%;

  left: 16%;
  top: 11%;
}

.laptop-top {
  height: 225px;

  padding: 9px;

  border-radius: 14px;

  background: #263442;

  box-shadow: 0 18px 32px #0007;
}

.laptop-screen {
  height: 100%;

  position: relative;
  overflow: hidden;

  border-radius: 7px;

  background:
    radial-gradient(
      circle at 60% 75%,
      #0b65be,
      #020914 61%
    );
}


/* Mini Earth */

.mini-earth {
  position: absolute;

  width: 260px;
  height: 260px;

  right: -65px;
  bottom: -175px;

  border-radius: 50%;
  border-top: 3px solid #4fb7ff;

  background:
    radial-gradient(
      circle at 30% 20%,
      #1e90ff,
      #0b345c 34%,
      #020914 70%
    );

  box-shadow: -15px -18px 48px #2898ffb3;
}


/* Screen Logo */

.screen-logo {
  position: absolute;

  left: 0;
  right: 0;
  top: 36%;

  text-align: center;

  font-size: 38px;
  font-weight: 800;
}

.screen-logo small {
  display: block;

  font-size: 9px;
  letter-spacing: 7px;
}


/* Laptop Base */

.laptop-base {
  width: 112%;
  height: 25px;

  margin-left: -6%;

  background: linear-gradient(
    #8693a0,
    #3d4852
  );

  clip-path: polygon(
    3% 0,
    97% 0,
    100% 100%,
    0 100%
  );

  border-radius: 0 0 13px 13px;
}


/* Mug */

.mug {
  position: absolute;

  right: 8%;
  bottom: 14%;

  padding: 24px 13px;

  border: 1px solid #394858;
  border-radius: 7px;

  background: #070a0e;

  font-weight: 700;
}

.mug small {
  display: block;

  font-size: 7px;
  letter-spacing: 2px;
}


/* =========================================================
   10. PROCESS SECTION
   ========================================================= */

.process {
  padding: 24px 0 56px;

  background: #020914;
}

.steps {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 20px;
}

.steps article {
  padding: 18px;

  border: 1px solid var(--line);
  border-radius: 12px;

  background: linear-gradient(
    145deg,
    #081a30,
    #03101f
  );
}

.steps span {
  width: 38px;
  height: 38px;

  display: grid;
  place-items: center;

  border: 1px solid var(--blue);
  border-radius: 50%;

  color: #acd9ff;

  font-weight: 700;
}

.steps h3 {
  margin: 11px 0 0;
}

.steps p {
  margin-bottom: 0;
}


/* =========================================================
   11. CTA SECTION
   ========================================================= */

.cta {
  padding: 35px 0;

  border-top: 1px solid #1769ad;

  background:
    radial-gradient(
      circle at 50% 100%,
      #075cad,
      transparent 56%
    ),
    #04152a;
}

.cta-inner {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 25px;
}

.cta h2 {
  font-size: 30px;
}

.cta p {
  margin: 5px 0;

  color: #ccdaea;
}

/* =========================================================
   12. FOOTER
   ========================================================= */

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  padding: 55px 0 18px;
  background: #020913;
  color: #ffffff;
}


/* Footer Grid */

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 1.15fr 1fr;
  gap: 55px;
  align-items: start;
}


/* Logo */

.footer-brand {
  max-width: 250px;
}

.footer-logo-image {
  display: block;
  width: 145px;
  height: auto;
  margin-bottom: 18px;
}

.footer-brand p {
  margin: 0;

  color: var(--muted);

  font-size: 13px;
  line-height: 1.6;
}


/* Footer Columns */

.footer-column h4 {
  margin: 0 0 14px;

  color: #ffffff;

  font-size: 15px;
}

.footer-column a,
.footer-column span {
  display: block;

  margin-bottom: 7px;

  color: var(--muted);

  font-size: 13px;
  line-height: 1.4;
}

.footer-column a:hover {
  color: var(--blue2);
}

/* Copyright */

.copyright {
  margin-top: 38px;
  padding-top: 18px;

  border-top: 1px solid #17314a;

  color: #71849a;

  text-align: center;

  font-size: 12px;
}


/* Tablet */

@media (max-width: 980px) {

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
  }

}


/* Mobile */

@media (max-width: 640px) {

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

}


/* =========================================================
   13. TABLET RESPONSIVE
   ========================================================= */

@media (max-width: 980px) {

  .menu {
    display: none;
  }

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

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

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

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

}


/* =========================================================
   14. MOBILE RESPONSIVE
   ========================================================= */

@media (max-width: 640px) {

  .container {
    width: min(100% - 26px, 1180px);
  }

  .nav-btn {
    display: none;
  }

  .hero,
  .hero-inner {
    min-height: 660px;
  }

  .hero {
    background-position: 62% center;
  }

  .hero h1 {
    font-size: 48px;
  }

  .lead {
    font-size: 15px;
  }

  .service-grid,
  .benefits-grid,
  .steps,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .device-scene {
    height: 285px;
  }

  .laptop-top {
    height: 185px;
  }

}