/* ===========================
   CSS RESET & BASE
=========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --brown:      #C8702A;
  --brown-dark: #A05520;
  --brown-light:#F5E6D3;
  --cream:      #FDF8F3;
  --white:      #FFFFFF;
  --gray-100:   #F9F9F9;
  --gray-300:   #E5E5E5;
  --gray-500:   #9CA3AF;
  --gray-700:   #4B5563;
  --gray-900:   #111827;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.10);
  --shadow-xl:  0 24px 60px rgba(0,0,0,.12);
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  24px;
  --radius-xl:  36px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--gray-900);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ===========================
   PARTICLE CANVAS
=========================== */
#particle-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

/* ===========================
   HEADER
=========================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(200,112,42,0.1);
  transition: padding .3s ease, box-shadow .3s ease;
}

.header.scrolled {
  padding: 12px 48px;
  box-shadow: var(--shadow-sm);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  box-shadow: var(--shadow-sm);
}

.logo-icon svg { width: 36px; height: 36px; }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-sue {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--brown);
  letter-spacing: 0.08em;
}

.logo-roasters {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gray-500);
  text-transform: uppercase;
}

.nav-contact { display: flex; align-items: center; gap: 24px; }

.nav-email {
  font-size: 0.85rem;
  color: var(--gray-700);
  text-decoration: none;
  font-weight: 500;
  transition: color .2s;
}

.nav-email:hover { color: var(--brown); }

/* ===========================
   HERO LAYOUT
=========================== */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  padding: 120px 48px 80px;
  max-width: 1280px;
  margin: 0 auto;
}

.hero-content {
  flex: 1;
  min-width: 0;
  max-width: 600px;
  animation: fadeUp .9s ease both;
}

.hero-visual {
  flex: 0 0 auto;
  animation: fadeUp 1.1s .2s ease both;
}

/* ===========================
   BADGE
=========================== */
.badge-wrap { margin-bottom: 28px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1.5px solid transparent;
  animation: badgeColorCycle 3s ease-in-out infinite;
}

@keyframes badgeColorCycle {
  0%   { background: #FDF0E6; color: #A05520; border-color: rgba(200,112,42,0.35); }
  20%  { background: #FFF3CD; color: #8A6000; border-color: rgba(200,160,0,0.35); }
  40%  { background: #E8F5E9; color: #2E7D32; border-color: rgba(46,125,50,0.35); }
  60%  { background: #E3F2FD; color: #1565C0; border-color: rgba(21,101,192,0.35); }
  80%  { background: #F3E5F5; color: #6A1B9A; border-color: rgba(106,27,154,0.35); }
  100% { background: #FDF0E6; color: #A05520; border-color: rgba(200,112,42,0.35); }
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  animation: dotColorCycle 3s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes dotColorCycle {
  0%   { background: #C8702A; box-shadow: 0 0 6px #C8702A; }
  20%  { background: #D4A000; box-shadow: 0 0 6px #D4A000; }
  40%  { background: #2E7D32; box-shadow: 0 0 6px #2E7D32; }
  60%  { background: #1565C0; box-shadow: 0 0 6px #1565C0; }
  80%  { background: #6A1B9A; box-shadow: 0 0 6px #6A1B9A; }
  100% { background: #C8702A; box-shadow: 0 0 6px #C8702A; }
}

/* ===========================
   HERO TITLE
=========================== */
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--gray-900);
  margin-bottom: 20px;
}

.title-accent {
  color: var(--brown);
  position: relative;
  display: inline-block;
}

.title-accent::after {
  content: '';
  position: absolute;
  left: 0; bottom: 2px;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--brown), transparent);
  border-radius: 4px;
  opacity: 0.35;
}

/* ===========================
   HERO SUB
=========================== */
.hero-sub {
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 520px;
}

/* ===========================
   STATS ROW
=========================== */
.stats-row {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 40px;
  background: var(--gray-100);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 12px;
  gap: 2px;
  position: relative;
}

.stat-item:hover { background: var(--cream); }

.stat-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--brown);
  line-height: 1;
}

.stat-plus {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brown);
  position: relative;
  top: -2px;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gray-500);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--gray-300);
  flex-shrink: 0;
}

/* ===========================
   NOTIFY FORM
=========================== */
.notify-block { margin-bottom: 36px; }

.notify-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.notify-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
}

.notify-input {
  flex: 1;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--gray-900);
  background: var(--white);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.notify-input:focus {
  border-color: var(--brown);
  box-shadow: 0 0 0 3px rgba(200,112,42,.12);
}

.notify-input::placeholder { color: var(--gray-500); }

.notify-btn {
  padding: 12px 24px;
  background: var(--brown);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(200,112,42,.35);
}

.notify-btn:hover {
  background: var(--brown-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200,112,42,.4);
}

.notify-btn:active { transform: translateY(0); }

.notify-success {
  display: none;
  font-size: 0.85rem;
  color: #16a34a;
  font-weight: 500;
  margin-top: 10px;
}

.notify-success.visible { display: block; }

/* ===========================
   FEATURE PILLS
=========================== */
.features-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  color: var(--gray-700);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 100px;
  transition: border-color .2s, color .2s, background .2s;
}

.feature-pill:hover {
  border-color: var(--brown);
  color: var(--brown);
  background: var(--cream);
}

.pill-icon {
  width: 14px;
  height: 14px;
  color: var(--brown);
  flex-shrink: 0;
}

/* ===========================
   ROASTER CARD
=========================== */
.roaster-card {
  position: relative;
  background: var(--cream);
  border: 1.5px solid rgba(200,112,42,0.15);
  border-radius: var(--radius-xl);
  padding: 32px 28px 20px;
  box-shadow: var(--shadow-xl);
  width: 340px;
  overflow: visible;
}

.roaster-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse at 50% 60%, rgba(200,112,42,0.14), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.roaster-illustration {
  display: flex;
  justify-content: center;
}

.roaster-svg {
  width: 260px;
  height: auto;
  filter: drop-shadow(0 8px 20px rgba(200,112,42,0.15));
}

/* Steam animation */
.steam {
  animation: steamFloat 3s ease-in-out infinite;
  transform-origin: bottom center;
}
.s1 { animation-delay: 0s; }
.s2 { animation-delay: 0.5s; }
.s3 { animation-delay: 1s; }

@keyframes steamFloat {
  0%   { opacity: 0;   transform: translateY(0) scaleX(1); }
  30%  { opacity: 0.6; }
  70%  { opacity: 0.3; }
  100% { opacity: 0;   transform: translateY(-18px) scaleX(1.3); }
}

/* Gauge needle animation */
.gauge-needle {
  transform-origin: 235px 130px;
  animation: gaugeRotate 4s ease-in-out infinite alternate;
}

@keyframes gaugeRotate {
  0%   { transform: rotate(-20deg); }
  100% { transform: rotate(20deg); }
}

.roaster-badge-wrap {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.roaster-badge {
  background: var(--white);
  border: 1.5px solid rgba(200,112,42,0.2);
  color: var(--brown-dark);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-sm);
}

/* ===========================
   FOOTER
=========================== */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--gray-300);
  background: var(--white);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--gray-500);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
}

