/* ============================================================
   GreenBay AI Evaluator — Design System & Styles
   Typography: Fraunces (headings) + DM Sans (body)
   Palette: Cream / Green / Forest
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --green-primary: #0D9F4F;
  --green-light: #E8F8EF;
  --green-dark: #087A3B;
  --emerald: #10B981;
  --lime: #84CC16;
  --forest: #064E3B;
  --cream: #FDFBF7;
  --slate: #334155;
  --muted: #64748B;
  --white: #FFFFFF;
  --gold: #F59E0B;
  --orange: #F97316;
  --red: #EF4444;
  --warm: #FEF9EF;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, .07), 0 2px 4px rgba(0, 0, 0, .04);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, .08), 0 4px 12px rgba(0, 0, 0, .04);
  --shadow-xl: 0 24px 60px rgba(0, 0, 0, .12), 0 8px 20px rgba(0, 0, 0, .06);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;

  --max-width: 1280px;
  --header-height: 72px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--slate);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--forest);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
}

h3 {
  font-size: 1.3rem;
}

h4 {
  font-size: 1.1rem;
}

p {
  color: var(--slate);
}

a {
  color: var(--green-primary);
  text-decoration: none;
  transition: color .2s;
}

a:hover {
  color: var(--green-dark);
}

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

button {
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  border: none;
  outline: none;
  font-size: .95rem;
  transition: all .25s ease;
}

input,
textarea,
select {
  font-family: 'DM Sans', sans-serif;
  font-size: .95rem;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--green-primary);
  margin-bottom: 8px;
}

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 600px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(253, 251, 247, .92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(13, 159, 79, .08);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--forest);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--green-primary), var(--emerald));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-nav a {
  color: var(--slate);
  font-size: .9rem;
  font-weight: 500;
  position: relative;
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-primary);
  transition: width .3s;
}

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

.header-nav a:hover {
  color: var(--green-primary);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green-primary), var(--emerald));
  color: white;
  box-shadow: 0 4px 14px rgba(13, 159, 79, .3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(13, 159, 79, .4);
}

.btn-secondary {
  background: var(--white);
  color: var(--green-primary);
  border: 2px solid var(--green-primary);
}

.btn-secondary:hover {
  background: var(--green-light);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--slate);
  padding: 10px 20px;
}

.btn-ghost:hover {
  color: var(--green-primary);
}

.btn-sm {
  padding: 8px 18px;
  font-size: .85rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-whatsapp {
  background: #25D366;
  color: white;
  box-shadow: 0 4px 14px rgba(37, 211, 102, .3);
}

.btn-whatsapp:hover {
  background: #20BD5A;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, .4);
}

/* ---------- Hero Section ---------- */
.hero {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 80px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--green-light) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(13, 159, 79, .06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content-centered {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.hero-text-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-text-centered .hero-badge {
  margin-left: auto;
  margin-right: auto;
}

.hero-text-centered .hero-description {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions-centered {
  justify-content: center;
}

/* Floating appliance images on left/right of hero */
.hero-appliance {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.hero-appliance-left {
  left: -20px;
  top: calc(var(--header-height) + 30px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-appliance-right {
  right: -20px;
  top: calc(var(--header-height) + 30px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-end;
}

.hero-float-img {
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.3s;
}

.hero-float-top {
  width: 180px;
  height: 220px;
}

.hero-float-bottom {
  width: 200px;
  height: 260px;
}

@media (max-width: 1200px) {
  .hero-float-top { width: 140px; height: 170px; }
  .hero-float-bottom { width: 160px; height: 200px; }
}

@media (max-width: 900px) {
  .hero-appliance { display: none; }
}

/* Outline button for "Learn More" */
.btn-outline {
  background: linear-gradient(135deg, #0D9F4F 0%, #064E3B 100%);
  color: #fff;
  border: 2px solid rgba(13, 159, 79, 0.3);
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(13, 159, 79, 0.18);
}

.btn-outline:hover {
  border-color: var(--green-primary);
  color: #fff;
  transform: translateY(-2px);
  background: linear-gradient(135deg, #10b860 0%, #0D9F4F 100%);
  box-shadow: 0 4px 16px rgba(13, 159, 79, 0.3);
}

/* Bug report button */
.btn-bug-report {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(13, 159, 79, 0.08);
  color: var(--muted);
  transition: all 0.25s;
  cursor: pointer;
}

.btn-bug-report:hover {
  background: rgba(239, 68, 68, 0.1);
  color: var(--red);
  transform: scale(1.1);
}

/* Evaluate on WhatsApp CTA */
.whatsapp-cta-section {
  text-align: center;
  padding: 40px 24px;
  background: linear-gradient(180deg, transparent, rgba(37, 211, 102, 0.04));
}

.whatsapp-cta-section .btn-whatsapp {
  font-size: 1.1rem;
  padding: 18px 40px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--green-primary);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  border: 1px solid rgba(13, 159, 79, .12);
}

.hero-badge span {
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .4;
  }
}

.hero h1 {
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: italic;
  color: var(--green-primary);
  position: relative;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-family: 'Fraunces', serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--forest);
  line-height: 1;
}

.stat-label {
  font-size: .82rem;
  color: var(--muted);
  margin-top: 4px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-mockup {
  width: 100%;
  max-width: 480px;
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
  background: var(--white);
  padding: 24px;
  position: relative;
}

.hero-mockup-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.mockup-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-primary), var(--emerald));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
}

.mockup-name {
  font-weight: 600;
  color: var(--forest);
}

.mockup-status {
  font-size: .78rem;
  color: var(--emerald);
}

.mockup-messages {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mockup-msg {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: .88rem;
  max-width: 85%;
  animation: msg-slide-up .5s ease forwards;
  opacity: 0;
}

.mockup-msg.bot {
  background: var(--green-light);
  color: var(--forest);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.mockup-msg.user {
  background: var(--forest);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.mockup-msg:nth-child(1) {
  animation-delay: .3s;
}

.mockup-msg:nth-child(2) {
  animation-delay: .8s;
}

.mockup-msg:nth-child(3) {
  animation-delay: 1.4s;
}

.mockup-msg:nth-child(4) {
  animation-delay: 2s;
}

@keyframes msg-slide-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mockup-offer {
  margin-top: 16px;
  background: linear-gradient(135deg, var(--green-primary), var(--emerald));
  color: white;
  padding: 16px;
  border-radius: var(--radius-sm);
  text-align: center;
  animation: msg-slide-up .5s ease 2.6s forwards;
  opacity: 0;
}

.mockup-offer-amount {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  font-weight: 800;
}

.mockup-offer-label {
  font-size: .78rem;
  opacity: .85;
  margin-top: 2px;
}

/* ---------- Brand Marquee ---------- */
.brand-marquee {
  padding: 40px 0;
  background: var(--white);
  border-top: 1px solid rgba(0, 0, 0, .04);
  border-bottom: 1px solid rgba(0, 0, 0, .04);
  overflow: hidden;
}

.marquee-label {
  text-align: center;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 24px;
  font-weight: 600;
}

.marquee-track {
  display: flex;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  opacity: .5;
  transition: opacity .3s;
}

.marquee-item:hover {
  opacity: 1;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ---------- How It Works ---------- */
.how-it-works {
  padding: 80px 0;
}

.how-it-works .section-header {
  text-align: center;
  margin-bottom: 56px;
}

.how-it-works .section-subtitle {
  margin: 0 auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, .04);
  transition: all .3s ease;
  position: relative;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-primary), var(--emerald));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0 auto 20px;
  font-family: 'Fraunces', serif;
}

.step-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.step-card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.step-card p {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.5;
}

.step-arrow {
  display: none;
}

/* ---------- Categories ---------- */
.categories {
  padding: 80px 0;
  background: var(--white);
}

.categories .section-header {
  text-align: center;
  margin-bottom: 48px;
}

.categories .section-subtitle {
  margin: 0 auto;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: all .3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.category-card:hover {
  border-color: var(--green-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.category-card.selected {
  border-color: var(--green-primary);
  background: var(--green-light);
}

.category-card.selected::after {
  content: '✓';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
}

.category-icon {
  font-size: 2.8rem;
  margin-bottom: 14px;
}

.category-card h4 {
  font-size: .95rem;
  margin-bottom: 4px;
}

.category-card p {
  font-size: .78rem;
  color: var(--muted);
}

/* ---------- Trust Bar ---------- */
.trust-bar {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--forest), #0A5C2E);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.trust-item {
  text-align: center;
  color: white;
}

.trust-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.trust-item h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 6px;
}

.trust-item p {
  color: rgba(255, 255, 255, .7);
  font-size: .82rem;
}

/* ---------- Evaluation Tool (Two-Column Layout) ---------- */
.evaluation-section {
  padding: 80px 0;
  min-height: 100vh;
}

.evaluation-section .section-header {
  text-align: center;
  margin-bottom: 48px;
}

.evaluation-section .section-subtitle {
  margin: 0 auto;
}

.eval-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 32px;
  align-items: start;
}

/* ---------- Wizard Panel (Left) ---------- */
.wizard-panel {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, .05);
  overflow: hidden;
}

.wizard-progress {
  padding: 20px 28px;
  background: var(--green-light);
  border-bottom: 1px solid rgba(13, 159, 79, .1);
}

.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.progress-step-label {
  font-weight: 600;
  font-size: .88rem;
  color: var(--forest);
}

.progress-count {
  font-size: .8rem;
  color: var(--muted);
}

.progress-bar {
  height: 6px;
  background: rgba(13, 159, 79, .12);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green-primary), var(--emerald));
  border-radius: 3px;
  transition: width .5s ease;
  width: 0%;
}

.wizard-body {
  padding: 32px 28px;
  min-height: 400px;
}

.wizard-step {
  display: none;
  animation: wizard-fade-in .4s ease;
}

.wizard-step.active {
  display: block;
}

@keyframes wizard-fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wizard-step h3 {
  margin-bottom: 8px;
}

.wizard-step .step-description {
  color: var(--muted);
  font-size: .9rem;
  margin-bottom: 24px;
}

/* Option cards (single-choice questions) */
.option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.option-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.option-grid.cols-1 {
  grid-template-columns: 1fr;
}

.option-card {
  background: var(--cream);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  padding: 16px;
  cursor: pointer;
  transition: all .2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.option-card:hover {
  border-color: rgba(13, 159, 79, .3);
  background: var(--green-light);
}

.option-card.selected {
  border-color: var(--green-primary);
  background: var(--green-light);
  box-shadow: 0 0 0 3px rgba(13, 159, 79, .12);
}

.option-card .option-icon {
  font-size: 1.8rem;
}

.option-card .option-label {
  font-weight: 600;
  font-size: .88rem;
  color: var(--forest);
}

.option-card .option-desc {
  font-size: .78rem;
  color: var(--muted);
}

/* Text input fields */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: .88rem;
  color: var(--forest);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(0, 0, 0, .08);
  border-radius: var(--radius-sm);
  background: var(--cream);
  font-size: .95rem;
  color: var(--slate);
  transition: all .2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--green-primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(13, 159, 79, .1);
}

.form-input::placeholder {
  color: var(--muted);
}

textarea.form-input {
  resize: vertical;
  min-height: 100px;
}

.form-hint {
  font-size: .78rem;
  color: var(--muted);
  margin-top: 6px;
}

/* Photo upload zone */
.photo-upload-zone {
  border: 2px dashed rgba(13, 159, 79, .25);
  border-radius: var(--radius);
  padding: 40px 24px;
  text-align: center;
  cursor: pointer;
  transition: all .3s;
  background: var(--cream);
  position: relative;
}

.photo-upload-zone:hover,
.photo-upload-zone.drag-over {
  border-color: var(--green-primary);
  background: var(--green-light);
}

.photo-upload-zone .upload-icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.photo-upload-zone h4 {
  margin-bottom: 6px;
  font-size: 1rem;
}

.photo-upload-zone p {
  font-size: .85rem;
  color: var(--muted);
}

.photo-upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.photo-thumb {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-xs);
  overflow: hidden;
  border: 2px solid rgba(0, 0, 0, .06);
}

.photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-thumb .remove-photo {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .6);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity .2s;
}

