/* ─────────────────────────────────────────
   Plantory — Premium Design System
   ───────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Manrope:wght@300;400;500;600;700;800&display=swap');

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

:root {
  --primary:        #2D4739;
  --primary-mid:    #3a5a49;
  --primary-light:  #4a7259;
  --secondary:      #8DA68B;
  --secondary-pale: rgba(141,166,139,0.12);
  --tertiary:       #C2A88E;
  --bg:             #F5F7F2;
  --bg-warm:        #F2F0EB;
  --surface:        #FFFFFF;
  --surface-dim:    #EFF2EB;
  --text:           #1A2A22;
  --text-sec:       #556660;
  --text-muted:     #8fa094;
  --border:         #DDE4D7;
  --border-light:   #EAEEE5;
  --shadow-xs:      0 1px 3px rgba(29,58,43,0.06);
  --shadow-sm:      0 2px 8px rgba(29,58,43,0.07);
  --shadow-md:      0 8px 32px rgba(29,58,43,0.10);
  --shadow-lg:      0 16px 56px rgba(29,58,43,0.13);
  --r-sm:           8px;
  --r-md:           12px;
  --r-lg:           16px;
  --r-xl:           24px;
  --r-pill:         999px;
  --font-serif:     'Noto Serif', Georgia, serif;
  --font-sans:      'Manrope', -apple-system, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.3px;
  color: var(--text);
}

h1 { font-size: clamp(36px, 6vw, 62px); letter-spacing: -0.8px; }
h2 { font-size: clamp(28px, 4.5vw, 44px); letter-spacing: -0.5px; }
h3 { font-size: clamp(18px, 2.5vw, 22px); letter-spacing: -0.2px; }

p { color: var(--text-sec); line-height: 1.7; }

/* ── LAYOUT ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 28px; }
.container-sm { max-width: 760px; margin: 0 auto; padding: 0 28px; }

.section    { padding: 104px 0; }
.section-md { padding: 80px 0; }
.section-sm { padding: 56px 0; }

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(245,247,242,0.86);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: var(--shadow-sm);
  object-fit: cover;
}

.nav-logo-text {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 20px;
  color: var(--primary);
  letter-spacing: -0.2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-links a {
  color: var(--text-sec);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: var(--r-sm);
  transition: background 0.15s, color 0.15s;
  letter-spacing: 0.1px;
}

.nav-links a:hover { background: var(--surface-dim); color: var(--primary); }
.nav-links a.active { color: var(--primary); font-weight: 600; }

.nav-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.lang-toggle {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 3px;
}

.lang-btn {
  font-size: 13px;
  font-weight: 600;
  padding: 4px 13px;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  background: transparent;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
}

.lang-btn:hover { color: var(--primary); }
.lang-btn.active { background: var(--primary); color: #F5F7F2; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: var(--r-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s ease;
  white-space: nowrap;
  letter-spacing: 0.1px;
}

.btn-primary {
  background: var(--primary);
  color: #F5F7F2;
  box-shadow: 0 2px 12px rgba(45,71,57,0.22);
}

.btn-primary:hover {
  background: var(--primary-mid);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(45,71,57,0.30);
}

.btn-pill  { border-radius: var(--r-pill); }
.btn-lg    { font-size: 16px; padding: 15px 30px; }
.btn-sm    { font-size: 13.5px; padding: 9px 18px; }
.btn-xs    { font-size: 13px; padding: 7px 14px; }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-xs);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: var(--secondary-pale);
}

.btn-ghost {
  background: transparent;
  color: var(--text-sec);
  border: none;
  box-shadow: none;
}

.btn-ghost:hover { background: var(--surface-dim); color: var(--primary); }

/* ── BADGE / EYEBROW ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--secondary-pale);
  border: 1px solid rgba(141,166,139,0.3);
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  margin-bottom: 22px;
}

/* ── SECTION HEADER ── */
.section-header { text-align: center; margin-bottom: 60px; }

.section-header h2 { margin-bottom: 14px; }

.section-header p {
  font-size: 17px;
  color: var(--text-sec);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── WAITLIST FORM ── */
.waitlist-form {
  display: flex;
  gap: 8px;
}

.waitlist-input {
  flex: 1;
  font-family: var(--font-sans);
  font-size: 15px;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--text);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  min-width: 0;
}

.waitlist-input::placeholder { color: var(--text-muted); }

.waitlist-input:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(141,166,139,0.15);
}

.form-note { font-size: 13px; color: var(--text-muted); margin-top: 12px; }

.form-success {
  display: none;
  background: var(--secondary-pale);
  border: 1px solid rgba(141,166,139,0.3);
  border-radius: var(--r-md);
  padding: 16px 20px;
  color: var(--primary);
  font-weight: 600;
  font-size: 15px;
}

/* ── CARDS ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 32px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

/* ── DIVIDER ── */
hr.divider { border: none; border-top: 1px solid var(--border-light); }

/* ── FOOTER ── */
footer { background: var(--primary); color: rgba(245,247,242,0.9); padding: 64px 0 36px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(245,247,242,0.1);
  margin-bottom: 32px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 14px;
}

.footer-logo img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.footer-logo-text {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: #F5F7F2;
}

.footer-brand p {
  color: rgba(245,247,242,0.55);
  font-size: 14px;
  line-height: 1.65;
  max-width: 280px;
}

.footer-col h4 {
  color: #F5F7F2;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 18px;
  opacity: 0.6;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 11px; }

.footer-col ul a {
  color: rgba(245,247,242,0.6);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s;
}

.footer-col ul a:hover { color: #F5F7F2; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy { color: rgba(245,247,242,0.35); font-size: 13px; }
.footer-copy a { color: rgba(245,247,242,0.35); text-decoration: none; transition: color 0.15s; }
.footer-copy a:hover { color: rgba(245,247,242,0.7); }

.footer-lang { display: flex; gap: 8px; }

.footer-lang a {
  color: rgba(245,247,242,0.45);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-lang a:hover, .footer-lang a.active { color: #F5F7F2; }
.footer-lang span { color: rgba(245,247,242,0.2); }

/* ── HAMBURGER ── */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; background: none; border: none; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--primary); border-radius: 2px; transition: all 0.25s; }

/* ── MOBILE NAV ── */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 300;
  padding: 24px 28px;
  flex-direction: column;
}

.mobile-nav.open { display: flex; }

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.mobile-nav-links { list-style: none; display: flex; flex-direction: column; gap: 2px; flex: 1; }

.mobile-nav-links a {
  display: block;
  font-size: 26px;
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  letter-spacing: -0.3px;
}

.mobile-nav-footer { display: flex; flex-direction: column; gap: 12px; padding-top: 32px; }

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links, .nav-right .btn-lg { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .section { padding: 72px 0; }
  .container { padding: 0 20px; }
  .waitlist-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
}
