/* style.css - Updated to include about.html, contact.html, donate.html, privacy.html, terms.html, and tool pages styles */
:root {
  /* Modern Color Palette */
  --primary: #4361ee;
  --primary-dark: #3a56d4;
  --secondary: #7209b7;
  --accent: #f72585;
  --success: #4cc9f0;
  --light: #f8f9fa;
  --dark: #212529;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  --border: #e2e8f0;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
  --shadow-hover: 0 15px 35px rgba(67, 97, 238, 0.15);
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--gray-800);
  background: linear-gradient(135deg, #f5f7fa 0%, #f8f9fa 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

/* Language switcher styles */
.language-switcher {
  position: relative;
  display: inline-block;
}

.language-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  background: white;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  min-width: 120px;
  box-shadow: var(--shadow-md);
  z-index: 1000;
}

.language-dropdown.show {
  display: block;
  animation: fadeIn 0.2s ease-out;
}

.language-dropdown a {
  display: block;
  padding: 8px 16px;
  text-decoration: none;
  color: var(--gray-800);
  transition: background-color 0.2s;
}

.language-dropdown a:hover {
  background: var(--gray-100);
}

/* RTL support */
[dir="rtl"] {
  text-align: right;
}

[dir="rtl"] .language-dropdown {
  right: auto;
  left: 0;
}

/* ============================================
   Navigation Styles
   ============================================ */
.sticky-nav,
.main-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 8px;
}

.nav-logo-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  list-style: none;
}

.nav-links a {
  color: var(--gray-800);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.support-btn {
  background: linear-gradient(135deg, var(--accent) 0%, #ff6b9d 100%);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-md);
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.support-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--gray-800);
  cursor: pointer;
  padding: 0.5rem;
}

/* ============================================
   Header Styles (for index, about, contact, privacy, terms)
   ============================================ */
.main-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: var(--space-2xl) 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.main-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.header-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.header-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.logo-image {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 3px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  padding: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 6s ease-in-out infinite;
}

.logo-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.main-header h1 {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
  color: white;
}

.main-header p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto var(--space-md);
}

.breadcrumb {
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: white;
  text-decoration: underline;
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0.5rem;
}

/* ============================================
   Main Container
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
  min-height: 60vh;
}

/* ============================================
   Tool Page Specific Styles
   ============================================ */
.tool-header {
  text-align: center;
  margin: var(--space-xl) 0 var(--space-lg);
  padding: 0 var(--space-md);
}

.tool-header h1 {
  font-size: 2.5rem;
  color: var(--dark);
  margin-bottom: var(--space-sm);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tool-header p {
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
}

.tool-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--gray-600);
  margin-bottom: var(--space-sm);
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.tool-breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

.tool-breadcrumb a:hover {
  color: var(--secondary);
  text-decoration: underline;
}

/* Tool Wrapper */
.tool-wrapper {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-lg);
  margin-bottom: var(--space-lg);
  border: 1px solid var(--gray-200);
  animation: fadeIn 0.6s ease-out;
}

/* Upload Area */
.drop-zone {
  border: 3px dashed var(--gray-300);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  background: var(--gray-100);
  margin-bottom: var(--space-lg);
  position: relative;
  overflow: hidden;
}

.drop-zone:hover {
  border-color: var(--primary);
  background: rgba(67, 97, 238, 0.05);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.drop-zone.dragover {
  border-color: var(--primary);
  background: rgba(67, 97, 238, 0.1);
  border-style: solid;
}

.drop-zone::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.7s;
}

.drop-zone:hover::before {
  left: 100%;
}

.drop-zone-content .icon {
  font-size: 3.5rem;
  margin-bottom: var(--space-sm);
  display: block;
  color: var(--gray-600);
}

.drop-zone-content p {
  font-size: 1.125rem;
  margin-bottom: var(--space-xs);
  color: var(--gray-800);
}

.drop-zone-content p strong {
  color: var(--dark);
}

.file-limit {
  color: var(--gray-600);
  font-size: 0.875rem;
  display: block;
  margin-top: var(--space-xs);
}

/* Button Base Styles */
.btn {
  padding: 0.875rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
  min-width: 140px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  background: var(--primary);
  color: white;
}

