/* ══ ABOUT PAGE - Distinct Visual Identity ══════════════════ */

/* Hero: full-bleed dark cinematic */
.about-hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--c-bg);
  padding: 7rem 0 0;
}

.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 0% 50%, rgba(0, 210, 255, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 100% 20%, rgba(255, 211, 0, 0.08) 0%, transparent 55%);
}

.about-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 210, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 210, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 30% 50%, black 30%, transparent 80%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media(max-width:768px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual-side {
    display: none;
  }
}

.hero-text .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.2);
  color: var(--c-accent-1);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.hero-text h1 {
  font-size: clamp(1.35rem, 3.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1.25rem;
  color: var(--c-text);
}

.hero-text h1 em {
  font-style: normal;
  color: var(--c-accent-1);
}

.hero-text .lead {
  font-size: 1.05rem;
  color: var(--c-text-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-top: 1px solid var(--c-glass-border);
  margin-top: 4rem;
  background: var(--c-bg-alt);
}

@media(max-width:1100px) {
  .hero-stats-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media(max-width:640px) {
  .hero-stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

.brand-cell {
  padding: 1.2rem 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--c-glass-border);
  border-bottom: 1px solid var(--c-glass-border);
  transition: background 0.4s ease;
  cursor: pointer;
}

.label-cell span {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--c-text-muted);
  text-align: center;
  line-height: 1.4;
}

/* Adjust borders for wrapping */
@media(min-width:1101px) {
  .brand-cell:nth-child(7n) {
    border-right: none;
  }
}

@media(max-width:1100px) and (min-width:641px) {
  .brand-cell:nth-child(4n) {
    border-right: none;
  }
}

@media(max-width:640px) {
  .brand-cell:nth-child(2n) {
    border-right: none;
  }
}

.brand-logo {
  max-width: 100px;
  max-height: 35px;
  object-fit: contain;
  filter: grayscale(1) opacity(0.5);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.dark-mode .brand-logo {
  filter: grayscale(1) brightness(3) opacity(0.4);
}

.brand-cell:hover {
  background: rgba(0, 210, 255, 0.05);
}

.brand-cell:hover .brand-logo {
  filter: grayscale(0) brightness(1) opacity(1);
  transform: scale(1.1);
}

/* Pillars: theme-aware band */
.pillars-section {
  padding: 6rem 0;
  background: var(--c-bg-alt);
  position: relative;
  overflow: hidden;
}

.pillars-section::before {
  content: '';
  position: absolute;
  right: -10%;
  top: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.06), transparent 70%);
}

.ab-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--c-accent-1);
  display: block;
  margin-bottom: 0.6rem;
}

.ab-heading {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 600;
  margin-bottom: 0.70rem;
  color: var(--c-text);
}

.ab-sub {
  color: var(--c-text-muted);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 3.5rem;
}

.ab-sub.center {
  margin-left: auto;
  margin-right: auto;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.pillar-card {
  position: relative;
  padding: 2.5rem 2rem;
  border: 1px solid var(--c-glass-border);
  border-radius: 20px;
  background: var(--c-bg-alt);
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
  overflow: hidden;
}

.pillar-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 210, 255, 0.3);
  background: var(--c-glass-bg);
}

.pillar-num {
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(0, 210, 255, 0.07);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-family: var(--font-heading);
  transition: color 0.3s;
}

.pillar-card:hover .pillar-num {
  color: rgba(0, 210, 255, 0.15);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--c-accent-1);
  margin-bottom: 1.25rem;
}

.pillar-card h3 {
  font-size: 1.15rem;
  color: var(--c-text);
  margin-bottom: 0.6rem;
}