.photo-thumb:hover .remove-photo {
  opacity: 1;
}

.photo-count {
  font-size: .82rem;
  color: var(--muted);
  margin-top: 12px;
  text-align: center;
}

.photo-count .count-num {
  font-weight: 700;
  color: var(--green-primary);
}

.photo-count.complete .count-num {
  color: var(--emerald);
}

/* Price input */
.price-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.price-input-wrapper .currency-label {
  position: absolute;
  left: 18px;
  font-weight: 700;
  color: var(--forest);
  font-size: .95rem;
}

.price-input-wrapper .form-input {
  padding-left: 56px;
  font-size: 1.2rem;
  font-weight: 700;
  font-family: 'Fraunces', serif;
}

.price-alt-buttons {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

/* Wizard navigation */
.wizard-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 28px;
  border-top: 1px solid rgba(0, 0, 0, .06);
  background: var(--cream);
}

/* ---------- Chat Panel (Right, Sticky) ---------- */
.chat-panel {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, .05);
  display: flex;
  flex-direction: column;
  height: calc(100vh - var(--header-height) - 40px);
  max-height: 720px;
  overflow: hidden;
}

.chat-header {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--green-light);
}

.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-primary), var(--emerald));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: .9rem;
}

.chat-name {
  font-weight: 600;
  color: var(--forest);
  font-size: .95rem;
}

