/* -------------------------------------------------------------
   Bellatek Landing Page Stylesheet - Premium Luxury Facelift
   Vanilla CSS - Dusty Pink, Warm Brown, Champagne Gold, Fine Typography
   ------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Jost:wght@200;300;400;500&display=swap');

/* Reset and Core Variables */
:root {
  --background: hsl(30, 20%, 97%); /* Warm alabaster cream */
  --foreground: hsl(20, 25%, 15%); /* Elegant rich coffee brown */
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(20, 25%, 15%);
  --primary: hsl(38, 40%, 48%); /* Champagne gold */
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(350, 25%, 90%); /* Soft dusty pink */
  --secondary-foreground: hsl(350, 25%, 35%); /* Deep rose brown */
  --muted: hsl(30, 15%, 94%); /* Light sand cream */
  --muted-foreground: hsl(20, 15%, 45%); /* Soft warm brown */
  --accent: hsl(350, 35%, 85%); /* Elegant dusty rose accent */
  --accent-foreground: hsl(350, 30%, 25%);
  --border: hsl(20, 15%, 90%); /* Very fine warm cream border */
  --radius: 1.25rem;
  
  --font-display: "Cormorant Garamond", serif;
  --font-body: "Jost", sans-serif;
  
  --whatsapp: hsl(142, 45%, 40%); /* Muted luxury WhatsApp green */
  --gold-gradient: linear-gradient(135deg, #af8f4d 0%, #d8c290 50%, #907133 100%);
  --marble-bg-radial: radial-gradient(ellipse at 20% 50%, hsla(350, 25%, 90%, 0.5) 0%, transparent 60%),
                       radial-gradient(ellipse at 80% 20%, hsla(38, 40%, 90%, 0.4) 0%, transparent 50%),
                       radial-gradient(ellipse at 50% 80%, hsla(350, 20%, 93%, 0.4) 0%, transparent 60%);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  font-weight: 200; /* Fine typography */
  letter-spacing: 0.04em; /* Expanded clean spacing */
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--foreground);
}

h1 em, h2 em, h3 em {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
}

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

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

/* Premium Styles & Utilities */
.marble-bg {
  background-image: var(--marble-bg-radial);
  background-color: var(--background);
}

.marble-card {
  background-image: radial-gradient(ellipse at 0% 0%, hsla(350, 25%, 96%, 0.9) 0%, transparent 50%),
                    radial-gradient(ellipse at 100% 100%, hsla(38, 30%, 94%, 0.6) 0%, transparent 50%);
  background-color: var(--card);
  border: 1px solid hsla(350, 25%, 82%, 0.25);
  box-shadow: 0 8px 30px -4px rgba(47, 35, 30, 0.03);
  border-radius: var(--radius);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.marble-card:hover {
  border-color: hsla(38, 40%, 48%, 0.4);
  box-shadow: 0 20px 40px -8px rgba(47, 35, 30, 0.08);
  transform: translateY(-3px);
}

.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 400;
}

/* Typography Helpers */
.title-hero {
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.title-section {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.text-muted {
  color: var(--muted-foreground);
  font-weight: 300;
}

.text-center {
  text-align: center;
}

/* Navigation Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  background-color: transparent;
}

header.scrolled {
  background-color: rgba(250, 248, 246, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 15px rgba(47, 35, 30, 0.03);
  border-bottom: 1px solid rgba(235, 207, 209, 0.25);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.4rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(47, 35, 30, 0.08);
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  font-family: var(--font-display);
}

nav.desktop-nav {
  display: none;
}

nav.desktop-nav a {
  margin: 0 1.3rem;
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--muted-foreground);
  transition: color 0.3s;
}

nav.desktop-nav a:hover {
  color: var(--foreground);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--gold-gradient);
  color: white;
  box-shadow: 0 4px 20px rgba(175, 143, 77, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 8px 25px rgba(175, 143, 77, 0.4);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--primary);
  color: var(--foreground);
  background: transparent;
}

.btn-outline:hover {
  background: var(--gold-gradient);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #34a853, #1e7e34);
  color: white;
  box-shadow: 0 4px 15px rgba(52, 168, 83, 0.2);
  gap: 0.5rem;
  border: none;
}

.btn-whatsapp:hover {
  box-shadow: 0 8px 25px rgba(52, 168, 83, 0.35);
  transform: translateY(-2px);
}

/* Mobile Nav Toggle */
.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--foreground);
}

