/* About Us Page Styles */

.about-hero {
  position: relative;
  width: 100%;
  min-height: 25vh;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  background: url('../assets/about-herobg.png') center center / cover no-repeat;
  padding: 8rem 6rem 3rem 6rem;
}

.about-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.about-hero-content {
  position: relative;
  z-index: 1;
  text-align: left;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.about-hero-label {
  font-family: var(--font-body, 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 500;
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.about-hero-content h1 {
  font-family: var(--font-body, 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.about-hero-desc {
  font-family: var(--font-body, 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  max-width: 700px;
  margin: 0;
}

/* Origin Story Section */
.origin-story {
  background: #ffffff;
  padding: 2rem 6rem 5rem;
}

.origin-story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.origin-story-image {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.origin-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.origin-story-text h2 {
  font-family: var(--font-body, 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #111111;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.origin-story-text p {
  font-family: var(--font-body, 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: 1rem;
  font-weight: 400;
  color: #333333;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.origin-story-highlight {
  font-weight: 700 !important;
  color: #111111 !important;
  font-size: 1.1rem !important;
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .origin-story {
    padding: 3rem 1.5rem;
  }

  .origin-story-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Enter RevaLabs Section */
.enter-revalabs {
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.08) 0%, rgba(236, 72, 153, 0.08) 100%);
  padding: 5rem 6rem;
  display: flex;
  justify-content: center;
}

.enter-revalabs-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 3rem 3.5rem;
  max-width: 900px;
  width: 100%;
  border: none;
  position: relative;
}

.enter-revalabs-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(135deg, #60A5FA 0%, #EC4899 50%, #60A5FA 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.enter-revalabs-title {
  font-family: var(--font-body, 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: #000000;
  margin-bottom: 1.5rem;
}

.enter-revalabs-card p {
  font-family: var(--font-body, 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: #333333;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

@media (max-width: 768px) {
  .enter-revalabs {
    padding: 3rem 1.5rem;
  }

  .enter-revalabs-card {
    padding: 2rem 1.5rem;
  }
}

/* Our Core Approach Section */
.core-approach {
  background: #0A1F44;
  padding: 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.core-approach-title {
  font-family: var(--font-body, 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.core-approach-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto 2.5rem;
  text-align: left;
}

.core-approach-card {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.core-approach-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.core-approach-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.4) 0%, rgba(236, 72, 153, 0.4) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.core-approach-card h4 {
  font-family: var(--font-body, 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.core-approach-card p {
  font-family: var(--font-body, 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.core-approach-closing {
  font-family: var(--font-body, 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-top: 2.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.core-approach-initiative {
  font-family: var(--font-body, 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .core-approach {
    padding: 3rem 1.5rem;
  }

  .core-approach-cards {
    grid-template-columns: 1fr;
  }
}

/* Hero Sub Section - white background */
.about-hero-sub {
  background: #ffffff;
  padding: 2rem 6rem 2rem;
}

.about-hero-sub-content {
  max-width: 1200px;
  margin: 0 auto;
}

.about-hero-sub-content h1 {
  font-family: var(--font-body, 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: #111111;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.about-hero-sub .about-hero-desc {
  font-family: var(--font-body, 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: #333333;
  line-height: 1.7;
  max-width: 100%;
  margin: 0 0 1rem;
}

@media (max-width: 768px) {
  .about-hero {
    min-height: 350px;
    padding: 6rem 1.5rem 3rem;
  }

  .about-hero-sub {
    padding: 3rem 1.5rem;
  }
}

/* Page Load Animation */
@keyframes sectionReveal {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#main-content > section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

#main-content > section.section-visible {
  opacity: 1;
  transform: translateY(0);
}
