/* === Reset & Base === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --brown: #6f210d;
  --brown-light: #8a3a1f;
  --cream: #f7f6f4;
  --cream-dark: #f0ead6;
  --orange: #ff9900;
  --white: #ffffff;
  --gray-light: #d0d0d0;
  --dark-bg: #414141;
  --font-heading: 'open sans', sans-serif;
  --font-body: 'open sans', sans-serif;
  --font-display: 'Oswald', 'open sans', sans-serif;
  --font-nav: 'open sans', sans-serif;
  --font-small: 'open sans', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--brown);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* === Utility === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === Top Banner === */
.top-banner {
  background: var(--orange);
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 1.5px;
  text-transform: lowercase;
}

/* === Navigation === */
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0 116px;
  padding: 5px 100px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: none;
  position: sticky;
  top: 0;
  z-index: 100;
  height: 49px;
}

.nav a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 14px;
  font-weight: 400;
  color: var(--brown);
  text-transform: lowercase;
  letter-spacing: 0.8px;
  transition: background-color 0.2s;
  padding: 10px;
  margin: 4px;
}

.nav a:hover {
  background: rgba(0, 0, 0, 0.03);
}

.nav a.active {
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 400;
}

/* === Hero Section === */
.hero {
  position: relative;
  height: 559px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: absolute;
  z-index: 2;
  left: 0;
  top: 0;
  width: calc(100% - 384px);
  height: 472px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 80px;
  font-weight: 400;
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: 16px;
  text-align: center;
  text-shadow: 0 2px 30px rgba(0,0,0,0.4);
}

/* Hero overlay image */
.hero-overlay {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  width: calc(100% - 384px);
  height: 472px;
}

.hero-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

/* "join us" button centered in hero */
.hero-joinus {
  position: absolute;
  z-index: 3;
  left: 0;
  top: 0;
  width: calc(100% - 384px);
  height: 472px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 40px;
}

.hero-joinus a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 73px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  transition: background 0.2s;
}

.hero-joinus a:hover {
  background: rgba(255, 255, 255, 0.55);
}

/* === Sign Up Sidebar (Home page) === */
.hero-signup {
  position: absolute;
  top: 0;
  right: 0;
  width: 384px;
  height: 100%;
  z-index: 4;
  display: flex;
  align-items: flex-start;
  padding-top: 0;
}

.hero-signup-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 384px;
  height: 100%;
  z-index: 3;
  overflow: hidden;
}

.hero-signup-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.signup-card {
  background: rgba(200, 190, 185, 0.55);
  backdrop-filter: blur(16px);
  padding: 48px 40px;
  color: var(--cream);
  width: 100%;
}

.signup-card h2 {
  font-family: 'Oswald', 'open sans', sans-serif;
  font-size: 61px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--brown);
  text-transform: lowercase;
  letter-spacing: 1px;
}

.signup-card p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 12px;
  color: rgba(80, 40, 20, 0.85);
  font-weight: 400;
}

.signup-card .form-group {
  margin-bottom: 16px;
}

.signup-card .form-group label {
  display: block;
  font-size: 13px;
  color: var(--brown);
  margin-bottom: 6px;
}

.signup-card input {
  width: 100%;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(150, 140, 130, 0.4);
  color: var(--brown);
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}

.signup-card input::placeholder {
  color: rgba(111, 33, 13, 0.4);
}

