/* ============================================================
   VedicGuru.in — Main Stylesheet
   White & Saffron · Clean Modern Indian Design
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --saffron:      #f97316;
  --saffron-deep: #ea6000;
  --saffron-light:#fff7ed;
  --saffron-soft: #fed7aa;
  --gold:         #d97706;
  --gold-light:   #fef3c7;
  --maroon:       #9f1239;
  --green:        #16a34a;

  --bg:           #ffffff;
  --bg-soft:      #fafaf9;
  --bg-card:      #ffffff;
  --bg-warm:      #fff7ed;
  --bg-muted:     #f5f5f4;

  --text-dark:    #1c1917;
  --text-body:    #44403c;
  --text-muted:   #78716c;
  --text-light:   #a8a29e;

  --border:       #e7e5e4;
  --border-warm:  #fed7aa;
  --border-focus: #f97316;

  --shadow-sm:    0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:    0 8px 32px rgba(0,0,0,0.10);
  --shadow-saffron: 0 4px 20px rgba(249,115,22,0.25);

  --radius-sm:    8px;
  --radius:       12px;
  --radius-lg:    20px;
  --radius-xl:    28px;

  --font-body:    'Inter', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --transition:   0.2s ease;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--saffron); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--saffron-deep); }
img { max-width: 100%; display: block; }

/* ── Layout ────────────────────────────────────────────────── */
.container    { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 680px;  margin: 0 auto; padding: 0 24px; }
.container-md { max-width: 900px;  margin: 0 auto; padding: 0 24px; }

/* ── Navbar ─────────────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.navbar-inner {
  display: flex; align-items: center;
  height: 64px; gap: 8px;
}
.navbar-brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.35rem; font-weight: 800;
  color: var(--text-dark) !important;
  letter-spacing: -0.02em; flex-shrink: 0;
}
.navbar-brand .brand-vedic { color: var(--saffron); }
.navbar-brand img { height: 36px; width: auto; }
.navbar-spacer { flex: 1; }
.navbar-links {
  display: flex; align-items: center; gap: 4px;
}
.navbar-links a {
  color: var(--text-body);
  font-size: 0.88rem; font-weight: 500;
  padding: 8px 12px; border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.navbar-links a:hover { background: var(--bg-warm); color: var(--saffron); }
.navbar-links a.active { color: var(--saffron); background: var(--bg-warm); }

/* Nav dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-btn {
  display: flex; align-items: center; gap: 6px;
  background: none; border: none;
  color: var(--text-body); font-family: var(--font-body);
  font-size: 0.88rem; font-weight: 500;
  padding: 8px 12px; border-radius: var(--radius-sm);
  cursor: pointer; transition: all var(--transition);
}
.nav-dropdown-btn:hover,
.nav-dropdown-btn.active { background: var(--bg-warm); color: var(--saffron); }
.nav-dropdown-menu {
  display: none; position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  min-width: 220px; z-index: 200; overflow: hidden;
  padding: 6px;
}
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: var(--radius-sm);
  color: var(--text-body); font-size: 0.875rem;
  transition: all var(--transition);
}
.nav-dropdown-menu a:hover { background: var(--bg-warm); color: var(--saffron); }

/* Account button */
.nav-acct { position: relative; }
.nav-acct-btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-warm); border: 1.5px solid var(--border-warm);
  border-radius: 99px; padding: 5px 14px 5px 5px;
  cursor: pointer; font-family: var(--font-body); transition: all var(--transition);
}
.nav-acct-btn:hover { border-color: var(--saffron); box-shadow: var(--shadow-saffron); }
.nav-acct-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-deep));
  color: #fff; font-weight: 700; font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center;
}
.nav-acct-name { font-size: 0.85rem; font-weight: 600; color: var(--text-dark); }
.nav-acct-menu {
  display: none; position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  min-width: 220px; z-index: 200; overflow: hidden;
}
.nav-acct.open .nav-acct-menu { display: block; }
.nav-acct-header {
  padding: 16px; border-bottom: 1px solid var(--border);
  background: var(--bg-warm);
}
.nav-acct-menu a {
  display: block; padding: 10px 16px;
  color: var(--text-body); font-size: 0.875rem;
  transition: all var(--transition);
}
.nav-acct-menu a:hover { background: var(--bg-warm); color: var(--saffron); }
.nav-acct-divider { height: 1px; background: var(--border); margin: 4px 0; }