.btn-success {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(16, 185, 129, 0.3);
  background: linear-gradient(135deg, #059669, #047857);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), #ff6b9d);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(247, 37, 133, 0.3);
}

/* Action Buttons Container */
.action-buttons {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-md);
}

.action-buttons .btn {
  min-width: 200px;
}

/* Status and Progress */
.status-area {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  border: 1px solid var(--gray-200);
  animation: slideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: none;
}

#status-text {
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
  color: var(--gray-800);
}

.progress-container {
  width: 100%;
  background: var(--gray-200);
  border-radius: 10px;
  overflow: hidden;
  height: 10px;
  margin: var(--space-lg) 0;
  display: none;
  position: relative;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  width: 0%;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  animation: shimmer 2s infinite;
}

/* Results Display */
.results-display {
  background: white;
  border: 2px solid #10b981;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-top: var(--space-md);
  display: none;
  animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.results-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  text-align: left;
}

.success-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  flex-shrink: 0;
}

.results-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.stat-item {
  background: var(--gray-100);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  text-align: center;
  transition: transform 0.3s;
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.stat-label {
  display: block;
  color: var(--gray-600);
  font-size: 0.875rem;
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
}

.stat-saved {
  display: inline-block;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: var(--space-xs);
}

/* Donate Reminders */
.donate-reminder,
.support-notice {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border: 2px dashed #f59e0b;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-top: var(--space-lg);
  text-align: center;
  animation: fadeIn 0.5s ease-in;
  display: none;
}

.donate-reminder p,
.support-notice p {
  color: #92400e;
  margin-bottom: var(--space-sm);
  font-size: 1.1rem;
  font-weight: 500;
}

.donate-link {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
}

.donate-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, #d97706, #b45309);
}

/* Edit PDF Specific */
.edit-app {
  display: none;
  animation: slideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.edit-card {
  background: white;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
}

.edit-card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  color: var(--dark);
  text-align: center;
}

.input-group {
  margin-bottom: var(--space-lg);
  text-align: left;
}

.input-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 600;
  color: var(--gray-800);
  font-size: 1rem;
}

.input-group-checkbox {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
}

.input-group-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

.input-group-checkbox label {
  margin: 0;
  cursor: pointer;
  font-weight: 500;
  color: var(--gray-700);
}

.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s;
  color: var(--gray-800);
  background: white;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.form-control::placeholder {
  color: var(--gray-500);
}

.tip-text {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-top: var(--space-xs);
  line-height: 1.4;
}

.advanced-options {
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-top: var(--space-md);
  border: 1px solid var(--gray-200);
}

.advanced-toggle {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  font-size: 0.95rem;
  font-family: inherit;
}

.advanced-content {
  margin-top: var(--space-md);
  display: none;
}

.advanced-content.show {
  display: block;
  animation: fadeIn 0.3s ease-out;
}

.font-size-control {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.font-size-control label {
  min-width: 100px;
  color: var(--gray-700);
}

.font-size-control input[type="range"] {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: var(--gray-300);
  outline: none;
  -webkit-appearance: none;
}

.font-size-control input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: 2px solid white;
  box-shadow: var(--shadow-sm);
}

.font-size-value {
  min-width: 40px;
  text-align: center;
  font-weight: 600;
  color: var(--primary);
}

/* ============================================
   Home Page Styles
   ============================================ */
.section-header {
  text-align: center;
  margin: var(--space-xl) 0 var(--space-lg);
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--dark);
  margin-bottom: var(--space-sm);
}

.section-header p {
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  margin: var(--space-xl) 0;
}

.stat-card {
  background: white;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s;
  border: 1px solid var(--gray-200);
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

/* Tools Grid */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

.tool-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
  display: block;
}

.tool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.3s;
}

.tool-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  color: inherit;
}

.tool-card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tool-card h3 {
  font-size: 1.3rem;
  margin-bottom: var(--space-xs);
  color: var(--dark);
}

.tool-card p {
  color: var(--gray-600);
  margin-bottom: var(--space-sm);
  font-size: 0.95rem;
  line-height: 1.5;
}

.tool-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--gray-100);
  color: var(--gray-600);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-xl) 0;
}

