/* INSIDE THE GAME LTD — styles.css */

:root {
  --primary: #253f7d;
  --primary-dark: #1a2d5a;
  --accent: #d97706;
  --bg: #f8fafc;
  --surface: #ffffff;
  --text-dark: #1e293b;
  --text-light: #64748a;
  --border: #e2e8f0;
  --border-dark: #cbd5e1;
}

/* Base */

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Times New Roman", serif;
  line-height: 1.6;
  background-color: var(--bg);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(90%, 1200px);
  margin-inline: auto;
  padding-block: 4rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--primary-dark);
}

.section-intro {
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-light);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 0.5rem;
  border: 0.125rem solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn--primary {
  background-color: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn--primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
}

.btn--outline {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn--outline:hover {
  background-color: var(--primary);
  color: #fff;
}

/* Navbar */

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  background-color: var(--surface);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar__logo {
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-dark);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -0.02em;
}

.navbar__logo-text {
  color: var(--primary);
}

.navbar__logo-suffix {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--accent);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar__menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
}

.navbar__link {
  color: var(--text-dark);
  font-weight: 500;
  position: relative;
  padding: 0.25rem 0;
}

.navbar__link:hover {
  color: var(--primary);
}

.navbar__link.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--accent);
}

.navbar__cta {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.navbar__toggle-bar {
  width: 24px;
  height: 2px;
  background-color: var(--text-dark);
  transition: all 0.2s ease;
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  padding-block: 5rem;
}

.hero__title {
  font-size: 2.75rem;
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 1.5rem 0;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-light);
  margin: 0 0 2rem 0;
  max-width: 38rem;
}

.hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__graphic {
  justify-self: center;
}

.hero__svg {
  width: 280px;
  height: 280px;
}

/* Value props */

.value-props {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
  padding-block: 4rem;
}

.value-prop {
  text-align: center;
}

.value-prop__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.value-prop__title {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  color: var(--primary-dark);
}

.value-prop__text {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Services grid */

.services {
  padding-block: 4rem;
  background-color: var(--surface);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 2rem;
  transition: all 0.2s ease;
}

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card__svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.service-card__title {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.75rem 0;
  color: var(--primary-dark);
}

.service-card__text {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* About strip */

.about-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  text-align: center;
  padding-block: 4rem;
}

.about-strip__title {
  font-size: 1.75rem;
  font-weight: 400;
  margin: 0;
  color: var(--primary-dark);
}

.about-strip__text {
  max-width: 42rem;
  margin: 0 auto 1.5rem;
  color: var(--text-light);
  line-height: 1.7;
}

.about-strip__logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

/* Credentials */

.credentials {
  background-color: var(--primary-dark);
  color: #fff;
  text-align: center;
  padding: 1.75rem;
  border-radius: 0.75rem;
  margin-block: 3rem;
}

.credentials__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}

.credentials__detail {
  font-size: 0.9rem;
  opacity: 0.85;
  margin: 0;
}

/* CTA banner */

.cta-banner {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border-radius: 0.75rem;
  margin-block: 3rem;
}

.cta-banner__title {
  font-size: 1.75rem;
  font-weight: 400;
  margin: 0 0 1rem 0;
}

.cta-banner__text {
  font-size: 1.05rem;
  opacity: 0.9;
  margin: 0 0 1.75rem 0;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */

.footer {
  background-color: #0d1424;
  color: #cbd5e1;
  padding: 3rem 0 1.5rem;
  font-size: 0.9rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer__col h4 {
  color: #e2e8f0;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__col li {
  margin-bottom: 0.5rem;
}

.footer__col a {
  color: #94a3b8;
  transition: color 0.2s ease;
}

.footer__col a:hover {
  color: #e2e8f0;
}

.footer__tagline {
  font-style: italic;
  color: #94a3b8;
  line-height: 1.6;
}

.footer__copy {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid #1e293b;
  font-size: 0.8rem;
  color: #64748a;
}

.footer__req {
  font-size: 0.75rem;
  color: #64748a;
  text-align: center;
  margin-top: 1rem;
}

/* Responsive */

@media (max-width: 768px) {
  .container {
    padding-block: 2.5rem;
  }

  .navbar__toggle {
    display: flex;
  }

  .navbar__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    gap: 0;
    padding: 1.5rem;
    margin-top: 1rem;
  }

  .navbar__nav.open {
    display: flex;
  }

  .navbar__menu {
    flex-direction: column;
    gap: 0;
  }

  .navbar__link {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
  }

  .navbar__link:last-child {
    border-bottom: none;
  }

  .navbar__cta {
    margin-top: 1rem;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-block: 4rem;
  }

  .hero__title {
    font-size: 2.1rem;
  }

  .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__graphic {
    display: none;
  }

  .value-props {
    padding-block: 3rem;
    gap: 2rem;
  }

  .services-grid {
    gap: 1.25rem;
  }

  .cta-banner__title {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 1.8rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

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