/* Mobile */
.hamburger {
  display: none; background: none; border: none;
  color: var(--text-dark); font-size: 1.4rem; cursor: pointer;
  padding: 6px; border-radius: var(--radius-sm);
}
.nav-acct-mobile { display: none; }
@media (max-width: 768px) {
  .hamburger { display: flex; align-items: center; justify-content: center; }
  .navbar-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: flex-start;
    padding: 12px 16px; gap: 2px; z-index: 99;
    box-shadow: var(--shadow-md);
  }
  .navbar-links.open { display: flex; }
  .navbar-links > a,
  .navbar-links > .nav-dropdown,
  .navbar-links > .nav-acct { width: 100%; }
  .navbar-links a { width: 100%; }
  .nav-dropdown-btn { width: 100%; }
  .nav-dropdown-menu { position: static; box-shadow: none; border: none; background: var(--bg-warm); }
  .nav-acct { display: none; }
  .nav-acct-mobile { display: block; }
  .nav-acct-mobile a {
    display: block; padding: 10px 12px;
    color: var(--text-body); font-size: 0.88rem;
    border-radius: var(--radius-sm);
  }
  .nav-acct-mobile a:hover { background: var(--bg-warm); color: var(--saffron); }
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 24px; border: none; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 600;
  cursor: pointer; transition: all var(--transition); text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--saffron); color: #fff;
}
.btn-primary:hover {
  background: var(--saffron-deep); color: #fff;
  box-shadow: var(--shadow-saffron); transform: translateY(-1px);
}
.btn-outline {
  background: transparent; color: var(--saffron);
  border: 1.5px solid var(--saffron);
}
.btn-outline:hover {
  background: var(--bg-warm); transform: translateY(-1px);
}
.btn-ghost {
  background: var(--bg-muted); color: var(--text-body);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--bg-warm); color: var(--saffron); }
.btn-white {
  background: #fff; color: var(--saffron); font-weight: 700;
  box-shadow: var(--shadow-md);
}
.btn-white:hover { box-shadow: var(--shadow-lg); transform: translateY(-1px); }
.btn-lg { padding: 14px 32px; font-size: 1rem; border-radius: var(--radius); }
.btn-sm { padding: 7px 16px; font-size: 0.82rem; }
.btn-full { width: 100%; }

/* ── Cards ──────────────────────────────────────────────────── */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: all var(--transition);
}
.card:hover {
  border-color: var(--border-warm);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card-sm { padding: 20px; border-radius: var(--radius); }

/* ── Forms ──────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block; font-size: 0.82rem; font-weight: 600;
  color: var(--text-dark); margin-bottom: 6px;
}
.form-control {
  width: 100%; background: var(--bg);
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text-dark); font-family: var(--font-body);
  font-size: 0.95rem; padding: 11px 14px; outline: none;
  transition: all var(--transition);
}
.form-control:focus {
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.1);
}
.form-control::placeholder { color: var(--text-light); }
.form-hint { color: var(--text-muted); font-size: 0.78rem; margin-top: 5px; }
.form-error { color: #dc2626; font-size: 0.82rem; margin-top: 5px; }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #fff7ed 0%, #ffffff 50%, #fff7ed 100%);
  padding: 80px 0 72px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '🕉';
  position: absolute; right: -40px; top: 50%;
  transform: translateY(-50%);
  font-size: 340px; opacity: 0.04;
  pointer-events: none;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-warm); border: 1px solid var(--border-warm);
  color: var(--saffron); padding: 6px 16px; border-radius: 99px;
  font-size: 0.8rem; font-weight: 600; margin-bottom: 24px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--text-dark); line-height: 1.15;
  margin-bottom: 20px; letter-spacing: -0.02em;
}
.hero h1 em {
  font-style: italic; color: var(--saffron);
}
.hero p {
  font-size: 1.1rem; color: var(--text-muted);
  max-width: 560px; line-height: 1.7; margin-bottom: 36px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 40px; margin-top: 56px; flex-wrap: wrap;
}
.hero-stat-num {
  font-size: 1.8rem; font-weight: 800;
  color: var(--saffron); letter-spacing: -0.02em;
}
.hero-stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }

/* ── Tool Page Hero ─────────────────────────────────────────── */
.tool-hero {
  background: linear-gradient(135deg, #fff7ed, #ffffff);
  border-bottom: 1px solid var(--border-warm);
  padding: 56px 0 48px; text-align: center;
}
.tool-hero-pill {
  display: inline-block;
  background: var(--bg-warm); border: 1px solid var(--border-warm);
  color: var(--saffron); padding: 5px 16px; border-radius: 99px;
  font-size: 0.78rem; font-weight: 600; margin-bottom: 18px;
  letter-spacing: 0.04em;
}
.tool-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--text-dark); margin-bottom: 12px;
}
.tool-hero h1 em { font-style: italic; color: var(--saffron); }
.tool-hero p { color: var(--text-muted); max-width: 560px; margin: 0 auto; }

