*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #000;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

.hero-bg {
  position: fixed;
  top: 0;
  right: 0;
  width: 60vw;
  aspect-ratio: 1;
  height: auto;
  background: url('public/mb-hero-mobile.png') top right / cover no-repeat;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

header,
main,
footer {
  position: relative;
  z-index: 1;
}

header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2rem 0;
  text-align: left;
}

.logo {
  width: 260px;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.5));
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}

/* Hero */

.hero {
  padding: 4rem 0 2rem;
  text-align: left;
  max-width: 600px;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.tagline {
  margin-top: 1rem;
  font-size: clamp(2rem, 2.5vw, 5rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  background: linear-gradient(135deg, rgba(210, 220, 240, 0.95) 0%, rgba(160, 190, 230, 0.9) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

/* Cards */

.card {
  background:
    linear-gradient(
      135deg,
      rgba(40, 52, 72, 0.75) 0%,
      rgba(24, 32, 48, 0.7) 100%
    );
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.4),
    0 1px 0 rgba(255, 255, 255, 0.04) inset;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 0.3s, border-color 0.3s;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.card p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.card p + p {
  margin-top: 1rem;
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #ffffff 0%, rgba(180, 200, 230, 0.9) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Sections */

.intro {
  max-width: 600px;
  padding-bottom: 1rem;
}

.intro .card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      135deg,
      rgba(50, 65, 90, 0.8) 0%,
      rgba(28, 38, 58, 0.75) 100%
    );
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.5),
    0 2px 0 rgba(255, 255, 255, 0.05) inset;
}

.intro .card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    ellipse at 30% 20%,
    rgba(120, 160, 220, 0.08) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.intro .card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.15) 30%,
    rgba(255, 255, 255, 0.15) 70%,
    transparent 100%
  );
}

.services {
  margin-top: 4rem;
}

.services h2,
.contact h2 {
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, rgba(210, 220, 240, 0.95) 0%, rgba(160, 190, 230, 0.9) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Services grid */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

/* Contact */

.contact {
  margin-top: 4rem;
}

.contact .card {
  text-align: center;
  background:
    linear-gradient(
      160deg,
      rgba(35, 48, 68, 0.8) 0%,
      rgba(20, 28, 44, 0.75) 100%
    );
}

.contact p {
  margin-bottom: 1rem;
}

.email-link {
  display: inline-block;
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 2px;
  transition: border-color 0.2s, text-shadow 0.2s;
}

.email-link:hover {
  border-color: #fff;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.2);
}

/* Backers */

.backers {
  margin-top: 5rem;
  text-align: center;
}

.backer-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.backer-logos img {
  height: 36px;
  width: auto;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.backer-logos img:hover {
  opacity: 0.75;
}

/* Footer */

footer {
  text-align: center;
  padding: 3rem 2rem 2rem;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

/* Responsive */

@media (max-width: 700px) {
  header {
    padding: 1.5rem 1.25rem 0;
  }

  main {
    padding: 0 1.25rem 3rem;
  }

  .hero {
    padding: 3rem 0 1.5rem;
  }

  .card {
    padding: 1.5rem;
    border-radius: 1rem;
  }

  .logo {
    width: 130px;
  }

  .hero-bg {
    width: 70vw;
    opacity: 0.25;
  }

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

  .contact {
    margin-top: 2.5rem;
  }

  .backers {
    margin-top: 3rem;
  }
}
