/* ============================================
   TEAM PAGE — Data-Software Analysis
   ============================================ */

/* ---- Design Tokens ---- */
:root {
  --blue: #2ea4ff;
  --blue-deep: #1a7ad4;
  --blue-glow: rgba(46, 164, 255, 0.22);
  --blue-glow-lg: rgba(46, 164, 255, 0.10);
  --text: #f0f7ff;
  --text-muted: #8aaac8;
  --text-body: #b8cfe8;
  --bg: #051224;
  --bg-deep: #030c1a;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Base ---- */
* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg-deep);
  color: var(--text);
  font-family: 'Outfit', 'Poppins', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  scroll-behavior: smooth
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: var(--transition)
}

a:hover {
  color: #7fc7ff
}

img {
  max-width: 100%;
  display: block
}

::selection {
  background: var(--blue);
  color: #fff
}

/* ---- Animated Background ---- */
.bg-wrap {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(1200px 800px at 15% 10%, rgba(46, 164, 255, .18), transparent 60%),
    radial-gradient(1000px 700px at 85% 20%, rgba(26, 122, 212, .15), transparent 65%),
    radial-gradient(900px 900px at 50% 100%, rgba(46, 164, 255, .12), transparent 60%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 60%, var(--bg-deep) 100%)
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
  animation: float 18s ease-in-out infinite
}

.orb.o1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, #2ea4ff 0%, transparent 70%);
  top: -120px;
  left: -120px
}

.orb.o2 {
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, #1a7ad4 0%, transparent 70%);
  bottom: -180px;
  right: -180px;
  animation-delay: -6s
}

.orb.o3 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, #2ea4ff 0%, transparent 70%);
  top: 40%;
  left: 55%;
  opacity: .35;
  animation-delay: -12s
}

.aurora {
  position: absolute;
  inset: -10%;
  background: conic-gradient(from 120deg at 50% 50%, transparent 0deg, rgba(46, 164, 255, .10) 60deg, transparent 140deg, rgba(26, 122, 212, .10) 220deg, transparent 320deg);
  filter: blur(60px);
  animation: spin 40s linear infinite;
  opacity: .6
}

.mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(46, 164, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 164, 255, .06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  opacity: .5
}

.noise {
  position: absolute;
  inset: 0;
  opacity: .06;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.6'/></svg>")
}

.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none
}

.particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 12px var(--blue-glow);
  opacity: .4;
  animation: rise linear infinite
}

.spotlight {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(circle, var(--blue-glow) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  transition: opacity .4s ease;
  opacity: 0;
  mix-blend-mode: screen
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0)
  }

  50% {
    transform: translate(30px, -30px)
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

@keyframes rise {
  0% {
    transform: translateY(110vh) scale(.6);
    opacity: 0
  }

  10% {
    opacity: .6
  }

  100% {
    transform: translateY(-10vh) scale(1.2);
    opacity: 0
  }
}

@keyframes floaty {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-10px)
  }
}

@keyframes pulseGlow {

  0%,
  100% {
    box-shadow: 0 0 40px var(--blue-glow-lg)
  }

  50% {
    box-shadow: 0 0 80px var(--blue-glow)
  }
}

/* ---- Buttons ---- */
.btn-neo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid rgba(46, 164, 255, .35);
  color: var(--text);
  background: linear-gradient(135deg, rgba(46, 164, 255, .18), rgba(26, 122, 212, .08));
  backdrop-filter: blur(10px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none
}

.btn-neo:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px var(--blue-glow), 0 0 0 1px rgba(46, 164, 255, .5) inset;
  color: #fff
}

.btn-neo.primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  border-color: transparent;
  box-shadow: 0 10px 30px var(--blue-glow)
}

.btn-neo.primary:hover {
  box-shadow: 0 16px 50px var(--blue-glow), 0 0 60px var(--blue-glow-lg)
}

.btn-neo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(200px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .18), transparent 40%);
  opacity: 0;
  transition: opacity var(--transition)
}

.btn-neo:hover::before {
  opacity: 1
}

/* Ripple */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .35);
  transform: scale(0);
  animation: rip .7s ease-out;
  pointer-events: none
}

@keyframes rip {
  to {
    transform: scale(4);
    opacity: 0
  }
}

/* ---- Container ---- */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px
}

/* ---- Hero ---- */
.hero {
  padding: 120px 0 80px;
  text-align: center;
  position: relative
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(46, 164, 255, .08);
  border: 1px solid rgba(46, 164, 255, .25);
  font-size: .82rem;
  color: var(--blue);
  letter-spacing: .14em;
  text-transform: uppercase;
  backdrop-filter: blur(10px)
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--blue)
}

h1.hero-title {
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.05;
  margin: 22px auto 20px;
  max-width: 16ch;
  letter-spacing: -.02em
}

.hero-title .grad {
  background: linear-gradient(120deg, #fff 0%, #7fc7ff 50%, #2ea4ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.hero-sub {
  max-width: 640px;
  margin: 0 auto;
  color: var(--text-body);
  font-size: 1.1rem;
  line-height: 1.7
}

.hero-ctas {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap
}

.hero-panel {
  margin-top: 64px;
  padding: 22px;
  border-radius: 26px;
  max-width: 900px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px
}

.hero-panel .stat {
  padding: 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .02);
  border: 1px solid rgba(46, 164, 255, .12);
  backdrop-filter: blur(14px);
  text-align: left
}

