/* Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

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

:root {
  --primary-color: #7C3AED;
  --primary-dark: #5B21B6;
  --secondary-color: #A855F7;
  --text-primary: #1a1a1a;
  --text-secondary: #4a5568;
  --text-muted: #333;
  --bg-gradient: linear-gradient(135deg, #ffffff 0%, #fafbff 50%, #f8f9ff 100%);
  --card-bg: rgba(255, 255, 255, 0.8);
  --border-color: rgba(124, 58, 237, 0.1);
  --shadow-sm: 0 8px 32px rgba(124, 58, 237, 0.08);
  --shadow-md: 0 16px 48px rgba(124, 58, 237, 0.15);
  --shadow-lg: 0 20px 60px rgba(124, 58, 237, 0.15);
}

/* Reset & Base */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-gradient);
  color: var(--text-primary);
  min-height: 100vh;
  width: 100vw;
  scroll-behavior: smooth;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
}

/* Typography */
h1, h2, h3 {
  color: var(--text-primary);
  font-weight: 500;
}

h2 {
  font-size: 1.75rem;
  margin-top: 48px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h3 {
  font-size: 1.25rem;
  margin-top: 32px;
  margin-bottom: 16px;
}

p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transition: width 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

a:hover::after {
  width: 100%;
}

/* Background Decoration */
.bg-decoration {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.03;
  display: none;
}

.bg-decoration::before {
  content: '';
  position: absolute;
  top: 20%;
  right: 10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s infinite linear;
}

.bg-decoration::after {
  content: '';
  position: absolute;
  bottom: 30%;
  left: 15%;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 25s infinite reverse linear;
}

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
  100% { transform: translateY(0px) rotate(360deg); }
}

/* Scroll Indicator */
.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--border-color);
  z-index: 1000;
}

.scroll-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  width: 0%;
  transition: width 0.1s ease;
}

/* Header */
.header {
  width: 100%;
  padding-top: 40px;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  animation: fadeInDown 1s ease-out 0.2s forwards;
  position: relative;
  z-index: 1;
}

.logo-row {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 36px;
  transition: transform 0.3s ease;
}

.logo-row:hover {
  transform: scale(1.02);
}

.logo-row .logo-text {
  display: inline-block;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 2px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Logo Icon Styles */
.logo-icon {
  width: 64px;
  height: 64px;
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(0 4px 8px rgba(124, 58, 237, 0.15));
  transition: all 0.3s ease;
  opacity: 0;
  animation: logoFadeIn 1s ease-out 0.3s forwards, logoFloat 3s ease-in-out 1.3s infinite;
}

@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(5deg);
  }
}

.logo-row:hover .logo-icon {
  filter: drop-shadow(0 6px 12px rgba(124, 58, 237, 0.25));
  animation: logoPulse 0.6s ease-in-out infinite alternate;
}

@keyframes logoPulse {
  0% {
    transform: scale(1) rotate(0deg);
  }
  100% {
    transform: scale(1.1) rotate(10deg);
  }
}

@keyframes logoFadeIn {
  0% {
    opacity: 0;
    transform: scale(0) rotate(-180deg);
  }
  50% {
    transform: scale(1.2) rotate(90deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

/* Navigation */
.nav {
  display: flex;
  gap: 48px;
  font-size: 1rem;
  margin-bottom: 64px;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  padding: 16px 32px;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 400;
  padding: 8px 16px;
  border-radius: 25px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.1), transparent);
  transition: left 0.5s;
}

.nav a::after {
  display: none;
}

.nav a:hover,
.nav a.active {
  color: var(--primary-color);
  background: rgba(124, 58, 237, 0.05);
  transform: translateY(-2px);
}

.nav a:hover::before {
  left: 100%;
}

/* Main Content */
.content-wrapper {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.5s forwards;
}

.headline {
  font-size: 4rem;
  font-weight: 300;
  text-align: center;
  letter-spacing: -1px;
  margin-bottom: 32px;
  line-height: 1.1;
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 50%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { 
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 50%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
  }
  50% { 
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--text-primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
  }
}

.desc {
  font-size: 1.25rem;
  text-align: center;
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 0;
  margin-top: 0;
  line-height: 1.6;
  max-width: 600px;
  position: relative;
  z-index: 2;
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Arrow Toggle */
.arrow-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 48px auto 0 auto;
  cursor: pointer;
  user-select: none;
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  border: 1px solid rgba(124, 58, 237, 0.2);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.arrow-toggle:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.2);
  background: rgba(124, 58, 237, 0.05);
}

