/* =========================================
   GLOBAL
========================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  background: #ffffff;
  color: #082f2b;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input {
  font-family: inherit;
}

.container {
  width: min(1180px, 92%);
  margin: auto;
}

/* =========================================
   NAVIGATION
========================================= */

header {
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #edf1ef;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
}

.navbar {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
}

/* =========================================
   HAMBURGER MENU BUTTON
========================================= */

.menu-button {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: none;
  background: transparent;
  color: #103a35;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 3000;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.menu-button:hover {
  background: #f1f7f5;
}

/* REAL CSS HAMBURGER */
.hamburger-lines {
  width: 23px;
  height: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.hamburger-lines span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: #103a35;
  border-radius: 10px;
}

/* =========================================
   LOGO
========================================= */

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #087a68;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  box-shadow: 0 8px 22px rgba(8, 122, 104, 0.18);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-text strong {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  color: #073d37;
}

.logo-text span {
  font-size: 10px;
  color: #667875;
  letter-spacing: 0.4px;
  margin-top: 4px;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

nav a {
  color: #243d39;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  padding: 8px 0;
}

nav a:hover {
  color: #087a68;
}

nav a.active {
  color: #087a68;
  font-weight: 700;
}

nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #087a68;
  border-radius: 10px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-button {
  border: none;
  background: transparent;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 20px;
  color: #103a35;
}

.login-btn {
  padding: 11px 22px;
  border: 1px solid #163d38;
  border-radius: 25px;
  background: white;
  color: #163d38;
  font-weight: 600;
  cursor: pointer;
}

.login-btn:hover {
  background: #f3f8f6;
}

.signup-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 25px;
  background: #087a68;
  color: white;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(8, 122, 104, 0.18);
}

.signup-btn:hover {
  background: #065e51;
  transform: translateY(-1px);
}

/* =========================================
   SIDE MENU
========================================= */

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 31, 27, 0.35);
  z-index: 1900;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.side-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 350px;
  max-width: 88vw;
  height: 100vh;
  background: #ffffff;
  z-index: 2000;
  padding: 26px;
  box-shadow: 18px 0 50px rgba(8, 47, 43, 0.16);
  transform: translateX(-105%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.side-menu.open {
  transform: translateX(0);
}

.menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 22px;
  margin-bottom: 18px;
  border-bottom: 1px solid #edf1ef;
}

.menu-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.menu-brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: #087a68;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
}

.menu-brand strong {
  font-family: "Playfair Display", serif;
  font-size: 25px;
  color: #073d37;
}

.menu-close {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: #f2f7f5;
  color: #173c37;
  font-size: 18px;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}

.menu-close:hover {
  background: #e3f1ed;
  color: #087a68;
}

.menu-section-title {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #84938f;
  font-weight: 800;
  margin: 22px 8px 8px;
}

.side-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 12px;
  margin-bottom: 3px;
  border-radius: 10px;
  color: #243d39;
  font-size: 14px;
  font-weight: 600;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
}

.side-menu a:hover {
  background: #eef7f4;
  color: #087a68;
  transform: translateX(3px);
}

