:root {
  --bg: #07111f;
  --bg-2: #0b1830;
  --bg-3: #101f3f;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-2: rgba(255, 255, 255, 0.09);
  --text: #f5f7fb;
  --muted: #b6c2d9;
  --line: rgba(255, 255, 255, 0.12);
  --brand: #7c4dff;
  --brand-2: #00d4ff;
  --brand-3: #ff4fd8;
  --shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container-max: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(124, 77, 255, 0.16), transparent 32%),
    radial-gradient(circle at right, rgba(0, 212, 255, 0.12), transparent 30%),
    linear-gradient(180deg, var(--bg) 0%, #060d1a 100%);
  color: var(--text);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

.container {
  max-width: var(--container-max);
  position: relative;
  z-index: 2;
}

/* Background Effects */
.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  z-index: 0;
  pointer-events: none;
}

.orb-1 {
  width: 320px;
  height: 320px;
  background: rgba(124, 77, 255, 0.28);
  top: 80px;
  left: -60px;
}

.orb-2 {
  width: 360px;
  height: 360px;
  background: rgba(0, 212, 255, 0.18);
  bottom: 0;
  right: -120px;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent 90%);
  pointer-events: none;
  z-index: 0;
}

/* Navbar */
.custom-navbar {
  background: rgba(4, 10, 20, 0.55);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s ease;
}

.navbar-brand {
  color: #fff;
}

.brand-badge {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 30px rgba(124, 77, 255, 0.35);
  color: #fff;
  font-size: 1.1rem;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text-wrap strong {
  font-size: 0.98rem;
  letter-spacing: 0.2px;
}

.brand-text-wrap small {
  color: var(--muted);
  font-size: 0.72rem;
}

.navbar .nav-link {
  color: rgba(255,255,255,0.88);
  font-weight: 500;
  padding: 0.8rem 1rem;
  position: relative;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: #fff;
}

.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 1rem;
  bottom: 0.45rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transition: width 0.25s ease;
}

.navbar .nav-link:hover::after {
  width: calc(100% - 2rem);
}

.navbar-toggler {
  padding: 0.45rem 0.65rem;
}

/* Buttons */
.btn-brand {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border: none;
  color: #fff;
  font-weight: 700;
  padding: 0.9rem 1.45rem;
  border-radius: 999px;
  box-shadow: 0 14px 35px rgba(124, 77, 255, 0.35);
  transition: all 0.25s ease;
}

.btn-brand:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(124, 77, 255, 0.42);
}

.btn-glass {
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
}

.btn-glass:hover {
  background: rgba(255,255,255,0.12);
}

/* Hero */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 90px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(124, 77, 255, 0.12), transparent 25%),
    radial-gradient(circle at 80% 30%, rgba(0, 212, 255, 0.10), transparent 22%),
    linear-gradient(180deg, rgba(6, 13, 26, 0.2), rgba(6, 13, 26, 0.6));
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  color: #dce8ff;
  font-size: 0.92rem;
  font-weight: 600;
}

.hero-title {
  line-height: 1.03;
  letter-spacing: -0.04em;
  max-width: 760px;
}

.gradient-text {
  background: linear-gradient(90deg, #ffffff, #9ecaff, #8e7bff, #f58cff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  color: var(--muted);
  max-width: 720px;
  font-size: 1.13rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.metric-card {
  padding: 1.1rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.metric-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.18);
}

.metric-card strong {
  display: block;
  font-size: 0.97rem;
  margin-bottom: 0.3rem;
}

.metric-card span {
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-visual-card {
  position: relative;
  padding: 1.2rem;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-main-image {
  border-radius: 26px;
  min-height: 560px;
  object-fit: cover;
  width: 100%;
}

.floating-badge {
  position: absolute;
  z-index: 3;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: rgba(8, 19, 37, 0.78);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0,0,0,0.28);
}

.floating-badge-top {
  top: -18px;
  right: 18px;
}

.floating-badge-bottom {
  bottom: -18px;
  left: 18px;
}

.floating-panel {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 34px;
  z-index: 2;
  padding: 1.2rem;
  border-radius: 20px;
  background: rgba(8, 19, 37, 0.78);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
}

.panel-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #c7d8ff;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #2cff85;
  box-shadow: 0 0 0 6px rgba(44, 255, 133, 0.15);
}

.floating-panel h5 {
  margin-bottom: 0.55rem;
  font-size: 1.15rem;
}

.floating-panel p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: 34px;
  height: 54px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.25);
  display: inline-flex;
  justify-content: center;
  padding-top: 8px;
  z-index: 3;
}

.scroll-indicator span {
  width: 6px;
  height: 12px;
  border-radius: 999px;
  background: #fff;
  display: inline-block;
  animation: scrollMove 1.6s infinite;
}

@keyframes scrollMove {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0.2; }
  100% { transform: translateY(0); opacity: 1; }
}

/* Sections */
.section-space {
  position: relative;
  padding: 110px 0;
}

.section-dark {
  background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0.02));
}

.section-mid {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.03));
}

.section-heading {
  max-width: 760px;
}

.section-heading h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.08;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.04rem;
}

