/* About Us Page Styles */

:root {
  --about-bg-white: #FFFFFF;
  --about-bg-dark: #000628;
  --about-text-title: #222222;
  --about-text-body: #64748B;
  --about-text-light: #BEC7D5;
  --about-text-muted: #8293AB;
}

/* ============================================
   HERO SECTION
   ============================================ */
.rand-about__hero {
  background-color: var(--about-bg-white);
  padding: 100px 16px 50px;
  padding-top: 116px; /* Account for fixed header on mobile */
}

@media (min-width: 992px) {
  .rand-about__hero {
    padding: 100px 60px 50px;
    padding-top: 172px; /* Account for fixed header on desktop */
  }
}

.rand-about__hero-container {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 52px;
  align-items: center;
}

.rand-about__hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
  max-width: 720px;
}

.rand-about__hero-title {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 40px;
  line-height: 48px;
  letter-spacing: -1px;
  color: var(--about-text-title);
  margin: 0;
  text-align: center;
}

@media (min-width: 992px) {
  .rand-about__hero-title {
    font-size: 70px;
    line-height: 77px;
  }
}

.rand-about__hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: var(--about-text-body);
  margin: 0;
}

@media (min-width: 992px) {
  .rand-about__hero-subtitle {
    font-size: 20px;
  }
}

.rand-about__hero-cta {
  display: none; /* Hidden on mobile - floating CTA in header is sufficient */
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 8px 24px;
  background-color: #2C52F5;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  text-decoration: none;
  border-radius: 999px;
  transition: background-color 0.2s ease;
  white-space: nowrap;
}

@media (min-width: 992px) {
  .rand-about__hero-cta {
    display: inline-flex;
  }
}

.rand-about__hero-cta:hover {
  background-color: #2445d4;
  color: #ffffff;
}

.rand-about__hero-image {
  width: 100%;
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
}

@media (min-width: 992px) {
  .rand-about__hero-image {
    height: 600px;
  }
}

.rand-about__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   INFO SECTION
   ============================================ */
.rand-about__info {
  background-color: var(--about-bg-white);
  padding: 60px 16px;
}

@media (min-width: 992px) {
  .rand-about__info {
    padding: 100px 60px;
  }
}

.rand-about__info-container {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 992px) {
  .rand-about__info-container {
    flex-direction: row;
    align-items: center;
    gap: 174px;
  }
}

.rand-about__info-title {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -1px;
  color: var(--about-text-title);
  margin: 0;
  flex: 1;
}

@media (min-width: 992px) {
  .rand-about__info-title {
    font-size: 50px;
    max-width: 573px;
  }
}

.rand-about__info-content {
  display: flex;
  flex-direction: column;
  gap: 50px;
  flex: 1;
}

@media (min-width: 992px) {
  .rand-about__info-content {
    max-width: 573px;
  }
}

.rand-about__info-details {
  display: flex;
  gap: 24px;
}

.rand-about__info-detail {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
}

.rand-about__info-label {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: 1.96px;
  color: var(--about-text-body);
  margin: 0;
  text-transform: uppercase;
}

.rand-about__info-value {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 32px;
  color: var(--about-text-title);
  margin: 0;
}

@media (min-width: 992px) {
  .rand-about__info-value {
    font-size: 24px;
  }
}

.rand-about__info-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--about-text-title);
}

.rand-about__info-link:hover {
  color: #2C52F5;
}

.rand-about__info-link-icon {
  width: 24px;
  height: 24px;
}

.rand-about__info-description {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: var(--about-text-body);
  margin: 0;
}

@media (min-width: 992px) {
  .rand-about__info-description {
    font-size: 20px;
  }
}

/* ============================================
   BOARD MEMBERS SECTION
   ============================================ */
.rand-about__board {
  background-color: var(--about-bg-white);
  padding: 60px 16px 100px;
}

@media (min-width: 992px) {
  .rand-about__board {
    padding: 100px 60px 100px;
  }
}

.rand-about__board-container {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .rand-about__board-container {
    gap: 80px;
  }
}

.rand-about__board-title {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -1px;
  color: var(--about-text-title);
  margin: 0;
  text-align: center;
}

@media (min-width: 992px) {
  .rand-about__board-title {
    font-size: 50px;
  }
}

.rand-about__board-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}

@media (min-width: 992px) {
  .rand-about__board-grid {
    flex-direction: row;
    gap: 40px;
  }
}

.rand-about__board-card {
  display: flex;
  flex-direction: column;
  gap: 32px;
  flex: 1;
}

