/* ==========================================================================
   Amigo Telugu Promise Calendar - Modern Royal Sapphire & Ocean Teal SaaS Theme
   ========================================================================== */

:root {
  --bg-page: #f0f6ff;
  --surface: #ffffff;
  --primary-dark: #071126;
  --primary-accent: #0d9488;
  --brand-crimson: #0f766e;
  --brand-indigo: #1e1b4b;
  --brand-teal: #0d9488;
  --brand-cyan: #06b6d4;
  --brand-emerald: #10b981;
  --gold-bright: #14b8a6;
  --gold-main: #0284c7;
  --gold-soft: #e0f2fe;
  --text-dark: #091326;
  --text-muted: #475569;
  --border-subtle: #dbeafe;
  --shadow-sm: 0 2px 6px rgba(7, 17, 38, 0.05), 0 1px 3px rgba(7, 17, 38, 0.04);
  --shadow-soft: 0 14px 32px -6px rgba(14, 116, 144, 0.12), 0 8px 16px -6px rgba(7, 17, 38, 0.06);
  --shadow-poster: 0 28px 60px -12px rgba(7, 17, 38, 0.55);
  --radius-lg: 20px;
  --radius-md: 14px;
}

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

body {
  font-family: 'Plus Jakarta Sans', 'Noto Sans Telugu', -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at 12% 0%, #e0f2fe 0%, transparent 38%),
              radial-gradient(circle at 88% 8%, #ccfbf1 0%, transparent 36%),
              var(--bg-page);
  color: var(--text-dark);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.telugu-text {
  font-family: 'Noto Sans Telugu', 'Mandali', sans-serif;
}

/* Modern Top Navigation Header */
.site-header {
  background: linear-gradient(125deg, #061024 0%, #0f172a 42%, #134e4a 100%);
  color: #fff;
  border-bottom: 1px solid rgba(56, 189, 248, 0.22);
  box-shadow: 0 10px 30px rgba(6, 16, 36, 0.24);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
}

.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #fff;
}

.cross-emblem {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
  color: #041022;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(6, 182, 212, 0.42);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
}

.brand-titles h1 {
  font-size: 1.22rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.2px;
  line-height: 1.25;
}

.brand-titles p {
  font-size: 0.8rem;
  color: #99f6e4;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Modern Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.86rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-gold {
  background: linear-gradient(135deg, #06b6d4 0%, #0d9488 52%, #2563eb 100%);
  color: #ffffff;
  font-weight: 800;
  border: 1px solid rgba(165, 243, 252, 0.4);
  box-shadow: 0 6px 18px rgba(6, 182, 212, 0.32);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(6, 182, 212, 0.45);
  filter: brightness(1.06);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.09);
  color: #f0f9ff;
  border-color: rgba(125, 211, 252, 0.3);
}

.btn-outline-light:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: rgba(125, 211, 252, 0.55);
}

/* Main Container */
.main-container {
  max-width: 1320px;
  margin: 28px auto 64px;
  padding: 0 26px;
}

/* QR Arrival Notice Banner */
.qr-scan-toast {
  background: linear-gradient(135deg, #0f766e 0%, #0284c7 100%);
  color: #fff;
  padding: 15px 22px;
  border-radius: 14px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(153, 246, 228, 0.4);
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.24);
}

/* Month Strip Navigation */
.month-pills-bar {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 6px 4px 18px;
  scrollbar-width: thin;
}

.month-pill {
  flex: 0 0 auto;
  padding: 9px 18px;
  border-radius: 12px;
  background: #ffffff;
  color: #1e293b;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid #cbd5e1;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: all 0.18s ease;
  box-shadow: var(--shadow-sm);
}

.month-pill:hover {
  border-color: #06b6d4;
  color: #0f766e;
  background: #f0fdfa;
  transform: translateY(-2px);
}

.month-pill.active {
  background: linear-gradient(135deg, #071126 0%, #0f766e 100%);
  color: #5eead4;
  border-color: #14b8a6;
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.28);
}

/* Modern Month Hero Card */
.month-hero-card {
  background: radial-gradient(circle at 88% 18%, rgba(6, 182, 212, 0.28), transparent 44%),
              linear-gradient(130deg, #061024 0%, #1e1b4b 52%, #0f766e 100%);
  border-radius: var(--radius-lg);
  padding: 30px 34px;
  color: #fff;
  position: relative;
  overflow: hidden;
  border: 1.5px solid rgba(45, 212, 191, 0.35);
  box-shadow: 0 20px 44px rgba(7, 17, 38, 0.22);
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(20, 184, 166, 0.18);
  border: 1px solid rgba(94, 234, 212, 0.45);
  color: #5eead4;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.month-hero-title {
  font-size: 2.05rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.month-hero-title .te-name {
  color: #38bdf8;
}

.month-theme-verse {
  background: rgba(255, 255, 255, 0.08);
  border-left: 4px solid #2dd4bf;
  padding: 14px 18px;
  border-radius: 0 12px 12px 0;
  max-width: 720px;
  backdrop-filter: blur(8px);
}

.month-theme-verse .verse-line {
  font-size: 1.04rem;
  color: #f8fafc;
  font-weight: 600;
}

.month-theme-verse .verse-ref {
  font-size: 0.84rem;
  color: #5eead4;
  margin-top: 4px;
  font-weight: 700;
}

.hero-qr-card {
  background: #ffffff;
  color: var(--text-dark);
  padding: 14px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  min-width: 160px;
}

.hero-qr-card .qr-canvas-box {
  width: 116px;
  height: 116px;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-qr-card .qr-canvas-box canvas,
.hero-qr-card .qr-canvas-box img {
  width: 100% !important;
  height: 100% !important;
  max-width: 116px;
  max-height: 116px;
  object-fit: contain;
  display: block;
}

.hero-qr-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.hero-qr-card .qr-label {
  font-size: 0.74rem;
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-qr-card .qr-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Instruction Bar */
.instruction-bar {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 12px 18px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}

/* Modern Calendar Grid */
.calendar-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid #cbd5e1;
  overflow: hidden;
}

.weekdays-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: linear-gradient(90deg, #061024 0%, #1e1b4b 50%, #0f766e 100%);
  color: #f8fafc;
}

.weekday-cell {
  padding: 14px 8px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.weekday-cell:first-child {
  color: #38bdf8;
}

.weekday-cell .wd-te {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
}

.weekday-cell .wd-en {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  opacity: 0.78;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: #e2e8f0;
  gap: 1px;
}

.day-cell {
  background: #ffffff;
  min-height: 150px;
  padding: 13px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  position: relative;
  transition: all 0.18s ease;
}

.day-cell.empty-cell {
  background: #f8fafc;
  cursor: default;
}

.day-cell:not(.empty-cell):hover {
  background: #f0fdfa;
  transform: translateY(-2px);
  z-index: 2;
  box-shadow: 0 12px 28px rgba(13, 148, 136, 0.16);
  outline: 2px solid #0d9488;
}

.day-cell.is-sunday .day-number {
  color: #0284c7;
  background: #e0f2fe;
}

.day-cell.is-featured-day {
  background: linear-gradient(145deg, #ffffff 0%, #f0fdfa 100%);
}

.day-cell.is-today {
  background: linear-gradient(145deg, #ecfeff 0%, #ccfbf1 100%);
  box-shadow: inset 0 0 0 2.5px #0d9488, 0 10px 24px rgba(13, 148, 136, 0.22);
  z-index: 1;
}

.day-cell.is-today .day-number {
  background: linear-gradient(135deg, #061024 0%, #0f766e 100%);
  color: #5eead4;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.badge-today {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #06b6d4 0%, #0d9488 100%);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.32);
  white-space: nowrap;
}

.day-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.day-number-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-weekday-badge {
  display: none;
  font-size: 0.72rem;
  font-weight: 700;
  color: #475569;
  background: #f8fafc;
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.day-cell.is-sunday .mobile-weekday-badge {
  color: #0284c7;
  background: #e0f2fe;
  border-color: #bae6fd;
}

.day-badges-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
}

.day-number {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: #091326;
  background: #f1f5f9;
  transition: all 0.16s ease;
}

.day-cell:not(.empty-cell):hover .day-number {
  background: linear-gradient(135deg, #06b6d4 0%, #0d9488 100%);
  color: #ffffff;
}

.badge-pdf {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: #f0fdfa;
  color: #0f766e;
  border: 1px solid #99f6e4;
}

.badge-special {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  background: #e0f2fe;
  color: #0369a1;
}

.day-verse-box {
  margin: 2px 0 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.day-verse-preview {
  font-size: 0.92rem;
  line-height: 1.58;
  color: #0f172a;
  font-weight: 700;
  word-break: break-word;
}

.day-verse-ref {
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f766e;
}

.day-footer-cta {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
}

.day-cell:not(.empty-cell):hover .day-footer-cta {
  color: #0f766e;
}

/* ==========================================================================
   Modern Drag & Drop File Uploader (Admin Poster Page)
   ========================================================================== */
.modern-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 20px;
  border: 2px dashed #cbd5e1;
  border-radius: 14px;
  background: #f8fafc;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.modern-dropzone:hover {
  border-color: #0f172a;
  background: #f1f5f9;
}

.dropzone-icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.dropzone-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.dropzone-sub {
  font-size: 0.8rem;
  color: #64748b;
}

.dropzone-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.selected-file-pill {
  margin-top: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #0f172a;
  color: #fbbf24;
  font-size: 0.8rem;
  font-weight: 700;
}

.current-file-bar {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.format-tag {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  background: #e2e8f0;
  color: #0f172a;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   Clean Poster Lightbox Modal
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(8px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  overflow-y: auto;
}

.modal-backdrop.open {
  display: flex;
}

.poster-modal-dialog {
  width: 100%;
  max-width: 680px;
  background: #0f172a;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-poster);
  overflow: hidden;
  color: #fff;
  margin: auto;
  animation: modalPop 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-top-bar {
  background: #090d16;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.modal-close-btn:hover {
  background: #e11d48;
}

.modal-body-content {
  padding: 24px;
  max-height: calc(92vh - 130px);
  overflow-y: auto;
}

.modal-footer-bar {
  background: #090d16;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-day-group, .action-btn-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ==========================================================================
   User Poster Personalization Studio (Name, Mobile, Address Overlay)
   ========================================================================== */
.poster-customizer-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 24px;
  align-items: start;
}

.user-details-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
  text-align: left;
  min-width: 0;
  box-sizing: border-box;
}

.user-action-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  margin-top: 18px;
}

.user-action-row .btn {
  width: 100%;
  height: 42px;
  padding: 0 10px;
  font-size: 0.86rem;
  font-weight: 800;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  min-width: 0;
  box-sizing: border-box;
}

.btn-share-all {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: 1px solid #34d399;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35);
}

.btn-share-all:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff;
}

.btn-clear-action {
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.btn-clear-action:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.user-field-group {
  margin-bottom: 14px;
}

.user-field-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 6px;
}

.user-input-control {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(15, 23, 42, 0.8);
  color: #ffffff;
  font-size: 0.92rem;
  font-family: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.user-input-control::placeholder {
  color: #64748b;
}

.user-input-control:focus {
  outline: none;
  border-color: #fbbf24;
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.2);
}

.user-select-control {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23fbbf24' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

.user-select-control option {
  background-color: #0f172a;
  color: #f8fafc;
  padding: 8px;
}

.user-color-section {
  margin-top: 4px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 13px;
  background: rgba(2, 6, 23, 0.28);
}

.user-color-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
}

.user-color-section-heading span {
  color: #f8fafc;
  font-size: 0.78rem;
  font-weight: 800;
}

.user-color-section-heading small {
  color: #94a3b8;
  font-size: 0.62rem;
  font-weight: 600;
}

.user-color-picker-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.user-color-card {
  min-width: 0;
  padding: 9px 7px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.88), rgba(15, 23, 42, 0.88));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.user-color-card:hover {
  transform: translateY(-2px);
  border-color: rgba(251, 191, 36, 0.55);
  background: linear-gradient(145deg, rgba(51, 65, 85, 0.92), rgba(15, 23, 42, 0.92));
}

.user-color-card input[type="color"] {
  appearance: none;
  -webkit-appearance: none;
  width: 42px;
  height: 42px;
  padding: 4px;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  overflow: hidden;
}

.user-color-card input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}

.user-color-card input[type="color"]::-webkit-color-swatch {
  border: 0;
  border-radius: 50%;
}

.user-color-card input[type="color"]::-moz-color-swatch {
  border: 0;
  border-radius: 50%;
}

.user-color-card > span {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 2px;
}

.user-color-card strong {
  color: #e2e8f0;
  font-size: 0.64rem;
  line-height: 1.25;
  white-space: normal;
}

.user-color-card small {
  color: #94a3b8;
  font-size: 0.58rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.3px;
}

.poster-customizer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}

.poster-preview-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  order: 1;
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.user-details-panel {
  order: 2;
  display: none;
  animation: editorSlideUp 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Top bar & floating Edit icon on Poster */
.poster-top-edit-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(251, 191, 36, 0.55);
  background: rgba(251, 191, 36, 0.16);
  color: #fde68a;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.18s ease;
}

.poster-top-edit-btn:hover,
.poster-top-edit-btn.active {
  background: #fbbf24;
  color: #0f172a;
  border-color: #fbbf24;
}

#modalTopEditBtn.active {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #ffffff !important;
  border-color: #34d399 !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.poster-canvas-stage {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.poster-edit-fab {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 15;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(251, 191, 36, 0.75);
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  color: #fbbf24;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(2, 6, 23, 0.55);
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.poster-edit-fab:hover,
.poster-edit-fab.active {
  background: #fbbf24;
  color: #0f172a;
  transform: translateY(-1px);
}

/* Quick Action Bar below Poster when Editor is closed */
.poster-quick-toolbar {
  width: 100%;
  max-width: 560px;
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 0.9fr 1fr;
  gap: 8px;
}

.poster-quick-btn {
  height: 40px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(30, 41, 59, 0.85);
  color: #f8fafc;
  font-size: 0.78rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.poster-quick-btn:hover {
  background: rgba(51, 65, 85, 0.95);
  border-color: rgba(255, 255, 255, 0.32);
}

.poster-quick-btn-edit {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0f172a;
  border-color: #fbbf24;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.32);
}

.poster-quick-btn-edit:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #0f172a;
}

.poster-quick-btn-share {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border-color: #34d399;
}

/* Mobile Image Editor Active State: Poster docks to top & Editor fields appear below */
.poster-modal-dialog.is-mobile-editor-open .poster-customizer-grid {
  grid-template-columns: 1fr;
  gap: 12px;
}

.poster-modal-dialog.is-mobile-editor-open .poster-preview-panel {
  position: sticky;
  top: -12px;
  z-index: 30;
  background: rgba(9, 19, 38, 0.96);
  backdrop-filter: blur(12px);
  padding: 8px 10px;
  border-radius: 14px;
  border: 1px solid rgba(45, 212, 191, 0.35);
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.72);
}

.poster-modal-dialog.is-mobile-editor-open #pdfCanvasRender {
  max-height: 34vh !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 auto;
  border-radius: 10px !important;
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.poster-modal-dialog.is-mobile-editor-open .poster-quick-toolbar {
  display: none;
}

.poster-modal-dialog.is-mobile-editor-open .user-details-panel {
  display: block;
  padding: 14px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 16px;
}

/* Mobile Image Editor Tool Tabs Bar */
.mobile-editor-tabs-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  overflow-x: auto;
  scrollbar-width: none;
}

.mobile-editor-tabs-bar::-webkit-scrollbar {
  display: none;
}

.mobile-editor-tabs-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mobile-editor-tab {
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(30, 41, 59, 0.78);
  color: #cbd5e1;
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.16s ease;
}

.mobile-editor-tab.active {
  background: #fbbf24;
  color: #0f172a;
  border-color: #fbbf24;
  box-shadow: 0 3px 10px rgba(251, 191, 36, 0.3);
}

.mobile-editor-done-btn {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid #34d399;
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.mobile-editor-done-btn:hover {
  background: #10b981;
  color: #0f172a;
}

.mobile-editor-tab-pane {
  display: none;
}

.mobile-editor-tab-pane.active {
  display: block;
}

@media (max-width: 560px) {
  .modal-body-content {
    padding: 12px;
  }
  .poster-quick-toolbar {
    grid-template-columns: repeat(2, 1fr);
  }
  .poster-modal-dialog.is-mobile-editor-open #pdfCanvasRender {
    max-height: 30vh !important;
  }
}

/* 12 Months QR Grid */
.qr-grid-12 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.qr-month-item {
  background: #ffffff;
  color: var(--text-dark);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease;
}

.qr-month-item:hover {
  transform: translateY(-3px);
}

.qr-month-item.current {
  border: 2px solid #fbbf24;
}

/* ==========================================================================
   Comprehensive Responsive Layout Across All Device Dimensions
   ========================================================================== */

/* 1. Compact Laptop / Large Tablet (<= 1120px): Keep 7 columns neat without overflow */
@media (max-width: 1120px) {
  .main-container {
    padding: 0 16px;
    margin: 20px auto 44px;
  }
  .header-inner {
    padding: 12px 16px;
  }
  .day-cell {
    padding: 10px;
    min-height: 132px;
  }
  .day-number {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }
  .day-verse-preview {
    font-size: 0.88rem;
    line-height: 1.52;
  }
  .day-verse-ref {
    font-size: 0.76rem;
  }
}

/* 2. Tablet & Small Laptop (<= 920px): 3-Column Responsive Card Grid so Telugu verses never clip */
@media (max-width: 920px) {
  .month-hero-card {
    grid-template-columns: 1fr;
    padding: 22px;
    gap: 18px;
  }
  .hero-qr-card {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    width: 100%;
    padding: 12px 16px;
    box-sizing: border-box;
    overflow: hidden;
  }
  .hero-qr-card .qr-canvas-box {
    margin: 0;
    width: 78px;
    height: 78px;
    flex: 0 0 78px;
  }
  .hero-qr-text {
    flex: 1;
    min-width: 0;
  }
  .hero-qr-card .qr-label {
    font-size: 0.82rem;
    line-height: 1.3;
  }
  .hero-qr-card .qr-sub {
    font-size: 0.78rem;
    line-height: 1.35;
  }
  .weekdays-header {
    display: none;
  }
  .day-cell.empty-cell {
    display: none;
  }
  .mobile-weekday-badge {
    display: inline-block;
  }
  .calendar-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 12px;
    background: #f1f5f9;
  }
  .day-cell {
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-sm);
    min-height: 140px;
    padding: 12px;
  }
}

/* 3. Large Mobile / Phablet (<= 680px): 2-Column Clean Card Grid */
@media (max-width: 680px) {
  .header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px 14px;
  }
  .header-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .header-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 9px 10px;
    font-size: 0.78rem;
    text-align: center;
  }
  .qr-scan-toast {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 14px;
    gap: 10px;
  }
  .qr-scan-toast .btn {
    width: 100%;
    justify-content: center;
  }
  .month-hero-title {
    font-size: 1.45rem;
    gap: 8px;
  }
  .calendar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 10px;
  }
  .day-cell {
    padding: 12px;
    min-height: 130px;
  }
  .day-verse-preview {
    font-size: 1rem;
    line-height: 1.6;
  }
  .day-verse-ref {
    font-size: 0.85rem;
  }
  .modal-top-bar {
    padding: 12px 14px;
    gap: 8px;
  }
  .modal-body-content {
    padding: 14px !important;
  }
  .user-details-panel {
    padding: 14px;
  }
  .user-action-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .user-action-row .btn {
    font-size: 0.78rem;
    height: 40px;
    padding: 0 6px;
  }
}