.menu-toggle svg {
  width: 1.6rem;
  height: 1.6rem;
}

.mobile-nav {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background-color: rgba(250, 248, 246, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(235, 207, 209, 0.25);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  z-index: 99;
  transform: translateY(-150%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav.active {
  transform: translateY(0);
}

.mobile-nav a {
  padding: 0.6rem 0;
  font-size: 1rem;
  font-weight: 300;
  border-bottom: 1px solid rgba(235, 207, 209, 0.15);
}

/* Hero Section */
.hero {
  padding: 10rem 1.5rem 6rem 1.5rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-content {
  max-width: 950px;
  margin: 0 auto;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.4rem;
  border-radius: 9999px;
  border: 1px solid hsla(38, 40%, 48%, 0.3);
  background-color: rgba(250, 246, 240, 0.9);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 2.2rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--muted-foreground);
  max-width: 650px;
  margin: 0 auto 3rem auto;
  line-height: 1.8;
  font-weight: 300;
}

.hero-image-container {
  margin-top: 3.5rem;
  position: relative;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 30px 60px -15px rgba(47, 35, 30, 0.12);
  border: 1px solid rgba(235, 207, 209, 0.35);
}

.hero-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-container:hover .hero-img {
  transform: scale(1.03);
}

.hero-image-badge {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  background-color: rgba(250, 248, 246, 0.9);
  backdrop-filter: blur(8px);
  padding: 0.6rem 1.4rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 400;
  font-size: 0.85rem;
  box-shadow: 0 4px 15px rgba(47, 35, 30, 0.05);
  border: 1px solid rgba(235, 207, 209, 0.2);
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.hero-bullets {
  margin-top: 4.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  font-size: 0.85rem;
  color: var(--muted-foreground);
  font-weight: 300;
}

.hero-bullet-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hero-bullet-item svg {
  color: var(--primary);
  width: 1.1rem;
  height: 1.1rem;
}

/* General Layouts */
section {
  padding: 8rem 1.5rem;
  position: relative;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 5rem auto;
}

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 400;
  margin-bottom: 0.75rem;
  display: block;
}

/* Grid Layouts */
.grid-3, .grid-2-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* Problem Cards */
.problem-card {
  padding: 3rem 2.5rem;
  text-align: left;
}

.icon-wrapper {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, hsla(350, 25%, 90%, 0.6), hsla(30, 15%, 94%, 0.6));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.8rem;
}

.problem-card .icon-wrapper svg {
  color: var(--secondary-foreground);
  width: 1.3rem;
  height: 1.3rem;
}

.problem-card h3 {
  margin-bottom: 0.9rem;
  font-size: 1.4rem;
  font-weight: 400;
}

.problem-card p {
  font-size: 0.92rem;
  color: var(--muted-foreground);
  line-height: 1.75;
}

/* Services / Solutions Cards */
.service-card {
  padding: 2.5rem 2.2rem;
  position: relative;
}

.service-tag {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  background-color: rgba(250, 246, 240, 0.9);
  border: 1px solid hsla(38, 40%, 48%, 0.25);
  color: var(--primary);
  padding: 0.25rem 0.85rem;
  border-radius: 9999px;
  font-weight: 400;
}

.service-card .icon-wrapper {
  background: linear-gradient(135deg, hsla(350, 25%, 90%, 0.7), hsla(38, 40%, 90%, 0.6));
}

.service-card .icon-wrapper svg {
  color: var(--primary);
  width: 1.3rem;
  height: 1.3rem;
}

.service-card h3 {
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  line-height: 1.75;
}

/* Process Section */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  position: relative;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.process-num-wrapper {
  position: relative;
  margin-bottom: 1.8rem;
}

.process-num {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 300;
  box-shadow: 0 8px 25px rgba(47, 35, 30, 0.02);
  border: 1px solid hsla(350, 25%, 82%, 0.2);
}

.process-step h3 {
  font-size: 1.45rem;
  margin-bottom: 0.85rem;
  font-weight: 400;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  max-width: 290px;
  line-height: 1.7;
}

/* Stats Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.stat-card {
  padding: 2.5rem 2rem;
  text-align: center;
}

.stat-val {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 300;
  margin-bottom: 0.75rem;
}

.stat-lbl {
  font-weight: 400;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  letter-spacing: 0.02em;
}

.stat-desc {
  font-size: 0.78rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Calculator Section */
.calculator-card {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: 2rem;
  overflow: hidden;
  border: 1px solid rgba(235, 207, 209, 0.35);
  box-shadow: 0 30px 60px -15px rgba(47, 35, 30, 0.08);
}

.calc-inputs {
  padding: 3rem 2rem;
  background-color: white;
}

.calc-inputs h3, .calc-results h3 {
  margin-bottom: 2.2rem;
  font-size: 1.6rem;
  font-weight: 400;
}

.slider-group {
  margin-bottom: 2.5rem;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
}

.slider-label {
  font-size: 0.88rem;
  color: var(--muted-foreground);
}

.slider-val {
  font-size: 1.6rem;
  font-weight: 300;
}

.calc-slider {
  width: 100%;
  height: 5px;
  border-radius: 9999px;
  appearance: none;
  background: var(--muted);
  outline: none;
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  appearance: none;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 2px 8px rgba(175, 143, 77, 0.3);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 2px solid white;
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.slider-bounds {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: rgba(47, 35, 30, 0.4);
  margin-top: 0.5rem;
}

.calc-results {
  padding: 3rem 2rem;
  background: linear-gradient(135deg, hsl(350, 25%, 95%) 0%, hsl(30, 20%, 94%) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(235, 207, 209, 0.3);
}

.result-row:last-of-type {
  border-bottom: none;
}

.result-lbl-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.result-lbl-wrap svg {
  color: var(--secondary-foreground);
  width: 1.1rem;
  height: 1.1rem;
  opacity: 0.8;
}

.result-label {
  font-size: 0.92rem;
  color: var(--muted-foreground);
}

.result-val {
  font-size: 1.45rem;
  font-weight: 300;
}

.result-val-negative {
  color: var(--secondary-foreground);
}

.annual-loss-box {
  background: linear-gradient(135deg, hsl(350, 25%, 90%) 0%, hsl(38, 30%, 92%) 100%);
  padding: 1.8rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(235, 207, 209, 0.4);
  margin: 2rem 0;
  text-align: center;
  box-shadow: 0 10px 25px -10px rgba(47, 35, 30, 0.05);
}

.annual-lbl {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--secondary-foreground);
  font-weight: 400;
  margin-bottom: 0.6rem;
}

.annual-val {
  font-size: 2.8rem;
  font-weight: 300;
  line-height: 1.1;
}

.annual-disclaimer {
  font-size: 0.72rem;
  color: var(--muted-foreground);
  margin-top: 0.6rem;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid rgba(235, 207, 209, 0.3);
  border-radius: var(--radius);
  padding: 0 1.8rem;
  background-color: white;
  transition: border-color 0.4s;
}

.faq-item:hover {
  border-color: hsla(38, 40%, 48%, 0.3);
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  font-size: 1.2rem;
  font-family: var(--font-display);
  color: var(--foreground);
  transition: color 0.3s;
}

.faq-trigger:hover {
  color: var(--primary);
}

.faq-trigger svg {
  color: var(--primary);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  width: 1.1rem;
  height: 1.1rem;
}

.faq-item.active .faq-trigger svg {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-content {
  max-height: 250px;
}

.faq-ans {
  padding-bottom: 1.5rem;
  font-size: 0.92rem;
  color: var(--muted-foreground);
  line-height: 1.8;
}

/* Lead Audit Form Section (Conversion Optimizer) */
.audit-form-card {
  max-width: 700px;
  margin: 0 auto;
  padding: 3.5rem 2.5rem;
  background-color: white;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.form-step h3 {
  font-size: 1.7rem;
  margin-bottom: 0.6rem;
  font-weight: 400;
}

.form-step p {
  color: var(--muted-foreground);
  font-size: 0.92rem;
  margin-bottom: 1.8rem;
  line-height: 1.6;
}

.progress-bar-container {
  width: 100%;
  height: 3px;
  background-color: var(--muted);
  margin-bottom: 2.5rem;
  border-radius: 2px;
}

.progress-bar-fill {
  height: 100%;
  width: 25%;
  background: var(--gold-gradient);
  border-radius: 2px;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.input-container {
  margin-bottom: 1.8rem;
}

.input-container label {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  margin-bottom: 0.6rem;
  color: var(--muted-foreground);
  letter-spacing: 0.02em;
}

.form-input {
  width: 100%;
  padding: 1rem 1.4rem;
  border-radius: 0.85rem;
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  background-color: var(--background);
  color: var(--foreground);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  background-color: white;
  box-shadow: 0 0 0 3px hsla(38, 40%, 48%, 0.08);
}

.options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.option-btn {
  background: var(--background);
  border: 1px solid var(--border);
  padding: 1.2rem 1.5rem;
  border-radius: 0.85rem;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--foreground);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.option-btn:hover {
  border-color: var(--primary);
  background-color: hsla(38, 40%, 48%, 0.04);
}

.option-btn.selected {
  border-color: var(--primary);
  background-color: hsla(38, 40%, 48%, 0.08);
  font-weight: 400;
}

.option-btn::after {
  content: '';
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: inline-block;
  transition: all 0.3s;
}

.option-btn.selected::after {
  background: var(--gold-gradient);
  border-color: var(--primary);
  box-shadow: 0 0 0 2px white inset;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 2.5rem;
  gap: 1.2rem;
}

.success-screen {
  text-align: center;
  padding: 2.5rem 1rem;
}

.success-icon {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background-color: rgba(52, 168, 83, 0.1);
  color: #34a853;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.8rem auto;
}

.success-icon svg {
  width: 2.2rem;
  height: 2.2rem;
}

/* Simulated AI Chat Widget */
.chat-widget-floating {
  position: fixed;
  bottom: 1.8rem;
  right: 1.8rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.chat-bubble-launcher {
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(175, 143, 77, 0.35);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.chat-bubble-launcher:hover {
  transform: scale(1.05);
}

.chat-bubble-launcher svg {
  width: 1.5rem;
  height: 1.5rem;
}

.chat-notification-tooltip {
  position: absolute;
  top: -3.8rem;
  right: 0;
  background-color: white;
  border: 1px solid var(--border);
  padding: 0.6rem 1.2rem;
  border-radius: 0.85rem;
  font-size: 0.75rem;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(47, 35, 30, 0.06);
  font-weight: 400;
  color: var(--foreground);
  animation: bounce 2.2s infinite;
}

.chat-notification-tooltip::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 20px;
  border-width: 6px 6px 0;
  border-style: solid;
  border-color: white transparent;
  display: block;
  width: 0;
}

.chat-window {
  width: 330px;
  height: 480px;
  background-color: white;
  border-radius: 1.25rem;
  box-shadow: 0 15px 40px rgba(47, 35, 30, 0.15);
  border: 1px solid rgba(235, 207, 209, 0.35);
  display: none;
  flex-direction: column;
  overflow: hidden;
  margin-bottom: 1.2rem;
  animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.chat-window.active {
  display: flex;
}

.chat-header {
  background: var(--gold-gradient);
  color: white;
  padding: 0.85rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.chat-header-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: white;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.chat-header-title {
  font-size: 0.88rem;
  font-weight: 500;
  font-family: var(--font-body);
}

.chat-header-status {
  font-size: 0.68rem;
  opacity: 0.85;
  font-weight: 300;
}

.chat-close-btn {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.chat-close-btn svg {
  width: 1.1rem;
  height: 1.1rem;
}

.chat-messages {
  flex: 1;
  padding: 1.2rem;
  overflow-y: auto;
  background-color: #faf7f5;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.chat-msg {
  max-width: 82%;
  padding: 0.65rem 0.95rem;
  border-radius: 0.85rem;
  font-size: 0.82rem;
  line-height: 1.5;
}

.chat-msg-received {
  background-color: white;
  color: var(--foreground);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
  box-shadow: 0 2px 6px rgba(47, 35, 30, 0.02);
  border: 1px solid rgba(235, 207, 209, 0.15);
}

.chat-msg-sent {
  background-color: #f5e8e8; /* Soft dusty pink chat message bubble */
  color: var(--foreground);
  align-self: flex-end;
  border-bottom-right-radius: 2px;
  box-shadow: 0 2px 6px rgba(47, 35, 30, 0.02);
  border: 1px solid rgba(235, 207, 209, 0.15);
}

.chat-msg-typing {
  align-self: flex-start;
  background-color: white;
  padding: 0.6rem 1.1rem;
  display: inline-flex;
  gap: 3px;
  border-radius: 0.85rem;
  border-bottom-left-radius: 2px;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background-color: var(--muted-foreground);
  border-radius: 50%;
  animation: typingDot 1.4s infinite;
  opacity: 0.5;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

.chat-suggested-actions {
  padding: 0.6rem;
  background-color: white;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.action-chip {
  background-color: var(--background);
  border: 1px solid var(--border);
  padding: 0.45rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.76rem;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 300;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--foreground);
}

.action-chip:hover {
  background: var(--gold-gradient);
  color: white;
  border-color: transparent;
}

.chat-input-area {
  padding: 0.6rem;
  background-color: white;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.chat-input {
  flex: 1;
  border: 1px solid var(--border);
  padding: 0.6rem 1rem;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 300;
  outline: none;
  background-color: var(--background);
  color: var(--foreground);
  transition: border-color 0.3s;
}

.chat-input:focus {
  border-color: var(--primary);
}

.chat-send-btn {
  background: var(--gold-gradient);
  border: none;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s;
}

.chat-send-btn:hover {
  transform: scale(1.05);
}

.chat-send-btn svg {
  width: 0.95rem;
  height: 0.95rem;
  margin-left: 2px;
}

/* Footer Section */
footer {
  padding: 4rem 1.5rem;
  background: linear-gradient(to bottom, var(--background), hsl(30, 15%, 93%));
  border-top: 1px solid rgba(235, 207, 209, 0.3);
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
  margin-bottom: 3.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(235, 207, 209, 0.2);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.78rem;
  color: var(--muted-foreground);
}

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

@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes typingDot {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* Responsive Breakpoints */
@media (min-width: 768px) {
  body {
    font-weight: 300; /* Standard book weight on larger screens */
  }
  
  nav.desktop-nav {
    display: flex;
  }
  
  .menu-toggle {
    display: none;
  }
  
  .hero-ctas {
    flex-direction: row;
    justify-content: center;
  }
  
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  
  .grid-2-col {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
  
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .process-grid::after {
    content: '';
    position: absolute;
    top: 3rem;
    left: 18%;
    right: 18%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(175, 143, 77, 0.25), transparent);
    z-index: 1;
  }
  
  .process-num-wrapper {
    z-index: 2;
  }
  
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
  
  .calculator-card {
    grid-template-columns: 1.1fr 0.9fr;
  }
  
  .calc-inputs {
    padding: 4rem;
    border-bottom: none;
    border-right: 1px solid rgba(235, 207, 209, 0.25);
  }
  
  .calc-results {
    padding: 4rem;
  }
  
  .options-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}
