/* 
   W.B. Beam Intermediate Advocacy Launcher
   Core Design System and Stylesheet
*/

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

:root {
  /* Color Palette - Clean Light Slate & Indigo */
  --bg-base: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --border-subtle: #cbd5e1;
  --border-active: #2563eb;
  
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-glow: rgba(37, 99, 235, 0.15);
  
  --success: #059669;
  --success-hover: #047857;
  --success-glow: rgba(5, 150, 105, 0.15);
  
  --warning: #d97706;
  --warning-glow: rgba(217, 119, 6, 0.1);
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  
  /* Layout & Spacing */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Fonts */
  --font-display: 'Outfit', -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

/* Base resets & styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  padding: 0;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(99, 102, 241, 0.04) 0%, transparent 40%);
  background-attachment: fixed;
}

/* Header Section */
header {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 1.5rem 1.5rem 1.5rem;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #fef3c7;
  border: 1px solid #fde68a;
  color: var(--warning);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  animation: pulse-border 2s infinite ease-in-out;
}

.badge svg {
  fill: currentColor;
}

h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.15;
  background: linear-gradient(135deg, #0f172a 20%, #1e3a8a 60%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.subtitle {
  color: var(--text-secondary);
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 700px;
  margin: 0 auto 2rem auto;
  font-weight: 400;
}

/* Grid Layout container */
main {
  max-width: 850px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem 4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Card Styling */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.02);
  height: 100%;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.card-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}

/* Recipients / Board Directory List */
.board-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 600px) {
  .board-list {
    grid-template-columns: 1fr 1fr;
  }
}

/* Custom Scrollbar for list */
.board-list::-webkit-scrollbar {
  width: 6px;
}
.board-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
}
.board-list::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: var(--radius-sm);
}
.board-list::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

.board-member-card {
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-fast);
}

.board-member-card:hover {
  background-color: var(--bg-surface);
  border-color: var(--border-active);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.member-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.member-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1rem;
}

.member-role {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.member-township {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.member-email {
  font-size: 0.8rem;
  color: var(--primary-hover);
  text-decoration: none;
  font-family: monospace;
  background: rgba(37, 99, 235, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.member-email:hover {
  background: rgba(37, 99, 235, 0.25);
  color: var(--text-primary);
}

/* Generator & Form Styling */
.form-group {
  margin-bottom: 1.5rem;
}

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

input[type="text"], select {
  width: 100%;
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

input[type="text"]:focus, select:focus {
  border-color: var(--border-active);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

/* Key Points Custom Checkboxes */
.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

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

.checkbox-card {
  background-color: rgba(25, 33, 52, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
  transition: var(--transition-fast);
}

.checkbox-card:hover {
  background-color: rgba(25, 33, 52, 0.8);
  border-color: rgba(59, 130, 246, 0.3);
}

.checkbox-card.selected {
  border-color: var(--border-active);
  background-color: rgba(37, 99, 235, 0.08);
}

.checkbox-card input[type="checkbox"] {
  accent-color: var(--primary-hover);
  margin-top: 0.25rem;
  width: 16px;
  height: 16px;
}

.checkbox-label {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.checkbox-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.checkbox-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Live Preview Box */
.preview-container {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 1.75rem;
  overflow: hidden;
}

.preview-header {
  background-color: rgba(15, 23, 42, 0.03);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.75rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.preview-badge {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.preview-badge::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--success);
  border-radius: 50%;
}

.btn-regenerate {
  background: none;
  border: none;
  color: var(--primary-hover);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition-fast);
}

.btn-regenerate:hover {
  color: var(--text-primary);
}

.btn-regenerate svg {
  transition: transform 0.4s ease;
}

.btn-regenerate:hover svg {
  transform: rotate(180deg);
}

/* Subject & Body Preview Fields */
.subject-field {
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.subject-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.subject-input {
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  width: 100%;
  outline: none;
  font-weight: 600;
}

.body-textarea {
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 1.25rem;
  resize: vertical;
  min-height: 250px;
  outline: none;
  width: 100%;
  line-height: 1.6;
}

/* Footer Instructions Inside card */
.preview-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: -1rem;
  margin-bottom: 1.5rem;
}

/* Button Layout */
.button-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: var(--transition-normal);
  text-decoration: none;
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 4px 14px 0 var(--primary-glow);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 6px 20px 0 var(--primary-glow);
  transform: translateY(-2px);
}

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

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--text-secondary);
}

.btn-success {
  background-color: var(--success);
  color: white;
  box-shadow: 0 4px 14px 0 var(--success-glow);
}

.btn-success:hover {
  background-color: var(--success-hover);
  box-shadow: 0 6px 20px 0 var(--success-glow);
}

/* Campaign Stats Bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background-color: var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: auto;
  border: 1px solid var(--border-subtle);
}

.stat-item {
  background-color: rgba(18, 24, 38, 0.8);
  padding: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--warning);
}

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

/* Footer Info */
footer {
  max-width: 1200px;
  width: 100%;
  margin: auto auto 2rem auto;
  padding: 0 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

footer a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
}

footer a:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

/* Animations */
@keyframes pulse-border {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.2);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(245, 158, 11, 0);
  }
}

/* Utility classes */
.icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* d-none utility */
.d-none {
  display: none !important;
}

/* Landing View Buttons */
.landing-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}

@media (min-width: 600px) {
  .landing-buttons {
    grid-template-columns: 1fr 1fr;
  }
}

.btn-large {
  padding: 2rem 1.5rem;
  font-size: 1.2rem;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  height: 100%;
  border: 1px solid transparent;
  transition: all var(--transition-normal);
}

.btn-large.btn-primary {
  background: linear-gradient(135deg, var(--primary), #4f46e5);
  color: white;
  box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.4), 0 4px 10px -3px rgba(37, 99, 235, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: rgba(99, 102, 241, 0.3);
}

.btn-large.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-hover), #6366f1);
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 15px 35px -5px rgba(79, 70, 229, 0.6), 0 8px 15px -3px rgba(37, 99, 235, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-large.btn-secondary {
  background: var(--bg-surface);
  border-color: var(--border-subtle);
  color: var(--text-primary);
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn-large.btn-secondary:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--border-active);
  transform: translateY(-5px) scale(1.03);
  color: var(--primary-hover);
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.08), 0 0 15px rgba(37, 99, 235, 0.1);
}