.arrow-toggle svg {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: bounceDown 2s infinite;
}

.arrow-toggle.up svg {
  transform: rotate(180deg);
  animation: bounceUp 2s infinite;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  25% { transform: translateY(6px); }
  50% { transform: translateY(0); }
  75% { transform: translateY(3px); }
}

@keyframes bounceUp {
  0%, 100% { transform: translateY(0) rotate(180deg); }
  25% { transform: translateY(-6px) rotate(180deg); }
  50% { transform: translateY(0) rotate(180deg); }
  75% { transform: translateY(-3px) rotate(180deg); }
}

/* About Section */
.about-section {
  margin: 60px auto 0 auto;
  max-width: 700px;
  font-size: 1.2rem;
  line-height: 1.8;
  color: #2d3748;
  text-align: center;
  font-weight: 400;
  padding: 48px 32px 64px 32px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  visibility: hidden;
  min-height: 0;
  position: relative;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  transform: translateY(30px);
}

.about-section.visible {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(0);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
  border-radius: 24px 24px 0 0;
  background-size: 200% 100%;
  animation: gradientMove 3s ease-in-out infinite;
}

@keyframes gradientMove {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Footer - ОБНОВЛЕННЫЕ СТИЛИ */
.footer {
  width: 100%;
  padding: 48px 0 32px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-top: auto;
  flex-shrink: 0;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-color);
  position: relative;
  z-index: 10;
}

/* Новые стили для social-links */
.footer .social-links {
  margin-top: 16px;
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(124, 58, 237, 0.1);
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.footer .social-links a::after {
  display: none;
}

.footer .social-links a:hover {
  transform: scale(1.1) translateY(-2px);
  background: rgba(124, 58, 237, 0.2);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.15);
}

.footer svg {
  width: 22px;
  height: 22px;
  fill: var(--primary-color);
  transition: transform 0.3s ease;
}

.footer .social-links a:hover svg {
  transform: scale(1.1);
}

/* Page wrapper for proper footer positioning */
.page-wrapper {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.main-content {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  padding-bottom: 40px;
  min-height: calc(100vh - 300px);
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.5s forwards;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 0.95rem;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

table th, table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid rgba(124, 58, 237, 0.05);
}

table th {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(168, 85, 247, 0.03) 100%);
  font-weight: 500;
  color: var(--text-primary);
  position: relative;
}

table th::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

table td {
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

table tr {
  transition: all 0.3s ease;
}

table tr:hover td {
  background: rgba(124, 58, 237, 0.02);
  transform: translateX(4px);
}

/* Lists */
ul {
  margin-top: 10px;
  padding-left: 24px;
}

ul li {
  margin-bottom: 8px;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

ul li:hover {
  color: var(--primary-color);
}

/* Project Logo in Table */
.project-logo {
  height: 24px;
  vertical-align: middle;
  margin-right: 8px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transition: filter 0.3s ease;
}

.project-logo:hover {
  filter: drop-shadow(0 4px 8px rgba(124, 58, 237, 0.2));
}

/* Pitch Deck Button */
.btn-pitchdeck {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 16px 32px;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 500;
  font-size: 1.1rem;
  display: inline-block;
  margin: 40px 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.2);
}

.btn-pitchdeck::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s;
}

.btn-pitchdeck::after {
  display: none;
}

.btn-pitchdeck:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.3);
  color: white;
}

.btn-pitchdeck:hover::before {
  left: 100%;
}

