/* Topbar */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 30px;
  background: #f2e4ed; 
  border-bottom: 1px solid #f3d9ec;
}

.heading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.heading i {
  color: #4e20ce; /* pastel purple-pink */
  font-size: 40px;
}

.heading h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: #3a1f55;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav h3 {
  margin: 0;
  font-size: 18px;
  font-weight: normal;
  cursor: pointer;
  color: #5b446a;
}

.nav h3:hover {
  color: #d291bc;
}

.btn {
  background: linear-gradient(90deg, #f6d1f2, #cdb4db);
  color: #4a3f55;
  font-size: 16px;
  font-weight: bold;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* Hero */
.hero {
  text-align: center;
  padding: 100px 20px;
  background: linear-gradient(135deg, #7584f5, #fd54cd);
}

.hero h1 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #4a3f55;
}

.hero h1 span {
  background: linear-gradient(90deg, #cdb4db, #a2d2ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 18px;
  color: #070117;
  max-width: 700px;
  margin: 0 auto 40px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.chat-btn {
  background: #cdb4db;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.chat-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.journal-btn {
  background: #a2d2ff;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.journal-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* Section */
.section {
  text-align: center;
  padding: 80px 20px;
  background: #fff;
}

.section h2 {
  font-size: 32px;
  font-weight: 700;
  color: #4a3f55;
  margin-bottom: 20px;
}

.section p {
  font-size: 18px;
  color: #5c5470;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Features */
.features-section {
  background: #fef6fb;
  padding: 60px 16px;
}

.features {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

@media (max-width: 1024px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .features { grid-template-columns: 1fr; }
}

.feature-card {
  background: #fff;
  border: 1px solid #f3d9ec;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 2px 6px rgba(16, 24, 40, 0.04);
  transition: transform .18s ease, box-shadow .18s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(16, 24, 40, 0.08);
}

.feature-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 14px;
  background: #fde2e4;
  color: #6d597a;
}

.feature-card h3 {
  margin: 8px 0 8px;
  font-size: 22px;
  font-weight: 700;
  color: #4a3f55;
  letter-spacing: -0.01em;
}

.feature-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #5c5470;
}

/* Footer */
footer {
  background-color: #fff;
  padding: 20px 40px;
  border-top: 1px solid #f3d9ec;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-left i {
  color: #d291bc;
  font-size: 18px;
}

.footer-title {
  font-weight: bold;
  color: #4a3f55;
  font-size: 16px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  text-decoration: none;
  color: #6d597a;
  font-size: 14px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  font-size: 14px;
  color: #5c5470;
  margin-top: 10px;
}
.mood-inline {
  max-width: 560px;
  margin: 24px auto 0;
  padding: 18px 20px;
  border-radius: 12px;
  background: rgba(255,255,255,0.8);
  box-shadow: 0 2px 10px rgba(16, 24, 40, 0.06);
  text-align: center;
}

.mood-title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: #4a3f55; /* matches your headings */
}

/* Slider track matches your .btn gradient (#f6d1f2 → #cdb4db) */
.mood-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f6d1f2, #cdb4db);
  outline: none;
  margin: 12px 0 6px;
  cursor: pointer;
}

/* Slider thumb (WebKit) */
.mood-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #cdb4db;
  transition: transform .2s ease;
}
.mood-slider::-webkit-slider-thumb:hover { transform: scale(1.12); }

/* Slider thumb (Firefox) */
.mood-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #cdb4db;
  transition: transform .2s ease;
}
.mood-slider::-moz-range-thumb:hover { transform: scale(1.12); }

.mood-emoji {
  font-size: 34px;
  line-height: 1;
  margin: 6px 0 2px;
}

.mood-label {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #5c5470; /* matches your paragraph/card text tone */
}

.mood-msg {
  margin-top: 8px;
  font-size: 14px;
  color: #4a4a6a;
  font-weight: 500;
}