.chat-status {
  font-size: .75rem;
  color: var(--emerald);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scroll-behavior: smooth;
}

.chat-messages::-webkit-scrollbar {
  width: 4px;
}

.chat-messages::-webkit-scrollbar-track {
  background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, .1);
  border-radius: 2px;
}

.msg {
  max-width: 88%;
  animation: msg-slide-up .3s ease;
}

.msg-bubble {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: .9rem;
  line-height: 1.5;
  word-wrap: break-word;
}

.msg.bot {
  align-self: flex-start;
}

.msg.bot .msg-bubble {
  background: var(--green-light);
  color: var(--forest);
  border-bottom-left-radius: 4px;
}

.msg.user {
  align-self: flex-end;
}

.msg.user .msg-bubble {
  background: var(--forest);
  color: white;
  border-bottom-right-radius: 4px;
}

.msg-time {
  font-size: .7rem;
  color: var(--muted);
  margin-top: 4px;
  padding: 0 4px;
}

.msg.user .msg-time {
  text-align: right;
}

/* Typing indicator */
.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 12px 16px;
  background: var(--green-light);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  max-width: 72px;
}

.typing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-primary);
  opacity: .4;
  animation: typing-bounce .6s infinite alternate;
}

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

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

@keyframes typing-bounce {
  from {
    opacity: .3;
    transform: translateY(0);
  }

  to {
    opacity: .8;
    transform: translateY(-4px);
  }
}

