/* ============================================
   ABOUT SECTION
   ============================================ */

.about-section {
  background: #06060f;
  padding: 90px 0 100px;
  overflow-x: hidden;
}

.about-inner {
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 28px;
  overflow-x: hidden;
}

/* ── Two-column grid ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  min-width: 0;
}

@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ══════════════════════════
   LEFT — Text content
   ══════════════════════════ */

.about-content {
  min-width: 0;
}

.about-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255,255,255,0.50);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 5px 14px;
  background: rgba(255,255,255,0.04);
  letter-spacing: 0.03em;
  margin-bottom: 22px;
  max-width: 100%;
}

.about-title {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  font-family: 'Inter', 'Poppins', system-ui, sans-serif;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* "software" — blue/cyan gradient matching reference */
.about-gradient {
  background: linear-gradient(90deg, #38bdf8 0%, #60a5fa 50%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-desc {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.40);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 100%;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Bullet list */
.about-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.60);
  line-height: 1.4;
  word-break: break-word;
  overflow-wrap: break-word;
  min-width: 0;
}

.about-bullet-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(124,58,237,0.4);
}

.about-bullet-icon svg {
  width: 11px;
  height: 11px;
  color: #fff;
}

/* ══════════════════════════
   RIGHT — 2×2 Stat cards
   ══════════════════════════ */

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Individual stat card */
.astat-card {
  background: #0d0d22;
  border-radius: 16px;
  padding: 30px 26px 28px;
  position: relative;
  isolation: isolate;
  transition: transform 0.25s ease, background 0.25s ease;
  cursor: default;
}

/* Gradient border — bright blue/purple top-left matching reference */
.astat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(96, 165, 250, 0.70) 0%,
    rgba(139, 92, 246, 0.40) 30%,
    transparent 65%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
  transition: background 0.3s ease;
}

.astat-card:hover {
  transform: translateY(-4px);
  background: #0f0f2a;
}

.astat-card:hover::after {
  background: linear-gradient(
    135deg,
    rgba(125, 211, 252, 0.90) 0%,
    rgba(167, 139, 250, 0.55) 35%,
    transparent 65%
  );
}

/* Number — large, gradient blue/cyan */
.astat-number {
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 12px;
  font-family: 'Inter', 'Poppins', system-ui, sans-serif;
  background: linear-gradient(135deg, #38bdf8 0%, #60a5fa 40%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Label — tiny uppercase muted */
.astat-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.30);
}

/* ── Light mode ── */
body:not(.dark-mode) .about-section  { background: #f8fafc; }
body:not(.dark-mode) .about-badge    { color: #64748b; border-color: rgba(0,0,0,0.12); background: rgba(0,0,0,0.03); }
body:not(.dark-mode) .about-title    { color: #0f172a; }
body:not(.dark-mode) .about-desc     { color: #475569; }
body:not(.dark-mode) .about-bullets li { color: #334155; }
body:not(.dark-mode) .astat-card     { background: #fff; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
body:not(.dark-mode) .astat-card:hover { background: #f0f4ff; }
body:not(.dark-mode) .astat-label    { color: #94a3b8; }

/* ── 480px ── */
@media (max-width: 480px) {
  .about-section {
    padding: 60px 0 70px;
  }

  .about-inner {
    padding: 0 18px;
  }

  .about-title {
    font-size: 1.65rem;
  }

  .about-desc {
    font-size: 0.875rem;
    max-width: 100%;
  }

  .about-bullets li {
    font-size: 0.82rem;
    gap: 10px;
  }

  .about-stats {
    gap: 10px;
  }

  .astat-card {
    padding: 22px 16px 20px;
    border-radius: 12px;
  }

  .astat-number {
    font-size: 2.1rem;
    margin-bottom: 8px;
  }

  .astat-label {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }
}

/* ── 360px ── */
@media (max-width: 360px) {
  .about-section {
    padding: 48px 0 56px;
  }

  .about-inner {
    padding: 0 14px;
  }

  .about-grid {
    gap: 36px;
  }

  .about-badge {
    font-size: 0.68rem;
    padding: 4px 11px;
    margin-bottom: 16px;
  }

  .about-title {
    font-size: 1.45rem;
    margin-bottom: 14px;
  }

  .about-desc {
    font-size: 0.82rem;
    line-height: 1.65;
    margin-bottom: 22px;
  }

  .about-bullets {
    gap: 10px;
  }

  .about-bullets li {
    font-size: 0.78rem;
    gap: 9px;
  }

  .about-bullet-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  .about-bullet-icon svg {
    width: 10px;
    height: 10px;
  }

  .about-stats {
    gap: 8px;
  }

  .astat-card {
    padding: 18px 14px 16px;
    border-radius: 10px;
  }

  .astat-number {
    font-size: 1.85rem;
    margin-bottom: 6px;
  }

  .astat-label {
    font-size: 0.55rem;
    letter-spacing: 0.07em;
  }
}

/* ── 280px ── */
@media (max-width: 280px) {
  .about-section {
    padding: 40px 0 48px;
  }

  .about-inner {
    padding: 0 10px;
  }

  .about-grid {
    gap: 28px;
  }

  .about-badge {
    font-size: 0.62rem;
    padding: 3px 9px;
    margin-bottom: 12px;
  }

  .about-title {
    font-size: 1.25rem;
    line-height: 1.2;
    margin-bottom: 12px;
  }

  .about-desc {
    font-size: 0.76rem;
    line-height: 1.6;
    margin-bottom: 18px;
  }

  .about-bullets {
    gap: 8px;
  }

  .about-bullets li {
    font-size: 0.72rem;
    gap: 8px;
    line-height: 1.35;
  }

  .about-bullet-icon {
    width: 16px;
    height: 16px;
  }

  .about-bullet-icon svg {
    width: 9px;
    height: 9px;
  }

  /* Switch stat cards to single column so text doesn't overflow */
  .about-stats {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .astat-card {
    padding: 14px 10px 12px;
    border-radius: 8px;
  }

  .astat-number {
    font-size: 1.5rem;
    margin-bottom: 4px;
  }

  .astat-label {
    font-size: 0.5rem;
    letter-spacing: 0.05em;
    line-height: 1.3;
  }
}


