:root {
  --bg: #07162b;
  --bg-deep: #041122;
  --panel: #0a1d3a;
  --panel-2: #102750;
  --text: #f8fbff;
  --muted: #aabbd4;
  --line: rgba(118, 162, 255, 0.2);
  --accent: #35c7ff;
  --accent-2: #6b84ff;
  --accent-3: #00d9c0;
  --card: rgba(8, 21, 43, 0.82);
  --light: #eef4fb;
  --light-text: #0b1931;
  --shadow: 0 22px 55px rgba(2, 8, 23, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background: #07111f;
  color: var(--light-text);
  line-height: 1.6;
  overflow-x: hidden;
}

@keyframes driftGrid {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(10px, -8px, 0) scale(1.02);
  }
}

@keyframes shimmerGrid {
  0% {
    opacity: 0.4;
    transform: translate3d(0, 0, 0);
  }
  100% {
    opacity: 0.78;
    transform: translate3d(-6px, 4px, 0);
  }
}

@keyframes logoGlow {
  0%,
  100% {
    transform: translateY(0);
    filter: drop-shadow(0 16px 34px rgba(0, 0, 0, 0.28));
  }
  50% {
    transform: translateY(-2px);
    filter: drop-shadow(0 20px 42px rgba(0, 116, 255, 0.26));
  }
}

@keyframes sectionReveal {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(54, 134, 255, 0.42), transparent 24%),
    radial-gradient(circle at bottom left, rgba(0, 210, 255, 0.15), transparent 30%),
    linear-gradient(135deg, #08172d 0%, #0c2552 55%, #07162b 100%);
  color: var(--text);
  min-height: 820px;
}

.hero__backdrop::before,
.hero__backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__backdrop::before {
  background:
    linear-gradient(135deg, transparent 0 10%, rgba(28, 98, 255, 0.16) 10% 11%, transparent 11%),
    linear-gradient(45deg, transparent 0 64%, rgba(28, 215, 255, 0.1) 64% 65%, transparent 65%);
  opacity: 0.9;
  animation: driftGrid 18s ease-in-out infinite alternate;
}

.hero__backdrop::after {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0));
  animation: shimmerGrid 14s ease-in-out infinite alternate;
}

.hero__inner {
  position: relative;
  padding: 80px 0 68px;
}

.brand-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  min-height: 560px;
  text-align: left;
}

.brand-mark {
  position: relative;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  backdrop-filter: none;
}

.brand-logo {
  width: min(100%, 540px);
  margin: 0;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 16px 34px rgba(0, 0, 0, 0.28));
  animation: logoGlow 4.5s ease-in-out infinite;
}

.brand-copy {
  max-width: 1100px;
  padding-top: 2px;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 0.92rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a7c5ff;
}

h1 {
  margin: 0;
  font-size: clamp(2.65rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 800;
  text-transform: uppercase;
}

.subtitle {
  margin: 18px 0 0;
  max-width: 1000px;
  font-size: 1.12rem;
  color: var(--muted);
}

.info-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid rgba(153, 194, 255, 0.26);
  background: rgba(8, 24, 48, 0.72);
  color: #dce9ff;
  font-weight: 700;
}

.section {
  padding: 84px 0;
  animation: sectionReveal 0.9s ease both;
}

.section--light {
  background: var(--light);
}

.section--dark {
  background: linear-gradient(180deg, #08172e, #09172f);
  color: var(--text);
}

.section--soft {
  background: #e7eefb;
}

.section--contact {
  background: linear-gradient(180deg, #f7f9fd, #e2ebf8);
}

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

.section-heading--light h2,
.section-heading--light .section-tag {
  color: var(--text);
}

.section-tag {
  display: inline-block;
  margin-bottom: 10px;
  color: #41608d;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
}

.story-grid,
.cards-grid,
.advantages-grid,
.steps-grid,
.principles-grid {
  display: grid;
  gap: 22px;
}

.story-grid,
.cards-grid--services,
.cards-grid--industries {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.story-block {
  grid-column: span 4;
  background: #ffffff;
  padding: 24px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.story-block h3,
.service-card h3,
.industry-card h3,
.contact-block h3 {
  margin: 0 0 12px;
  font-size: 1.14rem;
}

.story-block p,
.service-card p,
.industry-card p,
.contact-block p,
.story-text p {
  margin: 0;
  color: #4c5d79;
}

.section--dark .service-card p,
.section--dark .step-item p,
.section--dark .contact-block p {
  color: #d7e4f8;
}

.story-text {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.industry-card {
  grid-column: span 3;
  background: var(--card);
  padding: 24px;
  border-radius: 18px;
  border: 1px solid rgba(151, 191, 255, 0.13);
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

/* ensure readable text on dark card backgrounds */
.service-card h3,
.industry-card h3 {
  color: #e8f4ff;
}

.service-card p,
.industry-card p {
  color: rgba(220,230,255,0.88);
}

.icon-badge {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(53, 199, 255, 0.2), rgba(0, 217, 192, 0.18));
  color: #9ee8ff;
  font-weight: 800;
}

.advantages-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.advantage-item,
.principle-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 82px;
  padding: 16px 20px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  font-weight: 700;
  color: #10203b;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.tick {
  font-size: 1.15rem;
  color: #1a96de;
}

.steps-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 18px;
  border: 1px solid rgba(155, 192, 255, 0.16);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.step-num {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  color: #04121f;
  font-weight: 800;
}

.principles-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.contact-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.contact-block {
  background: #ffffff;
  padding: 24px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.story-block:hover,
.service-card:hover,
.industry-card:hover,
.advantage-item:hover,
.principle-item:hover,
.step-item:hover,
.contact-block:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 65px rgba(8, 18, 41, 0.28);
  border-color: rgba(89, 191, 255, 0.7);
}

.footer {
  background: #07111f;
  color: #dce8fb;
}

.footer__inner {
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .brand-row {
    min-height: auto;
    text-align: center;
    align-items: center;
  }

  .brand-mark {
    display: flex;
    justify-content: center;
  }

  .brand-logo {
    width: min(100%, 320px);
  }

  .brand-copy {
    margin: 0 auto;
    padding-top: 0;
    text-align: center;
  }

  .story-grid,
  .cards-grid--services,
  .cards-grid--industries,
  .contact-card,
  .steps-grid,
  .advantages-grid,
  .principles-grid,
  .story-text {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-block,
  .service-card,
  .industry-card {
    grid-column: span 1;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 20px, 1200px);
  }

  .hero__inner,
  .section {
    padding: 52px 0;
  }

  .story-grid,
  .cards-grid--services,
  .cards-grid--industries,
  .contact-card,
  .steps-grid,
  .advantages-grid,
  .principles-grid,
  .story-text {
    grid-template-columns: 1fr;
  }

  .brand-row {
    gap: 22px;
  }

  h1 {
    font-size: clamp(2.3rem, 8vw, 3.4rem);
  }

  .subtitle {
    font-size: 1rem;
  }

  .story-block,
  .service-card,
  .industry-card,
  .contact-block,
  .advantage-item,
  .principle-item,
  .step-item {
    border-radius: 14px;
  }

  .info-chip {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .section {
    padding: 44px 0;
  }

  .hero__inner {
    padding-top: 50px;
  }

  .brand-mark {
    padding: 16px;
  }

  .brand-logo {
    width: 100%;
  }
}