/* Co-Investors Grid */
.co-investors-grid {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.co-investor-card {
  width: calc(20% - 13px);
  padding: 20px 16px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.05);
  position: relative;
  overflow: hidden;
}

.co-investor-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.co-investor-card::after {
  display: none;
}

.co-investor-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.15);
  border-color: var(--primary-color);
  background: rgba(124, 58, 237, 0.03);
}

.co-investor-card:hover::before {
  transform: scaleX(1);
}

.co-investor-card img {
  height: 40px;
  margin-bottom: 12px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transition: filter 0.3s ease;
}

.co-investor-card:hover img {
  filter: drop-shadow(0 4px 8px rgba(124, 58, 237, 0.2));
}

/* Performance Highlight */
.performance-highlight {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(168, 85, 247, 0.02) 100%);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  margin: 20px 0;
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
  margin-bottom: 40px;
}

.portfolio-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.portfolio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
  background: rgba(124, 58, 237, 0.02);
}

.portfolio-card:hover::before {
  transform: scaleX(1);
}

.portfolio-card h3 {
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 1.2rem;
}

.portfolio-card p {
  margin-bottom: 12px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.portfolio-card p:last-child {
  margin-bottom: 0;
}

/* Investment Process Timeline */
.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 32px 0 48px 0;
  position: relative;
  padding-left: 40px;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

.process-step {
  position: relative;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s ease;
}

.process-step:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-sm);
  border-color: var(--primary-color);
}

.step-number {
  position: absolute;
  left: -40px;
  top: 24px;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.process-step h4 {
  margin: 0 0 8px 0;
  color: var(--primary-color);
  font-size: 1.1rem;
}

.process-step p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Yearly Statistics */
.yearly-stats {
  display: flex;
  gap: 20px;
  margin: 24px 0 40px 0;
  flex-wrap: wrap;
  justify-content: space-between;
}

.year-card {
  flex: 1;
  min-width: 150px;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.year-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.year-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: var(--primary-color);
}

.year-card:hover::before {
  transform: scaleX(1);
}

.year-card .year {
  font-size: 0.9rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 12px;
}

.year-card .stat-number {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 4px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.year-card .stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.year-card .stat-amount {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--primary-color);
}

/* Jobs Page Styles */
.main-wrap {
  max-width: 950px;
  width: 100%;
  margin: 0 auto 40px auto;
  padding: 0 16px;
  flex: 1 0 auto;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.5s forwards;
}

.joblist {
  margin-top: 42px;
}

.job-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  margin-bottom: 24px;
  padding: 32px 36px 26px 36px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  animation: jobCardFadeIn 0.6s ease-out forwards;
}

.job-card:nth-child(1) { animation-delay: 0.7s; }
.job-card:nth-child(2) { animation-delay: 0.8s; }
.job-card:nth-child(3) { animation-delay: 0.9s; }
.job-card:nth-child(4) { animation-delay: 1.0s; }
.job-card:nth-child(5) { animation-delay: 1.1s; }

@keyframes jobCardFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.job-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
  background: rgba(124, 58, 237, 0.02);
}

.job-card:hover::before {
  transform: scaleX(1);
}

.job-main {
  flex: 1 1 0%;
  min-width: 0;
}

.job-logo {
  width: 88px;
  height: 38px;
  object-fit: contain;
  margin-bottom: 16px;
  margin-top: 2px;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transition: filter 0.3s ease;
}

.job-card:hover .job-logo {
  filter: drop-shadow(0 4px 8px rgba(124, 58, 237, 0.2));
}

.job-company {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
  transition: color 0.3s ease;
}

.job-card:hover .job-company {
  color: var(--primary-dark);
}

.job-title {
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-primary);
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}

.job-tags {
  margin-bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 9px;
}

