/* ============================================
   FOUNDER STORY PAGE STYLES
   ============================================ */

/* Accessibility - Visually Hidden Class */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Section Container */
.founder-story {
  padding: 120px 0 80px;
  background: linear-gradient(180deg, 
    rgba(99, 102, 241, 0.03) 0%, 
    rgba(139, 92, 246, 0.03) 50%,
    transparent 100%
  );
  min-height: 100vh;
}

/* Hero Introduction */
.founder-hero {
  text-align: center;
  margin-bottom: 80px;
  animation: fadeInUp 0.8s ease-out;
}

.founder-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.founder-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 24px;
}

.founder-badge i {
  font-size: 18px;
}

.founder-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.founder-subtitle {
  font-size: 20px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Content Wrapper */
.founder-content-wrapper {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

/* Founder Card */
.founder-card {
  position: sticky;
  top: 100px;
  background: white;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.04);
  animation: fadeInLeft 0.8s ease-out;
}

.founder-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 24px;
}

.founder-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.founder-card:hover .founder-image {
  transform: scale(1.05);
}

.founder-image-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
  pointer-events: none;
}

.founder-info {
  text-align: center;
}

.founder-name {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.founder-role {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
}

.founder-role-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-style: italic;
}

.founder-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
  margin: 20px 0 24px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
  justify-content: center;
}

.detail-item dt {
  display: flex;
  align-items: center;
}

.detail-item dd {
  margin: 0;
}

.detail-item i {
  font-size: 20px;
  color: var(--primary);
}

.founder-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #0A66C2;
  color: white;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.founder-linkedin:hover {
  background: #004182;
  box-shadow: 0 4px 12px rgba(10, 102, 194, 0.3);
  transform: none !important;
}

.founder-linkedin i {
  font-size: 20px;
}

/* Story Content */
.founder-story-content {
  animation: fadeInRight 0.8s ease-out;
}

.story-section {
  background: white;
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 32px;
  box-shadow: 
    0 2px 12px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.story-section:hover {
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(0, 0, 0, 0.06);
}

.section-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  flex-shrink: 0;
}

.section-icon i {
  font-size: 28px;
  color: #ffffff !important;
  display: block;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

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

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

/* Highlight Section */
.highlight-section {
  background: linear-gradient(135deg, 
    rgba(99, 102, 241, 0.05) 0%, 
    rgba(139, 92, 246, 0.05) 100%
  );
  border: 2px solid rgba(99, 102, 241, 0.15);
}

.highlight-section .section-icon {
  background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
}

.highlight-section .section-icon i {
  color: white;
}

/* Founder Quote */
.founder-quote {
  margin: 32px 0;
  padding: 32px;
  background: linear-gradient(135deg, 
    rgba(99, 102, 241, 0.08) 0%, 
    rgba(139, 92, 246, 0.08) 100%
  );
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  position: relative;
}

.founder-quote p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-primary);
  font-style: italic;
  margin: 0;
}

.founder-quote::before {
  content: '"';
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 60px;
  color: var(--primary);
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 1;
}

.founder-quote footer {
  margin-top: 16px;
}

.quote-author {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  font-style: normal;
}

/* Story CTA */
.story-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 24px;
  padding: 48px;
  text-align: center;
  color: white;
  margin-top: 40px;
}

.story-cta h3 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.story-cta p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 32px;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.cta-buttons .btn i {
  font-size: 20px;
}

.cta-buttons .btn span {
  display: inline-block;
}

.story-cta .cta-buttons .btn-primary {
  background: white !important;
  color: #6366F1 !important;
}

.story-cta .cta-buttons .btn-primary span {
  color: #6366F1 !important;
  font-weight: 600 !important;
}

.story-cta .cta-buttons .btn-primary i {
  color: #6366F1 !important;
}

.story-cta .cta-buttons .btn-primary:hover {
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transform: none !important;
}

.story-cta .cta-buttons .btn-secondary {
  background: #25D366 !important;
  color: #ffffff !important;
  border: 2px solid #25D366 !important;
}

.story-cta .cta-buttons .btn-secondary span {
  color: #ffffff !important;
  font-weight: 600 !important;
}

.story-cta .cta-buttons .btn-secondary i {
  color: #ffffff !important;
}

.story-cta .cta-buttons .btn-secondary:hover {
  background: #1ebe57 !important;
  border-color: #1ebe57 !important;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transform: none !important;
}

/* Override global button transforms */
.founder-card .founder-linkedin:hover {
  transform: none !important;
}

.story-cta .cta-buttons .btn-primary:hover,
.story-cta .cta-buttons .btn-secondary:hover {
  transform: none !important;
  scale: 1 !important;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .founder-content-wrapper {
    grid-template-columns: 320px 1fr;
    gap: 40px;
  }

  .founder-card {
    padding: 24px;
  }

  .story-section {
    padding: 32px;
  }
}

@media (max-width: 768px) {
  .founder-story {
    padding: 80px 0 60px;
  }

  .founder-hero {
    margin-bottom: 60px;
  }

  .founder-content-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .founder-card {
    position: relative;
    top: 0;
    max-width: 400px;
    margin: 0 auto;
  }

  .founder-title {
    font-size: 36px;
  }

  .founder-subtitle {
    font-size: 18px;
  }

  .story-section {
    padding: 24px;
  }

  .section-title {
    font-size: 20px;
  }

  .section-text {
    font-size: 15px;
  }

  .founder-quote {
    padding: 24px;
    font-size: 16px;
  }

  .story-cta {
    padding: 32px 24px;
  }

  .story-cta h3 {
    font-size: 24px;
  }

  .story-cta p {
    font-size: 16px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-buttons .btn {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .founder-story {
    padding: 60px 0 40px;
  }

  .founder-title {
    font-size: 28px;
  }

  .founder-name {
    font-size: 24px;
  }

  .section-icon {
    width: 48px;
    height: 48px;
  }

  .section-icon i {
    font-size: 24px;
  }

  .story-section {
    padding: 20px;
    margin-bottom: 24px;
  }

  .founder-quote {
    padding: 20px;
    font-size: 15px;
  }
}

