:root {
  --bg: #1a1e1a;
  --text-light: #e8e0d0;
  --accent: #d4a84b;
  --text-dark: #1a1e1a;

  --font-display: "Angkor", serif;
  --font-mono: "IBM Plex Mono", monospace;

  --desktop-padding: 160px;
  --mobile-padding: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text-light);
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--desktop-padding);
  height: 64px;
}

.header-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

nav a {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-light);
  transition: color 0.2s;
}

nav a:hover {
  color: var(--accent);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-light);
  transition: all 0.3s;
}

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: 84px;
  left: 10px;
  right: 10px;

  background-color: var(--bg);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 18px;
  color: var(--text-light);
  padding: 24px 0;
  width: 100%;
  text-align: center;
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: var(--accent);
}

.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding-top: 64px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero picture {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 46px;
  padding-bottom: 80px;
  max-width: 640px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 72px;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--text-dark);
  width: 435px;
}

.hero-subheadline {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--text-dark);
  width: 448px;
  margin-top: 24px;
}

.hero-text {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--text-dark);
  width: 448px;
  margin-top: 86px;
}

.hero-btn {
  display: inline-block;
  width: 256px;
  height: 59px;
  padding: 16px 24px;
  border-radius: 2px;
  background-color: var(--text-dark);
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5;
  text-align: center;
  border: none;
  cursor: pointer;
  transition:
    background-color 0.25s,
    color 0.25s;
  margin-top: 40px;
}

.hero-btn:hover {
  background-color: var(--accent);
  color: var(--text-dark);
}

.section {
  padding: 80px var(--desktop-padding);
  background-color: var(--bg);
}

.section-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 48px;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--text-light);
  margin-bottom: 48px;
}

.para-title {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--accent);
  margin-bottom: 8px;
}

.para-text {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--text-light);
  opacity: 0.6;
}

.how-it-works {
  background-color: var(--bg);
}

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

.step {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-label {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.5;
  color: var(--accent);
}

.step-title {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.3;
  color: var(--text-light);
}

.step-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 2px;
  background-color: #2a2e2a;
}

.features {
  background-color: var(--bg);
}

.features-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.features-image-row {
  margin-bottom: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.features-image-row img {
  max-width: 100%;
  height: auto;
  display: block;
}

.features-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.about {
  background-color: var(--bg);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-text .para-title {
  color: var(--accent);
}

.about-text p {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-light);
  opacity: 0.6;
}

.about-text strong,
.about-text .highlight {
  color: var(--accent);
  font-weight: 500;
}

.about-img {
  width: 100%;
}

.cta-section {
  position: relative;
  padding: 350px var(--desktop-padding);
  overflow: hidden;
  background-color: var(--bg);
  text-align: center;
}

.cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.cta-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 48px;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
  color: var(--text-dark);
}

.cta-subtext {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  text-align: center;
  color: var(--text-dark);
  margin-top: 20px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
       FOOTER
    ========================================================= */
footer {
  background-color: var(--bg);
  padding: 40px var(--desktop-padding) 24px;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 36px;
}

.footer-links a {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  text-align: center;
  color: var(--text-light);
  transition: color 0.2s;
  padding-bottom: 20px;
}

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

.footer-copy {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  color: var(--text-light);
  opacity: 0.6;
}

/* =========================================================
       RESPONSIVE — MOBILE (375px)
    ========================================================= */
@media (max-width: 768px) {
  header {
    padding: 0 var(--mobile-padding);
  }

  nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .section {
    padding: 60px var(--mobile-padding);
  }

  /* HERO */
  .hero {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
  .hero-content {
    padding-left: var(--mobile-padding);
    padding-right: var(--mobile-padding);
    padding-top: 32px;
    max-width: 100%;
    padding-bottom: 10px;
    flex: 1;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .hero-title,
  .hero-subheadline,
  .hero-text {
    width: 100%;
    color: var(--text-dark);
  }

  .hero-title {
    font-size: 40px;
    width: 100%;
  }

  .hero-subheadline {
    font-size: 20px;
    width: 100%;
  }

  .hero-text {
    font-size: 16px;
    width: 100%;
    margin-top: 20px;
  }

  .hero-btn {
    width: 100%;
    max-width: 256px;
    margin-top: auto; /* Pushes the button to the very bottom of the flex container */
    align-self: center; /* Overrides the parent and centers ONLY the button */

    margin-bottom: 0px;
    text-align: center;
  }

  /* SECTION HEADLINE */
  .section-headline {
    font-size: 36px;
  }

  /* HOW IT WORKS */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* FEATURES */
  .features-top,
  .features-bottom {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .features-image-placeholder {
    height: 260px;
  }

  /* ABOUT */
  .about-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-img-placeholder {
    aspect-ratio: 4/3;
  }

  /* CTA */
  .cta-section {
    padding: 400px var(--mobile-padding);
  }

  .cta-headline {
    font-size: 48px;
  }

  /* FOOTER */
  footer {
    padding: 40px var(--mobile-padding) 24px;
  }

  .footer-links {
    flex-direction: column;
    gap: 16px;
  }
}