.pillar-card p {
  color: var(--c-text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
}

/* Timeline: alternating */
.timeline-section {
  padding: 6rem 0;
  background: var(--c-bg);
}

.tl-head {
  text-align: center;
  margin-bottom: 4rem;
}

.tl-head .ab-heading {
  color: var(--c-text);
}

.tl-head .ab-sub {
  color: var(--c-text-muted);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 2px 1fr;
  gap: 0 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.tl-axis {
  grid-column: 2;
  grid-row: 1 / span 20;
  background: rgba(0, 210, 255, 0.2);
  position: relative;
}

.tl-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c-bg);
  border: 2px solid var(--c-accent-1);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

/* Dot positioning for 4 items */
.tl-dot:nth-child(1) {
  top: 50px;
}

.tl-dot:nth-child(2) {
  top: 250px;
}

.tl-dot:nth-child(3) {
  top: 450px;
}

.tl-dot:nth-child(4) {
  top: 650px;
}

.tl-item {
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  border: 1px solid var(--c-glass-border);
  background: var(--c-bg-alt);
  transition: transform 0.3s, border-color 0.3s;
}

.tl-item:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 210, 255, 0.3);
}

/* Grid Row Assignment to force staggering */
.tl-item:nth-of-type(1) {
  grid-column: 1;
  grid-row: 1;
}

.tl-item:nth-of-type(2) {
  grid-column: 3;
  grid-row: 2;
  margin-top: -20px;
}

.tl-item:nth-of-type(3) {
  grid-column: 1;
  grid-row: 3;
  margin-top: -20px;
}

.tl-item:nth-of-type(4) {
  grid-column: 3;
  grid-row: 4;
  margin-top: -20px;
}

@media(max-width:768px) {
  .timeline {
    grid-template-columns: 2px 1fr;
    gap: 0 1.5rem;
  }

  .tl-axis {
    grid-column: 1;
    grid-row: 1 / span 20;
  }

  .tl-item:nth-of-type(1),
  .tl-item:nth-of-type(2),
  .tl-item:nth-of-type(3),
  .tl-item:nth-of-type(4) {
    grid-column: 2;
    grid-row: auto;
    margin-top: 0;
  }
}

.tl-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--c-accent-1);
  display: block;
  margin-bottom: 0.5rem;
}

.tl-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--c-text);
}

