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

:root {
  --bg: #1f1f1f;
  --header-bg: #1b3336;
  --text: #f5f5f5;
  --accent: #ffb900;
  --accent-hover: #cd9900;
  --body-text: #ccc0b3;
  --font-display: "Anybody", sans-serif;
  --font-body: "Be Vietnam Pro", sans-serif;
  --max-w: 1202px;
  --pad: 40px;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

/* HEADER */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--header-bg);
}

.hdr {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 10px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hdr-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.hdr-logo img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
}

.hdr-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.hdr-nav a {
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  transition: color 0.3s ease;
}

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

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

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text);
  transition: 0.3s ease;
}

.mob-nav {
  display: none;
  position: fixed;
  /* Adjust top so it sits just below your header height */
  top: 80px;
  /* Center the card horizontally */
  left: 20px;
  right: 20px;
  /* Use padding instead of bottom: 0 to let it hug the content */
  padding: 40px 20px;

  /* The Card Styling */
  background-color: #1e2a2d; /* Adjust to match your exact dark shade */
  border-radius: 24px;
  z-index: 999;

  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;

  /* Shadow to give it depth like the screenshot */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.mob-nav.open {
  display: flex;
}

.mob-nav a {
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.5;
  transition: color 0.3s ease;
}

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

/* CONTAINER */
.cnt {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* SHARED */
.sec-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 56px;
  line-height: 1.2;
  color: var(--accent);
}

.sec-head {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.5;
  color: var(--text);
}

.sec-txt {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: var(--body-text);
}

.sec-txt-about {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: var(--text);
}

/* BUTTON */
.btn-gp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--accent);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.5;
  text-decoration: none;
  padding: 14px 36px;
  border-radius: 24px;
  transition: background-color 0.3s ease;
}

.btn-gp:hover {
  background-color: var(--accent-hover);
}

.btn-gp svg {
  width: 20px;
  height: 20px;
  fill: var(--text);
  flex-shrink: 0;
}

/* HERO */
#hero {
  padding: 140px 0 80px;
}

.hero-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-cont {
  max-width: 580px;
}

h1.hero-ttl {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 80px;
  line-height: 1.2;
  color: var(--accent);
  margin-bottom: 20px;
  max-width: 623px;
}

.hero-sub {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 24px;
}

.hero-txt {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 40px;
}

figure.hero-img {
  flex-shrink: 0;
  max-width: 460px;
}

figure.hero-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* HOW IT WORKS */
#how {
  padding: 80px 0;
}

.how-in {
  display: flex;
  align-items: flex-start;
  gap: 60px;
}

.how-img-wrap {
  flex-shrink: 0;
  max-width: 420px;
}
.how-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* .how-extras {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.how-extras img {
  width: 80px;
  height: 80px;
  object-fit: contain;
} */

.how-cont {
  flex: 1;
  padding-top: 12px;
}
.how-cont .sec-title {
  margin-bottom: 36px;
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.step-lbl {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 6px;
}

.step-lbl em {
  color: var(--accent);
  font-style: normal;
}

/* FEATURES */
#features {
  padding: 80px 0;
}

.feat-in {
  display: flex;
  align-items: flex-start;
  gap: 60px;
}

.feat-cont {
  flex: 1;
}
.feat-cont .sec-title {
  margin-bottom: 36px;
}

.feat-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feat-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feat-item-hd {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--accent);
  flex-shrink: 0;
}

.feat-img-wrap {
  flex-shrink: 0;
  max-width: 420px;
}
.feat-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* .feat-extras {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}
.feat-extras img {
  width: 80px;
  height: 80px;
  object-fit: contain;
} */

/* ABOUT */
#about {
  padding: 80px 0;
}

.about-in {
  display: flex;
  align-items: flex-start;
  gap: 60px;
}

figure.about-img {
  flex-shrink: 0;
  max-width: 380px;
}
figure.about-img img {
  width: 100%;
  height: auto;
  display: block;
}

