/**
 * Founder Modal Styles
 * Matches WhatsApp/Facts modal styling - dark theme with green border
 */

/* ==================== Modal Base ==================== */
.founder-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.founder-modal.active {
  opacity: 1;
}

/* ==================== Overlay ==================== */
.founder-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

/* ==================== Content Container ==================== */
.founder-modal__content {
  position: relative;
  background: var(--dark-bg-light, #161b22);
  border-radius: 16px;
  max-width: 450px;
  width: 90%;
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 2px solid #28a06d;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  text-align: center;
}

.founder-modal.active .founder-modal__content {
  transform: scale(1);
}

/* ==================== Close Button ==================== */
.founder-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: #888;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder-modal__close:hover {
  color: #fff;
}

/* ==================== Photo ==================== */
.founder-modal__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.5rem;
  border: 3px solid #28a06d;
  box-shadow: 0 4px 20px rgba(40, 160, 109, 0.3);
}

.founder-modal__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==================== Title ==================== */
.founder-modal__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #28a06d;
  margin: 0 0 1.5rem 0;
}

/* ==================== Bio ==================== */
.founder-modal__bio {
  margin-bottom: 2rem;
}

.founder-modal__bio p {
  font-size: 1rem;
  line-height: 1.7;
  color: #ccc;
  margin: 0 0 1rem 0;
}

.founder-modal__bio p:last-child {
  margin-bottom: 0;
}

/* ==================== CTA Button ==================== */
.founder-modal__cta {
  display: inline-block;
  background: #217346;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(33, 115, 70, 0.3);
}

.founder-modal__cta:hover {
  background: #28a06d;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(33, 115, 70, 0.4);
}

/* ==================== Trigger Icon ==================== */
.founder__trigger {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #217346;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(33, 115, 70, 0.4);
  transition: all 0.3s ease;
  padding: 0;
  background: none;
}

.founder__trigger:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(33, 115, 70, 0.6);
  border-color: #28a06d;
}

.founder__trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==================== Responsive ==================== */
@media (max-width: 768px) {
  .founder-modal__content {
    padding: 2rem 1.5rem;
    max-width: 95%;
  }

  .founder-modal__photo {
    width: 100px;
    height: 100px;
  }

  .founder-modal__title {
    font-size: 1.25rem;
  }

  .founder-modal__bio p {
    font-size: 0.95rem;
  }

  .founder__trigger {
    width: 55px;
    height: 55px;
  }
}