.centered-heading {
  margin-inline: auto;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 0.9rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  color: #d8e6ff;
  background: rgba(255,255,255,0.05);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.section-side-text {
  color: var(--muted);
  margin-bottom: 0;
}

/* Boxes */
.info-box,
.feature-card,
.case-card,
.insight-panel,
.cta-panel,
.footer-cta-box,
.glass-card {
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.info-box {
  height: 100%;
  padding: 1.4rem;
  border-radius: 22px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.info-box:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.18);
}

.info-box i {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: inline-block;
  color: #9eccff;
}

.info-box h5 {
  margin-bottom: 0.55rem;
}

.info-box p {
  color: var(--muted);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.image-stack {
  position: relative;
  min-height: 560px;
}

.image-stack-main img {
  min-height: 560px;
  object-fit: cover;
  width: 100%;
}

.image-stack-card {
  position: absolute;
  left: -20px;
  bottom: -20px;
  max-width: 360px;
  padding: 1.5rem;
  border-radius: 24px;
}

.mini-kicker {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #c9dcff;
  margin-bottom: 0.8rem;
}

.image-stack-card h4 {
  margin-bottom: 0.8rem;
}

.image-stack-card p {
  color: var(--muted);
  margin-bottom: 0;
}

/* Feature cards */
.feature-card {
  padding: 1.8rem;
  border-radius: 26px;
  position: relative;
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124,77,255,0.10), transparent 45%, rgba(0,212,255,0.08));
  opacity: 0;
  transition: opacity 0.28s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,255,255,0.20);
  box-shadow: 0 28px 60px rgba(0,0,0,0.38);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card > * {
  position: relative;
  z-index: 1;
}

.icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  background: linear-gradient(135deg, rgba(124,77,255,0.22), rgba(0,212,255,0.20));
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 1.4rem;
}

.feature-card h4 {
  margin-bottom: 0.8rem;
}

.feature-card p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.feature-link {
  color: #dbeaff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: gap 0.2s ease, color 0.2s ease;
}

.feature-link:hover {
  color: #fff;
  gap: 0.7rem;
}

/* Parallax banner */
.parallax-banner {
  position: relative;
  padding: 120px 0;
  background-image:
    linear-gradient(rgba(5, 12, 25, 0.45), rgba(5, 12, 25, 0.65)),
    url("https://images.unsplash.com/photo-1501386761578-eac5c94b800a?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.parallax-content {
  max-width: 800px;
}

.parallax-content h2 {
  font-size: clamp(2.1rem, 3.2vw, 3.4rem);
  line-height: 1.06;
  margin-bottom: 1rem;
}

.parallax-content p {
  color: rgba(255,255,255,0.84);
  font-size: 1.08rem;
  max-width: 700px;
}

/* Area cards */
.area-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 430px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.10);
}

.area-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.area-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15), rgba(5, 10, 18, 0.88));
}

.area-card:hover img {
  transform: scale(1.06);
}

.area-card-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.6rem;
}

.area-card-content span {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #cde0ff;
  margin-bottom: 0.8rem;
}

.area-card-content h4 {
  margin-bottom: 0.65rem;
}

.area-card-content p {
  margin-bottom: 0;
  color: rgba(255,255,255,0.84);
}

/* Cases */
.case-card {
  border-radius: 26px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.case-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.18);
}

.case-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.case-body {
  padding: 1.5rem;
}

.case-tag {
  display: inline-block;
  margin-bottom: 0.8rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(124,77,255,0.16);
  border: 1px solid rgba(255,255,255,0.10);
  color: #d8e7ff;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.case-body h4 {
  margin-bottom: 0.8rem;
}

.case-body p {
  color: var(--muted);
  margin-bottom: 1rem;
}

/* Insight */
.insight-panel,
.cta-panel {
  border-radius: 30px;
  padding: 2rem;
}

.insight-panel p,
.cta-panel p {
  color: var(--muted);
}

.custom-list {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
}

.custom-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #e7f0ff;
  margin-bottom: 0.85rem;
}

.custom-list i {
  color: #69f0ae;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.mini-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.mini-stats div {
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.mini-stats strong {
  display: block;
  margin-bottom: 0.25rem;
}

.mini-stats span {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Footer CTA */
.footer-cta {
  padding: 0 0 70px;
}

.footer-cta-box {
  padding: 2.2rem;
  border-radius: 34px;
}

.footer-cta-box h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  margin-bottom: 1rem;
}

.footer-cta-box p {
  color: var(--muted);
  margin-bottom: 0;
}

/* Footer */
.site-footer {
  padding: 22px 0 34px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.18);
}

.site-footer p {
  color: var(--muted);
}

.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-links a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
}

/* Responsive */
@media (max-width: 1199.98px) {
  .hero-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 22px;
    background: rgba(7, 17, 31, 0.92);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(15px);
  }

  .hero-title {
    font-size: clamp(2.5rem, 9vw, 4.3rem);
  }

  .hero-main-image {
    min-height: 420px;
  }

  .image-stack {
    min-height: auto;
  }

  .image-stack-card {
    position: relative;
    left: 0;
    bottom: 0;
    max-width: 100%;
    margin-top: 1rem;
  }

  .parallax-banner {
    background-attachment: scroll;
  }
}

@media (max-width: 767.98px) {
  .section-space {
    padding: 86px 0;
  }

  .hero-section {
    min-height: auto;
    padding-top: 110px;
    padding-bottom: 60px;
  }

  .hero-title {
    font-size: clamp(2.2rem, 10vw, 3.6rem);
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .floating-panel {
    position: relative;
    left: 0;
    right: 0;
    bottom: 0;
    margin-top: 1rem;
  }

  .floating-badge-top,
  .floating-badge-bottom {
    position: static;
    display: inline-flex;
    margin-bottom: 0.75rem;
  }

  .hero-visual-card {
    padding: 1rem;
  }

  .hero-main-image {
    min-height: 320px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .scroll-indicator {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .brand-text-wrap strong {
    font-size: 0.9rem;
  }

  .brand-text-wrap small {
    font-size: 0.68rem;
  }

  .section-heading h2,
  .parallax-content h2,
  .footer-cta-box h2 {
    letter-spacing: -0.02em;
  }

  .feature-card,
  .insight-panel,
  .cta-panel,
  .footer-cta-box {
    padding: 1.35rem;
  }
}