.job-tag {
  display: inline-block;
  background: rgba(124, 58, 237, 0.08);
  color: var(--primary-color);
  border-radius: 8px;
  font-size: 0.85rem;
  padding: 4px 12px;
  border: 1px solid rgba(124, 58, 237, 0.15);
  margin-bottom: 2px;
  margin-right: 4px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.job-tag:hover {
  background: rgba(124, 58, 237, 0.15);
  transform: translateY(-1px);
}

.job-details {
  font-size: 1.01rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  opacity: 0.9;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  font-size: 0.99rem;
  color: var(--primary-color);
  margin-bottom: 10px;
  align-items: center;
  font-weight: 500;
}

.job-meta svg {
  width: 1.08em;
  height: 1.08em;
  vertical-align: -2px;
  margin-right: 4px;
  fill: var(--primary-color);
}

.job-apply {
  margin-top: 12px;
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1.14rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(124, 58, 237, 0.08);
  border-radius: 10px;
  border: 1px solid rgba(124, 58, 237, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.job-apply::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s;
}

.job-apply::after {
  display: none;
}

.job-apply:hover {
  color: white;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.25);
}

.job-apply:hover::before {
  left: 100%;
}

.job-apply svg {
  transition: transform 0.3s ease;
}

.job-apply:hover svg {
  transform: translateX(2px);
}

/* Team Page Styles */
.team-wrap {
  width: 100%;
  max-width: 1050px;
  margin: 40px auto 40px auto;
  display: flex;
  flex-wrap: wrap;
  gap: 46px 48px;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.5s forwards;
}

.member {
  width: 240px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(30px);
  animation: memberFadeIn 0.6s ease-out forwards;
}

.member:nth-child(1) { animation-delay: 0.7s; }
.member:nth-child(2) { animation-delay: 0.8s; }
.member:nth-child(3) { animation-delay: 0.9s; }
.member:nth-child(4) { animation-delay: 1.0s; }
.member:nth-child(5) { animation-delay: 1.1s; }
.member:nth-child(6) { animation-delay: 1.2s; }

@keyframes memberFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.member-img, img.member-img, div.member-img {
  width: 240px;
  height: 240px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  object-fit: cover;
  object-position: center;
  margin-bottom: 18px;
  border: 1px solid var(--border-color);
  display: block;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}

.member-img-placeholder {
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
  font-weight: 600;
  background: linear-gradient(135deg, #7C3AED, #A855F7) !important;
}

.member:hover .member-img,
.member:hover .member-img-placeholder {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.member-name {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 2px;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.member:hover .member-name {
  color: var(--primary-color);
}

.member-title {
  font-size: 1rem;
  color: var(--text-secondary);
  opacity: 0.85;
  margin-bottom: 0;
  max-width: 90%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s ease;
}

.member:hover .member-title {
  color: var(--primary-color);
  opacity: 1;
}

/* Slideout Panel */
.slideout {
  width: 410px;
  max-width: 96vw;
  min-width: 320px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: -8px 0 64px rgba(124, 58, 237, 0.15);
  border-left: 1px solid var(--border-color);
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 38px 38px 32px 32px;
  overflow-y: auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.slideout.active {
  transform: translateX(0);
}

.slideout::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

.slideout .close {
  font-size: 2.2rem;
  position: absolute;
  top: 16px;
  left: 16px;
  cursor: pointer;
  color: var(--primary-color);
  opacity: 0.8;
  border: none;
  background: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.slideout .close:hover {
  background: rgba(124, 58, 237, 0.1);
  opacity: 1;
  transform: scale(1.1);
}

.slideout-img, div.slideout-img {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1/1;
  border-radius: 12px;
  margin: 0 auto 18px auto;
  object-fit: cover;
  object-position: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 1px solid var(--border-color);
  display: block;
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.12);
}

.slideout-title {
  font-size: 1.36rem;
  font-weight: 600;
  margin-top: 8px;
  color: var(--text-primary);
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.slideout-role {
  font-size: 1.07rem;
  font-weight: 400;
  margin-bottom: 10px;
  color: var(--primary-color);
  opacity: 0.9;
}

.slideout-desc {
  font-size: 1.05rem;
  margin-top: 6px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 99%;
  margin-bottom: 14px;
}

.slideout-social {
  margin-top: 20px;
  display: flex;
  gap: 16px;
  align-items: center;
}

.slideout-social a {
  color: var(--primary-color);
  font-size: 1.35rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  vertical-align: middle;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 58, 237, 0.1);
  border-radius: 50%;
  border: 1px solid rgba(124, 58, 237, 0.2);
}

.slideout-social a::after {
  display: none;
}

.slideout-social a:hover {
  background: rgba(124, 58, 237, 0.2);
  transform: translateY(-2px) scale(1.1);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.15);
}

.slideout-social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Discord Icon & Popup */
.discord-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.2);
  color: var(--primary-color);
  cursor: pointer;
  transition: all 0.3s ease;
}

.discord-icon:hover {
  background: rgba(124, 58, 237, 0.2);
  transform: translateY(-2px) scale(1.1);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.15);
}

.discord-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.discord-popup {
  position: absolute;
  transform: translateX(-50%);
  padding: 8px 12px;
  background: rgba(124, 58, 237, 0.95);
  color: #fff;
  border-radius: 8px;
  font-size: 0.9rem;
  pointer-events: none;
  opacity: 1;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 1100;
  white-space: nowrap;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(124, 58, 237, 0.05);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--primary-dark), var(--primary-color));
}