/* 4. Compact Smartphone (<= 460px): 1-Column Full-Width Readable Daily Verse Cards */
@media (max-width: 460px) {
  .main-container {
    padding: 0 10px;
    margin: 14px auto 36px;
  }
  .header-actions {
    grid-template-columns: 1fr;
  }
  .month-hero-card {
    padding: 16px;
    margin-bottom: 16px;
  }
  .month-hero-title {
    font-size: 1.28rem;
  }
  .month-theme-verse .verse-line {
    font-size: 0.92rem;
  }
  .calendar-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
  }
  .day-cell {
    min-height: auto;
    padding: 14px;
    gap: 10px;
  }
  .day-verse-preview {
    font-size: 1.08rem;
    line-height: 1.65;
  }
  .day-verse-ref {
    font-size: 0.9rem;
  }
  .day-footer-cta {
    display: flex;
    padding-top: 8px;
    font-size: 0.76rem;
  }
}

/* Saved month accent applies to the public header. */
.site-header { background: linear-gradient(125deg, #061024 0%, var(--calendar-accent, #1e1b4b) 48%, #0f766e 100%); }
[data-poster-action]:disabled { opacity: .5; cursor: wait; }
.day-cell[role="button"]:focus-visible, .present-date-verse-card[role="button"]:focus-visible, .modal-close-btn:focus-visible { outline: 3px solid #06b6d4; outline-offset: 3px; }

/* ==========================================================================
   Featured Present Date with Verse Card (After QR Scan & Homepage)
   ========================================================================== */
.present-date-verse-card {
  background: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 55%, #ccfbf1 100%);
  border: 2px solid #0d9488;
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(13, 148, 136, 0.16);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.present-date-verse-card.is-qr-scanned {
  border-width: 2.5px;
  border-color: #0284c7;
  box-shadow: 0 16px 38px rgba(2, 132, 199, 0.22);
}

.present-date-verse-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(13, 148, 136, 0.26);
  border-color: #071126;
}

.present-card-left {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.present-date-badge-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.present-day-num-circle {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, #061024 0%, #0f766e 100%);
  color: #5eead4;
  font-size: 1.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(13, 148, 136, 0.28);
  border: 2px solid #2dd4bf;
}

.present-card-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 3px;
}

.present-qr-pill {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0d9488, #0284c7);
  color: #ffffff;
}

.present-card-date-title {
  font-size: 1.22rem;
  font-weight: 800;
  color: #071126;
  line-height: 1.3;
}

.present-date-en {
  font-size: 0.96rem;
  font-weight: 700;
  color: #0f766e;
  margin-left: 4px;
}

.present-card-weekday {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0369a1;
}

.present-card-verse-box {
  background: rgba(255, 255, 255, 0.92);
  border-left: 4px solid #0d9488;
  border-radius: 12px;
  padding: 13px 18px;
  box-shadow: 0 4px 12px rgba(7, 17, 38, 0.05);
}

.present-verse-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: #0f766e;
  margin-bottom: 2px;
}

.present-verse-text {
  font-size: 1.06rem;
  font-weight: 800;
  color: #071126;
  line-height: 1.55;
}

.present-verse-ref {
  font-size: 0.86rem;
  font-weight: 800;
  color: #0284c7;
  margin-top: 4px;
}

.present-card-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
  max-width: 250px;
  text-align: right;
}

.present-open-poster-btn {
  background: linear-gradient(135deg, #061024 0%, #0f766e 100%);
  color: #5eead4;
  border: 1.5px solid #2dd4bf;
  padding: 12px 18px;
  font-size: 0.88rem;
  font-weight: 800;
  white-space: nowrap;
}

.present-cta-sub {
  font-size: 0.76rem;
  font-weight: 700;
  color: #0f766e;
  line-height: 1.35;
}

/* ==========================================================================
   Font Size Selector + Range Slider Controls in Personalization Form
   ========================================================================== */
.font-size-badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.5);
  color: #38bdf8;
  font-size: 0.74rem;
  font-weight: 800;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.font-size-control-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.user-font-size-slider {
  width: 100%;
  accent-color: #06b6d4;
  cursor: pointer;
  height: 6px;
}

@media (max-width: 820px) {
  .present-date-verse-card {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }
  .present-card-right {
    max-width: 100%;
    align-items: stretch;
    text-align: center;
  }
  .present-open-poster-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Future Dates Disabled & Indian Standard Time (IST) Badges
   ========================================================================== */
.present-ist-pill {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 9px;
  border-radius: 999px;
  background: #061024;
  color: #5eead4;
  border: 1px solid #14b8a6;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.day-cell.is-future-disabled {
  background: #f1f5f9;
  opacity: 0.62;
  cursor: not-allowed;
  user-select: none;
}

.day-cell.is-future-disabled:hover {
  background: #f1f5f9;
  transform: none;
  box-shadow: none;
  outline: none;
}

.day-cell.is-future-disabled .day-number {
  background: #e2e8f0;
  color: #64748b;
}

.day-cell.is-future-disabled:hover .day-number {
  background: #e2e8f0;
  color: #64748b;
}

.day-cell.is-future-disabled .day-verse-preview,
.day-cell.is-future-disabled .day-verse-ref {
  color: #64748b;
}

.day-cell.is-future-disabled .day-footer-cta,
.day-cell.is-future-disabled:hover .day-footer-cta {
  color: #94a3b8;
}

.badge-future {
  font-size: 0.66rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: #e2e8f0;
  color: #475569;
  border: 1px solid #cbd5e1;
  white-space: nowrap;
}

/* ==========================================================================
   Public Website Navigation, Hero Section Banners, Services, Pricing & Footer
   ========================================================================== */
.public-top-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.public-nav-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 8px 15px;
  border-radius: 999px;
  transition: all 0.16s ease;
}

.public-nav-link:hover {
  background: rgba(56, 189, 248, 0.16);
  color: #ffffff;
}

.public-nav-link.active {
  background: rgba(20, 184, 166, 0.24);
  color: #5eead4;
  border: 1px solid rgba(94, 234, 212, 0.55);
}

/* Primary Amigo Calendar Hero Section Banner */
.christ-hero-banner {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: radial-gradient(circle at 85% 18%, rgba(6, 182, 212, 0.28), transparent 45%),
              radial-gradient(circle at 12% 85%, rgba(79, 70, 229, 0.25), transparent 45%),
              linear-gradient(135deg, #061024 0%, #1e1b4b 52%, #0f766e 100%);
  border: 2px solid rgba(45, 212, 191, 0.45);
  box-shadow: 0 24px 54px rgba(6, 16, 36, 0.25);
  padding: 42px 38px;
  margin-bottom: 36px;
  color: #ffffff;
}

.christ-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 32px;
  align-items: center;
}

.christ-hero-pill-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.christ-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.22);
  border: 1px solid #2dd4bf;
  color: #5eead4;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.6px;
}