.footer-links a {
  color: var(--gray-700);
  text-decoration: none;
  font-weight: 500;
  transition: color .2s;
}

.footer-links a:hover { color: var(--brown); }

.footer-sep { color: var(--gray-300); }

/* ===========================
   WHATSAPP BUTTON
=========================== */
.wa-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}

.wa-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 10px 32px rgba(37,211,102,.55);
}

.wa-btn:hover .wa-tooltip { opacity: 1; transform: translateX(-8px); }

.wa-icon {
  width: 30px;
  height: 30px;
  fill: #fff;
  position: relative;
  z-index: 2;
}

.wa-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: #25D366;
  opacity: 0;
  animation: waPulse 2.5s ease-out infinite;
}

@keyframes waPulse {
  0%   { opacity: 0.6; transform: scale(1); }
  100% { opacity: 0;   transform: scale(1.7); }
}

.wa-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateX(0) translateY(-50%);
  background: var(--gray-900);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
  letter-spacing: 0.02em;
}

.wa-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--gray-900);
}

/* ===========================
   ANIMATIONS
=========================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===========================
   RESPONSIVE — TABLET
=========================== */
@media (max-width: 1024px) {
  .hero {
    gap: 40px;
    padding: 110px 36px 60px;
  }

  .roaster-card { width: 300px; }
  .roaster-svg  { width: 220px; }
}

/* ===========================
   RESPONSIVE — MOBILE
=========================== */
@media (max-width: 768px) {
  .header {
    padding: 14px 20px;
  }

  .header.scrolled { padding: 10px 20px; }

  .nav-email { display: none; }

  .hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 100px 20px 60px;
    gap: 40px;
  }

  .hero-content { max-width: 100%; }

  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }

  .hero-sub { margin: 0 auto 28px; }

  .stats-row { border-radius: var(--radius-sm); }

  .stat-item { padding: 14px 8px; }

  .stat-num { font-size: 1.6rem; }

  .notify-form { flex-direction: column; }

  .notify-btn { width: 100%; text-align: center; }

  .features-row { justify-content: center; }

  .roaster-card {
    width: 100%;
    max-width: 320px;
  }

  .footer-inner {
    padding: 18px 20px;
    flex-direction: column;
    text-align: center;
  }

  .wa-btn {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }

  .wa-icon { width: 26px; height: 26px; }
}

@media (max-width: 400px) {
  .logo-sue  { font-size: 1.1rem; }
  .hero-title { font-size: 1.9rem; }

  .stats-row { flex-direction: column; gap: 0; }
  .stat-divider { width: 80%; height: 1px; }
}
