/* ===== RESET & VARIABLES ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* One line — browser handles all smooth scrolling for anchor clicks */
html {
  scroll-behavior: smooth;
}

/* Offset so sticky nav doesn't cover the section heading when scrolled to */
:target {
  scroll-margin-top: 80px;
}

:root {
  --brown: #835750;
  --brown-dark: #6B2B1C;
  --brown-light: #835750;
  --cream: #FAF6F0;
  --text: #1a1a1a;
  --text-muted: #6B6B6B;
  --border: #e8e0d8;
  --font-famil: 'Inter', sans-serif;
}

body {
  font-family: var(--font-famil);
  background: #fff;
  color: var(--text);
}

a {
  text-decoration: none;
}

/* ===== NAVIGATION ===== */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 60px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: #fff;
  /* nav needs to sit above the page content so it doesn't get
     covered when the mobile drawer is open.  this also creates a
     stacking context for its children (drawer/hamburger). */
  z-index: 100;
  /* Required so the absolute-positioned drawer anchors to the nav bar */
  position: sticky;
}

.logo img {
  height: 70px;
  width: auto;
  display: block;
}


.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: bold;
}

.nav-links a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}

.nav-links a:hover {
  color: var(--brown);
}

/* Underline grows in on hover */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brown);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Active link — highlighted when its section is in view */
.nav-links a.active {
  color: var(--brown);
  font-weight: 600;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-icons {
  display: flex;
  gap: 12px;
}

.nav-icons a,
.drawer-icons a {
  color: var(--brown-dark);
  text-decoration: none;
}


.btn-primary.join-waitlist-btn {
  background: var(--brown);
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  font-style: Medium;
  cursor: pointer;
  letter-spacing: 0px;
  text-align: center;
}


/* ===== HERO DECORATIVE CIRCLES ===== */
/*
 * Purely decorative — absolutely positioned inside the hero,
 * pointer-events: none so they never block clicks.
 * opacity is kept very low so they're subtle background texture.
 */

.hero {
  position: relative;
}

.hero-bg-circle {
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
}

/* Gold circle — top-left area */
.hero-bg-circle--gold
 {
    width: 100px;
    height: 100px;
    background-image: url(assets/round-yellow.png);
    bottom: 65px;
    left: 131px;
    opacity: 0.05;
}

/* Brown circle — bottom-right area, partially behind phones */
.hero-bg-circle--brown {
  width: 180px;
  height: 180px;
  background-image: url(assets/round-brown.png);
  bottom: 0;
  right: 0;
  opacity: 0.05;
  left: -26px;
  top: 74%;
  z-index: 1;
}

/* Make sure hero content sits above the circles */
.hero-left,
.hero-right {
  z-index: 1;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(180deg, #FFF9F4 0%, #FAF8F5 50%, #FFFFFF 100%);
  padding: 35px 60px 60px;
  display: flex;
  align-items: flex-start;
  gap: 60px;
  min-height: 500px;
  overflow: hidden;
}

/* .hero::after{
  content: '';
  background-image: url('assets/banner-b-circle.png');
  background-size: contain;
} */

.hero-left {
  flex: 1;
  padding-top: 20px;
}

.hero-tag {
  display: inline-block;
  background: #8357501A;
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 16px;
  color: var(--brown-dark);
  margin-bottom: 24px;
  font-weight: 500;
}

.hero-left h1 {
  font-family: var(--font-famil);
  font-size: 45px;
  font-weight: 700;
  font-style: Bold;
  line-height: 50px;
  margin-bottom: 16px;
  color: var(--brown-dark);
}



.hero-left .subtitle {
  font-size: 35px;
  color: var(--brown-light);
  margin-bottom: 12px;
  line-height: 1.6;
}

.hero-left .tagline {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 25px;
  line-height: 1.6;
}

/* .hero-right::after{
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  background-image: url('assets/shadow.png');
} */

.btn-dark {
  padding: 13px 28px;
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 60px;
  transition: background 0.2s;
  background: var(--brown);
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 10px 25px;
  font-size: 14px;
  font-style: Medium;
  /* box-shadow: 0px 4px 6px -4px #0000001A; */

  box-shadow: 0px 10px 15px -3px #0000001A;

}

/* 
.btn-dark:hover {
  background: #444;
} */

.hero-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 40px;
  max-width: 415px;
}

.hero-feat {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.feat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #8357501A;
  /* border: 1px solid var(--border); */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}

.feat-icon img {
  width: 20px;
}

.feat-text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--brown-dark);
}

.feat-text span {
  font-size: 12px;
  color: var(--text-muted);
}

.hero-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  position: relative;
}

/* ===== PHONE FRAMES ===== */
/* .phone-frame {
  background: #1a1a1a;
  border-radius: 36px;
  padding: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
} */

/* .phone-main-frame {
  width: 190px;
  position: relative;
  z-index: 2;
} */

/* .phone-secondary-frame {
  width: 190px;
  margin-left: -20px;
  margin-top: 40px;
  margin-bottom: -20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
} */

/* .phone-sm-frame {
  width: 160px;
  border-radius: 30px;
  padding: 7px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
} */

/* .phone-offset {
  margin-left: -15px;
  margin-bottom: 20px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.15);
} */

.phone-rotated {
  /* width: 100%; */
  transform: rotate(0deg);
  /* box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15); */
}

.phone-rotated img {
  width: 400px;
}

/* ===== PHONE UI CONTENT ===== */

.hero-right {
  flex: 1;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  overflow: visible;
  min-height: 460px;
}

.hero-phone {
  position: absolute;
  bottom: 0;
}

.hero-phone--back {
  width: 250px;
  right: 260px;
  bottom: -45px;
  z-index: 1;
  opacity: 0.92;
}

.hero-phone img {
  display: block;
  width: 95%;
  /* height: auto; */
  border-radius: 36px;
  /* filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.22)); */
}

.hero-phone--front {
  width: 250px;
  right: 60px;
  bottom: 0px;
  z-index: 2;
}

.hero-phone img {
  display: block;
  width: 95%;
  /* height: auto; */
  border-radius: 36px;
  /* filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.22)); */
}

.phone-ui {
  /* background: #fff;
  border-radius: 28px;
  overflow: hidden;
  font-size: 10px; */
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #D4AF37 50%, rgba(0, 0, 0, 0) 100%);
}

/* ===== WHY SECTION ===== */
.why-section {
  padding: 30px 70px;
  text-align: center;
}

.why-section h2 {
  font-family: 'Inter', serif;
  font-size: 32px;
  margin-bottom: 12px;
  color: var(--brown-dark);
  font-weight: bold;
}

.why-section>p {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 700px;
  margin: 0 auto 60px;
  line-height: 1.5;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  background: #FAF8F5;
  border: 0.8px solid #8357501A;
  border-radius: 5px;
  padding: 28px 20px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}

.why-card:hover {
  box-shadow: 0 8px 30px rgba(123, 45, 30, 0.1);
  transform: translateY(-4px);
}

.why-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(180deg, #835750 0%, #6B2B1C 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 20px;
}

.why-card .icon img {
  width: 25px;
}


.why-card h3 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--brown-dark);
  max-width: 245px;
}

.why-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ===== SMARTER PATH ===== */
.smarter-section {
  padding: 40px 60px 60px 80px;
  overflow: visible;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF8F5 100%);
  position: relative;
}

.smarter-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  width: 50%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #D4AF37 50%, rgba(0, 0, 0, 0) 100%);

}



.smarter-phones {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 0;
}

/* Phone container — replaces old flex layout */
.smarter-phones {
  flex: 1;
  position: relative;
  height: 480px;
  min-width: 340px;
}

/* Base for both phone images */
.smarter-phone {
  position: absolute;
  bottom: 0;
}

.smarter-phone img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.18));
}

/* Left phone — higher */
.smarter-phone--left {
  width: 231px;
  left: 25px;
  bottom: 0;
  z-index: 2;
}