.christ-hero-ist-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(6, 16, 36, 0.75);
  border: 1px solid rgba(125, 211, 252, 0.35);
  color: #bae6fd;
  font-size: 0.74rem;
  font-weight: 700;
}

.christ-hero-title {
  font-size: 2.15rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.28;
  margin-bottom: 12px;
}

.christ-hero-subtitle {
  font-size: 0.98rem;
  color: rgba(240, 249, 255, 0.9);
  line-height: 1.62;
  margin-bottom: 20px;
}

.christ-hero-verse-box {
  background: rgba(255, 255, 255, 0.09);
  border-left: 4px solid #2dd4bf;
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 22px;
  backdrop-filter: blur(10px);
}

.christ-hero-verse-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: #5eead4;
  letter-spacing: 0.6px;
  margin-bottom: 4px;
}

.christ-hero-verse-te {
  font-size: 1.14rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.55;
  margin-bottom: 6px;
}

.christ-hero-verse-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #bae6fd;
}

.christ-hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.christ-hero-qr-card {
  background: rgba(6, 16, 36, 0.86);
  border: 2px solid #14b8a6;
  border-radius: 22px;
  padding: 22px;
  text-align: center;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.42);
}

.christ-hero-qr-card-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
  text-align: left;
}

.cross-mini {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, #06b6d4, #10b981);
  color: #041022;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.christ-hero-qr-frame {
  background: #ffffff;
  padding: 14px;
  border-radius: 16px;
  border: 3px solid #2dd4bf;
  display: inline-block;
  margin-bottom: 14px;
}

