@import url("https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800;900&display=swap");

:root {
  --bg: #07111c;
  --bg-2: #0f1b2a;
  --panel: #ffffff;
  --text: #111827;
  --text-on-dark: #ffffff;
  --muted: #617085;
  --line: #e5eaf1;
  --accent: #ffbd23;
  --accent-2: #ff8a00;
  --dark-button: #0d1724;
  --shadow: 0 22px 70px rgba(6, 17, 31, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #f6f8fb;
  font-family: "Be Vietnam Pro", "Segoe UI", Arial, "Helvetica Neue", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 20px clamp(18px, 5vw, 72px);
  color: var(--text-on-dark);
  transition: background 0.25s ease, padding 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  padding-block: 13px;
  background: rgba(7, 17, 28, 0.94);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
}

.brand {
  font-size: 1.08rem;
  font-weight: 800;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.84);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--accent);
}

.nav-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  padding: 0 18px;
  color: #121212 !important;
  background: linear-gradient(135deg, var(--accent-2), #ffdf62);
}

.menu-button {
  display: none;
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 1.8rem;
  line-height: 1;
}

.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 120px 18px 84px;
  color: var(--text-on-dark);
  text-align: center;
  background:
    linear-gradient(rgba(7, 17, 28, 0.5), rgba(7, 17, 28, 0.84)),
    url("img/bg-img/hero-1-min.jpg") center / cover;
}

.hero-inner {
  max-width: 900px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 6vw, 5.3rem);
  line-height: 1.16;
  font-weight: 800;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.26;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.35;
}

p {
  color: var(--muted);
}

.hero-copy {
  max-width: 720px;
  margin: 0 auto 30px;
  color: #dce5f0;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  padding: 0 24px;
  font-weight: 800;
}

.button.primary {
  color: #111;
  background: linear-gradient(135deg, var(--accent-2), #ffdf62);
  box-shadow: 0 16px 36px rgba(255, 157, 24, 0.28);
}

.button.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

.button.dark {
  color: #fff;
  background: var(--dark-button);
}

.section,
.content-section {
  padding: 86px clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.feature-grid,
.link-grid,
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.card,
.link-card,
.article-card,
.content-block {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 36px rgba(6, 17, 31, 0.06);
}

.card,
.link-card,
.article-card {
  padding: 28px;
}

.card-index,
.article-card span {
  display: inline-grid;
  min-width: 44px;
  height: 34px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 7px;
  padding: 0 10px;
  color: #111;
  background: var(--accent);
  font-weight: 900;
}

.link-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.link-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: 86px clamp(18px, 5vw, 72px);
  color: var(--text-on-dark);
  background: var(--bg);
}

.split-section p {
  color: #cbd6e3;
}

.split-image {
  min-height: 390px;
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 189, 35, 0.12), rgba(7, 17, 28, 0.42)),
    url("img/bg-img/hero-2-min.jpg") center / cover;
  box-shadow: var(--shadow);
}

.cta-section {
  padding: 86px 18px;
  color: var(--text-on-dark);
  text-align: center;
  background:
    linear-gradient(rgba(7, 17, 28, 0.68), rgba(7, 17, 28, 0.88)),
    url("img/bg-img/hero-3-min.png") center / cover;
}

.cta-section p {
  margin-bottom: 24px;
  color: #dce5f0;
}

.page-hero {
  padding: 150px clamp(18px, 5vw, 72px) 82px;
  color: var(--text-on-dark);
  background:
    linear-gradient(rgba(7, 17, 28, 0.58), rgba(7, 17, 28, 0.84)),
    url("img/bg-img/hero-1-min.jpg") center / cover;
}

.page-hero p {
  max-width: 740px;
  color: #dce5f0;
}

.content-section {
  display: grid;
  gap: 24px;
  max-width: 1040px;
  margin: 0 auto;
}

.content-block {
  padding: 32px;
}

.check-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.check-list li {
  margin-bottom: 10px;
}

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

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 32px clamp(18px, 5vw, 72px);
  color: #cbd6e3;
  background: #050d16;
}

.site-footer p {
  margin: 4px 0 0;
  color: #94a3b8;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer a:hover {
  color: var(--accent);
}

.compact-footer {
  min-height: 92px;
}

@media (max-width: 900px) {
  .menu-button {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(7, 17, 28, 0.98);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .nav-cta {
    margin-top: 8px;
  }

  .feature-grid,
  .link-grid,
  .article-grid,
  .split-section {
    grid-template-columns: 1fr;
  }

  .split-image {
    min-height: 320px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .brand {
    max-width: 178px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  h1 {
    font-size: clamp(2.2rem, 12vw, 3.7rem);
  }

  .hero-actions,
  .hero-actions .button,
  .button {
    width: 100%;
  }
}
