* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0b0f19;
  --bg-2: #090d16;
  --panel: rgba(255, 255, 255, 0.03);
  --panel-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-soft: rgba(255, 255, 255, 0.06);
  --text: #ffffff;
  --text-soft: #d7def0;
  --text-muted: #c6cee0;
  --text-subtle: #95a0ba;
  --accent: #5b8cff;
  --accent-2: #7f5af0;
  --stars: #ffd166;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
  --radius: 24px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

h1, h2, h3, .section-tag {
  font-family: 'Space Grotesk', sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

img,
video {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

.container {
  width: min(1200px, 90%);
  margin: 0 auto;
}

.section {
  padding: 90px 0;
}

.section-heading {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.section-heading h2,
.page-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
}

.banner-subtext {
  color: #aab3c9;
  font-size: 0.95rem;
}

#progessBar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #5b8cff, #7f5af0);
  z-index: 9999;
  pointer-events: none;
}

#progressBar.glow {
  box-shadow:
    0 0 12px rgba(91,140,255,0.6),
    0 0 22px rgba(127,90,240,0.4);
}

.navbar {
  position: relative;
  z-index: 1000;
  background: rgba(11, 15, 25, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
  padding: 0;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  overflow: visible;
  flex: 0 0 auto;
}

.logo img {
  height: 100%;
  width: auto;
  transform: scale(2.1) translateY(4px);
  transform-origin: left center;
}

.main-nav {
  display: flex;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
  margin-left: 120px;
}

.nav-links a {
  color: var(--text-soft);
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 10px 16px;
  background: var(--accent);
  color: white !important;
  border-radius: 999px;
  font-weight: 600;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.hero {
  padding: 100px 0 80px;
  background:
    radial-gradient(circle at top right, rgba(91, 140, 255, 0.2), transparent 30%),
    radial-gradient(circle at bottom left, rgba(127, 90, 240, 0.15), transparent 30%);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.eyebrow,
.section-tag {
  color: #8fb3ff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 20px;
  max-width: 700px;
}

.hero-subtext {
  color: #c5cde0;
  max-width: 620px;
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(91, 140, 255, 0.3);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.logo-banner-section {
  padding: 90px 0 60px;
}

.banner-heading {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 24px;
}

.banner-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 14px;
}

.logo-banner-fade {
  position: relative;
  overflow: hidden;
}

.logo-banner-fade::before,
.logo-banner-fade::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 180px;
  z-index: 3;
  pointer-events: none;
}

.logo-banner-fade::before {
  left: 0;
  background: linear-gradient(
    to right,
    #0b0f19 0%,
    rgba(11, 15, 25, 0.96) 35%,
    rgba(11, 15, 25, 0.82) 55%,
    rgba(11, 15, 25, 0) 100%
  );
}

.logo-banner-fade::after {
  right: 0;
  background: linear-gradient(
    to left,
    #0b0f19 0%,
    rgba(11, 15, 25, 0.96) 35%,
    rgba(11, 15, 25, 0.82) 55%,
    rgba(11, 15, 25, 0) 100%
  );
}

.logo-banner {
  overflow: hidden;
  padding: 22px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: #0d1220;
}

.logo-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;

  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.02) 20%,
    rgba(255, 255, 255, 0) 45%
  );
}

.logo-track {
  display: flex;
  width: max-content;
  animation: scroll-left 40s linear infinite;
}

.company-logo {
  height: 50px;
  width: auto;
  margin-right: 60px;

  opacity: 0.7;
  transform: scale(0.92);

  transition:
    transform 0.25s linear,
    opacity 0.25s linear;
}

.company-logo:hover {
  opacity: 1;
  transform: scale(1.04);
  filter: grayscale(0%);
}

.wraptors-logo {
  transform: scale(1.8);
}

@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-section {
  background: rgba(255, 255, 255, 0.015);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.video-testimonials-grid,
.google-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.video-testimonials-stack {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 700px;
  margin: 0 auto;
}

.service-card,
.process-card,
.video-testimonial-card,
.google-review-card {
  position: relative;
  padding: 30px;
  border-radius: var(--radius);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.03)
  );
  border: 1px solid var(--border);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
  overflow: hidden;
}

.service-card::before,
.process-card::before,
.video-testimonial-card::before,
.google-review-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );
  opacity: 0.7;
}

.service-card::after,
.process-card::after,
.video-testimonial-card::after,
.google-review-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    rgba(91, 140, 255, 0.12),
    transparent 45%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.service-card:hover,
.process-card:hover,
.video-testimonial-card:hover,
.google-review-card:hover {
  transform: translateY(-10px);
  border-color: rgba(91, 140, 255, 0.45);
  box-shadow:
    var(--shadow),
    0 0 30px rgba(91, 140, 255, 0.10);
}

.service-card:hover::after,
.process-card:hover::after,
.video-testimonial-card:hover::after,
.google-review-card:hover::after {
  opacity: 1;
}

.service-card h3,
.process-card h3,
.video-testimonial-card h3,
.google-review-card h4 {
  margin-bottom: 12px;
  font-size: 1.2rem;
  line-height: 1.2;
}

