/* ==========================================================================
   Curry Leaf & Tulsi Plant Care Guide - Design System & Styles
   ========================================================================== */

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

:root {
  /* Botanical Color Palette */
  --primary-900: #132a1e;
  --primary-800: #193c2b;
  --primary-700: #205036;
  --primary-600: #2d6a4f;
  --primary-500: #40916c;
  --primary-400: #52b788;
  --primary-200: #b7e4c7;
  --primary-100: #d8f3dc;
  --primary-50: #f1f9f4;

  /* Warm Terracotta & Amber Accents */
  --accent-amber: #d97706;
  --accent-amber-light: #fef3c7;
  --accent-terracotta: #c2593f;
  --accent-terracotta-light: #fae8e0;
  --accent-purple: #7c3aed;
  --accent-purple-light: #f3e8ff;

  /* Neutrals */
  --bg-main: #f8faf7;
  --bg-card: #ffffff;
  --bg-card-subtle: #f3f6f2;
  --text-main: #1f2937;
  --text-muted: #4b5563;
  --text-light: #6b7280;
  --border-subtle: #e5e9e2;
  --border-focus: #40916c;

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Outfit', 'Inter', sans-serif;

  /* Spacing & Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-md: 0 4px 12px rgba(25,60,43,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 30px rgba(25,60,43,0.12), 0 4px 8px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 40px rgba(19,42,30,0.16);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary-600);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-800);
}

/* ==========================================================================
   Header & Top Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-900);
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--primary-100);
  color: var(--primary-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-tabs {
  display: flex;
  background: var(--bg-card-subtle);
  padding: 4px;
  border-radius: 50px;
  border: 1px solid var(--border-subtle);
  gap: 4px;
}

.nav-tab {
  padding: 0.45rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 50px;
  color: var(--text-muted);
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-tab.active {
  background: var(--primary-700);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.nav-tab:not(.active):hover {
  background: rgba(255, 255, 255, 0.8);
  color: var(--primary-800);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-qr {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 50px;
  background: var(--primary-50);
  color: var(--primary-700);
  border: 1px solid var(--primary-200);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
}

.btn-qr:hover {
  background: var(--primary-100);
  transform: translateY(-1px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  background: linear-gradient(180deg, #edf6f0 0%, var(--bg-main) 100%);
  padding: 3.5rem 1.5rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-700);
  border: 1px solid var(--primary-200);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--primary-900);
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.6rem;
  }
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

/* Quick Stats Bar */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto 2.5rem;
}

.stat-card {
  background: #ffffff;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  text-align: left;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stat-icon {
  font-size: 1.6rem;
  width: 44px;
  height: 44px;
  background: var(--primary-50);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--text-light);
}

.stat-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-900);
}

/* Hero Image Container */
.hero-image-wrapper {
  max-width: 820px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
  position: relative;
}

.hero-image-wrapper img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-image-wrapper:hover img {
  transform: scale(1.02);
}

.image-caption {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.75rem;
  font-style: italic;
}

/* ==========================================================================
   Layout Structure: Sidebar TOC + Main Content
   ========================================================================== */
.main-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .main-wrapper {
    grid-template-columns: 280px 1fr;
    gap: 3.5rem;
  }
}

/* Sticky Table of Contents */
.toc-sidebar {
  display: none;
}

@media (min-width: 1024px) {
  .toc-sidebar {
    display: block;
    position: sticky;
    top: 5rem;
    height: calc(100vh - 6rem);
    overflow-y: auto;
    padding-right: 1rem;
  }
}

.toc-card {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.toc-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--primary-800);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-100);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toc-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.toc-nav li a {
  display: block;
  padding: 0.4rem 0.6rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  line-height: 1.4;
}

.toc-nav li a:hover {
  color: var(--primary-700);
  background: var(--primary-50);
}

.toc-nav li a.active {
  color: var(--primary-800);
  font-weight: 700;
  background: var(--primary-100);
  padding-left: 0.8rem;
  border-left: 3px solid var(--primary-600);
}

/* Mobile Quick Navigation Chips */
.mobile-toc-bar {
  display: block;
  margin-bottom: 1.5rem;
  background: #ffffff;
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 1024px) {
  .mobile-toc-bar {
    display: none;
  }
}

.mobile-toc-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-800);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.chips-wrapper {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  scrollbar-width: thin;
}

.toc-chip {
  white-space: nowrap;
  padding: 0.35rem 0.8rem;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.toc-chip:hover {
  background: var(--primary-100);
  color: var(--primary-800);
}

/* Content Area & Sections */
.article-content {
  max-width: 820px;
}

.guide-section {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  margin-bottom: 2.25rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.guide-section:hover {
  box-shadow: var(--shadow-md);
}

.section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
}

.section-number {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--primary-700);
  background: var(--primary-100);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--primary-900);
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 1.85rem;
  }
}