.menu-link-icon {
  width: 27px;
  height: 27px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.menu-divider {
  height: 1px;
  background: #edf1ef;
  margin: 20px 0;
}

.menu-footer {
  margin-top: 30px;
  padding: 18px;
  background: #f5faf8;
  border-radius: 14px;
  border: 1px solid #e4eeea;
}

.menu-footer strong {
  display: block;
  font-family: "Playfair Display", serif;
  color: #123d37;
  font-size: 17px;
  margin-bottom: 4px;
}

.menu-footer span {
  color: #70817d;
  font-size: 11px;
}

/* =========================================
   HERO
========================================= */

.hero {
  min-height: 650px;
  background:
    radial-gradient(circle at 10% 30%, #eef8f4 0%, transparent 38%), #f8fbfa;
  overflow: hidden;
}

.hero-container {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
}

.hero-content {
  padding: 60px 0;
}

.eyebrow {
  color: #087a68;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 3px;
  font-size: 12px;
  margin-bottom: 17px;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.05;
  color: #082f2b;
  margin-bottom: 25px;
  letter-spacing: -1.5px;
}

.hero h1 span {
  color: #087a68;
}

.hero-description {
  max-width: 570px;
  color: #526763;
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 38px;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 27px;
  border-radius: 9px;
  background: #087a68;
  color: white;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(8, 122, 104, 0.18);
  transition: 0.2s;
}

.primary-btn:hover {
  background: #065e51;
  transform: translateY(-2px);
}

.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 9px;
  background: white;
  color: #123e38;
  border: 1px solid #d8e3df;
  font-weight: 700;
  cursor: pointer;
}

.secondary-btn:hover {
  border-color: #087a68;
  color: #087a68;
}

.trust-row {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #526763;
  font-size: 13px;
}

.trust-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #d9f1e9;
  color: #087a68;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

/* =========================================
   HERO IMAGE
========================================= */

.hero-image-wrapper {
  height: 560px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image {
  width: 100%;
  height: 540px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(9, 53, 47, 0.2);
}

.image-decoration {
  position: absolute;
  width: 130px;
  height: 130px;
  background: #dcefe9;
  border-radius: 50%;
  right: -35px;
  bottom: 25px;
  z-index: -1;
}

.image-card {
  position: absolute;
  left: -25px;
  bottom: 45px;
  background: white;
  padding: 16px 20px;
  border-radius: 14px;
  box-shadow: 0 15px 40px rgba(10, 45, 40, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
}

.image-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e3f5ef;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
}

.image-card strong {
  display: block;
  color: #103d37;
  font-size: 14px;
}

.image-card span {
  color: #70817e;
  font-size: 11px;
}

/* =========================================
   FEATURES
========================================= */

.features {
  background: white;
  border-bottom: 1px solid #edf2ef;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.feature {
  padding: 32px 25px;
  border-right: 1px solid #edf1ef;
}

.feature:last-child {
  border-right: none;
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #087a68;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  margin-bottom: 16px;
}

.feature h3 {
  font-size: 16px;
  margin-bottom: 6px;
  color: #123d37;
}

.feature p {
  font-size: 13px;
  color: #71807d;
  line-height: 1.6;
}

/* =========================================
   HOW IT WORKS
========================================= */

.how-it-works {
  padding: 100px 0;
  background: #f6faf8;
  text-align: center;
}

.section-label {
  color: #087a68;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 42px;
  color: #092f2a;
  margin-bottom: 14px;
}

.section-description {
  color: #667774;
  max-width: 650px;
  margin: auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 65px;
}

.step {
  position: relative;
}

.step-number {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #dff2eb;
  color: #087a68;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto auto 20px;
  font-size: 25px;
  font-weight: 700;
}

.step h3 {
  font-size: 17px;
  color: #113c36;
  margin-bottom: 8px;
}

.step p {
  font-size: 13px;
  color: #71817d;
  max-width: 210px;
  margin: auto;
}

/* =========================================
   SECURITY SECTION
========================================= */

.security {
  padding: 90px 0;
  background: white;
}

.security-box {
  background: #083f37;
  border-radius: 25px;
  padding: 55px;
  color: white;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 50px;
  overflow: hidden;
  position: relative;
}

.security-box::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  right: -100px;
  top: -100px;
}

.security-label {
  color: #86d9c4;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.security h2 {
  font-family: "Playfair Display", serif;
  font-size: 38px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.security p {
  color: #c2d9d4;
  max-width: 620px;
}

.security-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.security-point {
  background: rgba(255, 255, 255, 0.07);
  padding: 16px;
  border-radius: 12px;
  color: #eaf6f2;
  font-size: 13px;
}

/* =========================================
   FOOTER
========================================= */

footer {
  background: #062d28;
  color: white;
  padding: 55px 0 25px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 45px;
}

.footer-logo strong {
  font-family: "Playfair Display", serif;
  font-size: 28px;
}

.footer-logo p {
  color: #9eb8b2;
  max-width: 300px;
  margin-top: 12px;
  font-size: 14px;
}

.footer-column h4 {
  font-size: 14px;
  margin-bottom: 18px;
}

.footer-column a {
  display: block;
  color: #9eb8b2;
  font-size: 13px;
  margin-bottom: 11px;
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  color: #87a39d;
  font-size: 12px;
}

/* =========================================
   TABLET / MOBILE
========================================= */

@media (max-width: 950px) {
  nav {
    display: none !important;
  }

  .navbar {
    min-height: 68px;
    width: min(1180px, 94%);
    display: flex !important;
    align-items: center;
    position: relative;
    gap: 0;
  }

  /*
    MOBILE HEADER:
    hamburger = left
    logo = exact center
    (login / signup buttons removed on mobile — the hamburger
    menu is the only navigation entry point, and it also
    contains an "Account" link to Login / Sign Up)
  */

  .menu-button {
    display: flex !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    flex: none !important;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 3000 !important;
  }

  .hamburger-lines {
    width: 21px;
    height: 17px;
  }

  .hamburger-lines span {
    height: 2.5px;
  }

  .logo {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap;
  }

  .logo-icon {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px;
    font-size: 20px;
  }

  .logo-text strong {
    font-size: 21px;
  }

  .logo-text span {
    font-size: 8px;
    margin-top: 3px;
  }

  /* Login / Sign up / search / cart are all removed from the
     mobile header — the hamburger is the single entry point
     into navigation on small screens. */
  .nav-actions {
    display: none !important;
  }

  .hero-container {
    grid-template-columns: 1fr;
    padding: 40px 0 60px;
  }

  .hero-content {
    padding: 30px 0 0;
  }

  .hero-image-wrapper {
    height: 480px;
  }

  .hero-image {
    height: 450px;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature {
    border-bottom: 1px solid #edf1ef;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
    row-gap: 45px;
  }

  .security-box {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 600px) {
  .navbar {
    min-height: 64px;
    width: 94%;
  }

  .menu-button {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
  }

  .hamburger-lines {
    width: 20px;
    height: 16px;
  }

  .logo {
    gap: 6px !important;
  }

  .logo-icon {
    width: 36px !important;
    height: 36px !important;
    font-size: 19px;
    border-radius: 9px;
  }

  .logo-text strong {
    font-size: 19px;
  }

  .logo-text span {
    font-size: 7px;
    letter-spacing: 0.2px;
  }

  .side-menu {
    width: 330px;
    padding: 22px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
  }

  .hero-image-wrapper {
    height: 390px;
  }

  .hero-image {
    height: 360px;
    border-radius: 20px;
  }

  .image-card {
    left: 10px;
    bottom: 30px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature {
    border-right: none;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 34px;
  }

  .security-box {
    padding: 35px 25px;
  }

  .security h2 {
    font-size: 31px;
  }

  .security-points {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}
