/* ===================================
   About Page Specific Styles
   =================================== */

/* About Hero */
.about-hero {
  padding: 100px 24px 60px;
  text-align: center;
  background: linear-gradient(180deg, rgba(107, 70, 255, 0.03) 0%, transparent 100%);
}

.about-hero .headline {
  margin-bottom: 20px;
}

/* About Story Section */
.about-story {
  background: white;
}

.story-content {
  max-width: 900px;
  margin: 0 auto;
}

.story-text {
  margin-top: 32px;
}

.story-text p {
  font-size: 18px;
  line-height: 1.8;
  color: #4b5563;
  margin-bottom: 24px;
}

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

/* Products Section */
.products-section {
  background: linear-gradient(180deg, rgba(239, 71, 111, 0.02) 0%, transparent 100%);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.product-card {
  background: white;
  border-radius: 16px;
  padding: 36px 28px;
  box-shadow: 0 4px 20px rgba(16, 24, 40, 0.06);
  border: 1px solid rgba(16, 24, 40, 0.04);
  transition: all 0.3s ease;
  text-align: center;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(16, 24, 40, 0.12);
  border-color: rgba(107, 70, 255, 0.2);
}

.product-icon {
  font-size: 56px;
  margin-bottom: 20px;
}

.product-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #111827;
}

.product-card p {
  color: #6b7280;
  line-height: 1.7;
  font-size: 15px;
}

/* Values Section */
.values-section {
  background: white;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.value-card {
  background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
  border: 2px solid rgba(16, 24, 40, 0.06);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  transition: all 0.3s ease;
}

.value-card:hover {
  background: white;
  border-color: #6b46ff;
  box-shadow: 0 8px 28px rgba(107, 70, 255, 0.12);
  transform: scale(1.02);
}

.value-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.value-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #111827;
}

.value-card p {
  color: #6b7280;
  line-height: 1.7;
  font-size: 15px;
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, rgba(107, 70, 255, 0.05), rgba(239, 71, 111, 0.05));
  padding: 80px 24px 100px;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
  align-items: start;
}

/* Chat Container */
.chat-container {
  background: white;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(16, 24, 40, 0.1);
  border: 2px solid rgba(107, 70, 255, 0.1);
  min-height: 600px;
  position: relative;
}

#chat-embed-wrapper {
  width: 100%;
  height: 100%;
  min-height: 550px;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

#chat-iframe {
  width: 100%;
  height: 550px;
  min-height: 550px;
  border-radius: 16px;
  border: none;
  background: #f9fafb;
}

/* Contact Info Box */
.contact-info-box {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(16, 24, 40, 0.1);
  border: 1px solid rgba(16, 24, 40, 0.08);
}

.contact-info-box h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 28px;
  color: #111827;
  background: linear-gradient(90deg, #6b46ff, #ef476f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item-icon {
  font-size: 32px;
  min-width: 40px;
}

.contact-item h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #111827;
}

.contact-item p {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 4px;
  font-size: 15px;
}

.contact-item p strong {
  color: #111827;
  font-weight: 600;
}

/* Active Nav Link */
nav a.active {
  background: rgba(107, 70, 255, 0.1);
  color: #6b46ff;
}

/* Dark Mode - About Page */
.dark .about-story {
  background: transparent;
}

.dark .story-text p {
  color: #9fb0c9;
}

.dark .product-card,
.dark .value-card,
.dark .chat-container,
.dark .contact-info-box {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

.dark .product-card:hover,
.dark .value-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(107, 70, 255, 0.4);
}

.dark .product-card h3,
.dark .value-card h3,
.dark .contact-item h4 {
  color: #e6eef8;
}

.dark .product-card p,
.dark .value-card p,
.dark .contact-item p {
  color: #9fb0c9;
}

.dark .contact-info-box h3 {
  color: transparent;
}

.dark .contact-item p strong {
  color: #e6eef8;
}

.dark #chat-iframe {
  background: rgba(255, 255, 255, 0.02);
}

.dark nav a.active {
  background: rgba(107, 70, 255, 0.2);
  color: #a78bfa;
}

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

  .chat-container {
    min-height: 500px;
  }

  #chat-iframe {
    height: 450px;
    min-height: 450px;
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding: 80px 20px 40px;
  }

  .products-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .product-card,
  .value-card {
    padding: 28px 24px;
  }

  .contact-info-box {
    padding: 28px 24px;
  }

  .contact-item {
    flex-direction: column;
    gap: 12px;
  }

  .contact-item-icon {
    font-size: 28px;
  }

  .chat-container {
    padding: 16px;
    min-height: 450px;
  }

  #chat-embed-wrapper {
    min-height: 400px;
  }

  #chat-iframe {
    height: 400px;
    min-height: 400px;
  }
}

@media (max-width: 480px) {
  .story-text p {
    font-size: 16px;
  }

  .product-icon,
  .value-icon {
    font-size: 40px;
  }

  .contact-section {
    padding: 60px 20px 80px;
  }

  .chat-container {
    min-height: 400px;
  }

  #chat-iframe {
    height: 350px;
    min-height: 350px;
  }
}

/* Ensure iframe is responsive */
@media (max-width: 640px) {
  #chat-iframe {
    width: 100%;
    max-width: 100%;
  }
}