.signup-card input:focus {
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-subscribe {
  display: inline-block;
  padding: 10px 28px;
  background: var(--brown);
  color: var(--white);
  font-size: 14px;
  font-family: var(--font-body);
  border: 1px solid rgba(111, 33, 13, 0.3);
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}

.btn-subscribe:hover {
  background: var(--brown-light);
}

.btn-joinus {
  display: inline-block;
  padding: 12px 28px;
  background: rgba(255, 255, 255, 0.38);
  color: var(--white);
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 12px;
}

.btn-joinus:hover {
  background: rgba(255, 255, 255, 0.55);
}

/* === Welcome Section === */
.welcome {
  background: rgb(255, 234, 210);
  padding: 56px 60px 56px 230px;
  max-width: 1440px;
  margin: 0 auto;
}

.welcome h2 {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 42px;
  font-weight: 300;
  color: var(--brown);
  margin-bottom: 12px;
  text-transform: lowercase;
}

.welcome p {
  font-size: 16px;
  font-weight: 400;
  color: var(--brown);
  line-height: 1.7;
  max-width: 700px;
}

/* === Cards Row === */
.cards-row {
  display: flex;
  gap: 2px;
  padding: 0 30px 60px;
  max-width: 1440px;
  margin: 0 auto;
  align-items: stretch;
}

.card-image {
  flex: 0 0 344px;
  height: 423px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-buttons {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  background: var(--dark-bg);
}

.card-btn {
  display: inline-block;
  padding: 14px 40px;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  min-width: 180px;
  transition: opacity 0.2s;
}

.card-btn:hover {
  opacity: 0.85;
}

.card-btn-light {
  background: var(--cream);
  color: var(--brown);
}

.card-btn-dark {
  background: var(--brown);
  color: var(--orange);
}

.card-btn-tag {
  background: transparent;
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
}

/* === Mid Section (brown bg) === */
.mid-section {
  background: var(--brown);
  padding: 80px 24px;
}

.mid-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mid-banner-text {
  max-width: 532px;
  font-size: 24px;
  font-weight: 700;
  color: var(--gray-light);
  line-height: 1.5;
  text-align: center;
  margin-bottom: 60px;
}

/* === Our Users === */
.our-users {
  text-align: center;
}

.our-users h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 40px;
}

.users-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.user-circle {
  width: 246px;
  height: 246px;
  border-radius: 50%;
  background: rgba(255, 153, 0, 0.25);
  border: 2px solid rgba(255, 153, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  margin: 0 auto;
}

.user-circle p {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
  text-align: center;
}

/* === Concept Section === */
.concept {
  position: relative;
  padding: 100px 24px;
  overflow: hidden;
}

.concept-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.concept-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.concept-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(247, 246, 244, 0.7);
}

.concept-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.concept-label {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 400;
  color: var(--brown);
  margin-bottom: 8px;
  display: block;
}

.concept-logo {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 36px;
  color: var(--brown);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 40px;
}

.concept-pillars {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.pillar {
  font-size: 14px;
  font-weight: 400;
  color: var(--brown);
  padding: 12px 20px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px solid rgba(181, 114, 46, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-transform: lowercase;
}

/* === Grow Section === */
.grow {
  display: flex;
  min-height: 437px;
}

.grow-image {
  flex: 0 0 296px;
  position: relative;
}

.grow-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.grow-text {
  flex: 1;
  background: var(--brown);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 48px;
}

.grow-text h2 {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 28px;
  font-weight: 300;
  margin-bottom: 20px;
  color: var(--cream);
  text-transform: lowercase;
}

.grow-text p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--cream);
  margin-bottom: 16px;
  font-weight: 400;
}

/* === Footer === */
.footer {
  position: relative;
  overflow: hidden;
}

.footer-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.footer-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}

.footer-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 48px;
}

.footer-email a {
  font-size: 16px;
  font-weight: 400;
  color: var(--brown);
}

.footer-email a:hover {
  text-decoration: underline;
}

.footer-logo {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 24px;
  color: var(--brown);
  text-transform: uppercase;
  letter-spacing: 4px;
}

.footer-social {
  text-align: right;
}

.footer-social .label {
  font-size: 14px;
  font-weight: 400;
  color: var(--brown);
  margin-bottom: 8px;
}

.social-icons {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 29px;
  height: 29px;
  transition: opacity 0.2s;
}

.social-icons a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.social-icons a:hover {
  opacity: 0.8;
}

/* === Footer Newsletter === */
.footer-newsletter {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 48px;
  border-top: 1px solid rgba(111, 33, 13, 0.1);
}

.footer-newsletter h3 {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 24px;
  font-weight: 300;
  color: var(--brown);
  margin-bottom: 12px;
  text-transform: lowercase;
}

.footer-newsletter p {
  font-size: 14px;
  font-weight: 400;
  color: var(--brown);
  line-height: 1.6;
  margin-bottom: 8px;
}

.footer-newsletter form {
  margin-top: 16px;
}

/* ========================================
   BENEFITS PAGE
   ======================================== */

.benefits-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.benefits-hero .hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.benefits-overlay {
  position: relative;
  z-index: 2;
  padding: 60px 24px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.benefits-page-logo {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 48px;
  font-weight: 400;
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: 10px;
  text-align: center;
  margin-bottom: 12px;
}

.benefits-page-logo-svg {
  text-align: center;
  margin-bottom: 12px;
}

.benefits-page-logo-svg svg {
  width: 400px;
  height: auto;
  margin: 0 auto;
  display: block;
}

.benefits-tagline {
  text-align: center;
  font-size: 14px;
  color: var(--cream);
  margin-bottom: 60px;
  font-style: italic;
}

.benefits-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.benefits-left h2 {
  font-family: var(--font-heading);
  font-size: 25px;
  font-weight: 400;
  color: var(--cream);
  line-height: 1.4;
}

.benefits-right {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.benefits-right h3 {
  font-family: var(--font-heading);
  font-size: 25px;
  font-weight: 400;
  color: var(--cream);
  text-align: center;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  padding: 16px 20px;
  border-radius: 8px;
}

.benefit-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}

.benefit-title {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(2px);
  padding: 16px 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--cream);
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.benefit-desc {
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(2px);
  padding: 16px 20px;
  border-radius: 8px;
  font-size: 13px;
  color: rgba(247, 246, 244, 0.85);
  line-height: 1.5;
  display: flex;
  align-items: center;
}

/* ========================================
   SIGN UP PAGE
   ======================================== */

.signup-page {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.signup-page .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.signup-page .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px);
}

