/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Biome', sans-serif; }

:root {
  --black: #000000;
  --black-soft: #0a0a0f;
  --white: #ffffff;
  --purple-light: #a5a6f6;
  --purple-mid: #7879f1;
  --purple-dark: #5b5bd6;
  --purple-glow: rgba(120, 121, 241, 0.15);
  --text-muted: rgba(255, 255, 255, 0.65);
  --text-subtle: rgba(255, 255, 255, 0.45);
  --border: rgba(255, 255, 255, 0.08);
  --card-bg: rgba(255, 255, 255, 0.03);
  --header-h: 110px;
  --radius: 12px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: 'Biome', sans-serif;
  background: #000000;
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(1100px, 92vw);
  margin-inline: auto;
}

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; height: auto; }

/* ── Animated Background ── */
.bg-animation {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #000000;
}

.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  animation: pulse 14s ease-in-out infinite;
}

.bg-glow--1 {
  width: 450px;
  height: 450px;
  top: -10%;
  right: -5%;
  background: rgba(255, 107, 53, 0.2);
  animation-delay: 0s;
}

.bg-glow--2 {
  width: 400px;
  height: 400px;
  bottom: -10%;
  left: -5%;
  background: rgba(255, 180, 71, 0.18);
  animation-delay: -5s;
}

.bg-glow--3 {
  width: 350px;
  height: 350px;
  top: 50%;
  left: 45%;
  background: rgba(255, 71, 87, 0.15);
  animation-delay: -9s;
}

.bg-tile {
  position: absolute;
  border-radius: 10px;
  opacity: 0.55;
  animation: float 18s ease-in-out infinite;
  will-change: transform, left, top, opacity;
}

.bg-animation.is-controlled .bg-tile {
  animation: none !important;
  transform-origin: center center;
}

.bg-animation.is-assembling .bg-tile--1,
.bg-animation.is-assembling .bg-tile--2,
.bg-animation.is-assembling .bg-tile--3,
.bg-animation.is-assembling .bg-tile--4,
.bg-animation.is-assembled .bg-tile--1,
.bg-animation.is-assembled .bg-tile--2,
.bg-animation.is-assembled .bg-tile--3,
.bg-animation.is-assembled .bg-tile--4 {
  background: linear-gradient(145deg, #c8c9ff 0%, #9495f5 40%, #7879f1 70%, #6364d8 100%);
  box-shadow: 0 0 35px rgba(120, 121, 241, 0.5);
}

.bg-animation.is-controlled .bg-tile--5,
.bg-animation.is-controlled .bg-tile--6 {
  pointer-events: none;
}

.bg-tile--1 {
  width: 120px; height: 80px; top: 10%; left: 5%;
  --r: -15deg;
  background: linear-gradient(135deg, #ff6b35, #ff8c42);
  box-shadow: 0 0 50px rgba(255, 107, 53, 0.4);
  animation-delay: 0s;
}
.bg-tile--2 {
  width: 90px; height: 60px; top: 60%; left: 15%;
  --r: 20deg;
  background: linear-gradient(135deg, #ff4757, #ff6b81);
  box-shadow: 0 0 45px rgba(255, 71, 87, 0.35);
  animation-delay: -3s;
}
.bg-tile--3 {
  width: 150px; height: 100px; top: 30%; right: 10%;
  --r: -8deg;
  background: linear-gradient(135deg, #ffb347, #ffd700);
  box-shadow: 0 0 55px rgba(255, 179, 71, 0.4);
  animation-delay: -6s;
}
.bg-tile--4 {
  width: 70px; height: 50px; bottom: 20%; right: 25%;
  --r: 25deg;
  background: linear-gradient(135deg, #ff6348, #ff7979);
  box-shadow: 0 0 40px rgba(255, 99, 72, 0.35);
  animation-delay: -9s;
}
.bg-tile--5 {
  width: 100px; height: 70px; top: 75%; left: 50%;
  --r: -20deg;
  background: linear-gradient(135deg, #f7931e, #ffb347);
  box-shadow: 0 0 48px rgba(247, 147, 30, 0.38);
  animation-delay: -12s;
}
.bg-tile--6 {
  width: 60px; height: 40px; top: 15%; left: 60%;
  --r: 10deg;
  background: linear-gradient(135deg, #e84393, #fd79a8);
  box-shadow: 0 0 40px rgba(232, 67, 147, 0.35);
  animation-delay: -15s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(var(--r, 0deg)); }
  25% { transform: translate(40px, -50px) rotate(calc(var(--r, 0deg) + 8deg)); }
  50% { transform: translate(-30px, 25px) rotate(calc(var(--r, 0deg) - 5deg)); }
  75% { transform: translate(20px, 40px) rotate(calc(var(--r, 0deg) + 10deg)); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.12); }
}

/* ── Header ── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: #000000;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  background: #000000;
  border-radius: 10px;
  isolation: isolate;
}

.header__logo img {
  height: 80px;
  width: auto;
  display: block;
  position: relative;
  z-index: 1;
}

.nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--purple-mid);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Hero ── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 2rem) 0 4rem;
}

.hero__content {
  animation: fadeUp 1s ease-out;
}

.hero__eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 1.5rem;
}

.hero__title {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--white) 30%, var(--purple-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero__cta {
  display: inline-block;
  padding: 0.85rem 2rem;
  border: 1px solid var(--purple-mid);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--purple-light);
  transition: all var(--transition);
}

.hero__cta:hover {
  background: var(--purple-mid);
  color: var(--white);
  box-shadow: 0 0 30px rgba(120, 121, 241, 0.3);
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.hero__scroll-hint span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid var(--text-subtle);
  border-radius: 12px;
  position: relative;
}

.hero__scroll-hint span::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--purple-light);
  border-radius: 2px;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(10px); opacity: 0.3; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Sections ── */
.section {
  position: relative;
  z-index: 1;
  padding: 6rem 0;
}

.section__title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 2.5rem;
  letter-spacing: -0.02em;
}

.section__title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--purple-mid), transparent);
  margin-top: 0.75rem;
  border-radius: 2px;
}

/* ── About ── */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.about__card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.about__card strong {
  color: var(--white);
}

.about__card--accent {
  border-color: rgba(120, 121, 241, 0.2);
  background: rgba(120, 121, 241, 0.05);
}

.about__card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--purple-light);
  margin-bottom: 1rem;
}