.hero-panel .stat h3 {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 700
}

.hero-panel .stat p {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: .85rem;
  letter-spacing: .05em
}

.hero-panel .stat i {
  color: var(--blue);
  font-size: 1.3rem;
  margin-bottom: 10px;
  display: block
}

/* ---- Sections ---- */
section {
  padding: 100px 0;
  position: relative
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  margin: 14px 0 12px;
  font-weight: 700;
  letter-spacing: -.02em
}

.section-head p {
  color: var(--text-body);
  font-size: 1.05rem;
  line-height: 1.7
}

/* Divider */
.divider {
  height: 1px;
  max-width: 1000px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: .35
}

/* ---- Glass base ---- */
.glass {
  background: linear-gradient(180deg, rgba(46, 164, 255, .06), rgba(255, 255, 255, .02));
  border: 1px solid rgba(46, 164, 255, .14);
  border-radius: 26px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .06);
  position: relative;
  overflow: hidden;
  transition: var(--transition)
}

.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(46, 164, 255, .6), rgba(46, 164, 255, 0) 40%, rgba(46, 164, 255, .4) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .6;
  pointer-events: none;
  transition: var(--transition)
}

.glass:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 60px var(--blue-glow-lg)
}

.glass:hover::before {
  opacity: 1
}

/* ---- Team Cards ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px
}

.member {
  padding: 32px;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative
}

.member .role-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  box-shadow: 0 8px 24px var(--blue-glow);
  z-index: 2
}

.member-header {
  display: flex;
  align-items: center;
  gap: 22px
}

.avatar-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  flex: 0 0 140px;
  animation: floaty 6s ease-in-out infinite
}

.avatar-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--blue), transparent 40%, var(--blue-deep) 70%, var(--blue));
  animation: spin 8s linear infinite;
  filter: blur(1px);
  opacity: .9
}

.avatar-ring::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: var(--bg-deep)
}

.avatar {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(46, 164, 255, .35);
  z-index: 1;
  box-shadow: 0 0 40px var(--blue-glow);
  animation: pulseGlow 4s ease-in-out infinite
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease
}

.member:hover .avatar img {
  transform: scale(1.08)
}

.member-info h3 {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -.01em
}

.member-info .designation {
  margin: 6px 0 0;
  color: var(--blue);
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600
}

.member-info .title {
  margin: 10px 0 0;
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.6
}

.expertise-label {
  color: var(--text-muted);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 10px
}

.chip {
  padding: 9px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(46, 164, 255, .14), rgba(26, 122, 212, .06));
  border: 1px solid rgba(46, 164, 255, .22);
  color: var(--text);
  font-size: .86rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  cursor: default
}

.chip i {
  color: var(--blue);
  font-size: .9rem
}

.chip:hover {
  transform: translateY(-3px);
  border-color: rgba(46, 164, 255, .55);
  box-shadow: 0 8px 22px var(--blue-glow);
  color: #fff
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.social {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(46, 164, 255, .08);
  border: 1px solid rgba(46, 164, 255, .2);
  color: var(--text);
  transition: var(--transition)
}

.social:hover {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px var(--blue-glow)
}

/* ---- Values Section ---- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px
}

.value {
  padding: 28px;
  text-align: left
}

.value-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(46, 164, 255, .25), rgba(26, 122, 212, .1));
  border: 1px solid rgba(46, 164, 255, .3);
  color: var(--blue);
  font-size: 1.4rem;
  margin-bottom: 16px;
  box-shadow: 0 0 30px var(--blue-glow-lg)
}

.value h4 {
  margin: 0 0 8px;
  font-size: 1.1rem
}

.value p {
  margin: 0;
  color: var(--text-body);
  font-size: .94rem;
  line-height: 1.6
}


/* ---- Reveal Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1)
}

.reveal.in {
  opacity: 1;
  transform: none
}

.reveal.left {
  transform: translateX(-40px)
}

.reveal.left.in {
  transform: none
}

.reveal.right {
  transform: translateX(40px)
}

.reveal.right.in {
  transform: none
}

.reveal.scale {
  transform: scale(.94)
}

.reveal.scale.in {
  transform: none
}

.tilt {
  transform-style: preserve-3d;
  will-change: transform
}

/* ---- Responsive ---- */
@media (max-width:992px) {
  .team-grid {
    grid-template-columns: 1fr
  }

  .value-grid {
    grid-template-columns: 1fr 1fr
  }

  .hero-panel {
    grid-template-columns: 1fr
  }
}

@media (max-width:640px) {
  .value-grid {
    grid-template-columns: 1fr
  }

  .hero {
    padding: 80px 0 40px
  }

  section {
    padding: 70px 0
  }

  .member {
    padding: 24px
  }

  .member-header {
    flex-direction: column;
    text-align: center;
    align-items: center
  }

  .avatar-wrap {
    width: 120px;
    height: 120px;
    flex-basis: 120px
  }

  .member .role-badge {
    position: static;
    align-self: center;
    margin-bottom: 4px
  }

}