:root {
    --main-bg-color: #00FF99;
    --main-bg-hover: #00cc66;
    --dark-bg-hover: #222222;
    --secondary-text-color: #A1A1AA;
    --main-text-color: #FFFFFF;
    --container-max-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter';
  background: #0d0d0d;
  color: var(--main-text-color);
  line-height: 1.5;
}

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

ul, li {
  list-style: none;
  margin: 0;
  padding: 0;
}


.g-h2-title {
  font-size: 48px;
  font-weight: bold;
  margin: 0 auto 24px;
  text-align: center;
  line-height: 120%;
  max-width: 750px;
}
@media (max-width: 768px) {
  .g-h2-title {
    font-size: 24px;
  }
}

.g-subtitle {
    text-align: center;
    color: var(--secondary-text-color);
    margin: 0 auto 60px;
    font-size: 16px;
    max-width: 483px;
}
@media (max-width: 768px) {
  .g-subtitle {
    font-size: 14px;
    margin-bottom: 24px;
  }
}

.g-btn {
  background: var(--main-bg-color);
  color: #000;
  padding: 13px 30px;
  border-radius: 12px;
  transition: all 0.3s;
  text-align: center;
  font-weight: 600;
  min-width: min(250px, 100%);

  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;

  cursor: pointer;
}
.g-btn:hover {
  background: var(--main-bg-hover);
}

@media (max-width: 768px) {
  .g-btn {
    width: 100%;
  }
}

.g-btn--big {
  font-size: 24px;
  padding: 16px 42px;
  font-weight: 500;
  min-width: min(300px, 100%);
}

.g-btn--small {
  font-size: 13px;
  padding: 11px 30px;
  font-weight: 500;
  min-width: min(300px, 100%);
}

.g-btn--transparent {
  background: transparent;
  border: 1px solid var(--main-bg-color);
  color: var(--main-bg-color);
}

.g-text-highlight {
  color: var(--main-bg-color);
}


/* ================================== HEADER ======================================= */


header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1000;
  transition: backdrop-filter 0.3s ease, background 0.3s ease;
}

  header.scrolled {
    backdrop-filter: blur(20px);
    background: #0F0F0FCC;
  }

.container {
  width: 100%;
  max-width: 1440px;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 96px;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: var(--main-bg-color);
  display: flex;
  align-items: center;
  gap: 8px;
}

header nav {
  display: flex;
  gap: 30px;
}

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

/* --- Burger --- */
#menu-toggle { display: none; }

.header__burger-container { display: none; }

.burger-btn {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.burger {
  display: none;
  width: 24px;
  height: 18px;
  position: relative;
}

.burger span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--main-text-color);
  border-radius: 2px;
  left: 0;
  transition: all 0.3s ease;
}

.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 7px; }
.burger span:nth-child(3) { bottom: 0; }

/* Mobile nav bottom sheet */
.mobile-nav {
  display: none;
  flex-direction: column;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background: #0F0F0F;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  padding: 16px 20px;
  gap: 30px;
  transform: translateY(100%);
  transition: transform 0.35s ease;
  z-index: 1002;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* transparent header inside sheet */
  background: transparent;
  margin-bottom: 8px;
}

.mobile-nav__logo { display: inline-flex; align-items: center; }

.mobile-nav__close-btn {
  background: transparent;
  color: var(--main-text-color);
  border: none;
  width: 32px;
  height: 32px;
  font-size: 24px;
  line-height: 32px;
  text-align: center;
  cursor: pointer;
}

.mobile-nav.open {
  transform: translateY(0);
}

.mobile-nav__links {
  display: flex;
  flex-direction: column;
  gap: 36px;
  flex-grow: 1;
}

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

/* Backdrop element (clickable) */
.menu-backdrop {
  position: fixed;
  inset: 0;
  background: #000000B2;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 1001;
  pointer-events: none;
}

body.menu-open .menu-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Lock body scroll when menu is open */
body.menu-open { overflow: hidden; }

@supports (height: 100dvh) {
  .mobile-nav { height: 425px; }
}

.btn-signup {
  min-width: auto;
}

@media (max-width: 768px) {
  header nav { display: none; }
  .burger { display: block; }
  .container { height: 60px; }
  .btn-signup { display: none; }
  .mobile-nav { display: flex; }
  .header__burger-container { display: block; }
  .mobile-nav .btn-signup {
    display: block;
    width: 100%;
    text-align: center;
    padding: 13px 30px;
    border-radius: 12px;
    font-weight: bold;
    color:#000;
    background: var(--main-bg-color);
  }
}


/* ============================================ FOOTER ====================================================== */

.footer {
  position: relative;
  margin: 0 auto;
  max-width: var(--container-max-width);
  /* height: 200px; */

  font-size: 13px;
  color: var(--secondary-text-color);
  padding: 77px 0 60px 0;
  width: 100%;
}

.footer__line-wrapper {
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
}

.footer__line {
  width: 500px;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 255, 153, 0.65) 50%, rgba(0, 0, 0, 0) 100%);
}

.footer__links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  margin-top: 18px;
  font-weight: 500;
}

.footer__pages {
  display: flex;
  gap: 15px;

  a:hover {
    color: var(--main-text-color);
  }
}

/* Mobile footer adjustments */
@media (max-width: 768px) {
  .footer {
    padding: 48px 10px 20px 10px;
  }

  .footer__line-wrapper {
    top: 36px;
  }

  .footer__line {
    width: 220px;
  }

  .footer__links {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .footer__pages {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
  }
}