.service-card p,
.process-card p,
.video-testimonial-card p,
.google-review-card p {
  color: var(--text-muted);
}

.process-card span {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #8fb3ff;
  margin-bottom: 14px;
}

.about-image {
  width: 100%;
  height: 100%;
}

.about-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.about-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
  line-height: 1.2;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.stars {
  color: var(--stars);
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.video-wrap {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 16px;
  background: #000;
}

.video-wrap video {
  width: 100%;
  height: auto;
  max-height: 700px;
  background: black;
  border-radius: 18px;
}

.video-testimonials-grid .video-testimonial-card:nth-child(2) {
  transition-delay: 0.12s;
}

.video-testimonials-grid .video-testimonial-card:nth-child(3) {
  transition-delay: 0.24s;
}

.google-reviews-section {
  padding-top: 40px;
}

.google-review-card {
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.google-review-card p {
  color: var(--text-soft);
  margin-bottom: 18px;
}

.google-review-card span,
.video-testimonial-card p {
  color: #aab3c9;
  font-size: 0.95rem;
}

.testimonials-button-wrap {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.cta-section {
  padding: 100px 0;
}

.cta-box {
  text-align: center;
  padding: 60px 30px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(91, 140, 255, 0.15), rgba(127, 90, 240, 0.15));
  border: 1px solid var(--border);
}

.cta-box h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 850px;
  margin: 0 auto 16px;
  line-height: 1.2;
}

.cta-box p {
  max-width: 700px;
  margin: 0 auto 28px;
  color: #d3dbef;
}

.footer {
  padding: 35px 0;
  border-top: 1px solid var(--border-soft);
  background: var(--bg-2);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.footer-content h3 {
  margin-bottom: 6px;
}

.footer-content p {
  color: #9ba6bf;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #cfd7ea;
}

.footer-copy {
  width: 100%;
  text-align: center;
  margin-top: 30px;
  font-size: 0.85rem;
  opacity: 0.6;
}

.reveal {
  opacity: 0;
  transform: translateY(70px);
  transition: opacity 0.9s ease, transform 0.9s ease;
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.section-fade {
  position: relative;
  z-index: 0;
}

.section-fade::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -100px;
  height: 160px;
  background: linear-gradient(to bottom, transparent, #0b0f19);
  pointer-events: none;
  z-index: -1;
}

.section-fade > * {
  position: relative;
  z-index: 1;
}

.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.18s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.tilt-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.08),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.tilt-card:hover::after {
  opacity: 1;
}

.tilt-card > * {
  transform: translateZ(20px);
}

@media (max-width: 1024px) {
  .container {
    width: min(1200px, 92%);
  }

  .nav-container {
    height: 82px;
  }

  .logo img {
    transform: scale(1.55) translateY(4px);
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
    z-index: 1101;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    display: none;
    background: rgba(11, 15, 25, 0.98);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    border-radius: 0 0 18px 18px;
    padding: 16px 20px 20px;
    z-index: 1200;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
  }

  .main-nav.active {
    display: block;
  }

  .nav-links {
    margin-left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
    list-style: none;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 12px 0;
    text-align: center;
  }

  .main-nav .nav-cta {
    display: block !important;
    width: 100% !important;
    padding: 14px 18px !important;
    margin: 12px auto 0 !important;
    text-align: center !important;
    border-radius: 999px !important;
    box-sizing: border-box !important;
  }

  .hero {
    padding: 60px 0 70px;
  }

  .hero-text {
    width: 100%;
    max-width: 100%;
  }

  .hero-text h1 {
    max-width: 14ch;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-subtext {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    max-width: 700px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid,
  .video-testimonials-grid,
  .google-reviews-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    gap: 40px;
  }

  .about-text,
  .section-heading,
  .banner-heading,
  .cta-box,
  .footer-content {
    text-align: center;
  }

  .about-text {
    max-width: 700px;
    margin: 0 auto;
  }

  .about-image {
    display: flex;
    justify-content: center;
  }

  .about-image img {
    width: 100%;
    max-width: 620px;
    height: auto;
    max-height: 520px;
  }

  .logo-banner-section {
    padding: 70px 0 40px;
  }

  .banner-heading {
    margin: 0 auto 24px;
  }

  .company-logo {
    height: 40px;
    margin-right: 40px;
  }

  .video-wrap video {
    height: 420px;
  }

  .footer-content {
    flex-direction: column;
    gap: 18px;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-container {
    height: 76px;
  }

  .logo img {
    transform: scale(1.8) translateY(5px) translateX(-20px);
    transform-origin: left center;
  }

  .hero {
    padding: 40px 0 60px;
  }

  .hero h1 {
    font-size: 1.7rem;
    line-height: 1.15;
    max-width: 14ch;
    width: 100%;
    margin: 0 auto 16px;
    text-align: center;
  }

  .hero-subtext {
    font-size: 1rem;
    max-width: 95%;
  }

  .section {
    padding: 65px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .video-wrap video {
    height: 360px;
  }

  .company-logo {
    height: 34px;
    margin-right: 28px;
  }

  .cta-box {
    padding: 42px 22px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .reveal {
    transition: opacity 1s ease, transform 1s ease;
  }
}
