:root {
  --bg: #0b0c16;
  --bg-soft: #151729;
  --card: rgba(20, 22, 40, 0.9);
  --card-strong: rgba(28, 30, 52, 0.95);
  --text: #f4f4fb;
  --muted: #b8bed6;
  --accent: #8c6bff;
  --accent-2: #2bd3ff;
  --stroke: rgba(255, 255, 255, 0.08);
  --shadow: 0 25px 60px rgba(5, 8, 24, 0.55);
  --radius: 22px;
}

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

body {
  min-height: 100vh;
  font-family: "Sora", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top, #141634, #090a14 55%, #05060a);
  overflow-x: hidden;
  animation: pageIn 0.8s ease;
}

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent-2);
}

.aurora {
  position: fixed;
  inset: -10% -10% auto;
  height: 65vh;
  background: radial-gradient(circle at 20% 20%, rgba(140, 107, 255, 0.4), transparent 50%),
    radial-gradient(circle at 80% 10%, rgba(43, 211, 255, 0.35), transparent 45%),
    radial-gradient(circle at 50% 60%, rgba(255, 153, 102, 0.25), transparent 50%);
  filter: blur(40px);
  z-index: -2;
  animation: auroraShift 12s ease-in-out infinite alternate;
}

.grain {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23noiseFilter)' opacity='0.08'/%3E%3C/svg%3E");
  opacity: 0.35;
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: -1;
  animation: grainMove 8s linear infinite;
}

.site-header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 8vw 16px;
  background: linear-gradient(to bottom, rgba(5, 6, 10, 0.92), transparent);
  backdrop-filter: blur(10px);
  z-index: 10;
  gap: 16px;
}

.logo {
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--muted);
}

.nav a {
  transition: color 0.2s ease;
  position: relative;
}

.nav a:hover {
  color: var(--accent-2);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.cta {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  border: none;
  padding: 12px 22px;
  border-radius: 999px;
  color: #05060a;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(43, 211, 255, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--stroke);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.lang-toggle:hover {
  transform: translateY(-2px);
  border-color: rgba(43, 211, 255, 0.5);
}

.ghost {
  background: transparent;
  border: 1px solid var(--stroke);
  color: var(--text);
  padding: 12px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.cta:hover,
.ghost:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(43, 211, 255, 0.28);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 36px;
  padding: 80px 8vw 40px;
  align-items: center;
}

.badge {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(140, 107, 255, 0.2);
  border: 1px solid rgba(140, 107, 255, 0.4);
  color: #dcd7ff;
}

.hero h1 {
  margin-top: 20px;
  font-size: clamp(36px, 4vw, 64px);
  line-height: 1.05;
}

.hero p {
  margin-top: 18px;
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
}

.accent {
  color: var(--accent-2);
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  gap: 16px;
}

.hero-meta {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hero-meta .label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-card {
  background: var(--card);
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(5, 8, 24, 0.6);
}

.hero-profile img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  object-fit: cover;
  max-height: 320px;
}

.profile-name {
  font-size: 20px;
  font-weight: 600;
}

.profile-role {
  color: var(--accent-2);
  font-weight: 500;
  margin-top: 4px;
}

.profile-meta {
  color: var(--muted);
  font-size: 14px;
  margin-top: 6px;
}

.stat-grid {
  display: grid;
  gap: 12px;
}

.stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 12px;
}

.stat:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.stat-value {
  font-size: 36px;
  font-weight: 700;
}

.stat-label {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 70px 8vw 20px;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 28px;
}

.section-title h2 {
  font-size: 32px;
}

.section-title p {
  color: var(--muted);
  max-width: 420px;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.panel {
  background: var(--card-strong);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--stroke);
}

.panel h3 {
  margin-bottom: 12px;
}

.list {
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.card {
  background: var(--card);
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(5, 8, 24, 0.6);
}

.award-card {
  align-items: start;
}

.award-logo {
  width: 120px;
  height: 56px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 8px;
  border: 1px solid var(--stroke);
}

.experience-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  transition: transform 0.3s ease;
}

.card:hover .experience-image {
  transform: scale(1.03);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}

.tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(43, 211, 255, 0.15);
  border: 1px solid rgba(43, 211, 255, 0.4);
}

.text-button {
  background: none;
  border: none;
  color: var(--accent-2);
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.chip {
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--stroke);
  text-align: center;
  font-size: 14px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.chip:hover {
  transform: translateY(-3px);
  border-color: rgba(140, 107, 255, 0.6);
}

.timeline {
  display: grid;
  gap: 20px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.team-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  padding: 22px;
  display: grid;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(5, 8, 24, 0.6);
}

.team-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  transition: transform 0.3s ease;
}

.team-card:hover img,
.hero-profile:hover img {
  transform: scale(1.03);
}

.team-name {
  font-weight: 600;
  font-size: 18px;
}

.team-role {
  color: var(--accent-2);
  font-size: 14px;
  margin-top: 4px;
}

.team-card p {
  color: var(--muted);
  margin-top: 10px;
  font-size: 14px;
}

.flag {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.timeline-item {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 20px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--card-strong);
  border: 1px solid var(--stroke);
}

.time {
  font-family: "JetBrains Mono", monospace;
  color: var(--accent-2);
}

.contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--stroke);
}

.socials {
  display: grid;
  gap: 10px;
  font-weight: 500;
}

.footer {
  display: flex;
  justify-content: space-between;
  padding: 40px 8vw 60px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

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

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

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .site-header {
    flex-wrap: wrap;
    gap: 16px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .hero-meta {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer {
    flex-direction: column;
    gap: 12px;
  }
}

@keyframes auroraShift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(2%, -2%, 0) scale(1.05);
  }
  100% {
    transform: translate3d(-2%, 2%, 0) scale(1.02);
  }
}

@keyframes grainMove {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-3%, 2%, 0);
  }
}

@keyframes pageIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