.feature-card {
  background: white;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s;
  border: 1px solid var(--gray-200);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--success), #2ec4b6);
  color: white;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: var(--space-xs);
  color: var(--dark);
}

.feature-card p {
  color: var(--gray-600);
  line-height: 1.5;
}

/* More Tools Section */
.more-tools {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  margin-top: var(--space-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.more-tools h3 {
  font-size: 1.8rem;
  margin-bottom: var(--space-lg);
  color: var(--dark);
  text-align: center;
}

.more-tools .tools-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.more-tools .tool-card {
  padding: var(--space-md);
  text-align: center;
}

.more-tools .tool-card .card-icon {
  margin: 0 auto var(--space-xs);
  width: 50px;
  height: 50px;
  font-size: 1.8rem;
}

/* About Section */
.about-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  margin: var(--space-xl) 0;
  text-align: center;
  border: 1px solid var(--gray-200);
}

.about-section h2 {
  font-size: 2.2rem;
  margin-bottom: var(--space-md);
  color: var(--dark);
}

.about-section p {
  color: var(--gray-600);
  max-width: 800px;
  margin: 0 auto var(--space-lg);
  font-size: 1.1rem;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  margin-top: var(--space-lg);
  flex-wrap: wrap;
}

/* ============================================
   About Page Content Styles
   ============================================ */
.about-content {
  line-height: 1.8;
  color: var(--gray-800);
  max-width: 800px;
  margin: 0 auto;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.about-content h3 {
  font-size: 1.8rem;
  margin: 2.5rem 0 1rem;
  color: var(--primary);
}

.about-content p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.about-content code {
  background: var(--gray-200);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  font-family: 'Courier New', monospace;
  color: var(--primary-dark);
  font-size: 0.9rem;
}

.about-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--gray-700);
}

.about-content ul li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.about-content ul li strong {
  color: var(--primary);
}

/* Mission Box */
.mission-box {
  background: var(--gray-100);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  margin: 2.5rem 0;
  border-left: 5px solid var(--primary);
  font-size: 1.2rem;
  line-height: 1.7;
}

.mission-box strong {
  display: block;
  margin-bottom: 1rem;
  color: var(--primary);
  font-size: 1.3rem;
}

/* Privacy Graphic */
.privacy-graphic {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.feature-item {
  background: white;
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
  text-align: center;
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.feature-item strong {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  color: var(--dark);
  margin-bottom: var(--space-xs);
  font-size: 1.1rem;
}

.feature-item p {
  color: var(--gray-600);
  line-height: 1.5;
  font-size: 0.95rem;
}

/* ============================================
   Contact Page Styles
   ============================================ */
.contact-container {
  max-width: 600px;
  margin: 3rem auto;
  padding: 0 var(--space-md);
}

.contact-card {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--gray-800);
  font-size: 1rem;
}

.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: all 0.2s;
  background: white;
  color: var(--gray-800);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.15);
}

.form-control::placeholder {
  color: var(--gray-600);
  opacity: 0.7;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%234361ee' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}

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

.submit-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 1rem;
  border: none;
  border-radius: var(--radius-lg);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: var(--shadow-md);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.submit-btn:active {
  transform: translateY(0);
}

.contact-info {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--gray-600);
  padding: 1.5rem;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}

.contact-info p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.contact-container .back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: gap 0.2s;
  margin-top: 2rem;
}

.contact-container .back-link:hover {
  gap: 0.75rem;
  text-decoration: underline;
}

/* ============================================
   Donate Page Styles
   ============================================ */
.donate-container {
  max-width: 700px;
  margin: 3rem auto;
  padding: 0 var(--space-md);
}

.donate-card {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  transition: transform 0.3s, box-shadow 0.3s;
}

.donate-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.donate-intro {
  text-align: center;
  margin-bottom: 2rem;
}

