@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  /* Premium Dark/Earthy Palette */
  --color-bg: #121212;
  --color-bg-light: #1e1e1e;
  --color-text: #f4f2ee;
  --color-text-muted: #a0a09a;
  --color-accent: #c4b684; /* Muted Brass / Yellow-Earthy Green */
  
  --font-body: 'Outfit', sans-serif;
  --font-accent: 'Playfair Display', serif;
  
  --spacing-xs: 1rem;
  --spacing-sm: 2rem;
  --spacing-md: 4rem;
  --spacing-lg: 8rem;
  --spacing-xl: 12rem;
  
  --transition: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-body);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.font-serif {
  font-family: var(--font-accent);
  text-transform: none;
  font-weight: 400;
  font-style: italic;
  letter-spacing: normal;
}

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

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

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.section-padding {
  padding: var(--spacing-lg) 0;
}

/* ==========================================
   ANIMATIONS (Scroll Reveal)
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
}

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

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 3rem;
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--color-text);
  color: var(--color-bg);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--color-text);
  border-color: var(--color-text);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-text);
  border-color: var(--color-text);
}

.btn-secondary:hover {
  background-color: var(--color-text);
  color: var(--color-bg);
}

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: var(--spacing-sm) 0;
  background: transparent;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-mobile {
  display: none;
}

.logo-desktop {
  display: block;
  height: 24px;
}

.nav-links {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-text);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

@media (min-width: 768px) {
  .navbar {
    background: transparent;
  }

  .privacy-page-body .navbar {
    background: transparent;
    border-bottom: none;
  }
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text);
  transition: all var(--transition);
}

/* Active Hamburger turns into X */
.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

@media (max-width: 768px) {
  .logo-desktop {
    display: none;
  }
  
  .logo-mobile {
    display: block;
    height: 24px;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(18, 18, 18, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-sm);
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 999;
  }
  
  .nav-links.active {
    transform: translateY(0);
  }
  
  .nav-link {
    font-size: 1.5rem;
  }
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%; /* Extra height for parallax */
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(18,18,18,0.3) 0%, rgba(18,18,18,0.8) 100%);
  z-index: -1;
}

.hero-content {
  text-align: center;
  z-index: 1;
  padding: 0 var(--spacing-sm);
  margin-top: -6vh;
}

.hero-title {
  font-size: clamp(4rem, 12vw, 10rem);
  line-height: 0.85;
  margin-bottom: 3.5rem;
  text-transform: none;
}

.hero-eyebrow {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--spacing-xs);
}

.hero-pills {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: var(--spacing-md);
}

.hero-pill {
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  background-color: rgba(244, 242, 238, 0.08);
  color: var(--color-text);
  border: 1px solid rgba(244, 242, 238, 0.15);
  white-space: nowrap;
}

/* ==========================================
   STATS BAR
   ========================================== */
.stats-bar {
  background-color: var(--color-bg-light);
  border-top: 1px solid rgba(244, 242, 238, 0.08);
  border-bottom: 1px solid rgba(244, 242, 238, 0.08);
  padding: var(--spacing-sm) 0;
  text-align: center;
}

.stats-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xs);
}

@media (min-width: 768px) {
  .stats-container {
    flex-direction: row;
    justify-content: center;
    gap: var(--spacing-md);
  }
}

.stats-number {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--color-text);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  min-width: 6ch;
  text-align: right;
  flex-shrink: 0;
}

.stats-label {
  font-size: 1.1rem;
  color: var(--color-text);
  font-weight: 300;
  max-width: 600px;
  text-align: center;
}

@media (min-width: 768px) {
  .stats-label {
    text-align: left;
  }
}

/* ==========================================
   ZIG-ZAG FEATURE BLOCKS
   ========================================== */
.feature-block {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
  align-items: center;
}

.feature-image {
  width: 100%;
  overflow: hidden;
  border-radius: 4px;
}

.feature-image img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  object-position: center;
  transition: transform 1.5s ease;
}

.feature-image:hover img {
  transform: scale(1.05);
}

.feature-content {
  width: 100%;
}

.feature-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: var(--spacing-sm);
}

