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

:root {
  /* Brand Colors - Derived from Pink and Tan Artisan */
  --color-tan: #f6efe9;
  --color-tan-light: #fdfaf8;
  --color-tan-dark: #e3d2c3;
  
  --color-pink: #d19f9c;
  --color-pink-soft: #ebd6d5;
  --color-pink-deep: #a5615d;
  
  --color-mineral: #3a3335;
  --color-mineral-light: #5f5457;

  /* Glass / UI */
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 255, 255, 0.8);
  --glass-shadow: 0 8px 32px 0 rgba(165, 97, 93, 0.1);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--color-tan) 0%, var(--color-pink-soft) 100%);
  --gradient-text: linear-gradient(90deg, var(--color-mineral) 0%, var(--color-pink-deep) 50%, var(--color-mineral) 100%);
}

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

body {
  font-family: 'Outfit', sans-serif;
  color: var(--color-mineral);
  background-color: var(--color-tan-light);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Base Grain/Texture Overlay for Artisan Feel */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
}

/* Animated Ambient Glows */
body::after {
  content: '';
  position: fixed;
  top: -10vw; right: -10vw;
  width: 50vw; height: 50vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(209, 159, 156, 0.15) 0%, transparent 70%);
  animation: float 15s ease-in-out infinite alternate;
  z-index: -1;
}

.ambient-glow-2 {
  position: fixed;
  bottom: -20vw; left: -10vw;
  width: 60vw; height: 60vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 210, 195, 0.4) 0%, transparent 60%);
  animation: float 20s ease-in-out infinite alternate-reverse;
  z-index: -1;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 30px) scale(1.05); }
  100% { transform: translate(20px, -20px) scale(0.95); }
}

/* Typography Utilities */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

.heading-display {
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  background: var(--gradient-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  animation: textShine 6s linear infinite;
}

@keyframes textShine {
  to { background-position: 200% center; }
}

.heading-section {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.text-lead {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: var(--color-mineral-light);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Glassmorphism Classes */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: var(--glass-shadow);
  padding: 2.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-panel:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px 0 rgba(165, 97, 93, 0.15);
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  position: relative;
  z-index: 100;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-mineral);
  text-decoration: none;
}

/* Logo Adjustment */
.brand img {
  height: 40px;
  width: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-decoration: none;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--color-mineral);
  color: white;
  box-shadow: 0 4px 14px rgba(58, 51, 53, 0.2);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: skewX(-20deg);
  transition: 0.5s;
}

.btn-primary:hover {
  background-color: var(--color-pink-deep);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(165, 97, 93, 0.3);
}

.btn-primary:hover::after {
  left: 150%;
}

/* Hero Section */
.hero {
  padding: 6rem 0 4rem;
  text-align: center;
  position: relative;
  z-index: 10;
}

.hero .badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: white;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-pink-deep);
  margin-bottom: 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  border: 1px solid var(--color-pink-soft);
}

.hero-visual {
  margin-top: 4rem;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(165, 97, 93, 0.15);
  position: relative;
}

.hero-visual img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

/* Waitlist Form */
.waitlist-form {
  display: flex;
  max-width: 480px;
  margin: 2.5rem auto 0;
  background: white;
  padding: 0.5rem;
  border-radius: 100px;
  box-shadow: 0 8px 24px rgba(165, 97, 93, 0.08);
  border: 1px solid var(--color-tan-dark);
}

.waitlist-form input {
  flex-grow: 1;
  border: none;
  background: transparent;
  padding: 0 1.5rem;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  color: var(--color-mineral);
}

.waitlist-form input::placeholder {
  color: #a09797;
}

.waitlist-form button {
  flex-shrink: 0;
}

/* Sections Global */
section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

/* Features/Problem-Solution Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.feature-card h3 {
  margin: 1rem 0;
  color: var(--color-pink-deep);
  font-size: 1.5rem;
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--gradient-primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-mineral);
}

/* Custom Icons */
.lucide {
  width: 28px;
  height: 28px;
}

/* Guardrail Section Layering */
.guardrail-section {
  position: relative;
}

.guardrail-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--color-tan);
  z-index: -1;
  transform: skewY(-3deg);
}

/* Timeline / Roadmap */
.roadmap-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.roadmap-timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 24px;
  width: 2px;
  background: var(--color-pink-soft);
}

.timeline-item {
  position: relative;
  padding-left: 4rem;
  margin-bottom: 3rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 6px; left: 16px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: white;
  border: 4px solid var(--color-pink-deep);
  box-shadow: 0 0 0 4px var(--color-tan-light);
}

/* Footer CTA */
.cta-section {
  text-align: center;
  background: var(--gradient-primary);
  border-radius: 32px;
  padding: 5rem 2rem;
  margin: 4rem 1.5rem;
}

.cta-section h2 {
  color: var(--color-mineral);
}

.footer {
  text-align: center;
  padding: 3rem 0;
  color: var(--color-mineral-light);
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate {
  animation: fadeIn 0.8s ease forwards;
  opacity: 0;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero {
    padding: 3rem 0 2rem;
  }
  
  .hero-visual img {
    height: 250px;
  }
  
  .waitlist-form {
    flex-direction: column;
    background: transparent;
    box-shadow: none;
    border: none;
    gap: 12px;
  }
  
  .waitlist-form input {
    background: rgba(255, 255, 255, 0.9);
    padding: 1.25rem 1.5rem;
    border-radius: 100px;
    margin-bottom: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    width: 100%;
  }

  .waitlist-form button {
    width: 100%;
    padding: 1.25rem 1.5rem;
  }

  .glass-panel {
    padding: 1.5rem;
    border-radius: 20px;
  }
  
  .roadmap-timeline::before {
    left: 16px;
  }
  
  .timeline-item {
    padding-left: 3rem;
  }
  
  .timeline-item::before {
    left: 8px;
  }

  .cta-section {
    padding: 3rem 1.5rem;
    margin: 2rem 0;
    border-radius: 24px;
  }
}
