/* ==========================================================================
   CONCEPT 2: WARM EDITORIAL CAREGIVER / SOFT 3D COMPANION
   Aesthetic: Notion, Headspace, Duolingo 3D, Pinterest Warm Minimal
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Nunito:wght@600;700;800&display=swap');

:root {
  --bg-cream: #faf7f2;
  --bg-cream-tint: #f4eee3;
  --bg-card: #ffffff;
  --bg-card-alt: #fdfaf6;
  
  --sage-deep: #1e563d;
  --sage-primary: #2d7a58;
  --sage-light: #e8f5ee;
  --sage-border: #c8e6d5;
  
  --honey-amber: #e68a19;
  --honey-light: #fef5e7;
  --honey-border: #f9dcb3;
  
  --warm-coral: #e05244;
  --warm-coral-light: #fdf0ee;
  
  --text-charcoal: #23272f;
  --text-muted: #5e6676;
  --text-soft: #858e9f;
  
  --shadow-plush: 0 16px 40px -10px rgba(92, 60, 30, 0.08), 0 4px 12px rgba(0, 0, 0, 0.03);
  --shadow-card: 0 10px 25px -5px rgba(80, 50, 20, 0.05);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 999px;
}

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

body {
  background-color: var(--bg-cream);
  color: var(--text-charcoal);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.65;
  min-height: 100vh;
  padding-bottom: 120px;
  -webkit-font-smoothing: antialiased;
}

/* Subtle organic textured background */
.warm-bg-pattern {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(circle at 10% 20%, rgba(230, 138, 25, 0.05) 0%, transparent 40%),
                    radial-gradient(circle at 90% 80%, rgba(45, 122, 88, 0.05) 0%, transparent 45%);
}

.content-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-mascot-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--sage-primary);
  box-shadow: 0 4px 15px rgba(45, 122, 88, 0.2);
}

.brand-mascot-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text-col {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: 'Nunito', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--sage-deep);
  letter-spacing: -0.02em;
}

.brand-tagline {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-pill-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.8);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.nav-item {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
}

.nav-item:hover {
  color: var(--sage-deep);
  background: var(--sage-light);
}

.nav-cta-btn {
  background: var(--sage-primary);
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 15px rgba(45, 122, 88, 0.25);
  transition: all 0.2s ease;
}

.nav-cta-btn:hover {
  background: var(--sage-deep);
  transform: translateY(-1px);
}

/* Hero Section */
.hero {
  padding: 50px 0 40px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.care-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sage-light);
  border: 1px solid var(--sage-border);
  color: var(--sage-deep);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.hero-heading {
  font-family: 'Lora', Georgia, serif;
  font-size: 48px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-charcoal);
  margin-bottom: 20px;
}

.hero-heading em {
  font-style: italic;
  color: var(--sage-primary);
}

.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 540px;
}

/* Friendly Scanner Box */
.care-scanner-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-plush);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.care-form {
  display: flex;
  gap: 12px;
}

.care-input-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.care-input-wrap .icon {
  position: absolute;
  left: 18px;
  font-size: 18px;
  color: var(--text-soft);
}

.care-input {
  width: 100%;
  height: 56px;
  background: var(--bg-cream-tint);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  padding: 0 20px 0 52px;
  font-size: 16px;
  font-family: inherit;
  color: var(--text-charcoal);
  outline: none;
  transition: all 0.2s ease;
}

.care-input:focus {
  background: #ffffff;
  border-color: var(--sage-primary);
  box-shadow: 0 0 0 3px rgba(45, 122, 88, 0.15);
}

.care-submit-btn {
  height: 56px;
  padding: 0 28px;
  background: var(--sage-primary);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-lg);
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(45, 122, 88, 0.25);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.care-submit-btn:hover {
  background: var(--sage-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45, 122, 88, 0.35);
}

.care-presets {
  margin-top: 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.preset-chip-care {
  background: var(--bg-cream-tint);
  border: 1px solid rgba(0, 0, 0, 0.04);
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.preset-chip-care:hover {
  background: var(--sage-light);
  color: var(--sage-deep);
  border-color: var(--sage-border);
}

/* Mascot Column */
.mascot-hero-card {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-plush);
  border: 1px solid rgba(0, 0, 0, 0.04);
  text-align: center;
}

.mascot-speech-bubble {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border: 2px solid var(--honey-amber);
  border-radius: var(--radius-lg);
  padding: 12px 20px;
  box-shadow: 0 8px 20px rgba(230, 138, 25, 0.15);
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-charcoal);
  white-space: nowrap;
  animation: floatBubble 3s ease-in-out infinite;
  cursor: pointer;
}

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

.mascot-speech-bubble::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px 8px 0;
  border-style: solid;
  border-color: #ffffff transparent;
  display: block;
  width: 0;
}

.mascot-img-wrap {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1;
  margin: 12px auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.mascot-img-wrap:hover {
  transform: scale(1.02);
}

.mascot-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mascot-caption {
  font-size: 13px;
  color: var(--text-soft);
  margin-top: 14px;
  font-weight: 500;
}

/* Stress Transformer / Interactive Zen Slider */
.stress-section {
  margin: 70px 0 40px;
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-plush);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.section-label-care {
  font-family: 'Nunito', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--honey-amber);
  margin-bottom: 8px;
}

.stress-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}

.stress-header h2 {
  font-family: 'Lora', Georgia, serif;
  font-size: 34px;
  font-weight: 600;
  margin-bottom: 12px;
}

.stress-slider-wrap {
  max-width: 600px;
  margin: 0 auto 40px;
  text-align: center;
}

.stress-range-input {
  width: 100%;
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, #f87171 0%, #fbbf24 50%, #34d399 100%);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.stress-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--sage-primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.stress-range-input::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.stress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
  margin-top: 12px;
}

.stress-card-box {
  background: var(--bg-cream-tint);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.stress-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.stress-col-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.stress-item {
  display: flex;
  gap: 12px;
  font-size: 14px;
  margin-bottom: 14px;
  line-height: 1.5;
}

/* Live Results Caring Card */
.results-care-box {
  display: none;
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-plush);
  margin-top: 40px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.results-care-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 24px;
}

.care-score-pill {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 20px;
  font-weight: 800;
  font-family: 'Nunito', sans-serif;
  background: var(--warm-coral-light);
  color: var(--warm-coral);
}

.care-score-pill.good {
  background: var(--sage-light);
  color: var(--sage-primary);
}

.caring-dialogue-banner {
  background: var(--sage-light);
  border: 1px solid var(--sage-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  font-size: 15px;
  color: var(--sage-deep);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.caring-risk-item {
  background: var(--bg-cream-tint);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
  border-left: 4px solid var(--honey-amber);
}

.caring-risk-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-charcoal);
  margin-bottom: 8px;
}

.caring-risk-fix {
  margin-top: 10px;
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 13px;
  color: var(--sage-primary);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

/* 3 Caring Steps */
.care-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 60px 0;
}

.care-step-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0, 0, 0, 0.04);
  position: relative;
}

.step-num {
  font-family: 'Lora', serif;
  font-size: 32px;
  font-style: italic;
  color: var(--sage-primary);
  margin-bottom: 12px;
}

.step-card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card-text {
  font-size: 14px;
  color: var(--text-muted);
}

/* Footer */
.care-footer {
  margin-top: 80px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 40px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-soft);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .stress-card-grid {
    grid-template-columns: 1fr;
  }
  .care-steps-grid {
    grid-template-columns: 1fr;
  }
  .hero-heading {
    font-size: 36px;
  }
}