/* Chat quick actions */
.chat-quick-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.quick-action-btn {
  background: var(--white);
  border: 1.5px solid rgba(13, 159, 79, .2);
  border-radius: 50px;
  padding: 8px 16px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--green-primary);
  cursor: pointer;
  transition: all .2s;
}

.quick-action-btn:hover {
  background: var(--green-light);
  border-color: var(--green-primary);
}

/* Chat input */
.chat-input-area {
  padding: 14px 16px;
  border-top: 1px solid rgba(0, 0, 0, .06);
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--cream);
}

.chat-input-area input {
  flex: 1;
  padding: 10px 16px;
  border: 2px solid rgba(0, 0, 0, .06);
  border-radius: 50px;
  background: var(--white);
  font-size: .9rem;
  transition: border-color .2s;
}

.chat-input-area input:focus {
  outline: none;
  border-color: var(--green-primary);
}

.chat-send-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-primary), var(--emerald));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.chat-send-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(13, 159, 79, .3);
}

/* ---------- Offer / Results Card ---------- */
.offer-card {
  background: linear-gradient(135deg, var(--forest), #0A5C2E);
  color: white;
  border-radius: var(--radius);
  padding: 24px;
  margin: 8px 0;
}

.offer-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  opacity: .8;
  margin-bottom: 8px;
}

.offer-amount {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

.offer-validity {
  font-size: .78rem;
  opacity: .7;
  margin-bottom: 20px;
}

.offer-grade {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.offer-grade.grade-a {
  background: rgba(16, 185, 129, .2);
}

.offer-grade.grade-b {
  background: rgba(132, 204, 22, .2);
}

.offer-grade.grade-c {
  background: rgba(245, 158, 11, .2);
}

.offer-grade.grade-d {
  background: rgba(249, 115, 22, .2);
}

.offer-breakdown {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .15);
}

.offer-breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: .85rem;
  margin-bottom: 8px;
}

.offer-breakdown-row .label {
  opacity: .7;
}

.offer-breakdown-row .value {
  font-weight: 600;
}

.offer-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.offer-actions .btn {
  flex: 1;
  padding: 12px;
  font-size: .88rem;
}

.btn-accept {
  background: var(--emerald);
  color: white;
}

.btn-accept:hover {
  background: #0EA573;
  transform: translateY(-1px);
}

.btn-counter {
  background: rgba(255, 255, 255, .15);
  color: white;
  border: 1px solid rgba(255, 255, 255, .25);
}

.btn-counter:hover {
  background: rgba(255, 255, 255, .25);
}

/* Counter-offer input */
.counter-input-area {
  background: var(--warm);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin: 8px 0;
}

.counter-input-area h4 {
  font-size: .92rem;
  margin-bottom: 10px;
}

.counter-row {
  display: flex;
  gap: 10px;
}

.counter-row .form-input {
  flex: 1;
}

.round-tracker {
  text-align: center;
  font-size: .78rem;
  color: var(--muted);
  margin-top: 8px;
}

.round-tracker strong {
  color: var(--orange);
}

/* ---------- Analysis Progress ---------- */
.analysis-progress {
  padding: 16px;
  background: var(--warm);
  border-radius: var(--radius-sm);
}

.analysis-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: .88rem;
  opacity: .5;
  transition: all .3s;
}

.analysis-step.active {
  opacity: 1;
}

.analysis-step.complete {
  opacity: 1;
  color: var(--green-primary);
}

.analysis-step-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  flex-shrink: 0;
}

.analysis-step.active .analysis-step-icon {
  background: var(--green-primary);
  color: white;
  animation: spin 1.5s linear infinite;
}

.analysis-step.complete .analysis-step-icon {
  background: var(--green-primary);
  color: white;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* ---------- Deal Result ---------- */
.deal-result {
  text-align: center;
  padding: 40px 24px;
}

.deal-result .result-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.deal-result h3 {
  margin-bottom: 8px;
}

.deal-result p {
  color: var(--muted);
  margin-bottom: 24px;
}

.deal-summary {
  background: var(--green-light);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: left;
  margin-bottom: 20px;
}

.deal-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: .88rem;
}

.deal-summary-row.total {
  border-top: 1px solid rgba(13, 159, 79, .15);
  padding-top: 12px;
  margin-top: 8px;
  font-weight: 700;
  color: var(--forest);
  font-size: 1rem;
}

/* ---------- WhatsApp Bridge ---------- */
.whatsapp-bridge {
  background: var(--warm);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}

.whatsapp-bridge-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.whatsapp-bridge-text {
  flex: 1;
}

.whatsapp-bridge-text h4 {
  font-size: .88rem;
  margin-bottom: 2px;
}

