/* ============================================================
   SOFTECHPILLAR — about.css
   Dedicated stylesheet for about.php
   ============================================================ */

/* ── PAGE HERO ────────────────────────────────────────────── */
.about-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.about-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1.0;
  margin-bottom: 1.5rem;
}
.about-hero-sub {
  font-size: 1rem;
  color: var(--gray);
  max-width: 580px;
  line-height: 1.8;
}

/* ── ECOSYSTEM DIAGRAM ────────────────────────────────────── */
.eco-section { padding: 5rem 0; background: #050505; }
.eco-diagram {
  max-width: 680px;
  margin: 4rem auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.eco-node {
  width: 100%;
  padding: 1.8rem 2.5rem;
  border-radius: 20px;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: all 0.3s;
}
.eco-node:hover { transform: scale(1.02); }
.eco-node-top  { background: #0a0a0a; border: 1px solid rgba(255,255,255,0.08); }
.eco-node-mid  { background: rgba(255,43,43,0.05); border: 1px solid rgba(255,43,43,0.22); box-shadow: 0 0 40px rgba(255,43,43,0.06); }
.eco-node-bot  { background: #0a0a0a; border: 1px solid rgba(123,97,255,0.2); }
.eco-connector {
  width: 2px; height: 50px;
  background: linear-gradient(180deg, rgba(255,43,43,0.4), rgba(123,97,255,0.4));
  position: relative; z-index: 0;
}
.eco-connector::after {
  content: '▼';
  position: absolute;
  bottom: -10px; left: 50%;
  transform: translateX(-50%);
  font-size: 0.55rem;
  color: rgba(255,255,255,0.15);
}
.eco-icon  { font-size: 2rem; margin-bottom: 0.6rem; }
.eco-name  { font-family: var(--font-display); font-size: 1.3rem; font-weight: 900; margin-bottom: 0.3rem; }
.eco-sub-label { font-size: 0.72rem; color: var(--gray); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.8rem; }
.eco-tags  { display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; }
.eco-tag   {
  font-size: 0.62rem; font-weight: 700;
  padding: 0.2rem 0.6rem; border-radius: 100px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--gray);
}

/* ── STORY SECTION ────────────────────────────────────────── */
.story-section { padding: 5rem 0; }
.story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.story-block  { position: relative; }
.story-bg-num {
  font-family: var(--font-display);
  font-size: 8rem; font-weight: 900;
  color: rgba(255,43,43,0.05);
  line-height: 1; letter-spacing: -0.05em;
  position: absolute; top: -20px; left: -20px;
  user-select: none; pointer-events: none;
}
.story-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  margin-top: 2rem;
}
.story-p { font-size: 0.9rem; color: var(--gray); line-height: 1.85; margin-bottom: 1rem; }
.story-vis {
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 24px; padding: 2.5rem;
  position: relative; overflow: hidden;
}
.story-vis::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(255,43,43,0.05), transparent 60%);
  pointer-events: none;
}
.sv-stat { margin-bottom: 1.5rem; }
.sv-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray); margin-bottom: 0.4rem; }
.sv-val   { font-family: var(--font-display); font-size: 2.5rem; font-weight: 900; line-height: 1; }
.sv-bar   { height: 3px; background: rgba(255,255,255,0.05); border-radius: 2px; margin-top: 0.5rem; overflow: hidden; }
.sv-bar-fill { height: 100%; border-radius: 2px; transition: width 1.5s ease; }