.christ-hero-qr-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 8px;
}

.qr-step-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(153, 246, 228, 0.22);
  border-radius: 10px;
  padding: 7px 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.qr-step-chip strong {
  font-size: 0.72rem;
  color: #5eead4;
}

.qr-step-chip span {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Feature Hero Banners Section */
.christ-banners-section,
.christ-workflow-section,
.christ-pricing-section,
.christ-churches-showcase,
.christ-services-grid-section {
  margin-bottom: 40px;
}

.section-heading-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 24px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #0f766e;
  background: #ccfbf1;
  border: 1px solid #99f6e4;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.section-heading-center h2 {
  font-size: 1.68rem;
  font-weight: 800;
  color: #071126;
  margin-bottom: 6px;
}

.section-heading-center p {
  font-size: 0.92rem;
  color: #475569;
}

.christ-feature-banners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.christ-promo-banner {
  border-radius: 22px;
  padding: 26px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1.5px solid rgba(45, 212, 191, 0.4);
  box-shadow: 0 14px 32px rgba(7, 17, 38, 0.14);
}

.christ-promo-banner.banner-burgundy {
  background: linear-gradient(145deg, #1e1b4b 0%, #312e81 55%, #0f766e 100%);
}

.christ-promo-banner.banner-navy {
  background: linear-gradient(145deg, #061024 0%, #0369a1 100%);
}

.christ-promo-banner.banner-emerald {
  background: linear-gradient(145deg, #064e3b 0%, #0f766e 100%);
}

.promo-banner-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.22);
  color: #5eead4;
  border: 1px solid rgba(94, 234, 212, 0.5);
  margin-bottom: 12px;
}

.christ-promo-banner h3 {
  font-size: 1.22rem;
  font-weight: 800;
  color: #5eead4;
  margin-bottom: 4px;
}

.christ-promo-banner h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.christ-promo-banner p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.58;
  margin-bottom: 18px;
}