.whatsapp-bridge-text p {
  font-size: .78rem;
  color: var(--muted);
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 60px 0 32px;
  background: var(--forest);
  color: rgba(255, 255, 255, .7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 14px;
}

.footer-brand .logo-icon {
  background: rgba(255, 255, 255, .15);
}

.footer-brand p {
  color: rgba(255, 255, 255, .6);
  font-size: .88rem;
  line-height: 1.6;
}

.footer-col h4 {
  color: white;
  font-size: .95rem;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, .6);
  font-size: .85rem;
  margin-bottom: 10px;
  transition: color .2s;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
}

/* ---------- Utility Classes ---------- */
.hidden {
  display: none !important;
}

.fade-in {
  animation: fade-in .5s ease forwards;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.slide-up {
  animation: slide-up .5s ease forwards;
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   RESPONSIVE DESIGN — All Device Sizes
   Breakpoints:
     1366px — small laptops
     1024px — tablets (landscape) / small desktops
      768px — tablets (portrait) / iPads
      640px — large phones (landscape)
      480px — standard phones
      375px — small phones (iPhone SE)
      320px — very small phones
   ============================================================ */

/* ---------- Small Laptops (≤ 1366px) ---------- */
@media (max-width: 1366px) {
  :root {
    --max-width: 1100px;
  }

  .eval-layout {
    grid-template-columns: 1fr 380px;
    gap: 24px;
  }
}

/* ---------- Tablets Landscape / Small Desktops (≤ 1024px) ---------- */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Evaluation: stack wizard + chat vertically */
  .eval-layout {
    grid-template-columns: 1fr;
  }

  /* Chat panel becomes a collapsible bottom drawer */
  .chat-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    height: 60px;
    max-height: 60px;
    border-radius: var(--radius) var(--radius) 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, .1);
    z-index: 900;
    transition: all .3s ease;
  }

  .chat-panel.expanded {
    height: 85vh;
    max-height: 85vh;
  }

  .chat-panel .chat-messages { display: none; }
  .chat-panel.expanded .chat-messages { display: flex; }
  .chat-panel .chat-input-area { display: none; }
  .chat-panel.expanded .chat-input-area { display: flex; }
  .chat-header { cursor: pointer; }

  .chat-toggle-icon {
    display: block;
    margin-left: auto;
    font-size: 1.2rem;
    color: var(--muted);
    transition: transform .3s;
  }

  .chat-panel.expanded .chat-toggle-icon {
    transform: rotate(180deg);
  }

  /* Give evaluation results some bottom space for the chat drawer */
  .evaluation-section {
    padding-bottom: 90px;
  }
}

