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

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12131c;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --accent-1: #3b82f6;
  --accent-2: #8b5cf6;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Background Effects */
.bg-gradient-glow {
  position: fixed;
  top: -20vh;
  left: -10vw;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(10, 10, 15, 0) 70%);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}

.bg-gradient-glow-2 {
  position: fixed;
  bottom: -20vh;
  right: -10vw;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(10, 10, 15, 0) 70%);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}

/* Header & Nav */
header {
  padding: 2rem 0;
  position: relative;
  z-index: 10;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(to right, var(--text-primary), var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero Section */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  position: relative;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
  max-width: 700px;
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent-1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: fit-content;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
}

.gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
}

.cta-group {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.btn {
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-1) 0%, var(--accent-2) 100%);
  color: white;
  border: none;
  box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.39);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  background: var(--glass-bg);
  border-color: rgba(255,255,255,0.2);
}

/* Profile Image */
.profile-wrapper {
  position: relative;
  width: 350px;
  height: 350px;
  flex-shrink: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--glass-border);
  opacity: 0;
  animation: fadeLeft 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.profile-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.profile-wrapper:hover img {
  transform: scale(1.05);
}

/* Sections */
section {
  padding: 6rem 0;
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

/* About / Vision */
.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.vision-text p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.highlight {
  color: var(--text-primary);
  font-weight: 600;
}

/* Cards / Glassmorphism */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.glass-card:hover::before {
  opacity: 1;
}

/* Research Tracks */
.research-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.research-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.research-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tag {
  background: rgba(139, 92, 246, 0.1);
  color: #a78bfa;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.award-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fbbf24;
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 1rem;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.project-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.project-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.project-card, .research-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-card > div:last-child, .research-card > div:last-child {
  margin-top: auto;
}

.project-card .btn, .research-card .btn {
  height: 2.5rem;
}

/* Contact */
.contact-section {
  text-align: center;
  padding: 8rem 0;
}

.contact-section h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.contact-section p {
  color: var(--text-secondary);
  font-size: 1.25rem;
  margin-bottom: 3rem;
}

/* Footer */
footer {
  border-top: 1px solid var(--glass-border);
  padding: 3rem 0;
  text-align: center;
  color: var(--text-secondary);
}

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

@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Responsive */
@media (max-width: 992px) {
  .hero {
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    text-align: left;
    gap: 2rem;
    padding-top: 2rem;
  }
  .hero-content {
    align-items: flex-start;
  }
  .hero h1 { 
    font-size: 2.75rem;
    text-align: center;
    align-self: center;
  }
  
  .profile-wrapper { 
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 200px;
    height: 200px;
    margin: 0 auto;
    animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
  }

  .cta-group {
    justify-content: center;
  }

  .vision-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .hero { padding-top: 1.5rem; gap: 1.5rem; min-height: auto; padding-bottom: 3rem; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 0.95rem; }
  
  section { padding: 3rem 0; }
  .section-title { font-size: 1.75rem; margin-bottom: 2rem; }
  
  .profile-wrapper {
    width: 150px;
    height: 150px;
  }

  .glass-card { padding: 1.5rem; }
  .vision-grid { gap: 1.5rem; }
  .vision-text p { font-size: 0.95rem; margin-bottom: 1rem; }
  .glass-card h3 { font-size: 1.25rem !important; }
  .glass-card p { font-size: 0.85rem !important; }
  .glass-card ul { font-size: 0.85rem !important; line-height: 1.6 !important; margin-left: 1rem !important; margin-bottom: 1rem !important; }

  .research-card h3 { font-size: 1.25rem; }
  .research-card p { font-size: 0.9rem; }
  .tag { font-size: 0.75rem; padding: 0.2rem 0.5rem; }

  .project-card h3 { font-size: 1.1rem; }
  .project-card p { font-size: 0.85rem; }

  .contact-section { padding: 4rem 0; }
  .contact-section h2 { font-size: 2rem; margin-bottom: 1rem; }
  .contact-section p { font-size: 1rem; margin-bottom: 2rem; }

  .cta-group {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }
}
