/* ===== CUSTOM FONT ===== */
@font-face {
    font-family: 'TheSeasons';
    src: url('https://tembusu-botanical-landing.vercel.app/fonts/the-seasons-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

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

:root {
  --cream: #EFEBE0;
  --dark: #2C2416;
  --dark-green: #4B5140;
  --gold: #C4A265;
  --text: #1a1a1a;
  --text-muted: #5a5347;
  --serif: 'TheSeasons', 'Playfair Display', Georgia, serif;
  --sans: 'Mukta Mahee', 'Inter', Helvetica, Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--text); line-height: 1.7; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
input, button { font-family: var(--sans); }

/* ===== VERSION A — ILLUSTRATED ===== */
.version-a { background: var(--cream); }

/* ===== VERSION B — VIDEO ===== */
.version-b { background: #1a1a1a; color: #fff; }

/* Desktop/mobile video swap */
.mobile-video { display: none; }
.desktop-video { display: block; }

/* ===== SOCIAL FOOTER ===== */
.social-footer {
  position: relative;
  z-index: 50;
  text-align: center;
  padding: 40px 24px;
}
.version-b .deco-orchid {
  display: none;
}

.version-b .deco-bird {
  width: 300px;
  bottom: 0;
  right: 0;
  opacity: 0.85;
  z-index: 5;
}

.version-b .hero-text,
.version-b .hero-content,
.version-b .signup-form {
  position: relative;
  z-index: 20;
}

.version-b .social-footer {
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.social-label {
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
}
.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  transition: opacity 0.3s;
}
.social-link:hover {
  opacity: 1;
  color: #fff;
}
.social-link span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ===== NAVIGATION ===== */
.landing-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 60px;
}

.version-a .landing-nav {
  background: transparent;
}

.landing-nav.dark {
  background: transparent;
}

.nav-logo img {
  height: 80px; width: auto;
}

.nav-logo-block {
  display: flex; align-items: center; gap: 14px;
}

.nav-logo-img {
  height: 80px; width: auto;
}

.nav-logo-text {
  display: flex; flex-direction: column;
}

.logo-name {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: #fff;
}

.logo-sub {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
}

.nav-right {
  display: flex; align-items: center; gap: 24px;
}

.nav-status {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dark-green);
}

.landing-nav.dark .nav-status {
  color: rgba(255,255,255,0.8);
}

.nav-cta {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 10px 20px;
  border: 1.5px solid var(--dark-green);
  color: #585F4F;
  background: var(--cream);
  transition: all 0.3s;
}

.nav-cta:hover {
  background: var(--dark-green);
  color: var(--cream);
}

.nav-cta.light {
  border-color: rgba(255,255,255,0.7);
  color: #fff;
  background: transparent;
}

.nav-cta.light:hover {
  background: rgba(255,255,255,0.15);
}

/* ===== HERO — ILLUSTRATED (Version A) ===== */
.hero-illustrated {
  height: 80vh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 120px 60px 0;
  overflow: hidden;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1500px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-text {
  max-width: 560px;
  z-index: 2;
  position: relative;
  padding-left: 100px;
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 4.5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--dark-green);
  margin-bottom: 15px;
}

.hero-headline em {
  font-style: italic;
  font-weight: 400;
}

.hero-divider {
  width: 60px;
  height: 2px;
  background: var(--dark-green);
  opacity: 0.4;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 400;
  color: #3D3C3B;
  letter-spacing: 0.02em;
  margin-bottom: 30px;
}

.hero-line {
  width: 100%;
  max-width: 420px;
  height: 1px;
  background: rgba(44,36,22,0.15);
  margin: 20px 0;
}

.hero-cta-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 24px;
}

.hero-illustration {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 55%;
  max-width: 800px;
  z-index: 1;
}

.hero-illustration img {
  width: 100%;
  height: auto;
  opacity: 0.85;
}

/* Decorative elements */
.deco-cloud {
  position: absolute;
  left: 22%;
  top: 0;
  width: 220px;
  opacity: 1;
  z-index: 9999;
  pointer-events: none;
}

.deco-orchid {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 280px;
  z-index: 100;
  pointer-events: none;
}

.deco-bird {
  position: fixed;
  right: 0;
  bottom: 0;
  width: 240px;
  z-index: 100;
  pointer-events: none;
}

/* ===== SIGNUP FORM ===== */
.signup-form {
  max-width: 460px;
}

.form-row {
  display: flex;
  gap: 0;
}

.signup-input {
  flex: 1;
  padding: 14px 18px;
  font-size: 0.95rem;
  border: 1.5px solid rgba(44,36,22,0.2);
  background: rgba(255,255,255,0.5);
  color: var(--text);
  outline: none;
  transition: border-color 0.3s;
}

.signup-input::placeholder {
  color: rgba(44,36,22,0.4);
}

.signup-input:focus {
  border-color: var(--dark-green);
}

.signup-input.dark {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}

.signup-input.dark::placeholder {
  color: rgba(255,255,255,0.5);
}

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

