:root {
  --bg-primary: #030914;
  --bg-secondary: #071731;
  --bg-tertiary: #0b1f40;
  --card-bg: rgba(10, 25, 53, 0.7);
  --card-highlight: rgba(9, 61, 102, 0.8);
  --accent: #6fe0ff;
  --accent-strong: #40ffd2;
  --text-primary: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.72);
  --border-soft: rgba(255, 255, 255, 0.08);
  --shadow-soft: 0 24px 48px rgba(0, 0, 0, 0.45);
  --radius-large: 28px;
  --radius-medium: 20px;
  --radius-small: 12px;
  --container-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Lexend', 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  background: radial-gradient(circle at top right, rgba(111, 224, 255, 0.08), transparent 40%),
    linear-gradient(180deg, var(--bg-primary) 0%, #01050d 100%);
  color: var(--text-primary);
  line-height: 1.7;
}

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

a {
  color: inherit;
}

section {
  padding: 96px 0;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #02060f;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 30px rgba(111, 224, 255, 0.28);
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(111, 224, 255, 0.35);
}

.hero {
  padding: 0;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  background-image: url('../images/hero-background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0 24px;
  background: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(var(--container-width), calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  min-height: 100%;
  text-align: center;
}

.hero__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.hero__kicker {
  margin: 0;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.6;
  font-weight: 600;
}

.hero__kicker span {
  color: #ffffff;
}

.hero__logo {
  width: clamp(300px, 36vw, 560px);
  max-width: 560px;
  margin: 0 auto;
}

.hero__stat {
  padding: 36px;
  border-radius: var(--radius-large);
  background: rgba(4, 16, 38, 0.95);
  border: 1px solid rgba(111, 224, 255, 0.18);
  box-shadow: var(--shadow-soft);
  max-width: 420px;
  margin-inline: auto;
}

.hero__highlight {
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero__stat p {
  color: var(--text-muted);
  margin: 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: inherit;
}

.section-header p {
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
}

.equation {
  background: linear-gradient(180deg, rgba(8, 22, 48, 0.85) 0%, rgba(5, 14, 31, 0.9) 100%);
}

.equation__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.equation__text {
  text-align: center;
  display: grid;
  gap: 18px;
  justify-items: center;
}

.equation__heading {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fcfcfc;
}

.equation__text p {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0;
}

.equation__wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 12px;
  align-items: stretch;
  justify-content: center;
}

.equation__item {
  text-align: center;
  padding: 36px 26px;
  background: rgba(9, 24, 53, 0.8);
  border-radius: var(--radius-medium);
  border: 1px solid var(--border-soft);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.equation__item img {
  height: 84px;
  flex-shrink: 0;
}

.equation__item h3 {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.95rem;
  margin: 0;
}

.equation__item p {
  color: var(--text-muted);
  margin: 0;
  width: 100%;
}

.equation__operator {
  font-size: 3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  padding: 0 8px;
}

@media (max-width: 1100px) {
  .equation__wrapper {
    flex-direction: column;
    gap: 24px;
  }
  
  .equation__item {
    max-width: 100%;
  }
  
  .equation__item p {
    max-width: 520px;
  }
  
  .equation__operator {
    font-size: 2.5rem;
  }
}

.posts {
  background: #ffffff;
  color: #333333;
}

.posts .section-header h2 {
  color: #333333;
}

.posts .section-header p {
  color: #666666;
}

.posts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.post-card {
  background: #ffffff;
  border-radius: var(--radius-medium);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e5e5;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.post-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px 8px;
  font-size: 14px;
}

.post-card__category {
  background: var(--accent);
  color: #02060f;
  padding: 4px 8px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 12px;
}

.post-card__meta time {
  color: #666666;
}

.post-card h3 {
  color: #333333;
  margin: 0 0 12px;
  padding: 0 20px;
  font-size: 18px;
  line-height: 1.3;
}

.post-card p {
  color: #666666;
  margin: 0 0 16px;
  padding: 0 20px;
  font-size: 14px;
  line-height: 1.5;
}

.post-card__link {
  display: inline-block;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  padding: 0 20px 20px;
  font-size: 14px;
}

.post-card__link:hover {
  text-decoration: underline;
}

.people {
  background: #ffffff;
  color: #333333;
}

.people .section-header h2 {
  color: #333333;
}

.people__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.people__grid--team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.person-card {
  background: #ffffff;
  border-radius: var(--radius-medium);
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e5e5;
  max-width: 280px;
  margin: 0 auto;
}

.person-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
}

.person-card__body {
  color: #333333;
}

.person-card__role {
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 8px;
  font-size: 14px;
}

.person-card h3 {
  color: #333333;
  margin-bottom: 16px;
  font-size: 18px;
}

.person-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.person-card li {
  color: #666666;
  margin-bottom: 6px;
  font-size: 13px;
}

.person-card__link {
  display: inline-block;
  margin-top: 12px;
}

.person-card__link img {
  width: 20px;
  height: 20px;
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.distributed {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background-image: url('../images/distributed-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.distributed::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.distributed .container {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 600px;
}

.distributed__content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.distributed__icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin: 20px 0;
  flex-wrap: nowrap;
}

.distributed__icons img {
  width: auto;
  height: auto;
  max-height: 60px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.centralised {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background-image: url('../images/centralised-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.centralised::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.centralised .container {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 600px;
}

.centralised__content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.centralised__icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin: 20px 0;
  flex-wrap: nowrap;
}

.centralised__icons img {
  width: auto;
  height: auto;
  max-height: 60px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.nextgen-banner {
  background: #ffffff;
  text-align: center;
}

.nextgen-banner__inner {
  padding: 48px 0;
}

.nextgen-banner h2 {
  margin: 0;
  color: #333333;
}

.legacy {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background-image: url('../images/legacy-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.legacy::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.legacy .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.legacy ul {
  list-style: disc;
  margin: 1rem 0;
  padding-left: 1.2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.legacy li {
  color: #fff;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  padding-left: 0;
}

.nextgen-data-centres {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background-image: url('https://static.wixstatic.com/media/02157e_e8706269109c4d7d930a6773560d0865~mv2.jpg/v1/fill/w_1204,h_863,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/02157e_e8706269109c4d7d930a6773560d0865~mv2.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.nextgen-data-centres::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.nextgen-data-centres .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.nextgen-data-centres__card {
  background: linear-gradient(160deg, rgba(7, 23, 49, 0.95) 0%, rgba(3, 9, 20, 0.92) 100%);
  border: 1px solid rgba(111, 224, 255, 0.15);
  border-radius: var(--radius-large);
  padding: 56px clamp(24px, 5vw, 72px);
  box-shadow: var(--shadow-soft);
  max-width: 920px;
  margin: 0 auto;
}

.nextgen-data-centres__icons img {
  width: 388px;
  height: 212px;
  max-width: 100%;
  filter: brightness(0) invert(1);
  margin: 0 auto;
  display: block;
}

.nextgen-data-centres ul {
  list-style: disc;
  margin: 1rem 0;
  padding-left: 1.2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.nextgen-data-centres li {
  color: #fff;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  padding-left: 0;
}

.footer {
  padding: 32px 0 48px;
  background: rgba(1, 5, 13, 0.9);
}

.footer__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}

.footer__link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.footer__link:hover,
.footer__link:focus-visible {
  text-decoration: underline;
}

@media (max-width: 1080px) {
  .hero__overlay {
    padding: 0 16px;
  }

  .hero__content {
    padding: 120px 0;
  }

  .hero__stat {
    max-width: none;
  }

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

@media (max-width: 768px) {
  section {
    padding: 72px 0;
  }

  .container {
    width: calc(100% - 32px);
  }

  .equation__item {
    text-align: left;
    padding: 28px;
  }

  .posts__grid {
    grid-template-columns: 1fr;
  }

  .people__grid {
    grid-template-columns: 1fr;
    max-width: 320px;
  }
  
  .people__grid--team {
    grid-template-columns: repeat(2, 1fr);
    max-width: 600px;
  }
}

@media (max-width: 520px) {
  .hero__overlay {
    padding: 0 12px;
  }

  .hero__logo {
    width: min(240px, 70vw);
    max-width: 70vw;
  }
}

@media (max-width: 480px) {
  .people__grid--team {
    grid-template-columns: 1fr;
    max-width: 300px;
  }
}
