/* Reset and base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
p {
  color: #ffffff !important;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}
section {
  padding: 1rem !important;
}

body {
  font-family: "Poppins", sans-serif;
  background-image: url("img/bg-body.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  /* background: #005e24;
  background: radial-gradient(
    circle,
    rgba(0, 94, 36, 1) 0%,
    rgba(0, 32, 69, 1) 100%
  ); */
  color: #c1c1c8;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden !important;
}

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

/* Utility */
.container {
  max-width: 1200px;
  width: 95%;
  margin: 0 auto;
  padding: 2rem 0;
}

/* Navbar */
nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background: #0d0f12dd;
  z-index: 99;
  backdrop-filter: saturate(180%) blur(10px);
}

nav .logo {
  font-weight: 700;
  font-size: 1.4rem;
  color: #bfff07;
  letter-spacing: 1px;
  user-select: none;
}

nav ul {
  display: flex;
  gap: 2rem;
  font-weight: 500;
  font-size: 1rem;
  color: #a4a6aa;
  user-select: none;
}

nav ul li {
  list-style: none;
  position: relative;
}

nav ul li:hover {
  color: #bfff07;
}

nav ul li::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #bfff07;
  border-radius: 8px;
  transition: width 0.3s ease;
}

nav ul li:hover::after {
  width: 100%;
}

nav .btn-explore {
  background: #bfff07;
  color: #111;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.5rem 1.4rem;
  border-radius: 8px;
  box-shadow: 0 0 12px #bfff07aa;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  user-select: none;
}

nav .btn-explore:hover {
  background: #95d500;
  box-shadow: 0 0 24px #95d500cc;
}

/* Hero Section */
#hero {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  position: relative;
  padding-bottom: 6rem;
}

#hero-content {
  flex: 1 1 520px;
  max-width: 600px;
  user-select: none;
}

#hero-content .subheading {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  color: #bfff07;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

#hero-content .subheading span.highlight {
  color: #bfff07;
}

#hero-content .main-heading {
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #d3d3d8;
}

#hero-content .main-heading .highlight {
  color: #bfff07;
}

#hero-content .users-info {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

#hero-content .user-avatars {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.user-avatar {
  width: 38px;
  height: 38px;
  border: 2.5px solid #0d0f12;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #444455;
  transition: transform 0.3s ease;
  cursor: default;
  box-shadow: 0 0 6px #0008 inset;
}

.user-avatar:hover {
  transform: scale(1.2);
  z-index: 3;
  box-shadow: 0 0 8px #bfff07 inset;
  border-color: #bfff07;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
}

#hero-content .user-stats {
  font-weight: 600;
  font-size: 1.05rem;
  color: #d3d3d8;
  user-select: none;
}

#hero-content .user-stats span {
  font-weight: 700;
  color: #bfff07;
  user-select: none;
}

#hero-content .description {
  margin-top: 1.3rem;
  font-weight: 400;
  font-size: 0.95rem;
  color: #7b7c85;
  max-width: 320px;
  line-height: 1.5;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

#hero-content .description .icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #bfff07;
  box-shadow: 0 0 10px #bfff07bb;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  font-weight: 900;
  font-size: 1.1rem;
  color: #101010;
  user-select: none;
}

/* Hero phones container */
#hero-phones {
  flex: 1 1 350px;
  max-width: 440px;
  position: relative;
  user-select: none;
  min-height: 440px;
  margin-bottom: 10rem;
}

.phone {
  position: absolute;
  width: 240px;
  height: 480px;
  box-shadow: 0 20px 45px #00ff1d44, inset 0 0 18px #00ff1dcc;
  border-radius: 38px;
  background: #181b1f;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.4s ease;
  cursor: default;
  user-select: none;
}

#phone1 {
  top: 20px;
  left: 40px;
  z-index: 3;
  transform: rotate(10deg);
  box-shadow: 0 20px 70px #bfff07cc, inset 0 0 18px #bfff07dd;
}

#phone2 {
  top: 127px;
  left: 0;
  z-index: 1;
  transform: rotate(-12deg);
  box-shadow: 0 20px 70px #95d500cc, inset 0 0 18px #95d500cc;
}

/* Phone screens simulated with content */
.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #111416 0%, #192022 100%);
  border-radius: 38px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: #bfff07;
  font-family: monospace, monospace;
  padding: 24px 28px 32px;
  font-size: 0.9rem;
  user-select: none;
}

.screen-header {
  font-size: 0.95rem;
  font-weight: 600;
  color: #9eea6a;
  text-align: center;
  margin-bottom: 1rem;
}

.balance {
  font-size: 1.7rem;
  font-weight: 700;
  color: #bfff07;
  margin-bottom: 1rem;
  text-align: center;
  letter-spacing: 0.03em;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 1.4rem;
}

.btn-screen {
  flex: 1;
  padding: 0.4rem 1rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid #bfff07;
  color: #111;
  background-color: #bfff07;
  box-shadow: 0 0 8px #bfff07bb;
  user-select: none;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  user-select: none;
}

