/* ==========================================================================
   Authentic About Page Styling (Story-Driven Startup Focus - Premium Polish)
   ========================================================================== */

/* Typography & General */
.about-page-wrapper {
  font-family: 'Inter', sans-serif;
  color: #111827;
  overflow-x: hidden;
  background-color: #ffffff;
}

.about-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 4rem;
}

/* Typography Hierarchy */
.about-section-tag {
  color: #5700B4;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  display: inline-block;
}

.about-heading-lg {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  color: #111827;
}

.about-heading-md {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
}

.about-subheading {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  line-height: 1.65;
  color: #4B5563;
  margin-bottom: 24px;
  max-width: 600px;
}

/* Premium Buttons */
.btn-saas {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
}

.btn-saas-primary {
  background: #5700B4;
  color: white;
  border: none;
  box-shadow: 0 4px 10px rgba(87, 0, 180, 0.2);
}

.btn-saas-primary:hover {
  background: #460096;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(87, 0, 180, 0.3);
}

.btn-saas-secondary {
  background: transparent;
  color: #5700B4;
  border: 1.5px solid rgba(87, 0, 180, 0.2);
}

.btn-saas-secondary:hover {
  background: rgba(87, 0, 180, 0.04);
  color: #460096;
  border-color: #5700B4;
  transform: translateY(-2px);
}

/* 1. Hero Section (Visual Glow & Sizing Upgrades) */
.about-hero {
  position: relative;
  padding: 100px 0 80px;
  background: #fafafa;
  overflow: hidden;
  border-bottom: 1px solid #f3f4f6;
}

/* Ambient Glow Spotlight */
.about-hero::after {
  content: '';
  position: absolute;
  top: 20%;
  right: -5%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(87,0,180,0.14) 0%, rgba(250,250,250,0) 70%);
  border-radius: 50%;
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

/* Ambient Floating Glowing Spheres */
.hero-glow-sphere {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.08;
  z-index: 0;
  pointer-events: none;
}

.hero-glow-sphere.sphere-1 {
  top: 10%;
  left: 5%;
  width: 250px;
  height: 250px;
  background: #5700B4;
}

.hero-glow-sphere.sphere-2 {
  bottom: 15%;
  left: 20%;
  width: 300px;
  height: 300px;
  background: #7c3aed;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(87, 0, 180, 0.05);
  border: 1px solid rgba(87, 0, 180, 0.12);
  border-radius: 50px;
  color: #5700B4;
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(87, 0, 180, 0.02);
}

/* Gradient text highlight */
.gradient-text {
  background: linear-gradient(135deg, #5700B4 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero Action Buttons */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

@media (max-width: 600px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
}

/* Widen Abstract UI Graphic for Visibility */
.abstract-graphic {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

/* Premium Glassmorphic Booking Widget Mockup */
.mockup-dashboard {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  box-shadow: 
    0 30px 60px -15px rgba(87, 0, 180, 0.12), 
    0 10px 25px -10px rgba(0, 0, 0, 0.05), 
    inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
  border: 1px solid rgba(87, 0, 180, 0.08) !important;
  padding: 24px 28px 28px !important;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.mockup-dashboard:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 35px 70px -15px rgba(87, 0, 180, 0.16), 
    0 15px 30px -10px rgba(0, 0, 0, 0.06);
}

.mockup-dashboard div[style*="border"]:hover {
  border-color: rgba(87, 0, 180, 0.08) !important;
}

/* Styled interactive time slots in dashboard */
.mockup-dashboard div[style*="grid"] div:first-child:hover,
.mockup-dashboard div[style*="grid"] div:nth-child(3):hover,
.mockup-dashboard div[style*="grid"] div:nth-child(4):hover {
  background: rgba(87, 0, 180, 0.04) !important;
  border-color: rgba(87, 0, 180, 0.2) !important;
  color: #5700B4 !important;
  cursor: pointer;
  transform: translateY(-1px);
}

.abs-float {
  position: absolute;
  bottom: -15px;
  left: -25px;
  background: white;
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: 
    0 12px 30px rgba(87, 0, 180, 0.15), 
    0 4px 10px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(87, 0, 180, 0.08);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 6s ease-in-out infinite;
}

/* Mockup Floating Success Badge with Glassmorphism */
.mockup-float-card {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 
    0 15px 35px rgba(87, 0, 180, 0.18), 
    0 5px 12px rgba(0, 0, 0, 0.04) !important;
  border: 1px solid rgba(16, 185, 129, 0.12) !important;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

/* Extracted Mockup Styles */
.mockup-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(87, 0, 180, 0.06);
  padding-bottom: 12px;
}
.mockup-head .title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #5700B4;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.mockup-head .status {
  font-size: 0.8rem;
  color: #10b981;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.mockup-head .status span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
}

.mockup-service-row {
  background: rgba(87, 0, 180, 0.03);
  border: 1px solid rgba(87, 0, 180, 0.06);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.mockup-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(87, 0, 180, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5700B4;
  flex-shrink: 0;
}
.mockup-service-info .name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.2;
  margin-bottom: 2px;
}
.mockup-service-info .details {
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1;
}

.mockup-slots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.mockup-slot {
  height: 44px;
  border: 1px solid rgba(87, 0, 180, 0.08);
  background: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: #4b5563;
  transition: all 0.2s;
}
.mockup-slot-active {
  height: 44px;
  background: #5700B4;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(87, 0, 180, 0.25);
}

.mockup-success-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e6fcf5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10b981;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.15);
}
.mockup-success-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.mockup-success-text .msg {
  font-size: 0.85rem;
  font-weight: 800;
  color: #065f46;
  line-height: 1.1;
}
.mockup-success-text .time {
  font-size: 0.8rem;
  color: #047857;
  opacity: 0.85;
  line-height: 1;
}