/* ---------- Tablets Portrait / iPads (≤ 768px) ---------- */
@media (max-width: 768px) {
  .hero {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 56px;
  }

  h1 { font-size: clamp(1.6rem, 6vw, 2.4rem); }
  h2 { font-size: clamp(1.3rem, 4vw, 1.8rem); }

  .hero-stats {
    gap: 24px;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .step-card {
    padding: 24px 16px;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .category-card {
    padding: 20px 14px;
  }

  .category-icon {
    font-size: 2.2rem;
  }

  .evaluation-section {
    padding: 48px 0 100px;
  }

  .wizard-body {
    padding: 24px 20px;
    min-height: 320px;
  }

  .wizard-progress {
    padding: 16px 20px;
  }

  .wizard-footer {
    padding: 16px 20px;
  }

  .offer-amount {
    font-size: 1.6rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  /* Header CTA buttons: show only the primary one */
  .header-cta .btn-ghost {
    display: none;
  }

  .whatsapp-cta-section .btn-whatsapp {
    font-size: 1rem;
    padding: 14px 28px;
  }
}

/* ---------- Large Phones / Landscape (≤ 640px) ---------- */
@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .header-inner {
    padding: 0 16px;
  }

  .header-nav {
    display: none;
  }

  .hero {
    padding-top: calc(var(--header-height) + 24px);
    padding-bottom: 40px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    gap: 20px;
    justify-content: center;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .option-grid {
    grid-template-columns: 1fr;
  }

  .option-grid.cols-3 {
    grid-template-columns: 1fr;
  }

  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .wizard-body {
    padding: 20px 16px;
    min-height: 280px;
  }

  .wizard-footer {
    padding: 14px 16px;
    gap: 8px;
  }

  /* Make wizard footer buttons stack if needed */
  .wizard-footer .btn {
    padding: 10px 20px;
    font-size: .88rem;
  }

  .offer-card {
    padding: 20px 16px;
  }

  .offer-amount {
    font-size: 1.5rem;
  }

  .offer-actions {
    flex-direction: column;
    gap: 8px;
  }

  .offer-actions .btn {
    width: 100%;
  }

  /* Counter-offer row stacks */
  .counter-row {
    flex-direction: column;
    gap: 8px;
  }

  /* Price input */
  .price-input-wrapper .form-input {
    font-size: 1rem;
  }

  /* WhatsApp bridge goes vertical on small screens */
  .whatsapp-bridge {
    flex-direction: column;
    text-align: center;
    padding: 20px 16px;
  }

  /* Deal result */
  .deal-result {
    padding: 24px 16px;
  }

  .deal-result .result-icon {
    font-size: 2.4rem;
  }
}

/* ---------- Standard Phones (≤ 480px) ---------- */
@media (max-width: 480px) {
  :root {
    --header-height: 60px;
    --radius: 12px;
    --radius-sm: 8px;
  }

  .logo {
    font-size: 1.15rem;
    gap: 8px;
  }

  .logo-icon, .logo-img {
    width: 32px;
    height: 32px;
  }

  .hero-badge {
    font-size: .72rem;
    padding: 4px 12px;
  }

  .hero-description {
    font-size: .95rem;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 16px;
  }

  .stat-number {
    font-size: 1.3rem;
  }

  .stat-label {
    font-size: .72rem;
  }

  .btn {
    padding: 10px 22px;
    font-size: .9rem;
  }

  .btn-lg {
    padding: 14px 28px;
    font-size: .95rem;
  }

  .section-label {
    font-size: .7rem;
    letter-spacing: 1.5px;
  }

  .option-card {
    padding: 12px;
    gap: 6px;
  }

  .option-card .option-icon {
    font-size: 1.4rem;
  }

  .option-card .option-label {
    font-size: .82rem;
  }

  .option-card .option-desc {
    font-size: .72rem;
  }

  .form-input {
    padding: 12px 14px;
    font-size: .9rem;
  }

  .form-label {
    font-size: .82rem;
  }

  .wizard-step h3 {
    font-size: 1.1rem;
  }

  .wizard-step .step-description {
    font-size: .82rem;
  }

  .photo-upload-zone {
    padding: 28px 16px;
  }

  .photo-upload-zone h4 {
    font-size: .88rem;
  }

  .photo-upload-zone p {
    font-size: .78rem;
  }

  .offer-breakdown-row {
    font-size: .78rem;
  }

  .analysis-step {
    font-size: .82rem;
  }

  .chat-panel.expanded {
    height: 90vh;
    max-height: 90vh;
  }

  .msg-bubble {
    font-size: .85rem;
    padding: 10px 14px;
  }

  .quick-action-btn {
    font-size: .75rem;
    padding: 6px 12px;
  }

  /* Trust bar tighter */
  .trust-bar {
    padding: 40px 0;
  }

  .trust-icon {
    font-size: 1.6rem;
  }

  .trust-item h4 {
    font-size: .9rem;
  }

  .trust-item p {
    font-size: .75rem;
  }

  .site-footer {
    padding: 40px 0 24px;
  }

  .how-it-works,
  .categories {
    padding: 48px 0;
  }
}

/* ---------- Small Phones — iPhone SE, Galaxy S21 (≤ 375px) ---------- */
@media (max-width: 375px) {
  .container {
    padding: 0 12px;
  }

  .header-inner {
    padding: 0 12px;
  }

  .logo {
    font-size: 1rem;
  }

  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.15rem; }
  h3 { font-size: 1rem; }

  .hero-description {
    font-size: .88rem;
    margin-bottom: 24px;
  }

  .hero-stats {
    gap: 12px;
  }

  .stat-number {
    font-size: 1.15rem;
  }

  .btn {
    padding: 10px 18px;
    font-size: .85rem;
  }

  .wizard-body {
    padding: 16px 12px;
  }

  .wizard-progress {
    padding: 12px;
  }

  .wizard-footer {
    padding: 12px;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }

  .wizard-footer .btn {
    flex: 1;
    min-width: 100px;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .category-card {
    padding: 14px 10px;
  }

  .category-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
  }

  .category-card h4 {
    font-size: .82rem;
  }

  .category-card p {
    font-size: .7rem;
  }

  .offer-card {
    padding: 16px 12px;
  }

  .offer-amount {
    font-size: 1.3rem;
  }

  .mockup-offer-amount {
    font-size: 1.2rem;
  }

  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  /* Ensure no horizontal overflow */
  .price-input-wrapper .form-input {
    font-size: .95rem;
    padding-left: 48px;
  }

  .price-alt-buttons {
    flex-direction: column;
    gap: 6px;
  }

  .price-alt-buttons .btn {
    width: 100%;
    font-size: .82rem;
  }
}

/* ---------- Very Small Phones (≤ 320px) ---------- */
@media (max-width: 320px) {
  :root {
    --header-height: 56px;
  }

  .logo-icon, .logo-img {
    width: 28px;
    height: 28px;
  }

  .logo { font-size: .95rem; }
  h1 { font-size: 1.25rem; }

  .hero-badge { display: none; }

  .btn {
    padding: 8px 16px;
    font-size: .82rem;
  }

  .category-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .option-card {
    padding: 10px 8px;
  }
}

/* ---------- Touch Device Enhancements ---------- */
@media (hover: none) and (pointer: coarse) {
  /* Larger touch targets for mobile */
  .btn {
    min-height: 44px;
  }

  .option-card {
    min-height: 44px;
  }

  .category-card {
    min-height: 44px;
  }

  .quick-action-btn {
    min-height: 36px;
  }

  /* Remove hover effects on touch devices */
  .step-card:hover {
    transform: none;
  }

  .category-card:hover {
    transform: none;
  }
}

/* ---------- Landscape Phone Orientation ---------- */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    padding-top: calc(var(--header-height) + 16px);
    padding-bottom: 24px;
  }

  .hero-stats { display: none; }

  .chat-panel.expanded {
    height: 95vh;
    max-height: 95vh;
  }

  .evaluation-section {
    padding: 24px 0 80px;
  }
}