.rand-about__board-photo {
  width: 100%;
  height: 200px;
  border-radius: 6px;
  overflow: hidden;
}

@media (min-width: 992px) {
  .rand-about__board-photo {
    height: 250px;
  }
}

.rand-about__board-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Rafael Martinez - align image to top */
.rand-about__board-card:nth-child(2) .rand-about__board-photo img {
  object-position: top;
}

.rand-about__board-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.rand-about__board-role {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: 1.96px;
  color: var(--about-text-body);
  margin: 0;
  text-transform: uppercase;
}

.rand-about__board-name-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rand-about__board-name {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 32px;
  color: var(--about-text-title);
  margin: 0;
}

@media (min-width: 992px) {
  .rand-about__board-name {
    font-size: 24px;
  }
}

.rand-about__board-linkedin {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.rand-about__board-linkedin img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rand-about__board-bio {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--about-text-body);
  margin: 0;
}

@media (min-width: 992px) {
  .rand-about__board-bio {
    font-size: 20px;
  }
}

/* ============================================
   TEAM SECTION (Dark background)
   ============================================ */
.rand-about__team {
  background-color: var(--about-bg-dark);
  padding: 60px 16px;
}

@media (min-width: 992px) {
  .rand-about__team {
    padding: 100px 60px;
  }
}

.rand-about__team-container {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 992px) {
  .rand-about__team-container {
    gap: 80px;
  }
}

.rand-about__team-header {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: left;
}

@media (min-width: 992px) {
  .rand-about__team-header {
    text-align: center;
  }
}

.rand-about__team-title {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -1px;
  color: #ffffff;
  margin: 0;
  text-align: center;
}

@media (min-width: 992px) {
  .rand-about__team-title {
    font-size: 50px;
  }
}

.rand-about__team-subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: var(--about-text-light);
  margin: 0;
}

@media (min-width: 992px) {
  .rand-about__team-subtitle {
    font-size: 20px;
  }
}

.rand-about__team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  justify-content: center;
}

@media (min-width: 992px) {
  .rand-about__team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
}

.rand-about__team-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  padding: 10px;
  box-sizing: border-box;
  flex: 0 0 calc(50% - 12px);
}

@media (min-width: 992px) {
  .rand-about__team-logo {
    height: 250px;
    padding: 10px;
    border: 1px dashed #FFFFFF;
    flex: unset;
  }

  .rand-about__team-logo:not(:nth-child(3n)) {
    border-right: none;
  }

  .rand-about__team-logo:not(:nth-last-child(-n + 3)) {
    border-bottom: none;
  }
}

.rand-about__team-logo img {
  max-width: 120px;
  max-height: 40px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

@media (min-width: 992px) {
  .rand-about__team-logo img {
    max-width: 200px;
    max-height: 60px;
  }
}

/* ============================================
   INVESTORS SECTION (Dark background)
   ============================================ */
.rand-about__investors {
  background-color: var(--about-bg-dark);
  padding: 60px 16px;
}

@media (min-width: 992px) {
  .rand-about__investors {
    padding: 100px 60px;
  }
}

.rand-about__investors-container {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 992px) {
  .rand-about__investors-container {
    gap: 80px;
  }
}

.rand-about__investors-title {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -1px;
  color: #ffffff;
  margin: 0;
  text-align: center;
}

@media (min-width: 992px) {
  .rand-about__investors-title {
    font-size: 50px;
  }
}

.rand-about__investors-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  justify-content: center;
}

@media (min-width: 992px) {
  .rand-about__investors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
}

.rand-about__investor-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  padding: 10px;
  box-sizing: border-box;
  flex: 0 0 calc(50% - 12px);
}

@media (min-width: 992px) {
  .rand-about__investor-logo {
    height: 250px;
    padding: 10px;
    border: 1px dashed #FFFFFF;
    flex: unset;
  }

  .rand-about__investor-logo:not(:nth-child(3n)) {
    border-right: none;
  }

  .rand-about__investor-logo:not(:nth-last-child(-n + 3)) {
    border-bottom: none;
  }
}

.rand-about__investor-logo img {
  max-width: 120px;
  max-height: 40px;
  object-fit: contain;
}

@media (min-width: 992px) {
  .rand-about__investor-logo img {
    max-width: 200px;
    max-height: 60px;
  }
}

.rand-about__team-logo img[alt="EXANTE"],
.rand-about__investor-logo img[alt="EXANTE"] {
  max-width: 200px;
  max-height: 60px;
}
