/* ===== Vesta — Brand Styles ===== */

:root {
  --cream-50: #FBF8F3;
  --cream-100: #F6F0E6;
  --cream-200: #EFE5D2;
  --sage-300: #A8B894;
  --sage-500: #6E8159;
  --sage-700: #3F4D32;
  --rose-200: #EBC4B2;
  --rose-400: #C97F65;
  --gold-400: #D4B17D;
  --gold-500: #BE9560;
  --ink-900: #2A2520;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: #FBF8F3;
  color: #2A2520;
}

::selection { background: #D4B17D; color: #2A2520; }

/* ===== Typography ===== */
.font-display { font-family: 'Cormorant Garamond', serif; }
.font-serif { font-family: 'Playfair Display', serif; }
.italic-quote { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 500; }

/* ===== Decorative dividers ===== */
.ornament {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #BE9560;
  letter-spacing: 0.35em;
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 500;
}
.ornament::before, .ornament::after {
  content: '';
  width: 40px;
  height: 1px;
  background: #BE9560;
  opacity: 0.5;
}

/* ===== Glass header ===== */
.glass-nav {
  background: rgba(251, 248, 243, 0.75);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(190, 149, 96, 0.15);
}
.glass-nav.scrolled {
  background: rgba(251, 248, 243, 0.92);
  box-shadow: 0 2px 20px rgba(42, 37, 32, 0.06);
}

/* ===== Hero background & overlay ===== */
.hero-fullscreen {
  background-color: #2A2520;
}
.hero-overlay {
  background: linear-gradient(135deg, rgba(42, 37, 32, 0.8) 0%, rgba(86, 103, 68, 0.45) 50%, rgba(190, 149, 96, 0.3) 100%);
}

.hero-image {
  background-image:
    linear-gradient(135deg, rgba(86, 103, 68, 0.35) 0%, rgba(201, 127, 101, 0.25) 50%, rgba(212, 177, 125, 0.35) 100%),
    url('https://images.unsplash.com/photo-1519225421980-715cb0215aed?auto=format&fit=crop&w=1400&q=80');
  background-size: cover;
  background-position: center;
}

/* Decorative floating petals/leaves */
.petal {
  position: absolute;
  pointer-events: none;
  opacity: 0.6;
  animation: floatPetal 14s ease-in-out infinite;
}
.petal:nth-child(2) { animation-delay: -3s; animation-duration: 18s; }
.petal:nth-child(3) { animation-delay: -6s; animation-duration: 16s; }
.petal:nth-child(4) { animation-delay: -9s; animation-duration: 20s; }

@keyframes floatPetal {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(15px, -20px) rotate(8deg); }
  50% { transform: translate(-10px, -10px) rotate(-5deg); }
  75% { transform: translate(8px, 15px) rotate(4deg); }
}