/* Right phone — in front, lower */
.smarter-phone--right {
  width: 230px;
  left: 215px;
  bottom: 0;
  z-index: 1;
}

.smarter-text {
  flex: 1;
}

.smarter-text h2 {
  font-family: 'Inter', sans-serif;
  /* was: Inter */
  font-size: 40px;
  /* was: 30px */
  font-weight: 700;
  /* added */
  line-height: 1.2;
  /* added */
  color: var(--brown-dark);
  /* was: var(--brown) */
  margin-bottom: 24px;
  /* was: 20px */
}

/* smarter-text p — size + max-width */
.smarter-text p {
  font-size: 15px;
  margin-bottom: 20px;
  max-width: 480px;
  line-height: 1.5;
}

/* ===== HOW IT WORKS ===== */
.how-section {
  padding: 80px 60px;
  text-align: center;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF8F5 100%);
}

.how-section h2 {
  font-family: 'Inter', serif;
  font-size: 35px;
  margin-bottom: 8px;
  color: var(--brown-dark);
  font-weight: 700;
}

.how-section>p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 50px;
  font-weight: 600;
}

.steps-timeline {
  position: relative;
  display: flex;
  justify-content: space-evenly;
  margin: 0 auto 40px;
}

.steps-timeline::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 10%;
  right: 10%;
  height: 5px;
  background: var(--brown-light);
  background: linear-gradient(180deg, #835750 0%, #6B2B1C 50%, #835750 100%);
  z-index: 0;
}

.step-dot-wrap {
  text-align: center;
}

