@import url("https://fonts.googleapis.com/css2?family=Poiret+One&display=swap");

:root {
  --bg: #050608;
  --panel: #0b0f14;
  --panel-soft: #0d131d;
  --line: #1c2735;
  --text: #e7edf8;
  --muted: #9fb0c8;
  --blue: #0f7bff;
  --radius-lg: 26px;
  --radius-md: 18px;
  --shadow: 0 26px 44px rgba(0, 0, 0, 0.42);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: "Sora", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 16% -8%, rgba(22, 94, 255, 0.19), transparent 40%),
    radial-gradient(circle at 84% 8%, rgba(15, 123, 255, 0.13), transparent 30%),
    var(--bg);
  overflow-x: hidden;
  min-height: 100vh;
}

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.3;
  background:
    repeating-linear-gradient(
      to right,
      transparent 0, transparent 62px,
      rgba(255, 255, 255, 0.02) 63px, transparent 64px
    ),
    repeating-linear-gradient(
      to bottom,
      transparent 0, transparent 62px,
      rgba(255, 255, 255, 0.018) 63px, transparent 64px
    );
}

/* ── Layout ── */
.about-wrap {
  width: min(1760px, calc(100% - 2rem));
  margin: 0 auto 2.5rem;
  padding: 0;
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.2rem;
}

/* ── Panel base ── */
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 0, rgba(15, 123, 255, 0.12), transparent 46%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.panel::before {
  content: "";
  position: absolute;
  inset: -120% 20% auto -60%;
  height: 180%;
  background: linear-gradient(120deg, transparent, rgba(63, 140, 255, 0.16), transparent);
  transform: rotate(12deg);
  opacity: 0;
  pointer-events: none;
}

.panel:hover::before {
  animation: panelSweep 1s ease-out;
}

/* ── Hero ── */
.hero {
  min-height: clamp(200px, 28vw, 380px);
  display: grid;
  place-content: center;
  text-align: center;
  padding: clamp(1.4rem, 4vw, 3rem);
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 88%, rgba(15, 123, 255, 0.22), transparent 40%),
    repeating-linear-gradient(
      to right,
      transparent 0, transparent 62px,
      rgba(255, 255, 255, 0.02) 63px, transparent 64px
    );
  pointer-events: none;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5.5vw, 4rem);
  line-height: 1.08;
  position: relative;
  z-index: 1;
  background: linear-gradient(92deg, #f8fbff, #dce8ff 34%, #9bc9ff 66%, #f8fbff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 8s linear infinite;
}

.hero .crumb {
  margin: 1rem 0 0;
  position: relative;
  z-index: 1;
  color: #a6b4c8;
  font-size: 0.95rem;
}

.hero .crumb a {
  color: var(--blue);
  text-decoration: none;
}

/* ── Eyebrow ── */
.eyebrow {
  margin: 0;
  color: #7ebfff;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.eyebrow::before {
  content: "";
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  border: 2px solid #1388ff;
}

/* ── Identity (About + Years) ── */
.identity {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.2rem;
  align-items: stretch;
}

.identity-left {
  padding: clamp(1.2rem, 3vw, 2rem);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 420px;
}

.years-card {
  padding: 1.2rem 1.3rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(167, 88, 255, 0.34);
  box-shadow:
    inset 0 0 0 1px rgba(16, 127, 255, 0.2),
    0 8px 26px rgba(13, 18, 33, 0.5);
  background: linear-gradient(160deg, rgba(18, 21, 28, 0.95), rgba(8, 11, 16, 0.96));
  display: grid;
  gap: 0.3rem;
  max-width: 340px;
}

.years-line {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}

.years-line .num {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1;
  color: #0f87ff;
}

.years-line .plus {
  font-size: 2rem;
  color: #2aa0ff;
  font-weight: 700;
}

.years-card p {
  margin: 0;
  color: #d7e5fb;
  line-height: 1.5;
}

.years-logo {
  width: min(480px, 80%);
  object-fit: contain;
  opacity: 0.92;
  align-self: center;
  margin-top: auto;
}

.identity-right {
  padding: clamp(1.2rem, 3vw, 2.2rem);
  display: grid;
  align-content: center;
  gap: 0.5rem;
}

.identity-right h2 {
  margin: 0.6rem 0 0.6rem;
  font-size: clamp(1.8rem, 4.2vw, 3.2rem);
  line-height: 1.1;
}

.identity-right > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 62ch;
}

.service-list {
  margin: 1.2rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem 1.2rem;
  padding: 0;
  list-style: none;
}

.service-list li {
  position: relative;
  padding-left: 1.5rem;
  color: #d8e5f8;
  line-height: 1.45;
}

.service-list li::before {
  content: "◉";
  position: absolute;
  left: 0;
  top: 0;
  color: #0f86ff;
}