.btn-screen:hover {
  background-color: #95d500;
  box-shadow: 0 0 16px #95d500dd;
}

.info-section {
  font-weight: 400;
  font-size: 0.8rem;
  color: #abb48a;
  line-height: 1.3;
  margin-top: auto;
  text-align: center;
  user-select: none;
}

/* Secondary Heading Section */
#trusted-section {
  width: 100%;
  margin: 5rem 0 4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 3rem;
  user-select: none;
  margin-top: 10rem;
  align-items: center;
}

.trusted-img {
  position: block;
  margin: auto;
  padding: auto;
  text-align: center;
  max-width: 500px;
}

#trusted-intro {
  flex: 1 1 480px;
  max-width: 480px;
}

#trusted-intro h2 {
  font-weight: 700;
  font-size: 2.3rem;
  color: #d3d3d8;
  line-height: 1.2;
  margin-bottom: 0.8rem;
}

#trusted-intro h2 .highlight {
  color: #bfff07;
}

#trusted-intro p {
  font-weight: 400;
  font-size: 0.92rem;
  line-height: 1.5;
  margin-top: 0.5rem;
  max-width: 420px;
}

#trusted-intro p.aux-text {
  margin-top: 3rem;
  max-width: 320px;
  user-select: none;
}

/* Cards horizontal */
#trusted-cards {
  margin-top: -10rem;
  flex: 1 1 100%;
  max-width: 100%;
  display: flex;
  gap: 1.3rem;
  user-select: none;
}

.trusted-card {
  background: #242b2e;
  border-radius: 14px;
  padding: 1.6rem 1.8rem;
  box-shadow: 0 0 12px #0b0e11cc inset;
  color: #9a9ea2;
  flex: 1;
  position: relative;
  cursor: default;
  transition: all 0.3s ease;
}

.trusted-card h3 {
  font-weight: 700;
  font-size: 1.2rem;
  color: #d1d3d6;
}

.trusted-card p {
  margin-top: 1rem;
  font-weight: 400;
  font-size: 0.88rem;
  line-height: 1.4;
  color: #797d83;
}

.trusted-card .tag {
  position: absolute;
  top: 0.8rem;
  left: 1.3rem;
  font-weight: 900;
  font-size: 1.2rem;
  color: #bfff07;
  font-family: monospace, monospace;
  user-select: none;
  pointer-events: none;
}

/* Highlighted middle card */
.trusted-card.highlight {
  background: #bfff07;
  color: #121510;
  box-shadow: 0 4px 30px #bfff07cc;
}

.trusted-card.highlight p {
  color: #48582c;
}

.trusted-card.highlight:hover {
  box-shadow: 0 5px 40px #a7d804cc;
}

.trusted-card.highlight a {
  font-weight: 700;
  font-size: 0.92rem;
  color: #2c4010;
  margin-top: 1.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  user-select: none;
}

.trusted-card.highlight a:hover {
  text-decoration: underline;
}

/* Data section with charts and info */
#data-section {
  max-width: 1180px;
  width: 95%;
  padding-bottom: 6rem;
  user-select: none;
}

#stats-overview {
  background: #181c1f;
  border-radius: 18px;
  box-shadow: inset 0 0 24px #111;
  padding: 2.5rem 3rem 3.5rem;
  display: flex;
  gap: 2rem;
  margin-bottom: 3.8rem;
  flex-wrap: wrap;
  justify-content: center;
}

.stat-box {
  position: relative;
  background: #21292e;
  border-radius: 14px;
  padding: 1.6rem 2rem;
  max-width: 270px;
  flex-grow: 1;
  box-shadow: 0 0 12px #0b0e1100 inset;
  color: #a6abae;
  font-weight: 400;
  font-size: 0.85rem;
  user-select: none;
  cursor: default;
  line-height: 1.3;
}

.stat-box strong {
  font-weight: 700;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.6rem;
  color: #bfff07;
}

/* Connector line between stats */
.stat-box:after {
  content: "";
  position: absolute;
  top: 50%;
  right: -36px;
  width: 70px;
  height: 2px;
  background: linear-gradient(to right, #bfff07 0%, #0d0f12 100%);
  transform: translateY(-50%);
  opacity: 0.8;
  transition: opacity 0.3s ease;
  border-radius: 1px;
  pointer-events: none;
}

.stat-box:last-child:after {
  display: none;
}

/* Chart & text container */
#chart-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 5rem;
  align-items: center;
  padding: 0 0 3.5rem 0;
  user-select: none;
}

#chart-wrapper {
  position: relative;
  max-width: 480px;
  background: #141719;
  border-radius: 24px;
  box-shadow: 0 10px 25px #0d0f1233, inset 0 0 24px #bfff0744;
  padding: 1.6rem 2rem 2.6rem;
  user-select: none;
}

/* The graph line with symbols */
#graph-line {
  width: 100%;
  height: 188px;
  position: relative;
  margin-top: 1rem;
  overflow: visible;
}

