@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --bg-primary: #003E52;
  --bg-dark: #011E29;
  --accent: #FF6600;
  --text-white: #FFFFFF;
  --text-muted: #CBD5E1;
  --font-main: 'Plus Jakarta Sans', sans-serif;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-white);
  line-height: 1.4;
  overflow-y: auto;
  /* Restored scroll */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header */
header {
  padding: 1.5rem 0;
  flex-shrink: 0;
}

.header__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
}

.badge--dev {
  padding: 0.4rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.3);
  /* Darkened background */
  border-radius: 50px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Main Body Section with Grid */
main {
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: center;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  height: 100%;
}

.hero__headline {
  margin-top: 3rem;
  /* Added space above headline */
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero__headline span {
  color: var(--accent);
}

.hero__subheadline {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  width: 100%;
  max-width: 600px;
}

/* Feature Cards - Single Row */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* One row */
  gap: 1rem;
  margin-bottom: 2rem;
}

.card {
  background-color: var(--bg-dark);
  padding: 1.5rem 1.75rem;
  /* Increased width/padding */
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.card__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.card__number {
  background-color: var(--accent);
  color: var(--text-white);
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-block;
  flex-shrink: 0;
}

.card__title {
  font-size: 0.85rem;
  font-weight: 600;
}

.card__content {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Company Info */
.company-info {
  margin-bottom: 3rem;
  /* Space below company info */
}

.company-info h4 {
  font-weight: 500;
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.company-info p {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.company-info .email {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
}

/* Illustration with Table BELOW Plaque */
.hero__illustration {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.img-plaque {
  width: 200px;
  /* Scaled down */
  z-index: 2;
  margin-bottom: 10px;
  /* Placed above table */
  animation: float-plaque 5s ease-in-out infinite;
}

.img-table {
  width: 100%;
  max-width: 400px;
  /* Scaled down */
  z-index: 1;
}

@keyframes float-plaque {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Footer */
footer {
  padding: 1.5rem 0;
  flex-shrink: 0;
}

.footer__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer__link {
  color: var(--text-muted);
  text-decoration: none;
}

@media (max-width: 768px) {
  body {
    overflow-y: auto;
    height: auto;
  }

  main {
    padding: 3rem 0;
    height: auto;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .card__number {
    font-size: 0.85rem;
    /* Larger for mobile */
    padding: 2px 10px;
  }

  .card__title {
    font-size: 1.2rem;
    /* Further increased for mobile */
  }

  .card__content {
    font-size: 1.05rem;
    /* Further increased for mobile */
  }

  .hero__subheadline {
    margin: 0 auto 2rem;
  }
}