/* 2. Our Story Section (High-Readability Adjustments) */
.about-story {
  padding: 70px 0;
  background: white;
}

.about-story .story-content {
  max-width: 600px; /* Reduced for better line length */
  margin: 0 auto;
  text-align: left;
}

.about-story .story-content p {
  line-height: 1.85; /* Increased line-height */
  font-size: 1.0625rem;
  margin-bottom: 28px; /* Optimized paragraph spacing */
  color: #374151;
}

/* 3. Mission & Vision Section (Card Refinements) */
.about-mission {
  padding: 50px 0 70px;
  background: white;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}

.mv-card {
  background: #fafafa;
  padding: 48px 40px; /* Increased internal padding */
  border-radius: 16px;
  border: 1px solid rgba(87, 0, 180, 0.08); /* Added violet tinted border */
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mv-card:hover {
  transform: translateY(-6px); /* Elevates card further */
  box-shadow: 0 20px 40px rgba(87, 0, 180, 0.08); /* Enhanced violet shadow */
  border-color: rgba(87, 0, 180, 0.18);
  background: white;
}

.mv-icon {
  width: 36px;
  height: 36px;
  color: #5700B4;
  margin-bottom: 24px;
  transition: transform 0.3s ease;
}

.mv-card:hover .mv-icon {
  transform: scale(1.08);
}

.mv-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: #111827;
  font-weight: 700;
}

.mv-card p {
  line-height: 1.7;
  color: #4b5563;
  margin: 0;
  font-size: 1rem;
}

/* 4. Core Values Section (Icon Integration & Equal Card Heights) */
.about-values {
  padding: 70px 0;
  background: #fafafa;
  border-top: 1px solid #f3f4f6;
  border-bottom: 1px solid #f3f4f6;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.value-card {
  background: white;
  padding: 40px 28px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%; /* Ensures equal height */
  box-sizing: border-box;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(87, 0, 180, 0.06);
  border-color: rgba(87, 0, 180, 0.15);
}

.value-icon {
  width: 44px;
  height: 44px;
  color: #5700B4;
  margin-bottom: 20px;
  opacity: 0.95;
  transition: transform 0.3s ease;
}

.value-card:hover .value-icon {
  transform: scale(1.1);
}

.value-card h4 {
  font-size: 1.25rem;
  color: #111827;
  margin-bottom: 12px;
  font-weight: 700;
}

.value-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4B5563;
  margin: 0;
  flex-grow: 1; /* Pushes text evenly */
}

/* 4. Small CTA Section */
.about-small-cta {
  padding: 70px 0;
  background: #fafafa;
  border-top: 1px solid #f3f4f6;
  text-align: center;
}

.about-small-cta h3 {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}

.about-small-cta p {
  font-size: 1.05rem;
  color: #4B5563;
  max-width: 500px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.about-cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* Responsive Styles */
@media (max-width: 900px) {
  .about-container {
    padding: 0 2rem;
  }
  .hero-grid, .mission-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-hero {
    padding: 70px 0 50px;
  }
  .about-story, .about-mission, .about-small-cta {
    padding: 60px 0;
  }
}

@media (max-width: 600px) {
  .about-container {
    padding: 0 1.5rem;
  }
  .abstract-graphic {
    max-width: 100%;
  }
  .abs-float {
    left: 10px;
    bottom: -20px;
  }
}