/* ===== Buttons ===== */
.btn-primary {
  background: linear-gradient(135deg, #3F4D32 0%, #566744 100%);
  color: #FBF8F3;
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.35s ease;
  box-shadow: 0 4px 14px rgba(63, 77, 50, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(63, 77, 50, 0.35);
  background: linear-gradient(135deg, #566744 0%, #6E8159 100%);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: transparent;
  color: #3F4D32;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
  border: 1.5px solid #A8B894;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-secondary:hover {
  background: #3F4D32;
  color: #FBF8F3;
  border-color: #3F4D32;
}

.btn-gold {
  background: linear-gradient(135deg, #BE9560 0%, #D4B17D 100%);
  color: #2A2520;
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  transition: all 0.35s ease;
  box-shadow: 0 4px 14px rgba(190, 149, 96, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(190, 149, 96, 0.45);
}

/* ===== Forms ===== */
.field-input {
  width: 100%;
  background: rgba(251, 248, 243, 0.6);
  border: 1px solid rgba(168, 184, 148, 0.4);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: #2A2520;
  transition: all 0.25s ease;
}
.field-input:focus {
  outline: none;
  border-color: #6E8159;
  background: #FBF8F3;
  box-shadow: 0 0 0 4px rgba(110, 129, 89, 0.12);
}
.field-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #76695A;
  font-weight: 600;
  margin-bottom: 0.45rem;
  display: block;
}

/* Custom range slider */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: linear-gradient(to right, #6E8159 0%, #6E8159 var(--val, 40%), #E3E8DC var(--val, 40%), #E3E8DC 100%);
  border-radius: 999px;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D4B17D, #BE9560);
  border: 3px solid #FBF8F3;
  box-shadow: 0 2px 8px rgba(190, 149, 96, 0.4);
  cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D4B17D, #BE9560);
  border: 3px solid #FBF8F3;
  box-shadow: 0 2px 8px rgba(190, 149, 96, 0.4);
  cursor: pointer;
}

/* ===== Cards ===== */
.value-card {
  background: rgba(251, 248, 243, 0.7);
  border: 1px solid rgba(190, 149, 96, 0.15);
  border-radius: 24px;
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.value-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(168, 184, 148, 0.08), rgba(235, 196, 178, 0.08));
  opacity: 0;
  transition: opacity 0.4s ease;
}
.value-card:hover {
  transform: translateY(-6px);
  border-color: rgba(190, 149, 96, 0.4);
  box-shadow: 0 20px 50px rgba(42, 37, 32, 0.08);
}
.value-card:hover::before { opacity: 1; }

.testimonial-card {
  background: #FBF8F3;
  border: 1px solid rgba(190, 149, 96, 0.18);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.4s ease;
  position: relative;
}
.testimonial-card:hover {
  border-color: #D4B17D;
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(42, 37, 32, 0.08);
}

.category-card {
  background: #FBF8F3;
  border: 1px solid rgba(190, 149, 96, 0.15);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
}
.category-card:hover {
  transform: translateY(-6px);
  border-color: #BE9560;
  background: linear-gradient(180deg, #FBF8F3 0%, #F6F0E6 100%);
  box-shadow: 0 16px 40px rgba(42, 37, 32, 0.1);
}
.category-card .icon-circle {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, #F2F4EF, #E3E8DC);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3F4D32;
  font-size: 1.5rem;
  transition: all 0.35s ease;
}
.category-card:hover .icon-circle {
  background: linear-gradient(135deg, #D4B17D, #BE9560);
  color: #FBF8F3;
  transform: scale(1.08);
}

/* ===== Steps ===== */
.step-number {
  font-family: 'Playfair Display', serif;
  font-size: 4.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #D4B17D 0%, #BE9560 50%, #9E7843 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.step-line {
  position: absolute;
  top: 50px;
  left: 60%;
  right: -40%;
  height: 1px;
  background-image: linear-gradient(to right, #BE9560 50%, transparent 50%);
  background-size: 12px 1px;
  background-repeat: repeat-x;
}

/* ===== AI advisor card ===== */
.ai-card {
  background: linear-gradient(135deg, #3F4D32 0%, #566744 60%, #6E8159 100%);
  border-radius: 32px;
  padding: 4rem;
  color: #FBF8F3;
  position: relative;
  overflow: hidden;
}
.ai-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 177, 125, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.ai-chat-bubble {
  background: rgba(251, 248, 243, 0.1);
  border: 1px solid rgba(212, 177, 125, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: 1.1rem 1.4rem;
  margin-bottom: 0.75rem;
  max-width: 85%;
}
.ai-chat-bubble.user {
  background: rgba(212, 177, 125, 0.2);
  margin-left: auto;
  border-color: rgba(212, 177, 125, 0.5);
}

/* ===== Final CTA ===== */
.final-cta {
  background:
    radial-gradient(ellipse at top, rgba(235, 196, 178, 0.5) 0%, transparent 60%),
    radial-gradient(ellipse at bottom, rgba(212, 177, 125, 0.3) 0%, transparent 60%),
    linear-gradient(180deg, #F6F0E6 0%, #FBF8F3 100%);
}

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Soft pulse for highlights */
@keyframes softPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}
.soft-pulse { animation: softPulse 3.5s ease-in-out infinite; }

/* Marquee for trust bar */
.marquee {
  display: flex;
  gap: 4rem;
  animation: marquee 35s linear infinite;
  white-space: nowrap;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Mobile menu */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.mobile-menu.open { transform: translateX(0); }

/* Hero accent text */
.hero-accent {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.hero-accent::after {
  content: '';
  position: absolute;
  bottom: 0.08em;
  left: -2%;
  right: -2%;
  height: 0.35em;
  background: linear-gradient(90deg, rgba(235, 196, 178, 0.7), rgba(212, 177, 125, 0.7));
  z-index: -1;
  border-radius: 99px;
}

/* Photo frames */
.photo-frame {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(42, 37, 32, 0.12);
  transition: transform 0.5s ease;
}
.photo-frame:hover { transform: scale(1.02); }

/* Footer */
.footer-bg {
  background: linear-gradient(180deg, #2A2520 0%, #1F1B17 100%);
  color: #E5D5B8;
}

/* Mobile typography */
@media (max-width: 640px) {
  .ai-card { padding: 2rem 1.5rem; }
  .step-number { font-size: 3.5rem; }
}

/* Hide scrollbar but keep functionality */
.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }
