@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --primary-emerald: #064e3b;
  --primary-emerald-light: #0d9488;
  --primary-emerald-glow: rgba(13, 148, 136, 0.25);
  --accent-gold: #f59e0b;
  --accent-gold-dark: #d97706;
  --accent-gold-glow: rgba(245, 158, 11, 0.3);
  
  --bg-main: #f8fafc;
  --bg-gradient: linear-gradient(135deg, #022c22 0%, #064e3b 50%, #0f172a 100%);
  --card-bg: rgba(255, 255, 255, 0.88);
  --card-border: rgba(255, 255, 255, 0.6);
  --card-shadow: 0 20px 50px rgba(6, 78, 59, 0.12);

  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #f8fafc;

  --input-bg: #ffffff;
  --input-border: #cbd5e1;
  --input-focus: #0d9488;

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --bg-main: #090d16;
  --bg-gradient: linear-gradient(135deg, #011812 0%, #042f24 50%, #0b0f19 100%);
  --card-bg: rgba(15, 23, 42, 0.82);
  --card-border: rgba(255, 255, 255, 0.12);
  --card-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;

  --input-bg: rgba(30, 41, 59, 0.7);
  --input-border: rgba(255, 255, 255, 0.15);
  --input-focus: #f59e0b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
  background: var(--bg-main);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  transition: background-color 0.4s ease;
}

/* Background Animated Glows */
.ambient-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  pointer-events: none;
  animation: float-slow 15s ease-in-out infinite alternate;
}

.glow-1 {
  top: -200px;
  right: -100px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.22) 0%, transparent 70%);
}

.glow-2 {
  bottom: -200px;
  left: -100px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
}

@keyframes float-slow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-40px, 50px) scale(1.1); }
}

/* Header & Navbar */
header {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.brand-logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 50%;
  background: #ffffff;
  padding: 2px;
  box-shadow: 0 4px 12px rgba(6, 78, 59, 0.25);
  border: 2px solid var(--primary-emerald-light);
  transition: transform 0.3s ease;
}

.brand:hover .brand-logo-img {
  transform: rotate(-5deg) scale(1.05);
}

.hero-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
}

.hero-logo-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  background: #ffffff;
  padding: 6px;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 0 4px rgba(245, 158, 11, 0.4);
  animation: pulse-border 3s infinite;
}

@keyframes pulse-border {
  0%, 100% { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 0 4px rgba(245, 158, 11, 0.4); }
  50% { box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 0 8px rgba(13, 148, 136, 0.6); }
}


.brand-text h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.brand-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.portal-badge {
  background: rgba(13, 148, 136, 0.12);
  color: #0d9488;
  padding: 0.4rem 0.85rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(13, 148, 136, 0.2);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.theme-toggle {
  background: transparent;
  border: 1px solid var(--card-border);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
}

.theme-toggle:hover {
  background: var(--card-bg);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 4rem 1.5rem 3rem;
  text-align: center;
  background: var(--bg-gradient);
  color: #fff;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/hero_banner.png');
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  z-index: 0;
}

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

.tag-pill {
  display: inline-block;
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-title span {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  max-width: 650px;
  margin: 0 auto 2.5rem;
}

/* Live Progress & Ticker in Hero */
.campaign-progress-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 2rem;
  text-align: left;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.75rem;
}

.progress-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.progress-stats {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fbbf24;
}

.progress-bar-container {
  width: 100%;
  height: 12px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  width: 68%;
  background: linear-gradient(90deg, #10b981, #f59e0b);
  border-radius: 10px;
  position: relative;
  transition: width 1.5s ease;
}

.progress-bar-fill::after {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shimmer 2s infinite;
}

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

.ticker-container {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  overflow: hidden;
}

.ticker-badge {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-weight: 600;
  white-space: nowrap;
}

.ticker-text {
  font-weight: 500;
  white-space: nowrap;
  animation: ticker-slide 20s linear infinite;
}

/* Main Container & Layout */
.main-container {
  max-width: 1200px;
  margin: -3rem auto 4rem;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  position: relative;
  z-index: 10;
}

@media (min-width: 992px) {
  .main-container {
    grid-template-columns: 1.8fr 1.2fr;
  }
}

/* Donation Form Card */
.form-card {
  background: var(--card-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--card-shadow);
}

.section-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-emerald);
  color: #fff;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* Category Selection */
.category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

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

.category-option {
  position: relative;
  display: flex;
  height: 100%;
}

.category-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.category-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border: 2px solid var(--input-border);
  border-radius: var(--radius-md);
  background: var(--input-bg);
  cursor: pointer;
  transition: var(--transition);
  height: 100%;
  width: 100%;
  box-sizing: border-box;
}

.category-icon {
  font-size: 1.75rem;
  background: rgba(13, 148, 136, 0.1);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.category-info h4 {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.category-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.category-option input[type="radio"]:checked + .category-card {
  border-color: var(--primary-emerald-light);
  background: rgba(13, 148, 136, 0.05);
  box-shadow: 0 8px 20px var(--primary-emerald-glow);
  transform: translateY(-2px);
}

/* Sub-selection box for Equipment */
.equipment-select-box {
  margin-top: -1.5rem;
  margin-bottom: 2.5rem;
  padding: 1.25rem;
  background: rgba(13, 148, 136, 0.06);
  border: 1.5px dashed var(--primary-emerald-light);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.equipment-select-box.hidden {
  display: none;
}

.form-control-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--input-border);
  background: var(--card-bg);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  outline: none;
  cursor: pointer;
  transition: var(--transition);
}

.form-control-select:focus {
  border-color: var(--primary-emerald-light);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2);
}

/* Amount Selection Chips */
.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 576px) {
  .amount-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.amount-chip {
  position: relative;
}

.amount-chip input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.chip-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.5rem;
  border: 2px solid var(--input-border);
  border-radius: var(--radius-md);
  background: var(--input-bg);
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-main);
}

.chip-btn span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
}

.amount-chip input[type="radio"]:checked + .chip-btn {
  border-color: var(--accent-gold);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.05));
  color: var(--accent-gold-dark);
  box-shadow: 0 6px 16px var(--accent-gold-glow);
  transform: scale(1.03);
}

[data-theme="dark"] .amount-chip input[type="radio"]:checked + .chip-btn {
  color: #fbbf24;
}

.custom-amount-wrap {
  position: relative;
  margin-bottom: 2.5rem;
}

.currency-prefix {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.custom-amount-input {
  width: 100%;
  padding: 1rem 1rem 1rem 3.5rem;
  border: 2px solid var(--input-border);
  border-radius: var(--radius-md);
  background: var(--input-bg);
  color: var(--text-main);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  outline: none;
  transition: var(--transition);
}

.custom-amount-input:focus {
  border-color: var(--primary-emerald-light);
  box-shadow: 0 0 0 4px var(--primary-emerald-glow);
}

/* Payor Form Inputs */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border: 1.5px solid var(--input-border);
  border-radius: var(--radius-sm);
  background: var(--input-bg);
  color: var(--text-main);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-input:focus {
  border-color: var(--primary-emerald-light);
  box-shadow: 0 0 0 3px var(--primary-emerald-glow);
}

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

.checkbox-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-muted);
  user-select: none;
}

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

/* Payment Method Selection */
.payment-methods {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.pay-method-badge {
  flex: 1;
  border: 2px solid var(--primary-emerald-light);
  background: rgba(13, 148, 136, 0.08);
  padding: 1rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  color: var(--text-main);
}

.toyyibpay-logo-text {
  color: #0d9488;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
}

/* Right Sidebar: Summary & Trust Panel */
.sidebar-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.summary-card {
  background: var(--card-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--card-shadow);
  position: sticky;
  top: 90px;
}

.summary-header {
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
}

.summary-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.summary-row.total-row {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--input-border);
  font-size: 1.15rem;
  font-weight: 800;
}

.total-amount-val {
  font-family: 'Outfit', sans-serif;
  font-size: 1.75rem;
  color: var(--primary-emerald-light);
}

.submit-btn {
  width: 100%;
  padding: 1.1rem;
  border: none;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary-emerald), var(--primary-emerald-light));
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  box-shadow: 0 10px 25px rgba(6, 78, 59, 0.35);
  margin-top: 1.5rem;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(6, 78, 59, 0.5);
  background: linear-gradient(135deg, var(--primary-emerald-light), #10b981);
}

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

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.secure-footer-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 1rem;
  text-align: center;
}

/* Features Grid */
.features-section {
  max-width: 1200px;
  margin: 2rem auto 5rem;
  padding: 0 1.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.feature-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  text-align: center;
}

.feature-box:hover {
  transform: translateY(-5px);
  border-color: var(--primary-emerald-light);
}

.feature-icon-img {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  border-radius: 20px;
  background: rgba(13, 148, 136, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
}

.feature-box h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.feature-box p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* FAQ Accordion */
.faq-section {
  max-width: 800px;
  margin: 0 auto 5rem;
  padding: 0 1.5rem;
}

.faq-title {
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 2rem;
}

.accordion-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition);
}

.accordion-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
}

.accordion-icon {
  transition: transform 0.3s ease;
  color: var(--primary-emerald-light);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
  padding-bottom: 1.5rem;
  transition: max-height 0.35s cubic-bezier(1, 0, 1, 0);
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

/* Live Stats Section */
.live-stats-section {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(6,78,59,0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}
[data-theme="light"] .stat-card {
  background: rgba(255,255,255,0.85);
  border-color: rgba(6,78,59,0.1);
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.stat-icon {
  font-size: 2rem;
  line-height: 1;
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #f59e0b;
  line-height: 1.3;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.3;
}
[data-theme="light"] .stat-label {
  color: rgba(0,0,0,0.55);
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer */
footer {
  background: var(--bg-gradient);
  color: #fff;
  padding: 4rem 1.5rem 2rem;
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h5 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #fbbf24;
}

.footer-col p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* Receipt / Thank You Page Specific Styles */
.receipt-wrapper {
  max-width: 650px;
  margin: 3rem auto 5rem;
  padding: 0 1.5rem;
}

.receipt-card {
  background: var(--card-bg);
  backdrop-filter: blur(24px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--card-shadow);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.status-icon-badge {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.status-icon-badge.success {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 2px solid #10b981;
}

.status-icon-badge.pending {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 2px solid #f59e0b;
}

.status-icon-badge.failed {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 2px solid #ef4444;
}

.receipt-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.receipt-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.receipt-details-box {
  background: var(--input-bg);
  border: 1.5px solid var(--input-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: left;
  margin-bottom: 2rem;
}

.receipt-line {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px dashed var(--input-border);
  font-size: 0.9rem;
}

.receipt-line:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.receipt-line .label {
  color: var(--text-muted);
}

.receipt-line .val {
  font-weight: 700;
  color: var(--text-main);
}

.receipt-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-secondary {
  flex: 1;
  padding: 1rem;
  border: 2px solid var(--primary-emerald-light);
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--primary-emerald-light);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  background: rgba(13, 148, 136, 0.1);
  transform: translateY(-2px);
}

/* Print Styles */
@media print {
  body {
    background: #fff !important;
    color: #000 !important;
  }
  header, footer, .ambient-glow, .receipt-actions, .theme-toggle {
    display: none !important;
  }
  .receipt-wrapper {
    margin: 0;
    max-width: 100%;
    padding: 0;
  }
  .receipt-card {
    box-shadow: none;
    border: none;
    padding: 0;
  }
  .receipt-details-box {
    border: 1px solid #000;
    background: #fff !important;
  }
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: min(420px, calc(100vw - 32px));
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-left: 4px solid #ef4444;
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(16px);
  color: var(--text-main);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  line-height: 1.4;
  animation: toast-in 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast-warning {
  border-left-color: var(--accent-gold);
}

.toast-leaving {
  animation: toast-out 0.25s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.toast-icon {
  flex-shrink: 0;
  font-size: 1.1rem;
  line-height: 1;
}

.toast-message {
  flex: 1;
}

.toast-close {
  flex-shrink: 0;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 0;
  line-height: 1;
}

.toast-close:hover {
  color: var(--text-main);
}

@keyframes toast-in {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes toast-out {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(24px); }
}

@media (max-width: 640px) {
  .toast-container {
    top: auto;
    bottom: 24px;
    right: 16px;
    left: 16px;
    max-width: none;
  }
}

/* Mobile Responsiveness Improvements (< 768px & < 576px) */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.1rem;
    line-height: 1.25;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .form-card {
    padding: 1.5rem 1.25rem;
  }

  .summary-card {
    padding: 1.5rem 1.25rem;
  }

  .receipt-wrapper {
    padding: 0 1rem;
    margin: 1.5rem auto 3rem;
  }

  .receipt-card {
    padding: 1.75rem 1.25rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .faq-section {
    padding: 0 1rem;
  }

  .accordion-header {
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
  }

  .accordion-content {
    padding: 0 1.25rem;
    font-size: 0.9rem;
  }

  .footer-content {
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  .nav-container {
    padding: 0.85rem 1rem;
  }

  .brand-text h1 {
    font-size: 1.1rem;
  }

  .brand-text span {
    font-size: 0.7rem;
  }

  .hero-section {
    padding: 2.5rem 1rem 1.5rem;
  }

  .form-card {
    padding: 1.25rem 1rem;
    border-radius: var(--radius-md);
  }

  .category-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .category-card {
    padding: 1rem;
    gap: 0.75rem;
  }

  .category-icon {
    width: 40px;
    height: 40px;
    font-size: 1.35rem;
  }

  .category-info h4 {
    font-size: 0.95rem;
  }

  .category-info p {
    font-size: 0.775rem;
  }

  .amount-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .chip-btn {
    padding: 0.75rem 0.25rem;
    font-size: 0.9rem;
  }

  .chip-btn span {
    font-size: 0.65rem;
  }

  .submit-btn {
    padding: 0.9rem;
    font-size: 1rem;
  }

  .receipt-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .receipt-line .val {
    text-align: left;
    word-break: break-word;
  }

  .receipt-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .receipt-actions button,
  .receipt-actions a {
    width: 100%;
  }
}
