:root {
  --dark-green: #374e20;
  --dark-green-hover: #2c3e1a;
  --light-green: #67a637; /* For "Green is the new luxury" */
  --off-white: #f5f3ec; /* Main background */
  --white: #ffffff;
  --text-dark: #1f231b;
  --text-gray: #4a4a4a;
  --beige-box: #e5e8d8; /* For give back section */
  --btn-green: #486629;
}

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

body {
  font-family: 'Helvetica', Arial, sans-serif;
  background-color: var(--white);
  color: var(--text-dark);
  line-height: normal;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  color: var(--text-dark);
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-large {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography styles */
.script-text {
  font-family: 'Kaushan Script', cursive;
  color: var(--light-green);
  font-weight: 400;
}

._f-w-700 {
  font-weight: 700;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Helvetica', Arial, sans-serif;
  font-weight: 700;
  text-align: center;
  border-radius: 50px;
  padding: 12px 28px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn img {
  width: 16px;
  height: 16px;
  vertical-align: middle;
}

.btn-primary img, .btn-dark-green img {
  filter: brightness(0) saturate(100%) invert(100%);
}

.btn-primary {
  background-color: var(--btn-green);
  color: var(--white);
  font-size: 16px;
}

.btn-primary:hover {
  background-color: var(--dark-green-hover);
}

.btn-dark-green {
  background-color: var(--dark-green);
  color: var(--white);
  font-size: 25px;
  padding: 14px 32px;
}

.btn-dark-green:hover {
  background-color: #1f2d11;
}

.btn-white {
  background-color: var(--white);
  color: var(--dark-green);
}

.btn-white img {
  filter: brightness(0) saturate(100%) invert(26%) sepia(16%) saturate(1914%) hue-rotate(53deg) brightness(96%) contrast(87%);
}

.btn-white:hover {
  background-color: #f0f0f0;
}

.btn-large {
  font-size: 25px;
  padding: 16px 36px;
}

.btn-xlarge {
  font-size: 25px;
  padding: 18px 48px;
}

/* Header */
.header {
  padding: 24px 0;
  background-color: transparent;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  background-color: var(--white);
  padding: 16px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 48px;
  width: auto;
}

/* Feedback tab */
.feedback-tab {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--btn-green);
  color: white;
  padding: 18px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  z-index: 100;
  border: none;
  box-shadow: -2px 0 8px rgba(0,0,0,0.1);
}

.feedback-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.feedback-text {
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  font-family: 'Helvetica', Arial, sans-serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  background-color: var(--off-white);
  background-image: url('images/bg-hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

/* Ensure background image is not too strong if needed */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(245, 243, 236, 0.95) 0%, rgba(245, 243, 236, 0.8) 40%, rgba(245, 243, 236, 0) 100%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  /* Override previous grid layout to allow full width for content on the left over background */
  display: block; 
}

.hero-content {
  max-width: 75%;
  padding-right: 40px;
}

.hero-content h1 {
  font-size: 7.8125vw;
  line-height: 0.77;
  margin-bottom: 30px;
  font-weight: 400;
}

.hero-content .script-text {
  font-size: 3.8542vw;
  line-height: 1;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 2.0833vw;
  font-family: 'Helvetica Light', 'Helvetica', Arial, sans-serif;
  font-weight: 300;
  color: var(--text-gray);
  margin-bottom: 40px;
  max-width: 600px;
  line-height: 1.55;
}

/* Why ReWardrobe */
.why-rewardrobe {
  padding: 80px 0;
  background-color: var(--white);
}

.section-header.center {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 9;
}

.section-header h2 {
  font-size: 3.125vw;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.card {
  background: var(--white);
  padding: 60px 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0px 5px 25px 0px #0000000D;
}

.icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.green-circle {
  background-color: #f2f6ee;
}

.white-circle {
  background-color: var(--white);
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.icon-wrapper img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.card h3 {
  font-size: 2.0833vw;
  margin-bottom: 12px;
  font-family: 'Helvetica', Arial, sans-serif;
  font-weight: 700;
}

.card p {
  color: var(--text-gray);
  font-size: 26px;
  line-height: 1.54;
}

.waitlist-callout {
  text-align: center;
}

.waitlist-note {
  margin-top: 20px;
  font-size: 28px;
  color: var(--text-gray);
  line-height: 1.43;
}

/* How It Works */
.how-it-works {
  padding: 100px 0;
  background-color: var(--off-white);
  background-image: url('images/rectangle-408.jpg');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  position: relative;
}

.how-it-works::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #F4F5EE 31.22%, rgba(244, 245, 238, 0.756555) 57.53%, rgba(244, 245, 238, 0) 72.76%);
  box-shadow: 0px 0px 24px 0px #0000000D;
  z-index: 1;
}

.how-inner {
  position: relative;
  z-index: 2;
  display: block;
}

.how-content {
  max-width: 50%;
  padding-right: 40px;
}

.how-content .section-header {
  text-align: center;
}

.steps-list {
  margin-top: 50px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 40px;
}

.step-icon {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.step-text h3 {
  font-size: 36px;
  margin-bottom: 8px;
  font-family: 'Helvetica', Arial, sans-serif;
  font-weight: 700;
}

.step-text p {
  color: var(--text-gray);
  font-size: 26px;
  line-height: 1.54;
}

/* Every Purchase Gives Back */
.give-back {
  position: relative;
  padding: 80px 0 80px;
  background-color: #ECEEE2;
}

.give-back-inner {
  display: flex;
  background-color: transparent;
  border-radius: 0;
  overflow: hidden;
}

.give-back-image {
  flex: 1;
  position: relative;
}

.give-back-image > img:first-child {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.give-back-logo {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 274px;
  max-height: 100px;
  object-fit: contain;
  z-index: 2;
  background: white;
  padding: 10px 15px;
  border-radius: 8px;
}

.give-back-content {
  flex: 1;
  padding: 0 50px 0 50px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.give-back-text-container {
  display: flex;
  flex-direction: column;
}

.give-back-content h2 {
  font-size: 3.125vw;
  line-height: 1.1;
  margin-bottom: 25px;
}

.give-subtitle {
  font-size: 30px;
  color: var(--text-dark);
  margin-bottom: 24px;
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  line-height: 1.33;
}

.give-desc {
  margin-bottom: 30px;
  font-size: 24px;
  line-height: 1.875;
}

.give-desc p {
  margin-bottom: 12px;
  color: var(--text-gray);
}

.give-form-wrapper {
  background-color: #DFE3C5;
  padding: 30px;
  border-radius: 10px;
  margin-top: 10px;
  margin-bottom: 0;
}

.give-form {
  display: flex;
  gap: 0;
  margin-bottom: 16px;
  background-color: var(--off-white);
  border-radius: 50px;
  overflow: hidden;
}

.give-form input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 0;
  border: none;
  background-color: transparent;
  font-family: 'Helvetica', Arial, sans-serif;
  font-size: 20px;
  outline: none;
}


.give-form-note {
  font-size: 21px;
  color: var(--text-gray);
  line-height: 1.9;
  margin: 0;
}

/* Join Movement */
.join-movement {
  padding: 80px 0;
  background-color: #ECEEE2;
  border-top: none;
}

.join-movement::before {
  content: '';
  display: block;
  max-width: 1300px;
  margin: 0 auto;
  border-top: 1px solid #DADCDB;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
}

.join-movement {
  position: relative;
}

.join-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
}

.join-content h2 {
  font-size: 3.125vw;
  line-height: 1.08;
  margin-bottom: 30px;
}

.join-list {
  list-style: none;
}

.join-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 24px;
  color: var(--text-gray);
  line-height: 1.5;
}
.join-list li span {
  margin-top: -5px;
}
.bullet-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.join-image {
  height: 100%;
}

.join-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* Launch Banner */
.launch-banner {
  background-color: var(--dark-green);
  position: relative;
  color: var(--white);
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
}

/* Add background image behind overlay */
.launch-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/rectangle-383.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  mix-blend-mode: soft-light; /* Makes the green blend with the image */
  z-index: 1;
}

.banner-inner {
  position: relative;
  z-index: 2;
}

.launch-banner h2 {
  color: var(--white);
  font-size: 3.125vw;
  margin-bottom: 16px;
}

.launch-banner h2 .plus-sign {
  font-family: 'Helvetica', Arial, sans-serif;
  font-weight: 300;
  opacity: 0.7;
}

.banner-desc {
  font-size: 24px;
  margin-bottom: 40px;
}

.banner-note {
  margin-top: 20px;
  font-size: 20px;
  opacity: 0.8;
}

/* Footer */
.footer {
  background-color: var(--off-white);
  padding: 80px 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.footer-col {
  position: relative;
}

.footer-col:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 0;
  right: -30px;
  width: 1px;
  height: 100%;
  background-color: rgba(0,0,0,0.08);
}

.brand-col .footer-logo {
  height: 48px;
  margin-bottom: 12px;
}

.brand-col .script-text {
  font-size: 35px;
  margin-bottom: 16px;
  display: block;
}

.brand-col p {
  color: var(--text-gray);
  font-size: 20px;
}

.links-col h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  margin-bottom: 24px;
}

.links-col ul {
  list-style: none;
  font-size: 20px;
  color: var(--text-gray);
}

.links-col ul li {
  margin-bottom: 12px;
}

.links-col ul li a {
  transition: color 0.3s ease;
}

.links-col ul li a:hover {
  color: var(--text-dark);
}

.foundation-col .foundation-logo {
  height: 48px;
  margin-bottom: 20px;
}

.foundation-col h4 {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  margin-bottom: 16px;
  line-height: 1.4;
}

.foundation-col p {
  font-size: 20px;
  color: var(--text-gray);
  margin-bottom: 12px;
}

.foundation-col .learn-more a {
  color: var(--text-dark);
  font-weight: 600;
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 40px;
  text-align: center;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 24px;
}

.social-icons img {
  width: 32px;
  height: 32px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.social-icons a:hover img {
  opacity: 1;
}

.legal-text {
  font-size: 20px;
  color: var(--text-gray);
  margin-bottom: 16px;
}

.copyright {
  font-size: 20px;
  color: var(--text-gray);
}

/* Responsive */
@media (max-width: 992px) {
  .footer-col:not(:last-child)::after {
    display: none;
  }
  .how-inner,
  .give-back-inner,
  .join-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .give-back-inner {
    display: flex;
    flex-direction: column;
  }
  
  .give-back-image {
    position: relative;
  }
  
  .give-back-image > img:first-child {
    position: relative;
    height: auto;
  }
  
  .hero::before, .how-it-works::before {
    background: linear-gradient(to right, rgba(245, 243, 236, 0.95) 0%, rgba(245, 243, 236, 0.9) 100%);
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content {
    max-width: 100%;
    padding-right: 0;
  }

  .hero-desc {
    max-width: 65%;
  }
  
  .give-back-image {
    order: -1;
  }
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@media (max-width: 1280px) {
  .why-rewardrobe {
    padding: 6vw 0;
  }
  .how-it-works {
    padding: 8vw 0;
  }
  .give-back {
    padding: 6vw 0;
  }
  .join-movement {
    padding: 6vw 0;
  }
  .launch-banner {
    padding: 8vw 0;
  }
  .section-header.center {
    margin-bottom: 4vw;
  }
  .cards-grid {
    gap: 2vw;
    margin-bottom: 4vw;
  }
  .card {
    padding: 4vw 2vw;
  }
  .step-text h3 {
    font-size: 25px;
  }
}

@media (max-width: 768px) {
  .hero-content, .how-content {
    max-width: 100%;
    padding-right: 0;
  }
  .give-form {
    flex-direction: column;
    border-radius: 0;
    background-color: transparent;
    gap: 12px;
  }
  .give-form input {
    border-radius: 50px;
    background-color: var(--off-white);
  }
  .give-back-content {
    padding: 40px 20px;
  }
  .hero-content h1 {
    font-size: 56px;
  }
  .section-header h2 {
    font-size: 40px;
  }
  .give-back-content h2, .join-content h2, .launch-banner h2 {
    font-size: 40px;
  }
  .why-rewardrobe {
    padding: 60px 0;
  }
  .section-header.center {
    margin-bottom: 40px;
  }
  .cards-grid {
    gap: 20px;
    margin-bottom: 40px;
  }
  .card {
    padding: 30px 20px;
  }
}

@media (max-width: 600px) {
  .header-inner {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 500px) {
  .card {
    padding: 24px 16px;
  }
  .why-rewardrobe {
    padding: 40px 0;
  }
  .section-header.center {
    margin-bottom: 30px;
  }
  .cards-grid {
    gap: 16px;
    margin-bottom: 30px;
  }
  .hero-content {
    text-align: center;
  }
  .hero {
    padding-top: 220px;
  }
  .hero-desc {
    margin: 0 auto 40px;
  }
}

/* Cap font sizes at 1920px (Figma design width) */
@media (min-width: 1920px) {
  .hero-content h1 {
    font-size: 150px;
  }
  .hero-content .script-text {
    font-size: 74px;
  }
  .section-header h2 {
    font-size: 60px;
  }
  .give-back-content h2 {
    font-size: 60px;
  }
  .join-content h2 {
    font-size: 60px;
  }
  .launch-banner h2 {
    font-size: 60px;
  }
  .hero-desc {
    font-size: 40px;
  }
  .card h3 {
    font-size: 40px;
  }
}