.signup-btn {
  padding: 14px 28px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1.5px solid var(--dark-green);
  background: var(--dark-green);
  color: var(--cream);
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.signup-btn:hover {
  background: #2d3a2c;
}

.signup-btn.dark {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}

.signup-btn.dark:hover {
  background: rgba(255,255,255,0.22);
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 10px;
  font-style: italic;
}

.form-note.light {
  color: rgba(255,255,255,0.5);
}

.form-success {
  font-size: 0.95rem;
  color: var(--dark-green);
  margin-top: 12px;
  font-weight: 500;
}

.form-success.light {
  color: rgba(255,255,255,0.9);
}

/* ===== HERITAGE SECTION ===== */
.heritage-section {
  text-align: center;
  padding: 80px 60px 100px;
  max-width: 1000px;
  margin: -2% auto 0 auto;
  position: relative;
}

.heritage-headline {
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 400;
  color: var(--dark-green);
  margin-bottom: 20px;
  font-style: italic;
  line-height: 1.2;
}

.heritage-text {
  font-size: 1rem;
  line-height: 1.3;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}

/* ===== HERO — VIDEO (Version B) ===== */
.video-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
}

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

.video-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.3) 0%,
    rgba(0,0,0,0.15) 40%,
    rgba(0,0,0,0.35) 100%
  );
}

.hero-video {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 0 60px 80px;
}

.hero-video-content {
  max-width: 600px;
}

.hero-headline-video {
  font-family: var(--serif);
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 400;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 24px;
}

.hero-headline-video em {
  font-style: italic;
  font-weight: 400;
}

.hero-subtitle-video {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  margin-bottom: 28px;
}

.hero-subtitle-video em {
  font-style: italic;
}

.watch-film {
  margin-top: 32px;
}

.watch-film-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.8);
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: color 0.3s;
  padding: 0;
}

.watch-film-btn:hover {
  color: #fff;
}

/* ===== FOOTER ===== */
.landing-footer {
  background: var(--dark);
  color: var(--cream);
  padding: 60px 60px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.footer-inner {
  max-width: 400px;
  margin: 0 auto;
}

.footer-logo {
  height: 60px;
  margin: 0 auto 12px;
  filter: brightness(0) invert(1);
}

.footer-tagline {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.5);
  margin-bottom: 20px;
}

.footer-follow {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.65);
  margin-bottom: 16px;
}

.footer-divider {
  margin: 0 10px;
  color: rgba(245,240,232,0.3);
}

.footer-links {
  margin-bottom: 20px;
}

.footer-links a {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.6);
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--cream); }

.footer-copy {
  font-size: 0.75rem;
  color: rgba(245,240,232,0.3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .hero-text {
    padding-left: 40px;
  }
}

@media (max-width: 968px) {
  .hero-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-illustration {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-width: 400px;
    display: block;
    margin: 0 auto 20px;
    order: -1;
  }
  .hero-text {
    flex: 1;
    padding-left: 0;
    max-width: 100%;
    order: 1;
  }
  .landing-nav {
    padding: 20px 24px;
  }
  .hero-illustrated {
    padding: 120px 24px 60px;
    height: auto;
    min-height: auto;
  }
  .hero-video {
    padding: 0 24px 60px;
  }
  .heritage-section {
    padding: 60px 24px 80px;
    margin-top: 0;
  }
  .landing-footer {
    padding: 48px 24px;
  }
  /* Botanicals: switch from fixed to absolute within page flow, push below form */
  .deco-orchid {
    position: absolute;
    width: 160px;
    bottom: -40px;
    z-index: 1;
  }
  .deco-bird {
    position: absolute;
    width: 140px;
    bottom: -40px;
    z-index: 1;
  }
}

@media (max-width: 600px) {
  .nav-logo img, .nav-logo-img {
    height: 50px;
  }
  .nav-status {
    display: none;
  }
  .hero-headline, .hero-headline-video {
    font-size: 2.6rem;
  }
  .form-row {
    flex-direction: column;
    gap: 10px;
  }
  .signup-btn {
    width: 100%;
  }
  /* Show botanicals on small screens — sized down, static at bottom */
  .deco-orchid {
    position: fixed;
    width: 120px;
    left: 0;
    bottom: 0;
    z-index: 10;
  }
  .deco-bird {
    position: fixed;
    width: 100px;
    right: 0;
    bottom: 0;
    z-index: 10;
  }
  .deco-cloud { width: 120px; }
  .logo-name { font-size: 0.9rem; }
  .logo-sub { font-size: 0.5rem; }
  /* Tighter hero on mobile */
  .hero-illustrated {
    padding: 100px 20px 40px;
  }
  .hero-video {
    padding: 0 20px 40px;
  }
  .landing-nav {
    padding: 16px 20px;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .heritage-section {
    padding: 50px 20px 60px;
  }
  /* Stronger video overlay on mobile for readability */
  .video-overlay {
    background: linear-gradient(
      to bottom,
      rgba(0,0,0,0.45) 0%,
      rgba(0,0,0,0.25) 40%,
      rgba(0,0,0,0.55) 100%
    ) !important;
  }
  .hero-headline-video {
    font-size: 2.4rem;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
  }
  .hero-subtitle-video {
    text-shadow: 0 1px 8px rgba(0,0,0,0.3);
  }
  /* Version B mobile flower overrides */
  .version-b .deco-orchid {
    display: none;
  }
  .version-b .deco-bird {
    width: 120px;
    right: -20px;
    bottom: -10px;
    z-index: 5;
    opacity: 0.7;
  }
  .version-b .hero-text,
  .version-b .hero-content,
  .version-b .signup-form {
    position: relative;
    z-index: 20;
  }
  /* Swap to mobile-optimized video */
  .mobile-video { display: block; }
  .desktop-video { display: none; }
}