.signup-page .hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(80, 20, 10, 0.25);
}

.signup-form-card {
  position: relative;
  z-index: 2;
  background: rgba(200, 190, 185, 0.55);
  backdrop-filter: blur(16px);
  padding: 60px 48px;
  max-width: 520px;
  width: 100%;
  color: var(--cream);
}

.signup-form-card h2 {
  font-family: 'Oswald', 'open sans', sans-serif;
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--brown);
  text-transform: lowercase;
}

.signup-form-card p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 32px;
  color: rgba(80, 40, 20, 0.85);
}

.signup-form-card .form-group {
  margin-bottom: 16px;
}

.signup-form-card label {
  display: block;
  font-size: 13px;
  color: var(--brown);
  margin-bottom: 6px;
}

.signup-form-card input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(150, 140, 130, 0.4);
  color: var(--brown);
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}

.signup-form-card input::placeholder {
  color: rgba(111, 33, 13, 0.4);
}

.signup-form-card input:focus {
  border-color: rgba(255, 255, 255, 0.6);
}

/* === Form Messages === */
.form-message {
  margin-top: 12px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.4;
  border-radius: 4px;
  animation: fadeSlideIn 0.3s ease;
}

.form-message--success {
  background: rgba(76, 175, 80, 0.2);
  border: 1px solid rgba(76, 175, 80, 0.4);
  color: #c8e6c9;
}

.form-message--error {
  background: rgba(244, 67, 54, 0.2);
  border: 1px solid rgba(244, 67, 54, 0.4);
  color: #ffcdd2;
}

.input-error {
  border-color: rgba(244, 67, 54, 0.7) !important;
  animation: shake 0.4s ease;
}

.btn--loading {
  opacity: 0.7;
  cursor: wait;
}

/* === Mobile Hamburger === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 101;
  font-size: 24px;
  color: var(--brown);
  line-height: 1;
  transition: transform 0.3s ease;
}

.nav-open .nav-toggle {
  transform: translateY(-50%) rotate(90deg);
}

/* === Nav Scroll Effect === */
.nav--scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* === Scroll Animations === */
/* Subtle fade-in only — content must be visible by default */
.animate-ready {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease;
}

.animate-in {
  opacity: 1;
}

/* === Keyframes === */
@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-4px); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(3px); }
}

/* === Responsive === */
@media (max-width: 900px) {
  .hero-signup {
    position: relative;
    width: 100%;
    height: auto;
    padding: 0;
  }

  .hero-signup-bg {
    position: absolute;
    width: 100%;
  }

  .hero {
    height: auto;
    min-height: auto;
    flex-direction: column;
  }

  .hero-content {
    position: relative;
    left: 0;
    width: 100%;
    height: auto;
    padding: 80px 24px;
  }

  .hero-overlay {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .hero-joinus {
    display: none;
  }

  .hero-logo {
    font-size: 42px;
    letter-spacing: 4px;
  }

  .signup-card {
    padding: 40px 24px;
  }

  .signup-card h2 {
    font-size: 40px;
  }

  .welcome {
    padding: 40px 24px;
  }

  .nav {
    margin: 0 20px;
    padding: 0;
    position: relative;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: block;
  }

  .nav a {
    display: none;
  }

  .nav-open a {
    display: flex;
    flex: 0 0 100%;
    justify-content: center;
    padding: 14px 20px;
    border-top: 1px solid rgba(111, 33, 13, 0.1);
  }

  .nav-open {
    height: auto;
    flex-direction: column;
    align-items: stretch;
    padding-top: 49px;
  }

  .cards-row {
    flex-direction: column;
    align-items: center;
    padding: 0 24px 60px;
  }

  .card-image {
    flex: none;
    width: 100%;
    max-width: 344px;
    height: 300px;
  }

  .card-buttons {
    width: 100%;
    max-width: 344px;
    padding: 30px 20px;
  }

  .users-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .concept-pillars {
    flex-direction: column;
    gap: 16px;
  }

  .grow {
    flex-direction: column;
  }

  .grow-image {
    flex: none;
    height: 300px;
  }

  .benefits-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-content {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-social {
    text-align: center;
  }
}