/* 4-Step Workflow Grid */
.workflow-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.workflow-step-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-top: 4px solid #0d9488;
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.workflow-step-num {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #061024 0%, #0f766e 100%);
  color: #5eead4;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.workflow-step-card h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f766e;
  margin-bottom: 2px;
}

.workflow-step-card h5 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #071126;
  margin-bottom: 8px;
}

.workflow-step-card p {
  font-size: 0.84rem;
  color: #475569;
  line-height: 1.5;
}

/* Monthly & Yearly Pricing Cards */
.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 24px;
  max-width: 920px;
  margin: 0 auto 24px;
}

.pricing-plan-card {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricing-plan-card.featured-plan {
  border: 2.5px solid #0d9488;
  background: linear-gradient(180deg, #f0fdfa 0%, #ffffff 48%);
  box-shadow: 0 20px 44px rgba(13, 148, 136, 0.16);
}

.plan-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
  margin-bottom: 10px;
}

.plan-badge.gold {
  background: linear-gradient(135deg, #061024 0%, #0f766e 100%);
  color: #5eead4;
}

.plan-price {
  margin: 12px 0 16px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.plan-price .currency {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f766e;
}

.plan-price .amount {
  font-size: 2.4rem;
  font-weight: 800;
  color: #071126;
  line-height: 1;
}

.plan-price .period {
  font-size: 0.88rem;
  font-weight: 600;
  color: #64748b;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.86rem;
  color: #334155;
}

/* Church Directory Cards & Scanned Church Ministry Banner */
.church-directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.church-directory-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-top: 4px solid #0d9488;
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.church-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.church-plan-pill {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  background: #ccfbf1;
  color: #0f766e;
}

.church-city-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
}

.church-ministry-banner {
  background: linear-gradient(135deg, #061024 0%, #1e1b4b 50%, #0f766e 100%);
  border: 2px solid #2dd4bf;
  border-radius: 20px;
  padding: 20px 26px;
  margin-bottom: 20px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.church-ministry-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.72rem;
  font-weight: 800;
  color: #5eead4;
  margin-bottom: 4px;
}

.church-sub-status.active {
  background: #065f46;
  color: #a7f3d0;
  padding: 2px 8px;
  border-radius: 999px;
}

.church-sub-status.expired {
  background: #991b1b;
  color: #fecaca;
  padding: 2px 8px;
  border-radius: 999px;
}

.church-ministry-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2px;
}

.church-ministry-pastor {
  font-size: 0.86rem;
  color: #bae6fd;
}

/* Subpages Hero & Legal Document Cards */
.christ-subpage-hero {
  background: linear-gradient(135deg, #061024 0%, #1e1b4b 50%, #0f766e 100%);
  border: 2px solid #2dd4bf;
  border-radius: 22px;
  padding: 36px 28px;
  text-align: center;
  color: #ffffff;
  margin-bottom: 28px;
}

.christ-subpage-hero h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  margin: 10px 0 8px;
}

.christ-subpage-hero p {
  max-width: 720px;
  margin: 0 auto;
  color: rgba(240, 249, 255, 0.9);
  font-size: 0.94rem;
}

.service-detail-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-top: 4px solid #0284c7;
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.service-icon-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #061024 0%, #0f766e 100%);
  color: #5eead4;
  margin-bottom: 10px;
}

.service-detail-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f766e;
  margin-bottom: 4px;
}