/* ---------- Logo Image ---------- */
.logo-img {
  height: 36px;
  width: 36px;
  object-fit: cover;
  border-radius: 8px;
}

.footer-logo-img {
  height: 32px;
  width: 32px;
  border-radius: 6px;
}

.logo-text {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--forest);
  letter-spacing: -0.5px;
}

/* ---------- Lucide Icon Sizes ---------- */
.icon-sm {
  width: 16px;
  height: 16px;
}

.icon-md {
  width: 28px;
  height: 28px;
}

.icon-lg {
  width: 36px;
  height: 36px;
  color: var(--green-primary);
}

.icon-xl {
  width: 48px;
  height: 48px;
  color: var(--green-primary);
}

.btn-icon {
  width: 18px;
  height: 18px;
}

.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.trust-icon .icon-md {
  color: rgba(255, 255, 255, .9);
}

/* ---------- Hero Badge Dot ---------- */
.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-primary);
  animation: pulse-dot 2s infinite;
  flex-shrink: 0;
}

/* ---------- Brand Logo Images in Marquee ---------- */
.brand-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .6;
  transition: all .3s;
}

.marquee-item:hover .brand-logo {
  filter: grayscale(0%);
  opacity: 1;
}

/* ---------- Category Showcase Cards ---------- */
.category-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.showcase-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all .35s cubic-bezier(.4, 0, .2, 1);
  border: 2px solid transparent;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
}

.showcase-card:hover {
  border-color: var(--green-primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* Showcase Image Slider */
.showcase-image-slider {
  position: relative;
  width: 100%;
  padding-top: 100%; /* 1:1 aspect ratio via padding hack for broad compatibility */
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #f5f5f0;
}

.showcase-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .8s ease-in-out;
  z-index: 0;
}

.showcase-img.active {
  opacity: 1;
  z-index: 1;
}

/* Showcase Info */
.showcase-info {
  padding: 16px;
}

.showcase-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-xs);
  background: var(--green-light);
  color: var(--green-primary);
  margin-bottom: 10px;
}

.showcase-icon i {
  width: 20px;
  height: 20px;
}

.showcase-info h4 {
  font-size: .95rem;
  margin-bottom: 6px;
}

.showcase-brands {
  font-size: .75rem;
  color: var(--muted);
  margin-bottom: 10px;
  line-height: 1.4;
}

.showcase-products {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.product-tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: .68rem;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 50px;
  white-space: nowrap;
}

/* ---------- Option Card with Image Carousel ---------- */
.option-card.has-image {
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.option-image-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 160px;
  overflow: hidden;
  background: #f5f5f0;
}

.option-carousel-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity .8s ease-in-out;
  padding: 12px;
  background: #f5f5f0;
}

.option-carousel-img.active {
  opacity: 1;
}

.option-card.has-image .option-label {
  display: block;
  padding: 10px 12px;
  text-align: center;
  font-size: .88rem;
  font-weight: 600;
}

/* ---------- Option Card Icon Containers ---------- */
.option-card .option-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.option-card .option-icon i {
  width: 24px;
  height: 24px;
  color: var(--green-primary);
}

/* ---------- Scrollbar for WebKit ---------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, .08);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, .15);
}

/* ---------- Chat toggle (mobile only) ---------- */
.chat-toggle-icon {
  display: none;
}

/* Notification badge on collapsed chat */
.chat-notification-badge {
  display: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--red);
  color: white;
  font-size: .7rem;
  font-weight: 700;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -6px;
  right: -6px;
}

@media (max-width: 1024px) {
  .category-showcase {
    grid-template-columns: repeat(2, 1fr);
  }

  .chat-notification-badge.has-new {
    display: flex;
  }
}

@media (max-width: 640px) {
  .category-showcase {
    grid-template-columns: 1fr;
  }

  .option-image-carousel {
    height: 60px;
  }
}

/* ---------- Optional Step Badge ---------- */
.step-optional-badge {
  display: inline-block;
  background: var(--warm);
  color: var(--gold);
  padding: 2px 10px;
  border-radius: 50px;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  vertical-align: middle;
  margin-left: 8px;
  border: 1px solid rgba(245, 158, 11, .2);
  font-family: 'DM Sans', sans-serif;
}

