:root {
  --bg: #f3f5f8;
  --text: #0f1722;
  --muted: #cfd7e3;
  --muted-dark: #7f8ca3;
  --white: #ffffff;
  --line: rgba(255, 255, 255, 0.18);

  --dark-1: #040915;
  --dark-2: #081120;
  --dark-3: #0c1830;

  --blue-1: #4db7ff;
  --blue-2: #2f7cff;
  --blue-3: #123d9b;

  --card: #ffffff;
  --shadow: 0 18px 50px rgba(9, 18, 35, 0.08);

  --radius: 28px;
  --container: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 64px));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 0;
  font-size: 46px;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: #111827;
}

.section-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.text-link,
.mini-link {
  color: var(--blue-2);
  font-weight: 600;
}

/* HEADER */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  padding: 22px 0;
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
}

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

.logo img {
  height: 46px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 500;
  transition: opacity 0.25s ease;
}

.main-nav a:hover {
  opacity: 0.75;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 24px;
  font-weight: 600;
  transition: 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-1), var(--blue-2));
  box-shadow: 0 14px 30px rgba(47, 124, 255, 0.28);
}

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

.btn-secondary,
.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover,
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* HERO */
.hero {
  position: relative;
  min-height: 920px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border-bottom-left-radius: 34px;
  border-bottom-right-radius: 34px;
  background:
    url('/assets/images/hero.jpg') center center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.08;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(4, 9, 18, 0.86) 0%,
      rgba(5, 10, 20, 0.64) 36%,
      rgba(6, 12, 24, 0.38) 60%,
      rgba(6, 12, 24, 0.22) 100%
    ),
    radial-gradient(circle at 72% 34%, rgba(77, 183, 255, 0.16), transparent 24%),
    radial-gradient(circle at 82% 54%, rgba(47, 124, 255, 0.14), transparent 28%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  align-items: flex-end;
  padding-top: 130px;
  padding-bottom: 34px;
}

.hero-content {
  max-width: 760px;
}

.eyebrow,
.hero-badge {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--blue-1);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  color: #fff;
  font-size: 84px;
  line-height: 0.95;
  letter-spacing: -0.055em;
  font-weight: 700;
}

.hero p {
  margin: 26px 0 0;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
  line-height: 1.72;
}

.hero-actions,
.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.hero-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 72px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-tabs span {
  position: relative;
  display: block;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding-top: 12px;
}

.hero-tabs span::before {
  content: "";
  position: absolute;
  top: -19px;
  left: 0;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.hero-tabs span:first-child::before {
  background: linear-gradient(90deg, var(--blue-1), var(--blue-2));
}

/* INTRO */
.intro-section {
  padding-top: 84px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.3fr;
  gap: 64px;
  align-items: start;
}

.intro-left h2 {
  margin: 0;
  font-size: 58px;
  line-height: 0.96;
  letter-spacing: -0.045em;
  color: #111827;
}

.intro-right p {
  margin: 0 0 22px;
  color: #525d6f;
  font-size: 18px;
  line-height: 1.82;
}

/* STATS */
.stats-grid,
.results {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.stat-card,
.card {
  background: var(--card);
  border-radius: 24px;
  padding: 34px 28px;
  box-shadow: var(--shadow);
  min-height: 206px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.stat-card h3 {
  margin: 0 0 10px;
  font-size: 48px;
  line-height: 1;
  color: #111827;
}

.stat-card p {
  margin: 0 0 18px;
  color: #657083;
}

/* SPOTLIGHT */
.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  overflow: hidden;
  border-radius: 24px;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}

.feature-image {
  height: 225px;
  background:
    radial-gradient(circle at 22% 22%, rgba(77, 183, 255, 0.28), transparent 18%),
    linear-gradient(135deg, #09111f, #0f1b35 60%, #06101d);
}

.feature-body {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.feature-card h3 {
  margin: 12px 0 18px;
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.feature-card-dark {
  background: linear-gradient(180deg, #0a1220 0%, #050a13 100%);
  color: #fff;
}

.feature-card-blue {
  background: linear-gradient(180deg, #0d1f45 0%, #07101f 100%);
  color: #fff;
}

.feature-card-light {
  background: linear-gradient(180deg, #ffffff 0%, #edf3fa 100%);
  color: var(--text);
}

.feature-tag,
.testimonial-category {
  display: inline-block;
  color: var(--blue-1);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* TESTIMONIALS */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.testimonial-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.testimonial-video {
  height: 230px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.22), transparent 12%),
    linear-gradient(135deg, #cddaea, #eef4fb);
}

.testimonial-body {
  padding: 24px;
}

.testimonial-card h3 {
  margin: 12px 0 14px;
  font-size: 30px;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #111827;
}

.testimonial-card p {
  margin: 0;
  color: #5f6a7b;
  line-height: 1.7;
}

/* CASE STUDY */
.case-study-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: end;
}

.case-study-head p {
  margin: 0 0 14px;
  color: #616d80;
  line-height: 1.7;
}

.case-study-highlight {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 0.9fr 1.35fr;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.case-study-image {
  min-height: 360px;
  background:
    radial-gradient(circle at 40% 40%, rgba(77,183,255,0.30), transparent 18%),
    linear-gradient(135deg, #8ea7c0, #d9e6f3);
}

.case-study-content {
  padding: 44px;
  color: #fff;
  background: linear-gradient(135deg, #061224 0%, #0e2f74 50%, #49b6ff 100%);
}

.case-study-content h3 {
  margin: 14px 0 26px;
  font-size: 48px;
  line-height: 1.02;
  letter-spacing: -0.045em;
  max-width: 680px;
}

.case-study-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* LOGOS */
.logos-section {
  background: #edf1f6;
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 42px;
}

.logos-grid span {
  color: #5c6676;
  font-weight: 700;
  font-size: 22px;
}

/* FINAL CTA */
.final-cta {
  padding: 82px 0;
  color: #fff;
  background: linear-gradient(135deg, #061224 0%, #0d2d71 48%, #49b6ff 100%);
}

.final-cta-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 34px;
  align-items: center;
}

.final-cta-left h2 {
  margin: 0;
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.final-cta-right {
  display: grid;
  gap: 18px;
}

.cta-stat strong {
  display: block;
  font-size: 30px;
  margin-bottom: 6px;
}

.cta-stat span {
  color: rgba(255,255,255,0.82);
  font-size: 17px;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .hero h1 {
    font-size: 68px;
  }

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

  .spotlight-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .case-study-highlight,
  .case-study-head,
  .intro-grid,
  .final-cta-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .hero {
    min-height: 820px;
  }

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

  .hero-tabs {
    grid-template-columns: 1fr;
    gap: 14px;
  }

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

@media (max-width: 768px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .section {
    padding: 68px 0;
  }

  .hero {
    min-height: auto;
    border-bottom-left-radius: 26px;
    border-bottom-right-radius: 26px;
  }

  .hero-inner {
    padding-top: 120px;
    padding-bottom: 32px;
  }

  .hero h1 {
    font-size: 42px;
    line-height: 0.98;
  }

  .hero p,
  .intro-right p {
    font-size: 17px;
  }

  .hero-actions,
  .hero-buttons,
  .case-study-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .intro-left h2,
  .section-heading h2,
  .case-study-content h3,
  .final-cta-left h2 {
    font-size: 36px;
  }

  .stats-grid,
  .results,
  .logos-grid {
    grid-template-columns: 1fr;
  }

  .logo img {
    height: 38px;
  }
}