.feature-desc {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  font-weight: 300;
  max-width: 500px;
}

.feature-desc--lead {
  font-size: 1.45rem;
  color: rgba(244, 242, 238, 0.9);
  font-weight: 400;
  line-height: 1.5;
}

@media (min-width: 992px) {
  .feature-block {
    flex-direction: row;
    gap: var(--spacing-lg);
  }
  
  .feature-block.reverse {
    flex-direction: row-reverse;
  }
  
  .feature-image, .feature-content {
    width: 50%;
  }
}

/* ==========================================
   HOW IT WORKS (Minimal Inline)
   ========================================== */
.how-it-works {
  background-color: var(--color-bg-light);
  text-align: center;
}

.section-header {
  margin-bottom: var(--spacing-lg);
}

.section-title {
  font-size: clamp(3rem, 8vw, 5rem);
}

.section-eyebrow {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--spacing-xs);
}

.how-it-works .section-title {
  text-transform: none;
}

.how-it-works .section-header {
  margin-bottom: var(--spacing-md);
}

.steps-inline {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.step-item {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
}

.step-image {
  width: 130px;
  height: 130px;
  margin: 0 auto var(--spacing-sm);
  border-radius: 50%;
  overflow: hidden;
  background-color: rgba(196, 182, 132, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.step-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.step-title {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-xs);
}

.step-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: 300;
}

/* ==========================================
   FLAVOURS (Scrollable Track)
   ========================================== */
.flavours-track-container {
  width: 100%;
  overflow: hidden;
}

.flavours-track {
  display: flex;
  gap: var(--spacing-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: var(--spacing-sm);
  scrollbar-width: none;
  justify-content: center;
}

@media (max-width: 1200px) {
  .flavours-track {
    justify-content: flex-start;
  }
}

.flavours-track::-webkit-scrollbar {
  display: none;
}

.flavour-item {
  flex: 0 0 auto;
  width: 350px;
  scroll-snap-align: center;
  text-align: center;
  padding: var(--spacing-md);
  background-color: var(--color-bg-light);
  border-radius: 4px;
}

.flavour-img {
  height: 250px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-sm);
}

.flavour-img img {
  height: 180px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5));
  transition: transform 0.5s ease;
}

.flavour-item:hover .flavour-img img {
  transform: scale(1.15);
}

.flavour-name {
  font-size: 2rem;
  margin-bottom: var(--spacing-xs);
}

.flavour-type {
  font-family: var(--font-accent);
  color: var(--color-accent);
  font-style: normal;
}

/* ==========================================
   DEVICES (Two Column)
   ========================================== */
.devices-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
}