/* ── Evolve Banner ── */
.evolve {
  padding: clamp(1.4rem, 3vw, 2.4rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  align-items: center;
}

.evolve h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3.8vw, 3rem);
  line-height: 1.1;
  background: linear-gradient(90deg, #f5f8ff, #d7e8ff 38%, #93c5ff 62%, #f5f8ff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 8s linear infinite;
}

.evolve p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

/* ── Core Values ── */
.values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.value-cards {
  display: grid;
  gap: 0.9rem;
}

.value-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  background: linear-gradient(160deg, rgba(19, 23, 29, 0.94), rgba(9, 12, 17, 0.96));
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 0.9rem;
  align-items: start;
  transition: transform 280ms ease, border-color 280ms ease;
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(82, 160, 255, 0.45);
}

.value-icon {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  border: 1px solid rgba(167, 88, 255, 0.3);
  color: #0f86ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  background: rgba(10, 14, 20, 0.9);
  flex-shrink: 0;
}

.value-card h3 {
  margin: 0;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
}

.value-card p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.values-right {
  padding: clamp(1.2rem, 3vw, 2.2rem);
  display: grid;
  gap: 0.8rem;
  align-content: start;
}

.values-right h2 {
  margin: 0.5rem 0 0.5rem;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.1;
}

.values-right > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 56ch;
}

.callout {
  border: 1px solid rgba(170, 90, 255, 0.34);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  background: linear-gradient(160deg, rgba(20, 24, 31, 0.95), rgba(8, 11, 16, 0.96));
  max-width: 380px;
  margin-top: 0.4rem;
}

.callout p {
  margin: 0;
  color: #dce8fb;
  font-weight: 600;
  line-height: 1.5;
}

.callout a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.8rem;
  text-decoration: none;
  color: #0f87ff;
  font-weight: 700;
  transition: color 200ms ease;
}

.callout a:hover {
  color: #4fb2ff;
}

/* ── Stats Row ── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.stat-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.3rem;
  background: linear-gradient(160deg, rgba(16, 20, 26, 0.94), rgba(8, 11, 16, 0.97));
  text-align: center;
  transition: transform 280ms ease, border-color 280ms ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(82, 160, 255, 0.45);
}

.stat-num {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
  color: #0f87ff;
}

.stat-label {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

/* ── Team ── */
.team {
  padding: clamp(1.4rem, 3vw, 2.4rem);
}

.team-head {
  text-align: center;
  margin-bottom: 1.4rem;
}

.team-head h2 {
  margin: 0.5rem 0 0;
  font-size: clamp(1.6rem, 3.8vw, 2.8rem);
  line-height: 1.1;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.member {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem 1rem;
  text-align: center;
  background: linear-gradient(160deg, rgba(18, 22, 29, 0.95), rgba(8, 10, 14, 0.97));
  transition: transform 280ms ease, border-color 280ms ease, box-shadow 280ms ease;
}

.member:hover {
  transform: translateY(-5px);
  border-color: rgba(82, 160, 255, 0.4);
  box-shadow: 0 18px 36px rgba(3, 11, 25, 0.5);
}

.member .avatar {
  width: 140px;
  height: 140px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #0c1016, #06080c);
  color: rgba(220, 230, 245, 0.45);
  font-size: 0.82rem;
  padding: 0.8rem;
}

.member .avatar.avatar-photo {
  padding: 0;
  border-color: rgba(15, 123, 255, 0.45);
}

.member .avatar img {
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: var(--face-x, 50%) var(--face-y, 32%);
  display: block;
  transform: scale(var(--face-scale, 1));
  transform-origin: center;
}

.member-evan .avatar img {
  object-fit: cover;
  object-position: center 15%;
  transform: scale(1.15);
}

.member-srinivas { --face-y: 30%; }
.member-ratul { --face-y: 30%; }
.member-jasbir { --face-y: 38%; }

.member h3 {
  margin: 0;
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  line-height: 1.3;
}

.member p {
  margin: 0.35rem 0 0;
  color: #a8b5cb;
  font-style: italic;
  font-size: 0.88rem;
  line-height: 1.4;
}

.member-open {
  border-style: dashed;
  border-color: rgba(15, 123, 255, 0.35);
}

.member-open .avatar {
  border-style: dashed;
  border-color: rgba(15, 123, 255, 0.3);
}

/* ── Steps ── */
.steps {
  padding: clamp(1.4rem, 3vw, 2.4rem);
}

.steps-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  align-items: start;
  margin-bottom: 1.4rem;
}

.steps-head h2 {
  margin: 0.5rem 0 0;
  font-size: clamp(1.6rem, 3.8vw, 2.8rem);
  line-height: 1.1;
}

.steps-head > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  align-self: center;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.step-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(16, 20, 26, 0.94), rgba(8, 11, 16, 0.97));
  padding: 1.2rem;
  transition: transform 280ms ease, border-color 280ms ease;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(82, 160, 255, 0.4);
}