.service-detail-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #071126;
  margin-bottom: 8px;
}

.service-detail-card p {
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.55;
}

.payment-instructions-card {
  max-width: 920px;
  margin: 0 auto;
  background: #ffffff;
  border: 2px solid #0d9488;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.payment-instructions-header {
  background: linear-gradient(135deg, #061024 0%, #0f766e 100%);
  color: #5eead4;
  padding: 15px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.payment-instructions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 22px;
}

.legal-document-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.legal-section {
  margin-bottom: 22px;
}

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

.legal-section h3 {
  font-size: 1.08rem;
  font-weight: 800;
  color: #0f766e;
  margin-bottom: 8px;
}

.legal-section p,
.legal-section li {
  font-size: 0.9rem;
  color: #334155;
  line-height: 1.65;
}

.public-site-footer {
  background: linear-gradient(135deg, #040b1a 0%, #0f172a 55%, #134e4a 100%);
  color: #ffffff;
  border-top: 2px solid #14b8a6;
  padding: 34px 20px;
  margin-top: 48px;
}

.public-footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.public-footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.public-footer-links a {
  color: #5eead4;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
}

.public-footer-links a:hover {
  text-decoration: underline;
  color: #99f6e4;
}

/* Enterprise SaaS Metrics Strip, Bento Features, FAQ & Executive CTA */
.saas-metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 44px;
}

.saas-metric-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-top: 3px solid #0d9488;
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.saas-metric-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.saas-metric-value {
  font-size: 1.65rem;
  font-weight: 800;
  color: #071126;
  letter-spacing: -0.4px;
  line-height: 1.15;
}

.saas-metric-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0f766e;
}

.saas-metric-desc {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 500;
}

.saas-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 44px;
}

.saas-faq-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}

.saas-faq-card h4 {
  font-size: 0.98rem;
  font-weight: 800;
  color: #071126;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.saas-faq-card p {
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.6;
}

.saas-cta-banner {
  background: radial-gradient(circle at 85% 20%, rgba(6, 182, 212, 0.28), transparent 45%),
              linear-gradient(135deg, #061024 0%, #1e1b4b 52%, #0f766e 100%);
  border: 2px solid rgba(45, 212, 191, 0.45);
  border-radius: 24px;
  padding: 36px 38px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 22px 48px rgba(6, 16, 36, 0.2);
}

@media (max-width: 920px) {
  .christ-hero-grid,
  .payment-instructions-grid,
  .saas-faq-grid {
    grid-template-columns: 1fr;
  }
  .saas-metrics-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .christ-hero-banner {
    padding: 26px 20px;
  }
  .christ-hero-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 540px) {
  .saas-metrics-strip {
    grid-template-columns: 1fr;
  }
}