.about-cont {
  flex: 1;
  padding-top: 12px;
}
.about-cont .sec-title {
  margin-bottom: 28px;
}
.about-cont .sec-txt strong {
  color: var(--accent);
  font-weight: 500;
}

/* CTA */
#cta {
  padding: 100px 0;
  text-align: center;
}

.cta-ttl {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 56px;
  line-height: 1.2;
  color: var(--accent);
  margin-bottom: 28px;
}

.cta-txt {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: var(--body-text);
  max-width: 640px;
  margin: 0 auto 48px;
}

/* FOOTER */
footer {
  background-color: var(--header-bg);
}

.ftr {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px var(--pad);
}

.ftr-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

.ftr-links a {
  color: var(--body-text);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  display: inline-block;
  transition: color 0.3s ease;
}

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

.ftr-copy {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: var(--body-text);
  text-align: right;
}

/* RESPONSIVE */
@media (max-width: 1023px) {
  :root {
    --pad: 24px;
  }
  /* h1.hero-ttl {
    font-size: 56px;
  } */
  .hero-sub {
    font-size: 22px;
  }
  .sec-title {
    font-size: 42px;
  }
  .cta-ttl {
    font-size: 42px;
  }

  .how-in,
  .feat-in,
  .about-in {
    flex-direction: column;
  }
  figure.hero-img,
  .how-img-wrap,
  .feat-img-wrap,
  figure.about-img {
    max-width: 100%;
    order: 1;
  }
  .feat-img-wrap {
    order: 1;
  }
  .btn-gp {
    order: 2;
    margin: 0 auto; /* Extra insurance for centering */
  }

  .hero-in {
    flex-direction: column;
    text-align: left;
    align-items: center;
    display: flex;
  }

  /* .hero-cont {
    display: flex;
    flex-direction: column;
    align-items: center; 
    max-width: 100%;
  } */
  .hero-cont {
    display: contents;
  }
  h1.hero-ttl {
    order: 1;
    max-width: 100%;
    margin-bottom: 10px;
  }
  .hero-sub {
    order: 2;
    margin-bottom: 15px;
  }

  .hero-txt {
    order: 3;
    margin-bottom: 30px;
  }

  figure.hero-img {
    order: 4;
    max-width: 100%;
    margin-bottom: 30px;
  }

  .btn-gp {
    order: 5;
    margin: 0 auto;
    width: fit-content;
  }

  /* figure.hero-img {
    max-width: 100%;
    order: -1; 
    margin-bottom: 30px;
  } */
}

@media (max-width: 768px) {
  .hdr-nav {
    display: none;
  }
  .burger {
    display: flex;
  }

  #hero {
    padding: 100px 0 60px;
  }

  h1.hero-ttl {
    font-size: 48px; /* Slightly smaller to ensure it fits on one line on small phones */
    max-width: 100%;
    line-height: 1.1;
  }

  .btn-gp {
    font-size: 18px;
    padding: 12px 30px;
  }
  .hero-sub {
    font-size: 18px;
  }
  .hero-txt {
    font-size: 16px;
  }
  .hero-sub {
    font-size: 24px;
  }

  .sec-title {
    font-size: 32px;
  }
  .cta-ttl {
    font-size: 32px;
  }
  .sec-head {
    font-size: 18px;
  }
  .sec-txt,
  .cta-txt {
    font-size: 16px;
  }
  #how,
  #features,
  #about {
    padding: 60px 0;
  }
  #cta {
    padding: 72px 0;
  }

  .ftr-copy {
    font-size: 15px;
    text-align: left;
  }
  .ftr-links a {
    font-size: 16px;
  }
}

/* POLICY */
.policy {
  background-color: #f5f5f5;
}
.pp-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 120px var(--pad) 80px;
}

h1.pp-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 56px;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--bg);
  margin-bottom: 32px;
}

.pp-body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: var(--bg);
  margin-bottom: 40px;
}

.pp-sub {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.3;
  color: var(--bg);
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  h1.pp-title {
    font-size: 40px;
  }

  .pp-body {
    font-size: 16px;
  }

  .pp-sub {
    font-size: 24px;
  }
}