@media (min-width: 768px) {
  .devices-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.device-card {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.device-img-container {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  height: 55vh;
  min-height: 400px;
  width: 100%;
}

.device-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.device-card:hover .device-bg {
  transform: scale(1.05);
}

.device-content {
  z-index: 1;
  text-align: left;
}

.device-title {
  font-size: 2.2rem;
  margin-bottom: 4px;
}

.device-materials {
  font-family: var(--font-accent);
  color: var(--color-accent);
  font-size: 1.1rem;
}

/* ==========================================
   FAQ
   ========================================== */
.faq-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.faq-grid {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid rgba(244, 242, 238, 0.1);
}

.faq-item:first-child {
  border-top: 1px solid rgba(244, 242, 238, 0.1);
}

.faq-question {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  gap: 1rem;
  transition: color 0.3s ease;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  flex-shrink: 0;
  color: var(--color-accent);
  transition: transform 0.35s ease;
  line-height: 1;
}

.faq-item[open] .faq-question {
  color: var(--color-text);
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  font-size: 1rem;
  color: var(--color-text-muted);
  font-weight: 300;
  line-height: 1.8;
  padding-bottom: 1.5rem;
  max-width: 720px;
  overflow: hidden;
  animation: faq-open 0.35s ease;
}

@keyframes faq-open {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================
   WAITLIST
   ========================================== */
.waitlist {
  position: relative;
  text-align: center;
  padding: var(--spacing-xl) 0;
  overflow: hidden;
}

.waitlist-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0.5;
}

.waitlist-container {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.waitlist-desc {
  font-size: 1rem;
  color: rgba(244, 242, 238, 0.6);
  font-weight: 300;
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.waitlist-field {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.waitlist-input {
  width: 100%;
  padding: 1.5rem 0 1.35rem;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--color-text);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1.4rem;
  margin-bottom: 0.2rem;
  text-align: center;
}

.waitlist-input:focus {
  outline: none;
  border-color: var(--color-accent);
}

.waitlist-input:invalid {
  border-color: rgba(244, 242, 238, 0.5);
}

.waitlist-hint {
  min-height: 1.1rem;
  font-size: 0.8rem;
  line-height: 1.4;
  color: rgba(244, 242, 238, 0.72);
  letter-spacing: 0.04em;
  text-align: center;
}

.waitlist-hint.is-error {
  color: var(--color-accent);
}

/* ==========================================
   WAITLIST FORM CONTROLS
   ========================================== */
.waitlist-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.waitlist-form .btn {
  margin: 0 auto;
}

.waitlist-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  max-width: 560px;
  margin: 0 auto;
  padding: 1.2rem 1.5rem;
  border: 1px solid rgba(244, 242, 238, 0.18);
  border-radius: 0.9rem;
  background: rgba(18, 18, 18, 0.58);
  backdrop-filter: blur(10px);
  color: rgba(244, 242, 238, 0.82);
  font-size: 0.9rem;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.waitlist-consent:hover {
  border-color: rgba(244, 242, 238, 0.9);
  background: rgba(244, 242, 238, 0.12);
  transform: translateY(-1px);
}

.waitlist-consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
  border: 1px solid rgba(244, 242, 238, 0.45);
  border-radius: 0.25rem;
  background-color: rgba(244, 242, 238, 0.04);
  cursor: pointer;
  position: relative;
  transition: all var(--transition);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.waitlist-consent input[type="checkbox"]:hover {
  border-color: rgba(244, 242, 238, 0.9);
  box-shadow: 0 0 0 3px rgba(244, 242, 238, 0.08);
}

.waitlist-consent input[type="checkbox"]:checked {
  background-color: var(--color-text);
  border-color: var(--color-text);
  box-shadow: inset 0 0 0 2px rgba(18, 18, 18, 0.95), 0 0 0 3px rgba(244, 242, 238, 0.08);
}

.waitlist-consent input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-bg);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

.waitlist-consent span {
  display: block;
}

/* ==========================================
   PRIVACY PAGE
   ========================================== */
.privacy-page-body .navbar {
  position: sticky;
  top: 0;
  background: rgba(18, 18, 18, 0.96);
  border-bottom: 1px solid rgba(244, 242, 238, 0.08);
}

.privacy-page-section {
  padding-top: calc(var(--spacing-lg) + 1rem);
  padding-bottom: 2rem;
}

.privacy-page-container {
  max-width: 860px;
}

.privacy-page-content {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.privacy-section-alt {
  padding-top: 0;
  padding-bottom: var(--spacing-lg);
}

.privacy-page-title {
  margin-bottom: 0.5rem;
  text-transform: none;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.privacy-subtitle {
  font-size: 1.1rem;
  margin-top: 1.2rem;
  margin-bottom: 0.2rem;
  text-transform: none;
  letter-spacing: -0.01em;
}

.privacy-text {
  max-width: 68ch;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  font-weight: 300;
}

.privacy-list {
  display: grid;
  gap: 0.55rem;
  padding-left: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  font-weight: 300;
  max-width: 68ch;
}

.privacy-list li::marker {
  color: var(--color-accent);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  text-align: center;
  padding: var(--spacing-md) 0;
  border-top: 1px solid rgba(244, 242, 238, 0.1);
}

.footer-logo img {
  height: 24px;
  filter: invert(1);
  margin: 0 auto var(--spacing-sm);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: center;
  color: var(--color-text-muted);
}

.footer-copyright {
  color: inherit;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-link {
  font-size: 0.74rem;
  color: rgba(244, 242, 238, 0.7);
  text-transform: none;
  letter-spacing: 0.02em;
  transition: color var(--transition);
}

.footer-link:hover {
  color: var(--color-text);
}
