/* ─── VARIABLES ────────────────────────────────────────── */
:root {
  --forest: #1a3a2a;
  --forest-mid: #264d38;
  --forest-light: #3a6b50;
  --gold: #c9a84c;
  --gold-light: #e4c97a;
  --gold-pale: #f5e9c8;
  --cream: #faf6ee;
  --dark: #0f1f17;
  --text: #2a3d30;
  --muted: #6b7f72;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 4px 32px rgba(26, 58, 42, 0.10);
  --shadow-lg: 0 12px 60px rgba(26, 58, 42, 0.18);
}

/* ─── RESET & BASE ─────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cabinet Grotesk', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ─── TYPOGRAPHY ───────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
}

.font-serif {
  font-family: 'Cormorant Garamond', serif;
}

/* ─── NAV ─────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  background: rgba(15, 31, 23, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-light);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav-logo span {
  color: var(--white);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--gold-light);
}

.nav-login {
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1.1rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s;
}

.nav-login:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.07);
}

.nav-cta {
  background: var(--gold);
  color: var(--dark);
  padding: 0.55rem 1.4rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

/* ─── HERO ────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--dark);
  position: relative;
  display: flex;
  align-items: center;
  padding: 120px 5% 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 70% 50%, rgba(58, 107, 80, 0.35) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 20% 80%, rgba(201, 168, 76, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 50% 20%, rgba(26, 58, 42, 0.8) 0%, transparent 80%);
}

/* Page-specific hero override */
.hero-page {
  background-size: cover !important;
  background-position: center !important;
  min-height: 80vh !important;
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.35);
  color: var(--gold-light);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s ease both;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.2rem;
  animation: fadeUp 0.7s 0.1s ease both;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 2.5rem;
  max-width: 600px;
  animation: fadeUp 0.7s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.7s 0.3s ease both;
}

/* ─── BUTTONS ─────────────────────────────────────── */
.btn-primary {
  background: var(--gold);
  color: var(--dark);
  padding: 0.9rem 2rem;
  border-radius: 100px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.35);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.45);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  padding: 0.9rem 2rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

/* Store Buttons */
.store-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.store-button {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--white);
  color: var(--dark);
  padding: 0.6rem 1.2rem;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid rgba(0,0,0,0.1);
}

.hero .store-button {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
}

.store-button:hover {
  transform: translateY(-2px);
  background: var(--white);
  color: var(--dark);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.app-badge-icon {
  font-size: 1.8rem;
}

.store-text {
  display: flex;
  flex-direction: column;
}

.store-sub {
  font-size: 0.65rem;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.8;
}

.store-title {
  font-size: 1.1rem;
  font-weight: 800;
}

.coming-soon {
  opacity: 0.6;
  cursor: default;
}

.coming-soon:hover {
  transform: none;
}

/* ─── SECTIONS ────────────────────────────────────── */
section {
  padding: 90px 5%;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest-light);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--forest);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
}

.section-head {
  margin-bottom: 3.5rem;
}

.section-head.center {
  text-align: center;
}

.section-head.center .section-sub {
  margin: 0 auto;
}

/* ─── CONTENT BLOCKS (For Niche Pages) ───────────── */
.content-block {
  max-width: 900px;
  margin: 0 auto;
}

.content-block h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  color: var(--forest);
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.content-block h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  color: var(--forest);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.content-block p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--text);
  line-height: 1.8;
}

.content-block ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.content-block li {
  margin-bottom: 0.5rem;
  color: var(--text);
}

/* ─── GRIDS & CARDS ──────────────────────────────── */
.features-grid, .testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feat-card, .testimonial-card {
  background: var(--white);
  border: 1px solid rgba(26, 58, 42, 0.08);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.feat-card:hover, .testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feat-icon { font-size: 2rem; margin-bottom: 1rem; display: block; }
.feat-title { font-weight: 700; font-size: 1.05rem; color: var(--forest); margin-bottom: 0.4rem; }
.feat-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.55; }

/* ─── COMPARISON TABLES ──────────────────────────── */
.comparison-table-container {
  width: 100%;
  overflow-x: auto;
  margin: 4rem 0;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.comparison-table th, .comparison-table td {
  padding: 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--cream);
}

.comparison-table th {
  background: var(--forest);
  color: var(--white);
  font-family: 'Cabinet Grotesk', sans-serif;
}

.comparison-table tr:last-child td { border-bottom: none; }

.check { color: #2ecc71; font-weight: bold; }
.cross { color: #e74c3c; font-weight: bold; }

/* Pro/Con Grid */
.pro-con-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 3rem 0;
}

.pro-con-card {
  padding: 2rem;
  border-radius: 16px;
  background: var(--cream);
}

.pro-con-card h3 {
  margin-bottom: 1rem;
  color: var(--forest);
}

@media (max-width: 768px) {
  .pro-con-grid { grid-template-columns: 1fr; }
}

/* ─── FAQ ─────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(26, 58, 42, 0.1);
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.3rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--forest);
}

.faq-chevron {
  transition: transform 0.25s;
  color: var(--forest-light);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s;
  padding: 0 1.3rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 1.2rem;
}

/* ─── WAITLIST FORM ─────────────────────────────────── */
.waitlist-form-card {
  background: var(--white);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 0 auto;
}

.form-badge {
  display: inline-block;
  background: rgba(201, 168, 76, 0.12);
  color: #8b6914;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  margin-bottom: 0.8rem;
}

.form-title { font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; font-weight: 700; color: var(--forest); }
.form-sub { font-size: 0.88rem; color: var(--muted); margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(26, 58, 42, 0.08); }
.form-group { margin-bottom: 1rem; }
.form-label { display: block; font-size: 0.78rem; font-weight: 700; color: var(--forest); margin-bottom: 0.4rem; }
.form-input {
  width: 100%;
  padding: 0.72rem 0.9rem;
  border: 1.5px solid rgba(26, 58, 42, 0.15);
  border-radius: 10px;
  font-size: 0.9rem;
  background: var(--cream);
  outline: none;
}

.form-submit {
  width: 100%;
  padding: 0.95rem;
  background: var(--forest);
  color: var(--white);
  border: none;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
}

.form-submit:hover { background: var(--forest-mid); transform: translateY(-1px); }

/* ─── FOOTER ─────────────────────────────────────── */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 80px 5% 40px;
  position: relative;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 60px;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-light);
  text-decoration: none;
  display: block;
  margin-bottom: 1.5rem;
}

.footer-logo span {
  color: var(--white);
}

.footer-description {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  max-width: 320px;
}

.footer-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  margin-bottom: 1.8rem;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-list a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
}

.footer-list a:hover {
  color: var(--gold-light);
  transform: translateX(4px);
}

.footer-social {
  display: flex;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.social-link {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.3rem;
  transition: color 0.2s;
  text-decoration: none;
}

.social-link:hover {
  color: var(--gold-light);
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-legal {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-legal a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--gold-light);
}

@media (max-width: 1000px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .footer-description {
    margin: 0 auto;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* ─── ANIMATIONS ─────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal { opacity: 0; transform: translateY(28px); transition: all 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 900px) {
  .hero-visual { display: none; }
  .waitlist-inner { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
}