.step-dot {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(180deg, #835750 0%, #6B2B1C 100%);
  border: 2px solid var(--brown-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: background 0.3s, border-color 0.3s;
}

.step-dot img {
  width: 20px;
  height: 20px;
}

.step-dot svg {
  width: 18px;
  height: 18px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.step-card {
  background: #fff;
  border-radius: 10px;
  padding: 20px 16px;
  text-align: left;
  transition: box-shadow 0.2s;

  box-shadow: 0px 10px 15px -3px #0000001A;

}

.step-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.step-num {
  font-size: 30px;
  color: #aca4a4;
  margin-bottom: 10px;
  font-weight: 400;
  font-style: Regular;
  line-height: 48px;
  letter-spacing: 0px;
}


.step-card h3 {
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--brown-dark);
}

.step-card p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(180deg, #835750 0%, #6B2B1C 100%);
  padding: 80px 60px;
  position: relative;
  overflow: hidden;
  text-align: center;
}


.cta-section::before {
  content: '';
  background-image: url('assets/form-round-sm.png');
  position: absolute;
  left: 31px;
  top: 30px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  /* background: rgba(255, 255, 255, 0.05); */
  pointer-events: none;
  opacity: 0.04;
}

.cta-section::after {
  content: '';
  background-image: url('assets/form-round-big.png');
  position: absolute;
  left: 44%;
  bottom: 20px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background-size: contain;
  pointer-events: none;
  opacity: 0.04;
}

.cta-section h2 {
  font-family: 'Inter', serif;
  font-size: 35px;
  color: #fff;
  margin-bottom: 30px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  margin-bottom: 28px;
  line-height: 1.6;
}

.cta-form {
  display: flex;
  gap: 25px;
  max-width: 553px;
  margin: 0 auto;
  height: 35px;
}

.cta-form input {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: 25px;
  font-size: 14px;
  outline: none;
  font-family: 'Inter', sans-serif;
  border-top: 0.8px solid #FFFFFF33;
  color: #fff;
  background: #FFFFFF1A;
  /* width: 295px; */
  height: 40px;
}

.cta-form button {
  background: #FFFFFF;
  color: var(--brown-dark);
  border: none;
  padding: 12px 29px;
  border-radius: 25px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  height: 40px;
}

.cta-form button:hover {
  background: #444;
}

/* ===== APP SECTION ===== */
.app-section {
  padding: 30px 60px;
  display: flex;
  align-items: center;
  gap: 60px;
  background: #fff;
}

.app-text {
  flex: 1;
}

.coming-tag {
  display: inline-block;
  background: #8357501A;
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  color: var(--brown-dark);
  margin-bottom: 24px;
  font-weight: 500;
}

.app-text h2 {
  font-family: 'Inter', serif;
  font-size: 36px;
  margin-bottom: 16px;
  color: var(--brown-dark);
}

.app-text p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.store-btns {
  display: flex;
  gap: 14px;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1a1a1a;
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
}

.store-btn:hover {
  background: #333;
}

.sicon {
  font-size: 22px;
}

.slabel {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.slabel small {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
}

.slabel span {
  font-size: 13px;
  font-weight: 600;
}

.app-phone {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  /* width: 100%; */
}

/* ===== FOOTER ===== */
footer {
  background: var(--brown-dark);
  padding: 60px;
  color: rgba(255, 255, 255, 0.8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  max-width: 220px;
  margin-top: 14px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-icons a{
  display: inline-block;
  gap: 30px;
  font-size: 18px;
  margin-right: 1rem;
}

.footer-icon {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}

.footer-icon:hover {
  background: rgba(255, 255, 255, 0.2);
}

.footer-small {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
}

.footer-input-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-direction: column;
}

.input-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 100%;
}

.input-wrapper img {
  position: absolute;
  left: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  pointer-events: none;
}

.input-wrapper input {
  width: 100%;
  padding: 12px 20px 12px 42px;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 50px;
  /* pill shape */
  color: #fff;
  font-size: 15px;
  outline: none;
}

input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

input:focus {
  border-color: rgba(255, 255, 255, 0.7);
}

.footer-input-row input {
  flex: 1;
  padding: 9px 35px;
  border-radius: 25px;
  border: none;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  outline: none;
  font-family: 'Inter', sans-serif;
  height: 40px;
}

input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.footer-input-row button {
  background: #fff;
  color: #fff;
  border: none;
  color: #6B2B1C;
  padding: 9px 16px;
  border-radius: 25px;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
  height: 35px;
}

.footer-input-row button:hover {
  background: var(--brown);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== HAMBURGER BUTTON ===== */
/*
 * Hidden on desktop. Shown only on mobile via media query below.
 * Three-bar icon animates into an X when open.
 */
.hamburger {
  display: none;
  /* desktop: invisible */
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  z-index: 201;
  /* above drawer */
  flex-shrink: 0;
  transition: background 0.2s;
}

.hamburger:hover {
  background: var(--cream);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.3s ease, opacity 0.2s ease, width 0.3s ease;
}

/* Open state: bars animate into X */
.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== MOBILE DRAWER ===== */
/*
 * Lives INSIDE <nav> so it naturally sits flush below the nav bar.
 * Uses max-height transition for smooth slide-open — the classic approach.
 * Position: absolute, full width, drops below the nav bar.
 */
.mobile-drawer {
  display: flex;
  /* always flex so transitions work */
  flex-direction: column;
  position: absolute;
  top: 100%;
  /* flush below the nav bar */
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 2px solid var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
  z-index: 200;
  padding: 0 24px;
  /* Slide animation via max-height */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  /* Hidden from screen readers by default */
  visibility: hidden;
}

.mobile-drawer.open {
  max-height: 400px;
  /* large enough to never clip content */
  padding: 16px 24px 24px;
  visibility: visible;
}

.drawer-link {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  display: block;
  transition: color 0.2s, padding-left 0.2s;
}

.drawer-link:last-of-type {
  border-bottom: none;
}

.drawer-link:hover {
  color: var(--brown);
  padding-left: 6px;
}

.drawer-link.active {
  color: var(--brown);
  font-weight: 600;
}

.drawer-divider {
  height: 1px;
  background: var(--border);
  margin: 12px 0;
}

.drawer-icons {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.drawer-icons svg {
  width: 20px;
  height: 20px;
  fill: var(--text-muted);
  cursor: pointer;
  transition: fill 0.2s;
}

.drawer-icons svg:hover {
  fill: var(--brown);
}

.drawer-cta {
  width: 100%;
  padding: 13px;
  font-size: 15px;
  border-radius: 8px;
  text-align: center;
}

/* ===== OVERLAY ===== */
/*
 * Semi-transparent overlay behind the open drawer.
 * Clicking it closes the menu.
 */

 .nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 200;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 60px;
  border-bottom: 1px solid var(--border);
  position: relative; /* drawer anchors here */
  background: #fff;
  z-index: 100;
}
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  /* background: rgba(0, 0, 0, 0.35); */
  /* Previously the overlay sat above the nav (z-index:150) which
     prevented the hamburger button and even the drawer itself from
     receiving clicks when the menu was open.  The overlay is purely a
     click-catcher / dim layer and does not need to cover the nav, so
     drop it below the nav's stacking context. */
  z-index: 90;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-overlay.visible {
  display: block;
  opacity: 1;
}
.mobile-icons {
  display: none;
  align-items: center;
  gap: 12px;
}

.mobile-icons i{
  color: var(--brown-dark);

}

/* Mobile */
@media (max-width: 768px) {

  .nav-links,
  .nav-right {
    display: none;
  }

  .mobile-icons {
    display: flex;
    margin-left: auto;
    margin-right: 10px;
  }

}
/* ===== TABLET — 1024px ===== */
@media (max-width: 1024px) {
  nav {
    padding: 14px 32px;
  }

  .hero {
    padding: 10px 32px 35px;
    gap: 32px;
  }

  .hero-left h1 {
    font-size: 34px;
  }

  .hero-right {
    flex: 0 0 auto;
  }

  .phone-main-frame {
    width: 165px;
  }

  .phone-secondary-frame {
    width: 165px;
  }

  .why-section {
    padding: 30px 32px;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .smarter-section {
    padding: 0px 32px 30px;
    gap: 32px;
  }

  .smarter-text h2 {
    font-size: 24px;
  }

  .how-section {
    padding: 60px 32px;
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cta-section {
    padding: 60px 32px;
  }

  .app-section {
    padding: 20px 32px;
    gap: 32px;
  }

  .app-text h2 {
    font-size: 28px;
  }

  .phone-rotated img {
    width: 265px;
  }

  footer {
    padding: 48px 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .hero-phone--back{right: 204px;}
  .hero-phone--front{right: 10px;}
  .hero-left .subtitle{font-size: 28px;}
}

@media (max-width: 991px) {
  .hero-left .subtitle {
    font-size: 24px;
  }

  .hero-left h1 {
    font-size: 30px;
  }

  .hero-phone--front {
    width: 185px;
    right: -20px;
    bottom: 63px;
    z-index: 2;
  }

  .hero-phone--back {
    width: 185px;
    right: 131px;
    bottom: 30px;
    z-index: 1;
    opacity: 0.92;
  }

  .smarter-phone--left {
    width: 190px;
    left: 5px;
    bottom: 0px;
    z-index: 2;
  }

  .smarter-phone--right {
    width: 190px;
    left: 156px;
    bottom: 0px;
    z-index: 1;
  }

}

/* ===== TABLET PORTRAIT — 768px ===== */
@media (max-width: 768px) {

    .hero-phone--front {
        width: 250px;
        right: 38px;
        bottom: 0;
        z-index: 2;
    }

      .hero-phone--back {
        width: 250px;
        right: 236px;
        bottom: -50px;
        z-index: 1;
        opacity: 0.92;
    }
  /* Nav */
  /* nav { padding: 14px 20px; } */

  .nav-links {
    display: none;
  }

  /* hide desktop links */
  .nav-right {
    display: none;
  }

  /* hide desktop actions */
  .hamburger {
    display: flex;
  }

  /* show hamburger */

  /* Hero */
  .hero {
    flex-direction: column;
    padding: 36px 20px 60px;
    gap: 40px;
    align-items: center;
  }

  .hero-left {
    padding-top: 0;
    text-align: center;
  }

  .hero-left h1 {
    font-size: 30px;
  }

  .hero-left h1 br {
    display: none;
  }

  .hero-left .tagline br {
    display: none;
  }

  .hero-features {
    max-width: 100%;
    justify-items: start;
  }

  .btn-dark {
    width: 100%;
    text-align: center;
  }

  .hero-right {
    width: 100%;
    justify-content: center;
    padding-bottom: 0;
  }

  .phone-secondary-frame {
    display: none;
  }

  .phone-main-frame {
    width: 200px;
    margin: 0 auto;
  }

  /* Why */
  .why-section {
    padding: 48px 20px;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .why-card {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  /* Smarter */
  .smarter-section {
    padding: 48px 20px;
    gap: 36px;
    flex-direction: column-reverse;
    height: 708px;
  }

  .smarter-phones {
    width: 100%;
    height: 360px;
  }

  .smarter-phone--left {
    width: 160px;
    left: 60%;
    margin-left: -190px;
  }

  .smarter-phone--right {
    width: 157px;
    left: 50%;
    margin-left: -15px;
  }


  .smarter-text {
    text-align: center;
  }

  .smarter-text h2 {
    font-size: 28px;
  }

  /* How it works */
  .how-section {
    padding: 48px 20px;
  }

  .steps-timeline {
    display: none;
  }

  .steps-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  /* CTA */
  .cta-section {
    padding: 50px 20px 90px;
  }

  .cta-form {
    flex-direction: column;
  }

  .cta-form input,
  .cta-form button {
    width: 100%;
    justify-content: center;
  }

  /* App section */
  .app-section {
    flex-direction: column;
    padding: 48px 20px;
    gap: 36px;
    text-align: center;
  }

  .app-text h2 {
    font-size: 28px;
  }

  .phone-rotated img {
    width: 200px;
  }

  .store-btns {
    justify-content: center;
    flex-wrap: wrap;
  }

  .app-phone {
    justify-content: center;
  }

  .phone-rotated {
    transform: rotate(0deg);
    width: 200px;
  }

  /* Footer */
  footer {
    padding: 40px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    align-items: center;
    text-align: center;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
}

/* ===== MOBILE — 480px ===== */
@media (max-width: 480px) {

  /* Hero */
  .hero {
    padding: 28px 16px 0;
  }

  .hero-left h1 {
    font-size: 26px;
  }

  .hero-features {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .feat-text strong {
    font-size: 12px;
  }
    .hero-phone--front {
        width: 185px;
        right: -20px;
        bottom: 63px;
        z-index: 2;
    }
     .hero-phone--back {
        width: 185px;
        right: 185px;
        bottom: 55px;
        z-index: 1;
        opacity: 0.92;
    }
        .hero-phone--front {
        width: 185px;
        right: 35px;
        bottom: 95px;
        z-index: 2;
    }

  /* Why */
  .why-section {
    padding: 40px 16px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  /* Smarter */
  .smarter-section {
    padding: 40px 16px;
  }

  .phone-sm-frame {
    width: 140px;
  }

  .smarter-phones {
    height: 300px;
  }

  /* .smarter-section {
    display: none;
  } */


  /* How */
  .how-section {
    padding: 40px 16px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .step-card {
    padding: 16px;
  }

  .smarter-phone--left {
    width: 130px;
    margin-left: -155px;
    bottom: 0;
  }

  .smarter-phone--right {
    width: 128px;
    margin-left: -10px;
    bottom: 0;
  }

  /* CTA */
  .cta-section {
    padding: 40px 16px 100px;
  }

  .cta-section h2 {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .cta-section::before {
    display: none;
  }

  /* App */
  .app-section {
    padding: 30px 16px 0
  }

  .app-text h2 {
    font-size: 24px;
  }

  .store-btns {
    flex-direction: column;
    align-items: center;
  }

  .store-btn {
    width: 180px;
    justify-content: center;
  }

  /* Footer */
  footer {
    padding: 32px 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-input-row {
    flex-direction: column;
  }

  .footer-input-row input,
  .footer-input-row button {
    width: 100%;
  }
}

@media (max-width: 480px) {
    .smarter-phone--right {
        bottom: -15px;
    }
    .smarter-phone--left {
        bottom: -15px;
    }
}