/* ── Section Headings ───────────────────────────────────────── */
.section-tag {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--saffron); margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--text-dark); margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.section-subtitle {
  color: var(--text-muted); font-size: 1rem; max-width: 540px;
}

/* ── Feature / Tool Cards ───────────────────────────────────── */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.tool-card {
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 24px;
  cursor: pointer; transition: all var(--transition);
  text-decoration: none; display: block; color: inherit;
}
.tool-card:hover {
  border-color: var(--saffron); box-shadow: var(--shadow-saffron);
  transform: translateY(-3px);
}
.tool-card-icon {
  width: 52px; height: 52px; border-radius: var(--radius);
  background: var(--bg-warm); display: flex; align-items: center;
  justify-content: center; font-size: 1.6rem; margin-bottom: 16px;
  transition: all var(--transition);
}
.tool-card:hover .tool-card-icon { background: var(--saffron); }
.tool-card h3 { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.tool-card p  { font-size: 0.83rem; color: var(--text-muted); line-height: 1.5; }
.tool-card-arrow {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.8rem; font-weight: 600; color: var(--saffron);
  margin-top: 14px;
}

/* ── Zodiac Cards ───────────────────────────────────────────── */
.zodiac-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 14px;
}
.zodiac-card {
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 18px 12px;
  text-align: center; cursor: pointer; transition: all var(--transition);
}
.zodiac-card:hover, .zodiac-card.active {
  border-color: var(--saffron); background: var(--bg-warm);
  box-shadow: var(--shadow-saffron); transform: translateY(-2px);
}
.zodiac-symbol { font-size: 2rem; margin-bottom: 6px; }
.zodiac-name   { font-size: 0.82rem; font-weight: 700; color: var(--text-dark); }
.zodiac-rashi  { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }

/* ── Chat ───────────────────────────────────────────────────── */
.chat-wrapper {
  max-width: 860px; margin: 0 auto;
  padding: 24px 20px 40px;
  display: flex; flex-direction: column;
  height: calc(100vh - 64px); box-sizing: border-box;
}
.chat-header {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px;
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); margin-bottom: 16px; flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.chat-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-deep));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
}
.chat-header-info h3 { margin: 0; font-size: 1rem; font-weight: 700; color: var(--text-dark); }
.chat-header-info p  { margin: 0; font-size: 0.78rem; color: var(--green); font-weight: 500; }
.chat-messages {
  flex: 1; overflow-y: auto; display: flex;
  flex-direction: column; gap: 14px; padding: 4px 4px 12px; min-height: 0;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.chat-bubble {
  max-width: 76%; padding: 14px 18px; border-radius: 18px;
  font-size: 0.92rem; line-height: 1.65; word-break: break-word;
}
.chat-bubble.user {
  align-self: flex-end;
  background: var(--saffron); color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-bubble.ai {
  align-self: flex-start;
  background: var(--bg); border: 1.5px solid var(--border);
  color: var(--text-dark); border-bottom-left-radius: 4px;
  box-shadow: var(--shadow-sm);
}
.bubble-time { font-size: 0.68rem; opacity: 0.5; margin-top: 6px; text-align: right; }
.chat-typing {
  display: none; align-self: flex-start;
  padding: 14px 18px; background: var(--bg);
  border: 1.5px solid var(--border); border-radius: 18px; border-bottom-left-radius: 4px;
}
.typing-dots { display: flex; gap: 4px; align-items: center; }
.typing-dots span {
  width: 7px; height: 7px; background: var(--saffron);
  border-radius: 50%; animation: tdot 1.2s infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes tdot { 0%,80%,100%{transform:translateY(0)} 40%{transform:translateY(-8px)} }
.chat-input-area {
  flex-shrink: 0; margin-top: 12px;
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}
.chat-limit-bar {
  font-size: 0.78rem; color: var(--text-muted);
  margin-bottom: 10px; text-align: center;
}
.chat-limit-bar span { font-weight: 700; color: var(--saffron); }
.quick-prompt-btn {
  background: var(--bg-warm); border: 1px solid var(--border-warm);
  border-radius: 99px; padding: 5px 13px; font-size: 0.78rem;
  color: var(--saffron); cursor: pointer; font-family: var(--font-body);
  font-weight: 500; transition: all var(--transition);
}
.quick-prompt-btn:hover { background: var(--saffron); color: #fff; }
.chat-input-row { display: flex; gap: 10px; align-items: flex-end; }
.chat-input {
  flex: 1; background: var(--bg-soft);
  border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 11px 14px; font-size: 0.92rem;
  font-family: var(--font-body); color: var(--text-dark);
  resize: none; outline: none; line-height: 1.5; max-height: 120px;
  transition: all var(--transition);
}
.chat-input:focus { border-color: var(--saffron); box-shadow: 0 0 0 3px rgba(249,115,22,0.1); }
.chat-input::placeholder { color: var(--text-light); }
.chat-send-btn {
  width: 46px; height: 46px; border: none; border-radius: var(--radius);
  background: var(--saffron); font-size: 1.2rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all var(--transition); flex-shrink: 0; color: #fff;
}
.chat-send-btn:hover { background: var(--saffron-deep); box-shadow: var(--shadow-saffron); transform: scale(1.05); }

/* ── Auth pages ─────────────────────────────────────────────── */
.auth-page {
  min-height: 100vh; display: flex;
  align-items: center; justify-content: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, #fff7ed 0%, #fff 100%);
}
.auth-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 44px 40px;
  width: 100%; max-width: 480px;
  box-shadow: var(--shadow-lg);
}
.auth-logo { text-align: center; margin-bottom: 32px; }
.auth-logo h1 {
  font-family: var(--font-display); font-size: 1.8rem;
  color: var(--text-dark);
}
.auth-logo h1 span { color: var(--saffron); }
.auth-logo p { color: var(--text-muted); font-size: 0.88rem; margin-top: 6px; }

/* ── Badges ─────────────────────────────────────────────────── */
.badge {
  display: inline-block; padding: 3px 10px; border-radius: 99px;
  font-size: 0.72rem; font-weight: 700;
}
.badge-free    { background: var(--bg-warm); color: var(--saffron); border: 1px solid var(--border-warm); }
.badge-premium { background: #faf5ff; color: #7c3aed; border: 1px solid #ddd6fe; }

/* ── Alerts ─────────────────────────────────────────────────── */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 0.88rem; margin-bottom: 16px; }
.alert-error   { background: #fef2f2; border: 1px solid #fecaca; color: #dc2626; }
.alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #16a34a; }
.alert-info    { background: var(--bg-warm); border: 1px solid var(--border-warm); color: var(--saffron); }

/* ── Tables ─────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; }
th { background: var(--bg-warm); color: var(--text-dark); font-weight: 700; font-size: 0.82rem; text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border-warm); }
td { padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 0.88rem; color: var(--text-body); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--bg-soft); }

/* ── Utility ─────────────────────────────────────────────────── */
.text-saffron { color: var(--saffron); }
.text-muted   { color: var(--text-muted); }
.text-dark    { color: var(--text-dark); }
.text-center  { text-align: center; }
.mt-1{margin-top:8px} .mt-2{margin-top:16px} .mt-3{margin-top:24px} .mt-4{margin-top:32px} .mt-6{margin-top:48px} .mt-8{margin-top:64px}
.mb-1{margin-bottom:8px} .mb-2{margin-bottom:16px} .mb-3{margin-bottom:24px} .mb-4{margin-bottom:32px}
.p-section { padding: 72px 0; }
.divider { border: none; border-top: 1px solid var(--border); margin: 24px 0; }
.loading-spinner {
  display: inline-block; width: 20px; height: 20px;
  border: 2px solid var(--border-warm);
  border-top-color: var(--saffron);
  border-radius: 50%; animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--bg-soft); border-top: 1px solid var(--border);
  padding: 56px 0 28px; margin-top: 80px;
}
.footer-brand {
  font-family: var(--font-display); font-size: 1.3rem;
  color: var(--text-dark); margin-bottom: 10px;
}
.footer-brand span { color: var(--saffron); }
.footer-desc { color: var(--text-muted); font-size: 0.85rem; line-height: 1.7; max-width: 260px; }
.footer-heading { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dark); margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: var(--text-muted); font-size: 0.85rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--saffron); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; margin-top: 48px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { color: var(--text-light); font-size: 0.8rem; }

/* ── Admin ──────────────────────────────────────────────────── */
.admin-layout { display: flex; min-height: calc(100vh - 64px); }
.admin-sidebar {
  width: 240px; background: var(--bg-soft);
  border-right: 1px solid var(--border);
  padding: 24px 12px; flex-shrink: 0;
  position: sticky; top: 64px; height: calc(100vh - 64px); overflow-y: auto;
}
.admin-sidebar a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--radius-sm);
  color: var(--text-body); font-size: 0.875rem; font-weight: 500;
  transition: all var(--transition); margin-bottom: 2px;
}
.admin-sidebar a:hover, .admin-sidebar a.active {
  background: var(--bg-warm); color: var(--saffron);
}
.admin-content { flex: 1; padding: 32px; overflow-y: auto; }
.admin-stat {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px; text-align: center;
}
.admin-stat .num { font-size: 2.2rem; font-weight: 800; color: var(--saffron); }
.admin-stat .lbl { color: var(--text-muted); font-size: 0.82rem; margin-top: 4px; }

/* ── Blog ───────────────────────────────────────────────────── */
.blog-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all var(--transition); text-decoration: none; display: block;
}
.blog-card:hover { border-color: var(--border-warm); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.blog-card-img { height: 180px; background: var(--bg-warm); display: flex; align-items: center; justify-content: center; font-size: 3rem; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 20px; }
.blog-card-cat { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--saffron); margin-bottom: 8px; }
.blog-card-title { font-weight: 700; color: var(--text-dark); font-size: 1rem; margin-bottom: 8px; line-height: 1.4; }
.blog-card-excerpt { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }
.blog-card-meta { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); font-size: 0.75rem; color: var(--text-light); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .p-section { padding: 48px 0; }
  .hero { padding: 56px 0 48px; }
  .auth-card { padding: 32px 24px; }
  .chat-bubble { max-width: 90%; }
  .tool-grid { grid-template-columns: repeat(2, 1fr); }
  .zodiac-grid { grid-template-columns: repeat(3, 1fr); }
  .admin-sidebar { display: none; }
  .admin-content { padding: 16px; }
}
@media (max-width: 480px) {
  .tool-grid { grid-template-columns: 1fr; }
  .zodiac-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-cta { flex-direction: column; }
}