/* ── TEAM / PARTNERS ──────────────────────────────────────── */
.team-section { padding: 5rem 0; background: #050505; }
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 4rem;
  max-width: 900px;
  margin-left: auto; margin-right: auto;
}
.partner-card {
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 2.5rem;
  position: relative; overflow: hidden;
  transition: all 0.35s; text-align: center;
}
.partner-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--red), var(--purple));
  opacity: 0; transition: opacity 0.3s;
}
.partner-card:hover { border-color: rgba(255,43,43,0.2); transform: translateY(-8px); box-shadow: 0 30px 80px rgba(0,0,0,0.7); }
.partner-card:hover::before { opacity: 1; }
.partner-avatar-wrap { position: relative; width: 120px; height: 120px; margin: 0 auto 1.5rem; }
.partner-avatar {
  width: 120px; height: 120px; border-radius: 50%;
  object-fit: cover; object-position: center top;
  border: 2px solid rgba(255,43,43,0.25); display: block;
}
.partner-avatar-placeholder {
  width: 120px; height: 120px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,43,43,0.15), rgba(123,97,255,0.15));
  border: 2px solid rgba(255,43,43,0.25);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 2.5rem; font-weight: 900;
  color: rgba(255,255,255,0.5); margin: 0 auto 1.5rem;
}
.partner-ring {
  position: absolute; inset: -6px; border-radius: 50%;
  border: 1px dashed rgba(255,43,43,0.2);
  animation: spinRing 15s linear infinite;
}
@keyframes spinRing { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
.partner-badge {
  position: absolute; bottom: -4px; right: -4px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--red); border: 2px solid #000;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
}
.partner-name  { font-family: var(--font-display); font-size: 1.4rem; font-weight: 900; margin-bottom: 0.3rem; }
.partner-title { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); margin-bottom: 1rem; }
.partner-bio   { font-size: 0.83rem; color: var(--gray); line-height: 1.75; margin-bottom: 1.5rem; }
.partner-skills { display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; margin-bottom: 1.5rem; }
.partner-skill {
  font-size: 0.62rem; font-weight: 700; padding: 0.25rem 0.65rem;
  border-radius: 100px; background: rgba(255,43,43,0.06);
  border: 1px solid rgba(255,43,43,0.16); color: rgba(255,255,255,0.45);
}
.partner-contacts { display: flex; flex-direction: column; gap: 0.5rem; }
.partner-contact-link {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-size: 0.78rem; color: var(--gray); text-decoration: none;
  padding: 0.5rem; border-radius: 8px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.2s;
}
.partner-contact-link:hover { color: #fff; border-color: rgba(255,43,43,0.25); background: rgba(255,43,43,0.04); }

/* ── VALUES ───────────────────────────────────────────────── */
.values-section { padding: 5rem 0; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}
.val-card {
  padding: 2rem; background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px; transition: all 0.3s;
}
.val-card:hover { border-color: rgba(255,43,43,0.2); transform: translateY(-5px); }
.val-icon  { font-size: 2rem; margin-bottom: 1rem; }
.val-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 800; margin-bottom: 0.5rem; }
.val-desc  { font-size: 0.8rem; color: var(--gray); line-height: 1.7; }

/* ── TIMELINE ─────────────────────────────────────────────── */
.timeline-section { padding: 5rem 0; background: #050505; }
.tl-wrap { max-width: 750px; margin: 4rem auto 0; position: relative; }
.tl-wrap::before {
  content: '';
  position: absolute; left: 28px; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--red), var(--purple), transparent);
}
.tl-item  { display: flex; gap: 2.5rem; margin-bottom: 3rem; }
.tl-dot   {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  background: #000; border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 0.65rem; font-weight: 700;
  color: var(--gray); z-index: 1; transition: all 0.3s;
}
.tl-item:hover .tl-dot { border-color: var(--red); color: var(--red); box-shadow: 0 0 15px rgba(255,43,43,0.25); }
.tl-body  { padding-top: 0.9rem; }
.tl-year  { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--red); margin-bottom: 0.3rem; }
.tl-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin-bottom: 0.3rem; }
.tl-desc  { font-size: 0.82rem; color: var(--gray); line-height: 1.65; }

/* ── ABOUT CTA ────────────────────────────────────────────── */
.about-cta {
  padding: 5rem 0; text-align: center;
  position: relative; overflow: hidden;
}
.about-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50%, rgba(255,43,43,0.1), transparent 65%);
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .story-inner { grid-template-columns: 1fr; gap: 3rem; }
  .team-grid   { grid-template-columns: 1fr; max-width: 480px; }
  .values-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .values-grid { grid-template-columns: 1fr; }
  .about-hero-title { font-size: 3rem; }
}