.tl-item p {
  color: var(--c-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* FAQ: theme-aware band */
.faq-section {
  padding: 6rem 0;
  background: var(--c-bg-alt);
}

.faq-head {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-list {
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--c-bg);
  border: 1px solid var(--c-glass-border);
  border-left: 3px solid rgba(0, 210, 255, 0.15);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.faq-item.open {
  border-left-color: var(--c-accent-1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 600;
  padding: 1.2rem 1.5rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  color: var(--c-accent-1);
  transition: transform 0.35s, background 0.3s;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: rgba(0, 210, 255, 0.2);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.faq-a-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--c-text-muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

.faq-item.open .faq-a {
  max-height: 300px;
}

/* CTA: theme-aware gradient */
.about-cta {
  padding: 7rem 0;
  background: var(--c-bg);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.about-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(0, 210, 255, 0.08), transparent 70%);
}

.about-cta .ab-heading {
  color: var(--c-text);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  position: relative;
}

.about-cta .ab-sub {
  color: var(--c-text-muted);
  margin: 0 auto 2.5rem;
  position: relative;
}

.hero-visual-side {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 440px;
}

.globe-container {
  position: relative;
  width: 440px;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#globe-canvas {
  width: 100%;
  height: 100%;
  z-index: 2;
  position: relative;
}

/* Animated Waves/Rings */
.globe-waves {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wave {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(0, 210, 255, 0.15);
  border-radius: 50%;
  animation: waveRipple 6s linear infinite;
  opacity: 0;
}

.wave:nth-child(1) {
  width: 340px;
  height: 340px;
  animation-delay: 0s;
  border-style: dashed;
}

.wave:nth-child(2) {
  width: 400px;
  height: 400px;
  animation-delay: 0.5s;
  border-style: dotted;
  border-width: 2px;
}

.wave:nth-child(3) {
  width: 480px;
  height: 480px;
  animation-delay: 1s;
  border-style: solid;
  border-width: 0.5px;
}

.wave:nth-child(4) {
  width: 560px;
  height: 560px;
  animation-delay: 1.5s;
  opacity: 0.1;
}

.wave:nth-child(5) {
  width: 650px;
  height: 650px;
  animation-delay: 2s;
  opacity: 0.08;
}

.wave:nth-child(6) {
  width: 750px;
  height: 750px;
  animation-delay: 2.5s;
  opacity: 0.06;
}

.wave:nth-child(7) {
  width: 850px;
  height: 850px;
  animation-delay: 3s;
  opacity: 0.04;
}

.wave:nth-child(8) {
  width: 950px;
  height: 950px;
  animation-delay: 3.5s;
  opacity: 0.03;
}

.wave:nth-child(9) {
  width: 1050px;
  height: 1050px;
  animation-delay: 4s;
  opacity: 0.02;
}

.wave:nth-child(10) {
  width: 1150px;
  height: 1150px;
  animation-delay: 4.5s;
  opacity: 0.015;
}

.wave:nth-child(11) {
  width: 1250px;
  height: 1250px;
  animation-delay: 5s;
  opacity: 0.01;
}

.wave:nth-child(12) {
  width: 1350px;
  height: 1350px;
  animation-delay: 5.5s;
  opacity: 0.005;
}

@keyframes waveRipple {
  0% {
    transform: translate(-50%, -50%) scale(0.85);
    opacity: 0;
  }

  20% {
    opacity: 0.4;
  }

  80% {
    opacity: 0.1;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.15);
    opacity: 0;
  }
}

/* Modal Popup Styles */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
  padding: 20px;
}

.dark-mode .modal-overlay {
  background: rgba(0, 0, 0, 0.85);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-container {
  background: var(--c-bg);
  width: 100%;
  max-width: 900px;
  border: 1px solid var(--c-glass-border);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  transform: translateY(30px);
  transition: transform 0.4s;
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-glass-border);
  color: var(--c-text);
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.modal-close:hover {
  background: #ff4d4d;
  border-color: #ff4d4d;
  color: #fff;
}

.modal-content-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
}

@media(max-width: 850px) {
  .modal-content-grid {
    grid-template-columns: 1fr;
  }
}

.modal-info-side {
  padding: 3rem;
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.08), transparent);
  border-right: 1px solid var(--c-glass-border);
}

@media(max-width: 850px) {
  .modal-info-side {
    display: none;
  }
}

.modal-info-side h2 {
  font-size: 2rem;
  color: var(--c-text);
  margin: 1rem 0;
  line-height: 1.2;
}

.modal-info-side p {
  color: var(--c-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.modal-badges {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.m-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--c-text-muted);
}

.m-badge i {
  color: var(--c-accent-1);
}

.modal-form-side {
  padding: 3rem;
}

@media(max-width: 600px) {
  .modal-form-side {
    padding: 2rem 1.5rem;
  }
}

.popup-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

@media(max-width: 600px) {
  .popup-form .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.popup-form .form-group {
  margin-bottom: 1.25rem;
}

.popup-form label {
  display: block;
  color: var(--c-text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.popup-form input,
.popup-form textarea {
  width: 100%;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-glass-border);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  color: var(--c-text);
  font-size: 0.9rem;
}

.popup-form input:focus,
.popup-form textarea:focus {
  border-color: var(--c-accent-1);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.1);
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, var(--c-accent-1), #00a8cc);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.2s;
}

.dark-mode .btn-submit {
  color: #050d10;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 210, 255, 0.3);
}

.form-status {
  margin-top: 1rem;
  font-size: 0.85rem;
  text-align: center;
  border-radius: 8px;
  transition: all 0.3s;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
}

.form-status.active {
  opacity: 1;
  max-height: 60px;
  padding: 10px;
  margin-top: 15px;
}

.form-status.success {
  color: #2ecc71;
  background: rgba(46, 204, 113, 0.1);
}

.form-status.error {
  color: #e74c3c;
  background: rgba(231, 76, 60, 0.1);
}