.about__card em {
  color: var(--purple-light);
  font-style: normal;
}

.about__note {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.about__note-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.75;
}

.about__note-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about__note-list li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  border-left: 3px solid var(--purple-mid);
}

.note-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-top: 0.1rem;
  border-radius: 12px;
  background: rgba(120, 121, 241, 0.1);
  border: 1px solid rgba(120, 121, 241, 0.22);
  color: var(--purple-light);
}

.note-icon svg {
  width: 22px;
  height: 22px;
}

/* ── Team ── */
.team__card {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  max-width: 700px;
}

.team__avatar {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-mid), var(--purple-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.team__name {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.team__role {
  font-size: 0.85rem;
  color: var(--purple-light);
  font-weight: 500;
  margin-bottom: 1rem;
}

.team__bio {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.team__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--purple-light);
  padding: 0.5rem 1rem;
  border: 1px solid rgba(120, 121, 241, 0.3);
  border-radius: 8px;
  transition: all var(--transition);
}

.team__linkedin:hover {
  background: var(--purple-mid);
  color: var(--white);
  border-color: var(--purple-mid);
}

/* ── Contact ── */
.contact__intro {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.05rem;
  max-width: 520px;
}

.contact__email {
  display: inline-block;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 500;
  color: var(--purple-light);
  padding: 1rem 2rem;
  border: 1px solid rgba(120, 121, 241, 0.3);
  border-radius: 50px;
  transition: all var(--transition);
}

.contact__email:hover {
  background: var(--purple-mid);
  color: var(--white);
  border-color: var(--purple-mid);
  box-shadow: 0 0 30px rgba(120, 121, 241, 0.3);
}

/* ── Footer ── */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  background: #000000;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer__logo {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  background: #000000;
  border-radius: 10px;
  isolation: isolate;
}

.footer__logo img {
  height: 72px;
  width: auto;
  opacity: 1;
  display: block;
  position: relative;
  z-index: 1;
}

.footer__nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2.5rem;
  list-style: none;
}

.footer__nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.5rem 0;
  transition: color var(--transition);
  position: relative;
}

.footer__nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--purple-mid);
  transition: width var(--transition);
}

.footer__nav-link:hover {
  color: var(--white);
}

.footer__nav-link:hover::after {
  width: 100%;
}

.footer__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--purple-light);
  padding: 0.65rem 1.25rem;
  border: 1px solid rgba(120, 121, 241, 0.3);
  border-radius: 50px;
  transition: all var(--transition);
}

.footer__linkedin:hover {
  background: var(--purple-mid);
  color: var(--white);
  border-color: var(--purple-mid);
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--text-subtle);
  margin-top: 0.5rem;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  :root { --header-h: 96px; }

  .header__logo img { height: 64px; }
  .footer__logo img { height: 56px; }

  .menu-toggle { display: flex; }

  .header__nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #000000;
    border-bottom: 1px solid var(--border);
    padding: 1.5rem;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform var(--transition), opacity var(--transition);
    pointer-events: none;
  }

  .header__nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-link {
    display: block;
    padding: 0.85rem 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--border);
  }

  .about__grid {
    grid-template-columns: 1fr;
  }

  .team__card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
  }

  .team__linkedin {
    align-self: center;
  }

  .section {
    padding: 4rem 0;
  }

  .footer__nav-list {
    gap: 0.75rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2rem;
  }

  .about__card,
  .about__note {
    padding: 1.5rem;
  }
}
