/*
 * Community Home Page - Senior-Friendly Design
 */

.swib-community-home {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 16px 40px;
}

/* ============================================================================
   HERO SECTION
   ============================================================================ */

.swib-hero {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #f0fdfa 0%, #ecfdf5 100%);
  border-radius: 16px;
  margin-bottom: 48px;
}

.swib-hero__title {
  font-size: 36px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 16px;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .swib-hero__title {
    font-size: 28px;
  }
}

.swib-hero__subtitle {
  font-size: 22px;
  color: #475569;
  margin: 0 0 32px;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .swib-hero__subtitle {
    font-size: 18px;
  }
}

.swib-hero__benefits {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.swib-hero__benefit {
  font-size: 18px;
  color: #0f766e;
  font-weight: 600;
}

.swib-hero__ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.swib-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 32px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  min-height: 64px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.swib-hero__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.swib-hero__btn--primary {
  background: #0d9488;
  color: white !important;
}

.swib-hero__btn--secondary {
  background: white;
  color: #0d9488 !important;
  border: 3px solid #0d9488;
}

@media (max-width: 600px) {
  .swib-hero__ctas {
    flex-direction: column;
    width: 100%;
  }
  
  .swib-hero__btn {
    width: 100%;
    justify-content: center;
  }
}

.swib-hero__reassurance {
  font-size: 15px;
  color: #64748b;
  font-style: italic;
  margin: 0;
}

/* ============================================================================
   HOW IT WORKS
   ============================================================================ */

.swib-how-it-works {
  margin-bottom: 48px;
}

.swib-section-title {
  font-size: 32px;
  font-weight: 700;
  color: #1e293b;
  text-align: center;
  margin: 0 0 40px;
}

@media (max-width: 768px) {
  .swib-section-title {
    font-size: 26px;
  }
}

.swib-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.swib-step {
  text-align: center;
  padding: 32px 20px;
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.swib-step__icon {
  font-size: 64px;
  margin-bottom: 16px;
}

.swib-step__title {
  font-size: 22px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 12px;
}

.swib-step__text {
  font-size: 17px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* ============================================================================
   EVENT TYPES
   ============================================================================ */

.swib-event-types {
  margin-bottom: 48px;
  text-align: center;
}

.swib-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.swib-type {
  padding: 16px;
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
}

.swib-types-caption {
  font-size: 16px;
  color: #64748b;
  font-style: italic;
  margin: 0;
}

/* ============================================================================
   DEDICATED PAGE CALLOUT
   ============================================================================ */

.swib-dedicated-page {
  background: #f0f9ff;
  border: 3px solid #0ea5e9;
  border-radius: 16px;
  padding: 40px 32px;
  margin-bottom: 48px;
  text-align: center;
}

.swib-dedicated-page__title {
  font-size: 30px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 20px;
}

@media (max-width: 768px) {
  .swib-dedicated-page__title {
    font-size: 24px;
  }
}

.swib-dedicated-page__text {
  font-size: 19px;
  color: #334155;
  line-height: 1.6;
  margin: 0 0 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.swib-dedicated-page__benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.swib-benefit {
  font-size: 17px;
  color: #0f766e;
  font-weight: 600;
  padding: 12px;
  background: white;
  border-radius: 8px;
}

.swib-dedicated-page__btn {
  display: inline-block;
  padding: 18px 40px;
  background: #0ea5e9;
  color: white !important;
  border-radius: 12px;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
  min-height: 64px;
  line-height: 64px;
  padding-top: 0;
  padding-bottom: 0;
}

.swib-dedicated-page__btn:hover {
  background: #0284c7;
}

.swib-dedicated-page__note {
  font-size: 15px;
  color: #64748b;
  font-style: italic;
  margin: 16px 0 0;
}

/* ============================================================================
   CALENDAR SECTION
   ============================================================================ */

.swib-calendar-section {
  margin-bottom: 48px;
  text-align: center;
}

.swib-calendar-help {
  font-size: 18px;
  color: #64748b;
  margin: 0 0 32px;
}

.swib-calendar-controls {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.swib-calendar-control {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: white;
  color: #0d9488 !important;
  border: 3px solid #0d9488;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  min-height: 60px;
}

.swib-calendar-control:hover {
  background: #0d9488;
  color: white !important;
}

@media (max-width: 600px) {
  .swib-calendar-controls {
    flex-direction: column;
  }
  
  .swib-calendar-control {
    width: 100%;
    justify-content: center;
  }
}

.swib-calendar-tip {
  font-size: 17px;
  color: #475569;
  margin: 0;
}

/* ============================================================================
   FOOTER REASSURANCE
   ============================================================================ */

.swib-footer-reassurance {
  background: #1e3a5f;
  color: white;
  padding: 40px 32px;
  border-radius: 16px;
  text-align: center;
  margin-bottom: 40px;
}

.swib-footer-reassurance__title {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 24px;
}

.swib-footer-reassurance__items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.swib-footer-item {
  font-size: 18px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.swib-footer-final-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.swib-footer-btn {
  padding: 16px 32px;
  background: white;
  color: #1e3a5f !important;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none !important;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
}

.swib-footer-btn:hover {
  background: #0d9488;
  color: white !important;
}

@media (max-width: 600px) {
  .swib-footer-final-ctas {
    flex-direction: column;
    width: 100%;
  }
  
  .swib-footer-btn {
    width: 100%;
    justify-content: center;
  }
}