.btn-large:active {
  transform: translateY(-1px) scale(0.99) !important;
}

.btn-large .icon {
  width: 40px;
  height: 40px;
  stroke-width: 1.5;
  transition: transform var(--transition-fast);
  color: inherit;
}

.btn-large.btn-primary .icon {
  filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.3));
}

.btn-large.btn-secondary .icon {
  color: var(--primary-hover);
  filter: drop-shadow(0 2px 8px rgba(59, 130, 246, 0.2));
}

.btn-large:hover .icon {
  transform: scale(1.15) rotate(5deg);
}

/* action buttons overrides for extra pop */
.btn-primary:not(.btn-large) {
  background: linear-gradient(135deg, var(--primary), #3b82f6) !important;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

.btn-primary:not(.btn-large):hover {
  background: linear-gradient(135deg, var(--primary-hover), #60a5fa) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.btn-secondary:not(.btn-large) {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-subtle) !important;
  color: var(--text-primary) !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04) !important;
}

.btn-secondary:not(.btn-large):hover {
  background: var(--bg-surface-elevated) !important;
  border-color: var(--text-secondary) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08) !important;
}

/* Wizard Header & Navigation */
.wizard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  gap: 1rem;
}

.btn-back, .btn-reset {
  background: none;
  border: none;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: var(--transition-fast);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
}

.btn-back:hover, .btn-reset:hover {
  color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.05);
}

.wizard-progress-steps {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.progress-step {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--bg-surface-elevated);
  border: 2px solid var(--border-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--transition-normal);
}

.progress-step.active {
  background-color: var(--primary);
  border-color: var(--primary-hover);
  color: white;
  box-shadow: 0 0 12px var(--primary-glow);
}

.progress-step.completed {
  background-color: var(--success);
  border-color: var(--success-hover);
  color: white;
  box-shadow: 0 0 12px var(--success-glow);
}

.progress-line {
  width: 24px;
  height: 2px;
  background-color: var(--border-subtle);
  transition: var(--transition-normal);
}

.progress-line.completed {
  background-color: var(--success);
}

/* Wizard Steps Content */
.wizard-step {
  animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.wizard-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.65rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.wizard-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

/* Concern Options Grid */
.concern-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

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

.card-flip-container {
  perspective: 1000px;
  cursor: pointer;
  height: auto;
}

.card-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-flip-container.flipped .card-flip-inner {
  transform: rotateY(180deg);
}

.card-flip-front, .card-flip-back {
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.05);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.card-flip-front {
  position: relative;
  background: #f0f7ff;
  border: 1px solid #bfdbfe;
  border-left: 5px solid var(--primary);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  color: inherit;
  transition: all var(--transition-normal);
}

.card-flip-container:not(.flipped):hover .card-flip-front {
  background: #e0f2fe;
  border-color: var(--border-active);
  border-left-color: var(--primary-hover);
  transform: translateY(-5px);
  box-shadow: 0 12px 28px -6px rgba(37, 99, 235, 0.18), 0 8px 16px -6px rgba(15, 23, 42, 0.04);
}

.concern-icon {
  background: #ffffff;
  color: var(--primary);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
  border: 1px solid #dbeafe;
}

.card-flip-container:not(.flipped):hover .concern-icon {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 12px var(--primary-glow);
  transform: scale(1.08);
  border-color: var(--primary);
}

.concern-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.concern-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  transition: color var(--transition-fast);
}

.card-flip-container:not(.flipped):hover .concern-title {
  color: var(--primary);
}

.concern-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.card-flip-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotateY(180deg);
  background: linear-gradient(135deg, var(--primary), #1d4ed8);
  border: 1px solid var(--primary-hover);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  box-sizing: border-box;
  text-align: center;
}

.back-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.back-content .check-icon {
  width: 44px;
  height: 44px;
  stroke: white;
  stroke-width: 3;
  margin-bottom: 0.25rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

.back-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  margin: 0;
}