.guide-section p {
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 1.25rem;
  line-height: 1.75;
}

.guide-section p:last-child {
  margin-bottom: 0;
}

/* Callout & Recipe Boxes */
.callout-box {
  background: var(--bg-card-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-left: 4px solid var(--primary-600);
}

.callout-box.amber {
  background: #fffbeb;
  border-left-color: var(--accent-amber);
}

.callout-box.terracotta {
  background: #fdf6f4;
  border-left-color: var(--accent-terracotta);
}

.callout-box.purple {
  background: #faf5ff;
  border-left-color: var(--accent-purple);
}

.callout-heading {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-900);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.callout-box ul, .callout-box ol,
.guide-section ul, .guide-section ol {
  padding-left: 1.4rem;
  margin-bottom: 1.25rem;
}

.guide-section li {
  margin-bottom: 0.6rem;
  font-size: 1.02rem;
  line-height: 1.65;
}

.guide-section strong {
  color: var(--primary-900);
  font-weight: 600;
}

/* Soil Recipe Visualizer */
.recipe-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.recipe-bar-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.recipe-bar-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 600;
}

.progress-track {
  height: 10px;
  background: #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 10px;
  transition: width 1s ease-in-out;
}

.fill-topsoil { background: #5c4033; width: 40%; }
.fill-compost { background: #2d6a4f; width: 30%; }
.fill-sand { background: #d4a373; width: 15%; }
.fill-perlite { background: #94a3b8; width: 10%; }
.fill-peat { background: #7f5539; width: 5%; }

/* Step-by-Step Cards */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.25rem 0;
}

@media (min-width: 640px) {
  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.step-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  background: var(--primary-100);
  color: var(--primary-800);
  width: fit-content;
}

.step-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-900);
}

.step-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Mid-content Photography */
.content-image-box {
  margin: 2rem 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
}

.content-image-box img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
}

/* ==========================================================================
   Interactive Plant Doctor / Diagnostics
   ========================================================================== */
.plant-doctor {
  background: linear-gradient(135deg, #f0f7f2 0%, #ffffff 100%);
  border: 2px solid var(--primary-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2.5rem 0;
  box-shadow: var(--shadow-md);
}

.doctor-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.doctor-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary-700);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.doctor-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--primary-900);
}

.doctor-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.symptom-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.symptom-btn {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.symptom-btn:hover {
  background: var(--primary-50);
  border-color: var(--primary-400);
  transform: translateY(-1px);
}

.symptom-btn.active {
  background: var(--primary-700);
  color: #ffffff;
  border-color: var(--primary-700);
  box-shadow: var(--shadow-sm);
}

.diagnosis-display {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.diagnosis-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-900);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.diagnosis-cause {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.diagnosis-solution-box {
  background: var(--primary-50);
  border-left: 3px solid var(--primary-600);
  padding: 0.85rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.diagnosis-solution-title {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--primary-800);
  margin-bottom: 0.25rem;
}

.diagnosis-solution-text {
  font-size: 0.9rem;
  color: var(--primary-900);
}

/* ==========================================================================
   Feedback & Contact Form (Netlify Compatible)
   ========================================================================== */
.feedback-section {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-card-subtle) 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  margin: 3rem 0;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.feedback-header {
  max-width: 600px;
  margin: 0 auto 2rem;
}

.feedback-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-900);
  margin-bottom: 0.5rem;
}

.feedback-desc {
  font-size: 1rem;
  color: var(--text-muted);
}

.feedback-form {
  max-width: 580px;
  margin: 0 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-900);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-main);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary-600);
  box-shadow: 0 0 0 3px rgba(64, 145, 108, 0.2);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit-btn {
  background: var(--primary-700);
  color: #ffffff;
  border: none;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
}

.form-submit-btn:hover {
  background: var(--primary-800);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.direct-email {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.direct-email a {
  font-weight: 600;
  text-decoration: underline;
}

/* ==========================================================================
   QR Code Modal
   ========================================================================== */
.qr-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.qr-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.qr-modal-content {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 440px;
  width: 100%;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-xl);
  transform: scale(0.95);
  transition: transform 0.3s ease;
  position: relative;
}

.qr-modal.open .qr-modal-content {
  transform: scale(1);
}

.qr-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--bg-card-subtle);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.qr-close-btn:hover {
  background: #e2e8f0;
  color: var(--text-main);
}

.qr-preview-img {
  width: 220px;
  height: 220px;
  margin: 1.5rem auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--primary-900);
  color: #f1f5f9;
  padding: 3.5rem 1.5rem 2rem;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .footer-container {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-400);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  max-width: 1100px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
}

/* Floating Back to Top */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--primary-700);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-800);
  transform: translateY(-3px);
}