svg {
  width: 100%;
  height: 100%;
  user-select: none;
}

/* Circles on nodes */
.graph-node {
  cursor: default;
  transition: fill 0.3s ease;
  user-select: none;
}

.graph-node:hover {
  fill: #8ae355;
}

/* Average rate section */
#avg-rate {
  margin-top: 1.2rem;
  color: #bfff0766;
  font-weight: 600;
  font-size: 0.85rem;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: 0.01em;
}

#avg-rate .rate-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: #bfff07;
}

#avg-rate .rate-change {
  font-weight: 700;
  font-size: 0.9rem;
  color: #8ce34a;
}

#avg-rate .rate-date {
  font-weight: 400;
  font-size: 0.75rem;
  color: #5a5e5d;
  user-select: none;
}

/* Text box area */
#text-area {
  color: #b0b3b4;
  font-weight: 500;
  line-height: 1.4;
  user-select: none;
}

#text-area h3 {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #bfff07;
}

#text-area p {
  font-size: 0.95rem;
  color: #aaaeb3;
}

/* Large heading with mixed color */
#text-area h2 {
  color: #d3d3d8;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 0.3rem;
  line-height: 1.2;
}

#text-area h2 .highlight {
  color: #bfff07;
}

#text-area .learn-more-btn {
  margin-top: 1.8rem;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 1rem;
  color: #bfff07;
  cursor: pointer;
  user-select: none;
}

#text-area .learn-more-btn:hover {
  text-decoration: underline;
}

#text-area .learn-more-btn svg {
  margin-left: 0.3rem;
  transition: transform 0.2s ease;
}

#text-area .learn-more-btn:hover svg {
  transform: translateX(5px);
}

/* Question prompt */
#text-area .question {
  margin-top: 0.9rem;
  font-weight: 500;
  font-size: 0.94rem;
  color: #8b8f92;
  cursor: default;
  user-select: none;
}

footer {
  font-size: 12px;
  width: 100%;
  background: #005e24;
  background: radial-gradient(
    circle,
    rgba(0, 94, 36, 1) 0%,
    rgba(0, 32, 69, 1) 100%
  );
  color: #b0b3b4;
  padding: 10px 0;
  text-align: center;
}
/* Responsive */
@media (max-width: 920px) {
  html {
    text-align: center;
  }
  #hero {
    flex-direction: column-reverse;
    align-items: center;
    margin-bottom: 4rem;
  }

  #hero-phones {
    display: block;
    position: relative;
    left: 30px;
    width: 100%;
    max-width: 480px;
    margin-top: 2rem;
    margin-bottom: 1rem;

    max-width: 100%;
    min-height: 200px;
    margin-bottom: 15rem;
  }
  #trusted-intro {
    margin-bottom: -10rem;
  }
  .trusted-img {
    max-width: 300px;
    margin-top: -5rem;
    margin-bottom: -1rem;
  }

  #trusted-section {
    flex-direction: column;
    gap: 4.5rem;
  }

  #trusted-cards {
    flex-direction: column;
    max-width: 480px;
  }

  #data-section {
    width: 98%;
  }

  #chart-text {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  #chart-wrapper {
    max-width: 100%;
  }

  nav ul {
    display: none;
  }

  /* Hamburger menu button */
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 100;
  }

  .hamburger:focus {
    outline: none;
  }

  .hamburger .bar {
    width: 28px;
    height: 3px;
    background-color: #bfff07;
    border-radius: 2px;
    transition: all 0.3s linear;
    position: relative;
  }

  /* Show menu when active */
  nav.active {
    position: fixed;
    inset: 0;
    background: #0d0f12ee;
    backdrop-filter: saturate(180%) blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 3rem 2rem 2rem;
    z-index: 9999;
  }

  nav.active .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 50%;
    position: relative;
  }

  nav.active .logo {
    order: 1;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    user-select: none;
  }

  nav.active ul {
    order: 2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 320px;
    user-select: none;
    margin: 0;
    padding: 0;
  }

  nav.active ul li {
    text-align: center;
  }

  nav.active ul li a {
    font-size: 1.3rem;
    color: #bfff07;
    font-weight: 600;
  }

  nav.active .btn-explore {
    order: 3;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 320px;
    padding: 0.75rem 0;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 8px;
    box-shadow: 0 0 24px #bfff07cc;
    text-align: center;
    user-select: none;
  }

  /* Hamburger menu button */
  .hamburger {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 100;
    transition: transform 0.3s ease;
  }

  .hamburger:focus {
    outline: none;
  }

  .hamburger .bar {
    width: 28px;
    height: 3px;
    background-color: #bfff07;
    border-radius: 2px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
  }

  /* Hamburger open state - transform bars into X */
  .hamburger.open .bar:nth-child(1) {
    transform: rotate(45deg);
  }

  .hamburger.open .bar:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
  }

  .hamburger.open .bar:nth-child(3) {
    transform: rotate(-45deg);
  }
}
