/* ============================================================
   ABOUT — Founder Page
   ============================================================ */

:root {
  --bg: #08090c;
  --bg-subtle: #0e1017;
  --teal: #00e5cc;
  --teal-dim: rgba(0, 229, 204, 0.15);
  --teal-glow: rgba(0, 229, 204, 0.3);
  --text-primary: #e8eaed;
  --text-secondary: rgba(232, 234, 237, 0.55);
  --text-dim: rgba(232, 234, 237, 0.25);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Noise overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  pointer-events: none;
  z-index: 9999;
}

/* ---- Back Navigation ---- */
.back-nav {
  position: relative;
  z-index: 10;
  padding: 2vh 32px;
  flex-shrink: 0;
}

.back-link {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.25s ease;
}

.back-link:hover {
  color: #0a66c2;
}

/* ---- About Section ---- */
.about-section {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  min-height: 0;
  padding: 1vh 24px;
}

.about-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at 35% 45%, rgba(0, 229, 204, 0.14) 0%, transparent 50%),
    radial-gradient(circle at 65% 55%, rgba(74, 127, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle, rgba(179, 102, 255, 0.06) 0%, transparent 65%);
  opacity: 0.5;
  pointer-events: none;
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.5; transform: translate(-50%, -50%) scale(1.06); }
}

/* ---- About Card ---- */
.about-card {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 3vw;
  max-width: 720px;
  padding: 3vh 3vw;
  background: rgba(14, 16, 23, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: fadeSlideUp 0.6s ease both;
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- Photo ---- */
.about-photo-wrap {
  position: relative;
  flex-shrink: 0;
}

.about-photo-glow {
  position: absolute;
  inset: -24px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 102, 194, 0.3) 0%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
  animation: photoGlowPulse 4s ease-in-out infinite;
}

@keyframes photoGlowPulse {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(1.08); }
}

.about-photo {
  width: min(160px, 18vh);
  height: min(160px, 18vh);
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 24px rgba(10, 102, 194, 0.25)) drop-shadow(0 0 60px rgba(10, 102, 194, 0.1));
  animation: fadeSlideUp 0.5s ease 0.1s both;
}

/* ---- Content ---- */
.about-content {
  animation: fadeSlideUp 0.6s ease 0.15s both;
}

.about-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: min(1.8rem, 3.5vh);
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.5vh;
}

.about-role {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: min(0.85rem, 1.8vh);
  color: #0a66c2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2vh;
}

.about-bio {
  font-size: min(0.92rem, 2vh);
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.2vh;
}

.about-bio strong {
  color: var(--text-primary);
  font-weight: 500;
}

.about-bio:last-of-type {
  margin-bottom: 2.5vh;
}

/* ---- LinkedIn Link ---- */
.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: min(0.82rem, 1.8vh);
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 1.2vh 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  transition: all 0.25s ease;
}

.linkedin-link:hover {
  color: #0a66c2;
  border-color: rgba(10, 102, 194, 0.3);
  background: rgba(10, 102, 194, 0.06);
}

.linkedin-icon {
  width: min(16px, 2vh);
  height: min(16px, 2vh);
}

/* ---- Footer ---- */
.site-footer {
  text-align: center;
  padding: 1.5vh 24px;
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 640px) {
  html, body {
    height: auto;
    overflow: visible;
  }

  body {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .back-nav {
    padding: 24px 24px;
  }

  .about-section {
    flex: unset;
    padding: 24px 16px 40px;
  }

  .about-card {
    flex-direction: column;
    text-align: center;
    gap: 24px;
    padding: 32px 24px;
    margin: 0 8px;
  }

  .about-photo {
    width: 120px;
    height: 120px;
  }

  .about-name {
    font-size: 1.4rem;
    margin-bottom: 4px;
  }

  .about-role {
    font-size: 0.78rem;
    margin-bottom: 14px;
  }

  .about-bio {
    font-size: 0.85rem;
    line-height: 1.55;
    margin-bottom: 10px;
  }

  .about-bio:last-of-type {
    margin-bottom: 20px;
  }

  .linkedin-link {
    justify-content: center;
    font-size: 0.82rem;
    padding: 10px 20px;
  }

  .linkedin-icon {
    width: 16px;
    height: 16px;
  }

  .site-footer {
    padding: 24px;
  }
}

@media (max-width: 420px) {
  .back-nav {
    padding: 16px 20px;
  }

  .about-card {
    padding: 24px 18px;
    gap: 20px;
  }

  .about-photo {
    width: 100px;
    height: 100px;
  }

  .about-name {
    font-size: 1.3rem;
  }

  .about-role {
    font-size: 0.75rem;
    margin-bottom: 12px;
  }

  .about-bio {
    font-size: 0.82rem;
    margin-bottom: 8px;
  }

  .about-bio:last-of-type {
    margin-bottom: 16px;
  }

  .about-glow {
    width: 400px;
    height: 400px;
  }

  .site-footer {
    padding: 16px;
  }
}
