/* Unhurried AI - Brand-aligned Design System */
/* Matches www.unhurried.in: Forest Green #27AE60, Lato font, clean white backgrounds */

@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,400&display=swap');

:root {
  /* Unhurried.in Brand Colors */
  --green-primary:   #27AE60;
  --green-dark:      #1e8449;
  --green-deeper:    #196F3D;
  --green-light:     #d5f5e3;
  --green-pale:      #eafaf1;
  --green-glow:      rgba(39, 174, 96, 0.18);

  --blue-secondary:  #3A539B;

  /* Surfaces */
  --bg-page:         #f8faf8;
  --bg-white:        #ffffff;
  --bg-card:         #ffffff;
  --bg-card-hover:   #f0faf4;
  --bg-header:       #ffffff;

  /* Borders */
  --border-light:    #e2ebe4;
  --border-green:    rgba(39, 174, 96, 0.35);
  --border-card:     #e8f4ec;

  /* Text */
  --text-dark:       #1a2e1d;
  --text-body:       #3d4f40;
  --text-muted:      #6b7c6e;
  --text-green:      #27AE60;
  --text-green-dark: #1e8449;
  --text-white:      #ffffff;

  /* Typography */
  --font-main:       'Lato', sans-serif;

  /* Radii */
  --radius-xl:       18px;
  --radius-lg:       12px;
  --radius-md:       8px;
  --radius-sm:       4px;
  --radius-pill:     50px;

  /* Transitions */
  --transition:      all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--text-body);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-main);
  font-weight: 700;
  color: var(--text-dark);
}

/* ===== HEADER ===== */
.site-header {
  background: var(--bg-white);
  border-bottom: 2px solid var(--green-primary);
  box-shadow: 0 2px 12px rgba(39, 174, 96, 0.08);
}

/* ===== CARD & PANELS ===== */
.glass-panel {
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 20px rgba(39, 174, 96, 0.06);
}

.glass-card {
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--green-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(39, 174, 96, 0.12);
}

/* ===== HERO SEARCH BOX (TOP PLACEMENT) ===== */
.hero-input-wrapper {
  background: #ffffff;
  border: 2px solid #d5f5e3;
  border-radius: 16px;
  transition: var(--transition);
  box-shadow: 0 4px 18px rgba(39, 174, 96, 0.08);
}

.hero-input-wrapper:focus-within {
  border-color: var(--green-primary);
  box-shadow: 0 0 0 4px rgba(39, 174, 96, 0.18), 0 8px 24px rgba(39, 174, 96, 0.12);
}

/* ===== CATEGORY PILL CHIPS ===== */
.category-pill {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: #1e8449;
  border: 1px solid #d5f5e3;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.category-pill:hover {
  background: var(--green-primary);
  color: #ffffff;
  border-color: var(--green-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--green-glow);
}

.category-pill.active {
  background: var(--green-primary);
  color: #ffffff;
  border-color: var(--green-primary);
  box-shadow: 0 4px 14px var(--green-glow);
}

/* ===== PRIMARY BUTTON ===== */
.bg-terracotta-btn {
  background: var(--green-primary);
  color: var(--text-white);
  border: none;
  letter-spacing: 0.04em;
  font-weight: 700;
  font-family: var(--font-main);
  transition: var(--transition);
  box-shadow: 0 2px 10px var(--green-glow);
  cursor: pointer;
}

.bg-terracotta-btn:hover {
  background: var(--green-dark);
  box-shadow: 0 6px 20px rgba(39, 174, 96, 0.35);
  transform: translateY(-1px);
}

.bg-terracotta-btn:active {
  transform: translateY(1px);
}

/* ===== NAV TABS ===== */
.nav-tab {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 7px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nav-tab.active {
  color: var(--text-white);
  background: var(--green-primary);
  border-color: var(--green-primary);
  box-shadow: 0 0 14px var(--green-glow);
}

.nav-tab:hover:not(.active) {
  color: var(--green-dark);
  background: var(--green-pale);
  border-color: var(--border-green);
}

/* ===== PULSE BADGE ===== */
.pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--green-pale);
  color: var(--green-dark);
  border: 1px solid var(--border-green);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--green-primary);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--green-primary);
  animation: pulse-ring 1.5s ease infinite;
}

@keyframes pulse-ring {
  0%   { transform: scale(0.95); opacity: 1; }
  50%  { transform: scale(1.35); opacity: 0.5; }
  100% { transform: scale(0.95); opacity: 1; }
}

/* ===== HIDE HORIZONTAL SCROLLBAR BUT ALLOW SCROLLING ===== */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar       { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-page); }
::-webkit-scrollbar-thumb { background: #c8e6d3; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--green-primary); }