/* Responsive Styles */
@media (max-width: 850px) {
  .headline { font-size: 2.5rem; }
  .about-section { font-size: 1.1rem; padding: 32px 24px 48px 24px; }
  .nav { gap: 24px; padding: 12px 24px; }
  
  table {
    font-size: 0.85rem;
  }
  
  table th, table td {
    padding: 12px 8px;
  }
  
  .project-logo {
    height: 20px;
    margin-right: 6px;
  }
}

@media (max-width: 800px) {
  .nav {
    gap: 24px;
    font-size: 1rem;
    padding: 12px 24px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .logo-text {
    font-size: 1.5rem;
  }
  
  .logo-icon {
    width: 48px;
    height: 48px;
  }
  
  .co-investor-card {
    width: calc(50% - 8px);
  }

  .container {
    padding: 0 16px;
  }
}

@media (max-width: 750px) {
  .main-wrap { padding: 0 8px; }
  .job-card { padding: 24px 16px 20px 16px; flex-direction: column; gap: 16px;}
  .job-logo { width: 72px; height: 32px; margin-bottom: 12px;}
}

@media (max-width: 600px) {
  .headline { font-size: 1.8rem; }
  .about-section { 
    font-size: 1rem; 
    margin-top: 40px; 
    padding: 24px 16px 32px 16px;
    border-radius: 16px;
  }
  
  .footer { 
    font-size: 0.9rem;
    padding: 32px 0 24px 0;
  }
  
  .footer .social-links {
    gap: 12px;
  }
  
  .footer .social-links a {
    width: 44px;
    height: 44px;
  }
  
  .footer svg {
    width: 20px;
    height: 20px;
  }
  
  .nav { 
    flex-wrap: wrap; 
    gap: 12px; 
    justify-content: center;
    padding: 16px;
  }
  .logo-text { font-size: 1.5rem; }
  .logo-icon { width: 48px; height: 48px; }
  
  .team-wrap { flex-direction: column; align-items: center; gap: 24px; }
  .member, .member-img { width: 100vw; max-width: 340px; height: 340px;}
  .slideout { padding: 22px 6vw 18px 6vw; }
}

@media (max-width: 500px) {
  .nav {
    gap: 12px;
    padding: 16px;
  }
  
  .co-investor-card {
    width: 100%;
  }

  table th, table td {
    padding: 12px 8px;
    font-size: 0.9rem;
  }

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

  .process-timeline {
    padding-left: 30px;
  }

  .step-number {
    left: -30px;
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }

  .yearly-stats {
    flex-direction: column;
  }

  .year-card {
    width: 100%;
  }
}

@media (max-width: 1050px) {
  .team-wrap { gap: 36px 20px; }
  .member, .member-img { width: 200px; height: 200px;}
}