.back-desc {
  font-size: 0.85rem;
  opacity: 0.9;
  margin: 0;
}

/* Collapsible Recipients details style overrides */
.recipients-details {
  width: 100%;
}

.recipients-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  list-style: none; /* Hide default arrow */
  user-select: none;
}

/* Hide webkit details marker */
.recipients-summary::-webkit-details-marker {
  display: none;
}

.summary-header {
  display: flex;
  align-items: center;
}

.recipients-summary .chevron {
  transition: transform var(--transition-normal);
  color: var(--text-secondary);
}

.recipients-details[open] .recipients-summary .chevron {
  transform: rotate(180deg);
  color: var(--text-primary);
}

.recipients-content {
  animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Animation Keyframes */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Announcement Banner Styling */
.announcement-banner {
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(217, 119, 6, 0.05);
  animation: pulse-glow 3s infinite ease-in-out;
}

.announcement-icon {
  background: #fef8e2;
  color: var(--warning);
  border-radius: var(--radius-sm);
  padding: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(217, 119, 6, 0.08);
}

.announcement-icon .icon {
  width: 24px;
  height: 24px;
}

.announcement-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.announcement-tag {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--warning);
  letter-spacing: 0.05em;
}

.announcement-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-top: 0.15rem;
}

.announcement-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-top: 0.25rem;
}

.announcement-text strong {
  color: var(--text-primary);
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(217, 119, 6, 0.05);
    border-color: #fde68a;
  }
  50% {
    box-shadow: 0 4px 25px rgba(217, 119, 6, 0.12);
    border-color: #f59e0b;
  }
}

/* Landing Page Hero Layout */
.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.action-card {
  width: 100%;
  max-width: 550px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.1), 0 1px 3px rgba(15, 23, 42, 0.05);
  margin-bottom: 2rem;
}

.landing-buttons-vertical {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}

.landing-buttons-vertical .btn-large {
  padding: 1.5rem 1.25rem;
  font-size: 1.15rem;
  border-radius: var(--radius-md);
  flex-direction: row;
  justify-content: flex-start;
  text-align: left;
  height: auto;
}

.landing-buttons-vertical .btn-large .icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  margin-right: 0.5rem;
}

.btn-text-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}

.btn-main-text {
  font-weight: 700;
  font-size: 1.1rem;
}

.btn-sub-text {
  font-size: 0.8rem;
  font-weight: 400;
  opacity: 0.9;
}

/* Small screens height optimization */
@media (max-height: 740px) {
  header {
    padding: 1.5rem 1rem 0.75rem 1rem;
  }
  h1 {
    margin-bottom: 0.25rem;
  }
  .subtitle {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
  }
  .action-card {
    padding: 1.25rem;
    margin-bottom: 1rem;
  }
  .landing-buttons-vertical {
    gap: 0.75rem;
  }
  .landing-buttons-vertical .btn-large {
    padding: 1rem 1rem;
  }
  .badge {
    margin-bottom: 0.5rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
  }
}

/* Facts Page Layout Customizations */
.facts-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.facts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

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

.fact-card {
  transition: transform var(--transition-normal), border-color var(--transition-fast);
}

.fact-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-active);
}

.fact-number-badge {
  display: inline-block;
  background-color: var(--primary-glow);
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.fact-details-list {
  list-style: none;
  margin-top: 1rem;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.fact-details-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.fact-details-list li::before {
  content: "•";
  color: var(--primary);
  font-weight: bold;
  font-size: 1.25rem;
  position: absolute;
  left: 0;
  top: -2px;
}

/* Inline copy button styling next to text inputs */
.btn-copy-inline {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-copy-inline:hover {
  background-color: rgba(37, 99, 235, 0.08);
  border-color: var(--primary);
  color: var(--primary);
}

.btn-copy-inline.btn-success {
  background-color: var(--success) !important;
  border-color: var(--success) !important;
  color: white !important;
}

.btn-copy-inline .icon {
  width: 12px;
  height: 12px;
  stroke-width: 2.5;
}

/* Blog Style Layout for Facts Page */
.blog-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.5rem 0;
  width: 100%;
}

.blog-article {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.02);
  line-height: 1.8;
  color: var(--text-primary);
}

.blog-header {
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 2rem;
}

.blog-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.blog-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.blog-meta-divider {
  color: var(--border-subtle);
}

.blog-content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-left: 4px solid var(--primary);
  padding-left: 0.75rem;
}

.blog-content p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.blog-content ul, .blog-content ol {
  margin-bottom: 1.75rem;
  padding-left: 1.5rem;
  list-style: none;
}

.blog-content li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  color: var(--text-secondary);
}

.blog-content li::before {
  content: "•";
  color: var(--primary);
  font-weight: bold;
  font-size: 1.25rem;
  position: absolute;
  left: 0;
  top: -2px;
}

.blog-content strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Callout Box inside blog post */
.blog-callout {
  background: var(--bg-surface-elevated);
  border-left: 4px solid var(--warning);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  font-size: 1rem;
  color: var(--text-secondary);
}

.blog-callout strong {
  color: var(--warning);
}