.step-num {
  margin: 0;
  color: #7fbaff;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

.step-card h3 {
  margin: 0.55rem 0 0.5rem;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.25;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.94rem;
}

/* ── CTA ── */
.cta {
  padding: clamp(1.8rem, 4vw, 3.2rem);
  min-height: 240px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 0.8rem;
  position: relative;
}

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(15, 123, 255, 0.08), transparent 28%),
    radial-gradient(circle at 70% 30%, rgba(15, 123, 255, 0.18), transparent 36%);
  pointer-events: none;
}

.cta > * {
  position: relative;
  z-index: 1;
}

.cta .play {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 1px solid rgba(69, 151, 255, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #d9e9ff;
  background: rgba(11, 17, 24, 0.9);
}

.cta .small {
  margin: 0;
  color: #dbe8fb;
  font-weight: 600;
}

.cta h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3.8vw, 2.8rem);
  line-height: 1.1;
  max-width: 720px;
}

.cta > p:last-of-type {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 680px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.7rem 1.8rem;
  border-radius: 14px;
  border: 1px solid rgba(26, 137, 255, 0.55);
  color: #e9f2ff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.02rem;
  background: linear-gradient(140deg, rgba(16, 54, 108, 0.88), rgba(10, 24, 46, 0.92));
  box-shadow: inset 0 0 0 1px rgba(120, 182, 255, 0.15);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(85, 174, 255, 0.86);
  box-shadow:
    inset 0 0 0 1px rgba(133, 194, 255, 0.24),
    0 10px 22px rgba(9, 39, 82, 0.35);
}

/* ── Animations ── */
@keyframes gradientShift {
  from { background-position: 0% center; }
  to { background-position: 200% center; }
}

@keyframes panelSweep {
  from { opacity: 0; transform: translateX(-45%) rotate(12deg); }
  20% { opacity: 1; }
  to { opacity: 0; transform: translateX(75%) rotate(12deg); }
}

/* ── Responsive: Tablet ── */
@media (max-width: 1160px) {
  .about-wrap {
    width: calc(100% - 1.4rem);
  }

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

  .identity-left {
    min-height: 320px;
  }

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

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

  .steps-head {
    grid-template-columns: 1fr;
  }

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

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

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

/* ── Responsive: Mobile ── */
@media (max-width: 760px) {
  .about-wrap {
    width: calc(100% - 0.9rem);
    gap: 0.8rem;
  }

  .panel {
    border-radius: 16px;
  }

  .hero {
    min-height: 180px;
    padding: clamp(1.2rem, 4vw, 2rem);
  }

  .identity-left {
    min-height: 280px;
    padding: 1rem;
  }

  .years-logo {
    width: min(320px, 88%);
  }

  .years-card {
    max-width: none;
  }

  .identity-right {
    padding: 1.2rem;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

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

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem;
  }

  .member .avatar {
    width: 120px;
    height: 120px;
  }

  .evolve, .values-right, .steps, .team {
    padding: 1.1rem;
  }

  .value-card {
    padding: 0.9rem;
  }

  .callout {
    max-width: 100%;
  }

  .step-card {
    padding: 1rem;
  }
}

/* ── Responsive: Small Mobile ── */
@media (max-width: 560px) {
  .about-wrap {
    width: calc(100% - 0.6rem);
    gap: 0.7rem;
  }

  .hero {
    min-height: 160px;
  }

  .hero h1 {
    font-size: clamp(1.6rem, 8.5vw, 2.3rem);
  }

  .identity-left,
  .identity-right,
  .evolve,
  .values-right,
  .team,
  .steps {
    padding: 0.9rem;
  }

  .identity-left {
    min-height: 240px;
  }

  .value-card {
    grid-template-columns: 1fr;
    padding: 0.85rem;
  }

  .value-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    font-size: 1.4rem;
  }

  .member .avatar {
    width: 100px;
    height: 100px;
  }

  .stat-card {
    padding: 1rem;
  }

  .stat-num {
    font-size: clamp(1.7rem, 8vw, 2.4rem);
  }

  .cta {
    padding: 1.4rem 1rem;
  }
}

/* ── Responsive: Very Small ── */
@media (max-width: 420px) {
  .about-wrap {
    width: calc(100% - 0.5rem);
  }

  .panel {
    border-radius: 14px;
  }

  .hero h1 {
    font-size: clamp(1.45rem, 8.2vw, 1.9rem);
  }

  .team-head h2,
  .steps-head h2,
  .identity-right h2,
  .values-right h2 {
    font-size: clamp(1.4rem, 7.5vw, 1.85rem);
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .stat-card {
    padding: 0.85rem;
  }
}

/* ── Touch targets ── */
@media (pointer: coarse) {
  .callout a,
  .cta-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