.donate-intro h2 {
  font-size: 1.8rem;
  color: var(--dark);
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.donate-intro p {
  color: var(--gray-600);
  font-size: 1.1rem;
  line-height: 1.6;
}

.donate-options {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Ko-fi Button */
.kofi-btn {
  background: linear-gradient(135deg, #29abe0, #1e8cb8);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  text-decoration: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.kofi-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.kofi-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.kofi-btn:hover::before {
  left: 100%;
}

.kofi-btn img {
  height: 28px;
  filter: brightness(0) invert(1);
}

/* Mobile Money Section */
.momo-section {
  margin-top: 2.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--gray-300);
  text-align: left;
}

.momo-section h3 {
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.momo-section p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.momo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.momo-card {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  color: #1e293b;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: var(--shadow-sm);
  border: 1px solid;
}

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

.mtn-bg {
  background: linear-gradient(135deg, #ffcc00, #ffaa00);
  border-color: #eab308;
}

.airtel-bg {
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  border-color: #e11d48;
  color: #1e293b;
}

.momo-card strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.momo-number {
  display: block;
  font-family: 'Courier New', monospace;
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0.75rem 0;
  letter-spacing: 1px;
  color: #1e293b;
}

.airtel-bg .momo-number {
  color: #e11d48;
}

.momo-instruction {
  font-size: 0.85rem;
  margin-top: 0.5rem;
  line-height: 1.4;
  color: #475569;
}

.momo-card small {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  opacity: 0.8;
}

.airtel-bg small {
  color: #64748b;
}

/* Why Support Section */
.why-support {
  margin-top: 2.5rem;
  text-align: left;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
}

.why-support h3 {
  font-size: 1.3rem;
  color: var(--dark);
  margin-bottom: 1rem;
}

.why-support ul {
  padding-left: 1.25rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.why-support li {
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.why-support strong {
  color: var(--primary);
}

/* Back Link Button */
.back-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  margin-top: 2rem;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  background: white;
  border: 1px solid var(--gray-200);
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
}

.back-link-btn:hover {
  gap: 0.75rem;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

/* ============================================
   Privacy Page Specific Styles
   ============================================ */
.privacy-container {
  max-width: 800px;
  margin: 3rem auto;
  padding: 0 var(--space-md);
}

.privacy-card {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

/* Privacy Promise Highlight */
.privacy-promise {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-left: 5px solid #22c55e;
  padding: 2rem;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  margin: 2rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.privacy-promise::before {
  content: '🔒';
  position: absolute;
  top: -20px;
  right: 20px;
  font-size: 4rem;
  opacity: 0.1;
}

.privacy-promise strong {
  display: block;
  font-size: 1.3rem;
  color: #166534;
  margin-bottom: 0.75rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.privacy-promise p {
  color: #166534;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Privacy Content */
.privacy-content h2 {
  margin: 2.5rem 0 1rem;
  color: var(--primary);
  font-size: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gray-200);
}

.privacy-content p {
  line-height: 1.7;
  color: var(--gray-600);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.privacy-content ul {
  padding-left: 1.5rem;
  margin: 1rem 0 1.5rem;
  color: var(--gray-600);
}

.privacy-content li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
  position: relative;
}

.privacy-content li::before {
  content: '•';
  color: var(--primary);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.privacy-content .section-number {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 2rem;
  margin-right: 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Key Points */
.key-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.key-point {
  background: var(--gray-100);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: transform 0.3s;
}

.key-point:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.key-point-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.key-point h4 {
  color: var(--dark);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.key-point p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.5;
}

/* ============================================
   Terms Page Specific Styles
   ============================================ */
.terms-container {
  max-width: 800px;
  margin: 3rem auto;
  padding: 0 var(--space-md);
}

.terms-card {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

/* Important Notice */
.important-notice {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border-left: 5px solid #ef4444;
  padding: 1.75rem;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  margin: 2rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.important-notice::before {
  content: '⚠️';
  position: absolute;
  top: -15px;
  right: 20px;
  font-size: 3rem;
  opacity: 0.2;
}

.important-notice strong {
  display: block;
  font-size: 1.2rem;
  color: #991b1b;
  margin-bottom: 0.75rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.important-notice p {
  color: #991b1b;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Terms Content */
.terms-content h2 {
  margin: 2.5rem 0 1rem;
  color: var(--primary);
  font-size: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.terms-content h2:first-of-type {
  margin-top: 0;
}

.terms-content p {
  line-height: 1.7;
  color: var(--gray-600);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.terms-content ul {
  padding-left: 1.5rem;
  margin: 1rem 0 1.5rem;
  color: var(--gray-600);
}

.terms-content li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
  position: relative;
  padding-left: 0.5rem;
}

.terms-content li::before {
  content: '•';
  color: var(--primary);
  font-weight: bold;
  position: absolute;
  left: -1rem;
}

.terms-content .section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Key Terms Cards */
.key-terms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.key-term {
  background: var(--gray-100);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: transform 0.3s;
  position: relative;
}

.key-term:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.key-term.warning {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-color: #fbbf24;
}

.key-term.important {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  border-color: #60a5fa;
}

.key-term-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  width: 50px;
  height: 50px;
  background: white;
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.key-term.warning .key-term-icon {
  background: #fbbf24;
  color: white;
}

.key-term.important .key-term-icon {
  background: var(--primary);
  color: white;
}

.key-term h4 {
  color: var(--dark);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.key-term p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.5;
}

/* Agreement Section */
.agreement-section {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  padding: 2rem;
  border-radius: var(--radius-lg);
  margin: 3rem 0;
  text-align: center;
  border: 1px solid #bbf7d0;
}

.agreement-section h3 {
  color: #166534;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.agreement-section p {
  color: #166534;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Back Link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  margin-top: 2.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  background: white;
  border: 1px solid var(--border);
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
}

.back-link:hover {
  gap: 0.75rem;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

/* ============================================
   Footer Styles
   ============================================ */
.main-footer {
  background: var(--dark);
  color: white;
  padding: 3rem 0;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.footer-logo-img {
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 14px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-logo-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: white;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin: var(--space-lg) 0;
  flex-wrap: wrap;
  list-style: none;
}

.footer-links a {
  color: var(--gray-300);
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: white;
  text-decoration: underline;
}

.copyright {
  text-align: center;
  color: var(--gray-600);
  font-size: 0.9rem;
  margin-top: 2rem;
  line-height: 1.5;
}

/* ============================================
   Back to Top
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s;
  z-index: 1000;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* ============================================
   Loading Animation
   ============================================ */
.loading-dots {
  display: inline-flex;
  gap: 4px;
  margin-left: 4px;
}

.loading-dots span {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: bounce 1.4s infinite ease-in-out both;
}

.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }

/* ============================================
   Animations
   ============================================ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
  /* General */
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.5rem; }
  
  .container {
    padding: var(--space-lg) var(--space-sm);
  }
  
  /* Navigation */
  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: var(--space-md);
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border);
    z-index: 999;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  /* Header */
  .main-header {
    padding: var(--space-xl) var(--space-sm);
  }
  
  .main-header h1 {
    font-size: 2.2rem;
  }
  
  .logo-image {
    width: 100px;
    height: 100px;
    padding: 20px;
  }
  
  /* Tool Pages */
  .tool-header h1 {
    font-size: 2rem;
  }
  
  .tool-wrapper {
    padding: var(--space-lg);
    margin: 0 var(--space-sm) var(--space-lg);
  }
  
  .drop-zone {
    padding: var(--space-lg);
  }
  
  .action-buttons {
    flex-direction: column;
  }
  
  .action-buttons .btn {
    width: 100%;
    min-width: auto;
  }
  
  /* Cards & Grids */
  .tools-grid,
  .features-grid,
  .stats-grid,
  .key-points,
  .key-terms,
  .results-stats,
  .momo-grid {
    grid-template-columns: 1fr;
  }
  
  /* Content Areas */
  .privacy-card,
  .terms-card,
  .contact-card,
  .donate-card,
  .about-content,
  .mission-box {
    padding: var(--space-lg);
  }
  
  .privacy-promise,
  .important-notice {
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
  }
  
  /* CTA Buttons */
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
  
  /* Footer */
  .footer-logo {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .footer-logo-img {
    width: 50px;
    height: 50px;
  }
  
  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
  }
  
  /* Back to Top */
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  
  .main-header h1 {
    font-size: 1.8rem;
  }
  
  .tool-header h1 {
    font-size: 1.6rem;
  }
  
  .btn {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }
  
  .support-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}

/* ============================================
   Dark Mode Support
   ============================================ */
@media (prefers-color-scheme: dark) {
  :root {
    --light: #1a1a1a;
    --dark: #ffffff;
    --gray-100: #2d2d2d;
    --gray-200: #404040;
    --gray-300: #4a4a4a;
    --gray-400: #5a5a5a;
    --gray-500: #8a8a8a;
    --gray-600: #a0a0a0;
    --gray-700: #c0c0c0;
    --gray-800: #e0e0e0;
    --gray-900: #f0f0f0;
    --border: #404040;
  }
  
  body {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: var(--gray-800);
  }
  
  /* Cards and containers */
  .tool-card,
  .feature-card,
  .stat-card,
  .privacy-card,
  .terms-card,
  .tool-wrapper,
  .feature-item,
  .stat-item,
  .more-tools,
  .edit-card,
  .contact-card,
  .donate-card {
    background: var(--gray-100);
    border-color: var(--gray-200);
    color: var(--gray-800);
  }
  
  .tool-card h3,
  .feature-card h3,
  .stat-card h3,
  .key-point h4,
  .key-term h4 {
    color: var(--dark);
  }
  
  .tool-card p,
  .feature-card p,
  .stat-card p,
  .key-point p,
  .key-term p {
    color: var(--gray-700);
  }
  
  /* Upload area */
  .drop-zone {
    background: var(--gray-200);
    border-color: var(--gray-300);
  }
  
  .drop-zone-content p {
    color: var(--gray-800);
  }
  
  /* Form elements */
  .form-control {
    background: var(--gray-200);
    border-color: var(--gray-300);
    color: var(--gray-800);
  }
  
  .form-control::placeholder {
    color: var(--gray-500);
  }
  
  /* Navigation */
  .sticky-nav,
  .main-nav {
    background: rgba(26, 26, 26, 0.95);
    border-bottom-color: var(--gray-300);
  }
  
  .nav-links a {
    color: var(--gray-700);
  }
  
  /* Footer */
  .main-footer {
    background: #121212;
  }
  
  /* Donate page */
  .momo-section {
    background: linear-gradient(135deg, #2d2d2d 0%, #404040 100%);
    border-color: var(--gray-400);
  }
  
  .airtel-bg {
    background: linear-gradient(135deg, #2d2d2d, #404040);
  }
  
  /* Progress bar */
  .progress-container {
    background: var(--gray-300);
  }
  
  /* Notices */
  .donate-reminder,
  .support-notice {
    background: linear-gradient(135deg, #2d2819, #3a321c);
    border-color: #d97706;
  }
  
  .donate-reminder p,
  .support-notice p {
    color: #fbbf24;
  }
  
  /* Privacy & Terms notices */
  .privacy-promise {
    background: linear-gradient(135deg, #1a3a2a 0%, #2d5a3a 100%);
    border-left-color: #22c55e;
  }
  
  .privacy-promise strong,
  .privacy-promise p {
    color: #bbf7d0;
  }
  
  .important-notice {
    background: linear-gradient(135deg, #3a1a1a 0%, #5a2a2a 100%);
    border-left-color: #ef4444;
  }
  
  .important-notice strong,
  .important-notice p {
    color: #fca5a5;
  }
  
  .key-term.warning {
    background: linear-gradient(135deg, #3a2c1a 0%, #5a4a2a 100%);
    border-color: #d97706;
  }
  
  .key-term.important {
    background: linear-gradient(135deg, #1a2a3a 0%, #2a4a5a 100%);
    border-color: #3b82f6;
  }
  
  .agreement-section {
    background: linear-gradient(135deg, #1a3a2a 0%, #2a5a3a 100%);
    border-color: #22c55e;
  }
  
  .agreement-section h3,
  .agreement-section p {
    color: #bbf7d0;
  }
  
  /* Back links */
  .back-link,
  .back-link-btn {
    background: var(--gray-200);
    border-color: var(--gray-300);
    color: var(--primary);
  }
  
  /* About section */
  .about-section {
    background: linear-gradient(135deg, #2d2d2d 0%, #404040 100%);
    border-color: var(--gray-300);
  }
  
  .about-content code {
    background: var(--gray-200);
    color: var(--success);
  }
}
