/* =============================================
   Bitcrack Cyber — About Page (Light Theme v1)
   Corporate, executive
   =========================================== */

:root {
  --bg:#ffffff; --bg-card:#ffffff; --bg-elevated:#f8f8f8; --bg-surface:#f5f5f5;
  --text:#111111; --text-secondary:#404040; --text-muted:#737373;
  --accent:#dc2626; --accent-hover:#b91c1c; --accent-muted:rgba(220,38,38,0.08);
  --border:rgba(0,0,0,0.08); --border-light:rgba(0,0,0,0.12);
  --radius:8px; --radius-lg:12px; --transition:0.2s ease;
  --font:"Inter",system-ui,-apple-system,sans-serif;
}

*,*::before,*::after{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);-webkit-font-smoothing:antialiased;overflow-x:hidden}
.container{width:100%;max-width:1200px;margin:0 auto;padding:0 2rem}
a{color:inherit}

.btn{display:inline-flex;align-items:center;gap:0.5rem;padding:0.85rem 1.75rem;font-size:0.9rem;font-weight:600;font-family:var(--font);border-radius:6px;border:1px solid transparent;text-decoration:none;cursor:pointer;transition:all var(--transition);white-space:nowrap}
.btn-primary{background:var(--accent);color:#fff;border-color:var(--accent)}
.btn-primary:hover{background:var(--accent-hover);border-color:var(--accent-hover)}
.btn-primary i{transition:transform 0.2s ease}
.btn-primary:hover i{transform:translateX(3px)}

.section-label{display:inline-block;font-size:0.75rem;font-weight:600;text-transform:uppercase;letter-spacing:0.12em;color:var(--accent);margin-bottom:0.75rem}


/* =========================================================
   HERO
   ========================================================= */
.about-hero {
  position: relative;
  padding: 10rem 0 5rem;
  overflow: hidden;
  background: var(--bg-surface);
}

.about-hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0,0,0,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
}

.about-hero .container {
  position: relative;
  z-index: 2;
}

.about-hero-content {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 4rem;
}

.about-hero-content h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #111111;
}

.about-hero-content p {
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 580px;
}

/* Value propositions */
.about-hero-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.about-value {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.about-value:hover {
  border-color: rgba(220,38,38,0.25);
}

.about-value-num {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.75rem;
  letter-spacing: 0.06em;
}

.about-value h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #111111;
}

.about-value p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}


/* =========================================================
   SHARED SECTION
   ========================================================= */
.about-section {
  padding: 6rem 0;
}

.about-section--surface {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header-center {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header-center h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--text);
}

.section-header-center p {
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.6;
}


/* =========================================================
   OUR STORY — Timeline
   ========================================================= */
.about-story-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: flex-start;
}

.about-story-intro h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--text);
}

.about-story-intro p {
  margin: 0;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.about-timeline {
  display: flex;
  flex-direction: column;
}

.timeline-item {
  display: flex;
  gap: 1.5rem;
}

.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  padding-top: 0.35rem;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(220,38,38,0.4);
  flex-shrink: 0;
}

.timeline-line {
  width: 1px;
  flex: 1;
  min-height: 40px;
  background: linear-gradient(180deg, var(--accent), rgba(220,38,38,0.1));
  margin: 0.5rem 0;
}

.timeline-content {
  padding-bottom: 2.5rem;
}

.timeline-content h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #111111;
}

.timeline-content p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Client quotes */
.about-quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid var(--border);
}

.about-quote {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.about-quote:hover {
  border-color: rgba(220,38,38,0.25);
}

.about-quote i {
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  display: block;
  opacity: 0.6;
}

.about-quote p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
  font-style: italic;
}


/* =========================================================
   LEADERSHIP TEAM
   ========================================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: border-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.team-card:hover {
  border-color: rgba(220,38,38,0.25);
  transform: translateY(-3px);
}

.team-photo {
  margin-bottom: 1.5rem;
}

.team-photo-placeholder {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 2rem;
}

.team-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #111111;
}

.team-role {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.team-card > p {
  margin: 0 0 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.team-social a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.team-social a:hover {
  color: #111111;
  border-color: var(--border-light);
  background: rgba(0,0,0,0.04);
}


/* =========================================================
   PARTNERS
   ========================================================= */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.partner-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: border-color 0.3s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.partner-card:hover {
  border-color: var(--border-light);
}

.partner-logo-placeholder {
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  background: var(--accent-muted);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.25rem;
}

.partner-card h3 {
  margin: 0 0 0.3rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.partner-card p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}


/* =========================================================
   CAREERS
   ========================================================= */
.careers-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: center;
}

.careers-content h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--text);
}

.careers-content > p {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.careers-perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.careers-perk {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.careers-perk i {
  color: var(--accent);
  font-size: 0.8rem;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.careers-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.careers-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: border-color 0.3s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.careers-stat-card:hover {
  border-color: var(--border-light);
}

.careers-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: #111111;
  letter-spacing: -0.02em;
  line-height: 1;
  min-width: 70px;
}

.careers-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}


/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-stagger .reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger .reveal:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger .reveal:nth-child(4) { transition-delay: 0.2s; }


/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .about-hero {
    padding: 8rem 0 4rem;
  }

  .about-story-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .careers-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-quotes {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .about-hero-values {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-hero-values > *:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
    width: 100%;
  }

  .about-section {
    padding: 5rem 0;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }

  .about-hero {
    padding: 7rem 0 3rem;
  }

  .about-hero-content h1 {
    font-size: 2rem;
  }

  .about-hero-values {
    grid-template-columns: 1fr;
  }

  .about-hero-values > *:nth-child(3) {
    max-width: 100%;
  }

  .about-quotes {
    grid-template-columns: 1fr;
    margin-top: 3rem;
    padding-top: 3rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .partners-grid {
    grid-template-columns: 1fr 1fr;
  }

  .careers-perks {
    grid-template-columns: 1fr;
  }

  .careers-stat-card {
    padding: 1.25rem 1.5rem;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .about-hero {
    padding: 6rem 0 2.5rem;
  }

  .about-hero-content h1 {
    font-size: 1.75rem;
  }

  .about-hero-content p {
    font-size: 1rem;
  }

  .partners-grid {
    grid-template-columns: 1fr;
  }

  .about-section {
    padding: 4rem 0;
  }

  .team-card {
    padding: 1.5rem;
  }

  .about-value {
    padding: 1.5rem;
  }

  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
  }

  .careers-stat-num {
    font-size: 1.65rem;
    min-width: 56px;
  }
}

/* Utility class extracted from inline style for CSP compliance */
.btn--mt-lg { margin-top: 1.5rem; }
