:root {
  --bg: #0c1118;
  --bg-soft: #0f1724;
  --panel: rgba(14, 22, 42, 0.78);
  --panel-strong: #101720;
  --border: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.08);

  --text: #f3f7ff;
  --text-soft: #a8b7cb;

  --primary: #00cfff;
  --primary-2: #00ffa3;
  --accent: #7c4dff;

  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);

  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;

  --container: 1200px;
  --transition: 0.3s ease;

  --nav-accent: #00cfff;
  --nav-accent-2: #00ffa3;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(0, 207, 255, 0.12), transparent 22%),
    radial-gradient(circle at bottom right, rgba(124, 77, 255, 0.12), transparent 24%),
    linear-gradient(180deg, #0b1118 0%, #0f1724 100%);
  color: var(--text);
  overflow-x: hidden;
  position: relative;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.page-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  filter: blur(120px);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.32;
  z-index: 0;
}

.glow-1 {
  top: -100px;
  left: -80px;
  background: rgba(0, 207, 255, 0.28);
}

.glow-2 {
  right: -120px;
  bottom: 0;
  background: rgba(124, 77, 255, 0.22);
}

/* NAVBAR */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 18, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--nav-accent), var(--nav-accent-2));
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.12);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong {
  font-size: 1.02rem;
  letter-spacing: 0.08em;
  font-family: "Outfit", sans-serif;
}

.brand-copy span {
  margin-top: 4px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-soft);
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav a {
  color: var(--text-soft);
  font-weight: 600;
  transition: 0.3s ease;
}

.nav a:hover {
  color: var(--text);
}

.nav-main {
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  color: var(--text);
  font-weight: 700;
  transition: 0.3s ease;
}

.nav-main:hover {
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-1px);
}

.menu-btn {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.menu-btn span {
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

/* HERO */
.hero {
  min-height: calc(100vh - 84px);
  display: flex;
  align-items: center;
  position: relative;
  padding: 76px 0 42px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--primary-2);
  margin-bottom: 18px;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.cta-box h2,
.footer h3 {
  font-family: "Outfit", sans-serif;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 1.02;
  margin-bottom: 20px;
  max-width: 780px;
}

.hero h1 span {
  color: var(--primary);
  text-shadow: 0 0 18px rgba(0, 207, 255, 0.22);
}

.hero-text {
  max-width: 700px;
  color: var(--text-soft);
  font-size: 1.06rem;
  line-height: 1.8;
  margin-bottom: 34px;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition),
    background var(--transition);
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #03131a;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 0 30px rgba(0, 207, 255, 0.24);
}

.btn-primary:hover {
  box-shadow: 0 0 40px rgba(0, 207, 255, 0.34);
}

.btn-secondary,
.btn-outline {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover,
.btn-outline:hover {
  border-color: rgba(0, 207, 255, 0.5);
  box-shadow: 0 0 24px rgba(0, 207, 255, 0.10);
}

/* HERO STATS */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.stat-card,
.service-card,
.process-step,
.project-card,
.cta-box {
  background: var(--panel);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 20px;
  border-radius: var(--radius-sm);
}

.stat-card strong {
  display: block;
  font-size: 1.2rem;
  font-family: "Outfit", sans-serif;
  margin-bottom: 8px;
}

.stat-card span {
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* HERO VISUAL */
.hero-panel {
  position: relative;
  min-height: 560px;
  border-radius: var(--radius-xl);
  padding: 30px;
  background: linear-gradient(180deg, rgba(10, 17, 35, 0.92), rgba(6, 10, 24, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.floating-card {
  position: absolute;
  display: flex;
  gap: 14px;
  width: min(82%, 330px);
  padding: 22px;
  border-radius: 22px;
  background: rgba(8, 15, 30, 0.92);
  border: 1px solid rgba(0, 207, 255, 0.18);
  box-shadow: 0 0 35px rgba(0, 207, 255, 0.08);
}

.floating-card i {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 207, 255, 0.18), rgba(124, 77, 255, 0.18));
  color: var(--primary);
  font-size: 1.2rem;
}

.floating-card h3 {
  font-size: 1.02rem;
  margin-bottom: 8px;
  font-family: "Outfit", sans-serif;
}

.floating-card p {
  color: var(--text-soft);
  font-size: 0.93rem;
  line-height: 1.55;
}

.card-top {
  top: 110px;
  left: 30px;
}

.card-middle {
  top: 240px;
  right: 30px;
}

.card-bottom {
  bottom: 50px;
  left: 70px;
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 25%, transparent 85%);
  pointer-events: none;
}

/* SECTIONS */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(88%, 1180px);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 207, 255, 0.14) 18%,
    rgba(124, 77, 255, 0.24) 50%,
    rgba(0, 207, 255, 0.14) 82%,
    transparent 100%
  );
  pointer-events: none;
}

.hero::before,
.footer::before,
.cta.section::before {
  display: none;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 50px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  margin-bottom: 14px;
}

.section-heading p {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.8;
}

/* GRIDS */
.services-grid,
.process-grid,
.projects-grid {
  display: grid;
  gap: 22px;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.projects-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* CARDS */
.service-card,
.process-step,
.project-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.service-card:hover,
.process-step:hover,
.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 207, 255, 0.28);
  box-shadow: 0 0 40px rgba(0, 207, 255, 0.12), var(--shadow);
}

.service-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  margin-bottom: 18px;
  font-size: 1.35rem;
  color: var(--primary);
  background: rgba(0, 207, 255, 0.08);
  border: 1px solid rgba(0, 207, 255, 0.18);
}

.service-card h3,
.process-step h3,
.project-card h3 {
  font-family: "Outfit", sans-serif;
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.service-card p,
.process-step p,
.project-card p,
.cta-box p {
  color: var(--text-soft);
  line-height: 1.75;
}

.step-number {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--primary);
  font-weight: 800;
  font-size: 1.25rem;
}

.project-label {
  display: inline-block;
  margin-bottom: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(0, 207, 255, 0.1);
  color: var(--primary);
}

/* CTA */
.cta-box {
  padding: 38px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  background:
    linear-gradient(120deg, rgba(0, 207, 255, 0.10), rgba(124, 77, 255, 0.10)),
    var(--panel);
}

.cta-box h2 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

/* FOOTER */
.footer {
  padding: 28px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 1;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.footer p,
.footer-links a {
  color: var(--text-soft);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-delay {
  transition-delay: 0.15s;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .hero-grid,
  .services-grid,
  .projects-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .hero-panel {
    min-height: 500px;
  }

  .cta-box,
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 860px) {
  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
    border-radius: 20px;
    background: var(--panel-strong);
    border: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
  }

  .nav.open {
    display: flex;
  }

  .menu-btn {
    display: flex;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 11vw, 4.5rem);
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .floating-card {
    width: min(86%, 320px);
  }

  .card-top {
    top: 96px;
    left: 20px;
  }

  .card-middle {
    top: 232px;
    right: 20px;
  }

  .card-bottom {
    bottom: 38px;
    left: 24px;
  }

  .section {
    padding: 84px 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 22px, var(--container));
  }

  .hero {
    padding: 36px 0 30px;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .hero-panel {
    min-height: 430px;
    padding: 18px;
  }

  .hero-badge {
    font-size: 0.92rem;
    padding: 10px 14px;
  }

  .floating-card {
    position: static;
    width: 100%;
    margin-top: 16px;
  }

  .grid-lines {
    display: none;
  }

  .cta-box {
    padding: 26px 20px;
  }

  .footer-content {
    gap: 16px;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
}