/* ---------- Floating WhatsApp CX Button ---------- */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, .4), 0 2px 8px rgba(0,0,0,.1);
  z-index: 999;
  transition: all .3s ease;
  text-decoration: none;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, .5), 0 4px 12px rgba(0,0,0,.15);
  color: white;
}

.floating-whatsapp::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, .3);
  animation: wa-pulse 2s ease-in-out infinite;
}

@keyframes wa-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0; }
}

.floating-wa-label {
  position: absolute;
  right: 70px;
  background: var(--white);
  color: var(--slate);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateX(10px);
  transition: all .3s ease;
  pointer-events: none;
}

.floating-wa-label::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--white);
}

.floating-whatsapp:hover .floating-wa-label {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- Floating Appliance Icons Background ---------- */
.floating-appliances {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.floating-icon {
  position: absolute;
  color: var(--green-primary);
  opacity: 0.09;
  filter: drop-shadow(0 0 6px rgba(13, 159, 79, 0.15));
  transition: opacity 0.5s ease;
}

.fi-1 { top: 8%; left: 5%; animation: float-drift-1 14s ease-in-out infinite; }
.fi-2 { top: 15%; right: 8%; animation: float-drift-2 18s ease-in-out infinite; }
.fi-3 { top: 40%; left: 3%; animation: float-drift-3 16s ease-in-out infinite; }
.fi-4 { top: 55%; right: 4%; animation: float-drift-4 12s ease-in-out infinite; }
.fi-5 { top: 75%; left: 8%; animation: float-drift-5 20s ease-in-out infinite; }
.fi-6 { top: 25%; left: 92%; animation: float-drift-6 15s ease-in-out infinite; }
.fi-7 { top: 65%; right: 10%; animation: float-drift-7 17s ease-in-out infinite; }
.fi-8 { top: 88%; left: 15%; animation: float-drift-8 13s ease-in-out infinite; }

@keyframes float-drift-1 {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.07; }
  25%  { transform: translate(30px, -20px) rotate(8deg) scale(1.08); opacity: 0.10; }
  50%  { transform: translate(10px, -45px) rotate(-5deg) scale(1.02); opacity: 0.12; }
  75%  { transform: translate(-15px, -25px) rotate(12deg) scale(1.06); opacity: 0.09; }
  100% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.07; }
}
@keyframes float-drift-2 {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.08; }
  20%  { transform: translate(-20px, 30px) rotate(-10deg) scale(1.05); opacity: 0.11; }
  50%  { transform: translate(-40px, 15px) rotate(6deg) scale(1.1); opacity: 0.13; }
  80%  { transform: translate(-10px, 40px) rotate(-4deg) scale(1.03); opacity: 0.10; }
  100% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.08; }
}
@keyframes float-drift-3 {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.06; }
  30%  { transform: translate(25px, 35px) rotate(15deg) scale(1.12); opacity: 0.11; }
  60%  { transform: translate(40px, 10px) rotate(-8deg) scale(1.05); opacity: 0.14; }
  100% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.06; }
}
@keyframes float-drift-4 {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.08; }
  33%  { transform: translate(-30px, -25px) rotate(-12deg) scale(1.08); opacity: 0.12; }
  66%  { transform: translate(-15px, -45px) rotate(6deg) scale(1.04); opacity: 0.10; }
  100% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.08; }
}
@keyframes float-drift-5 {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.07; }
  25%  { transform: translate(35px, -15px) rotate(10deg) scale(1.06); opacity: 0.11; }
  50%  { transform: translate(20px, -40px) rotate(-6deg) scale(1.1); opacity: 0.13; }
  75%  { transform: translate(-10px, -20px) rotate(14deg) scale(1.03); opacity: 0.09; }
  100% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.07; }
}
@keyframes float-drift-6 {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.06; }
  35%  { transform: translate(-20px, 40px) rotate(-15deg) scale(1.1); opacity: 0.12; }
  65%  { transform: translate(-35px, 20px) rotate(8deg) scale(1.05); opacity: 0.10; }
  100% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.06; }
}
@keyframes float-drift-7 {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.08; }
  20%  { transform: translate(20px, 30px) rotate(12deg) scale(1.07); opacity: 0.11; }
  50%  { transform: translate(40px, 15px) rotate(-5deg) scale(1.12); opacity: 0.14; }
  80%  { transform: translate(15px, 35px) rotate(8deg) scale(1.04); opacity: 0.10; }
  100% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.08; }
}
@keyframes float-drift-8 {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.07; }
  30%  { transform: translate(-25px, -35px) rotate(-10deg) scale(1.09); opacity: 0.12; }
  70%  { transform: translate(-40px, -15px) rotate(12deg) scale(1.05); opacity: 0.10; }
  100% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.07; }
}

/* Hide floating icons on smaller screens where they'd be distracting */
@media (max-width: 768px) {
  .floating-appliances { display: none; }
  .floating-whatsapp { bottom: 20px; right: 20px; width: 52px; height: 52px; }
  .floating-wa-label { display: none; }
}