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

:root {
  --primary: #7dd3fc;        /* pastel cyan  */
  --secondary: #c4b5fd;      /* soft violet  */
  --accent: #a5b4fc;         /* light indigo */
  --purple: #d8b4fe;         /* lilac        */
  --dark: #f1f5f9;           /* light background (was dark) */
  --dark-light: #ffffff;     /* full white sections */
  --text: #1e293b;           /* slate-900 */
  --text-dim: #475569;       /* slate-600 */
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* === ANIMATED BACKGROUND === */
.bg-gradient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
}

.bg-gradient::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(0, 240, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(99, 102, 241, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
  animation: bgFloat 20s ease-in-out infinite;
}

@keyframes bgFloat {
  0%, 100% { 
    transform: translate(0, 0) rotate(0deg); 
  }
  33% { 
    transform: translate(30px, -30px) rotate(120deg); 
  }
  66% { 
    transform: translate(-20px, 20px) rotate(240deg); 
  }
}

/* === NAVBAR === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(148,163,184,0.2);
}

.nav__wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  letter-spacing: -0.5px;
  transition: all 0.3s ease;
}

.brand:hover {
  filter: brightness(1.2);
  letter-spacing: 0.5px;
}

.nav__links {
  display: flex;
  gap: 2rem;
}

.nav__links a {
  color: #475569;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
  padding: 0.25rem 0;
}

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

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

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

/* === HERO SECTION === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
}

.hero__content {
  max-width: 900px;
  position: relative;
  z-index: 2;
}

.hero__title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg,
    #38bdf8 0%,
    #818cf8 40%,
    #c084fc 80% 
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  animation: fadeInUp 0.8s ease-out;
  text-shadow: 0 0 40px rgba(165, 180, 252, 0.4);
}

.hero__subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--text-dim);
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
  font-weight: 300;
  letter-spacing: 0.5px;
}

.hero__cta {
  display: inline-flex;
  gap: 1rem;
  animation: fadeInUp 0.8s ease-out 0.4s both;
  flex-wrap: wrap;
  justify-content: center;
}

/* === BUTTONS === */
.btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #1e293b;
  box-shadow: 0 4px 20px rgba(148,163,184,0.2);
  position: relative;
  overflow: hidden;
}

.btn-primary::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.5s ease;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(165, 180, 252, 0.4);
}

.btn-secondary {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(165,180,252,0.1);
}

.btn-secondary:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.3);
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === FLOATING PARTICLES === */
.particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.2;
  box-shadow: 0 0 8px rgba(165,180,252,0.3);
  animation: float 15s infinite ease-in-out;
}

@keyframes float {
  0%, 100% { 
    transform: translateY(0) translateX(0) scale(1); 
    opacity: 0.4;
  }
  25% { 
    transform: translateY(-100px) translateX(50px) scale(1.2); 
    opacity: 0.6;
  }
  50% { 
    transform: translateY(-200px) translateX(-30px) scale(0.8); 
    opacity: 0.3;
  }
  75% { 
    transform: translateY(-150px) translateX(80px) scale(1.1); 
    opacity: 0.5;
  }
}

/* === SECTIONS === */
.section {
  padding: 6rem 2rem;
  position: relative;
}

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

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 4rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

/* === ABOUT SECTION === */
.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-dim);
  line-height: 1.8;
}

/* === TEAM SECTION === */
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  justify-items: center;
}

.team-card {
  background: #ffffff;
  border: 1px solid rgba(148,163,184,0.2);
  color: var(--text);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--purple));
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 12px 30px rgba(165,180,252,0.3);
  background: #f9fafb;
}

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

.team-card:hover::after {
  opacity: 1;
}

/* === AVATAR === */
.avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(125, 211, 252, 0.4);
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 32px rgba(0, 240, 255, 0.2);
}

.team-card:hover .avatar {
  border-color: var(--primary);
  transform: scale(1.08) rotate(5deg);
  box-shadow: 0 12px 48px rgba(0, 240, 255, 0.4);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text);
  font-weight: 600;
  position: relative;
  z-index: 2;
}

/* === SOCIAL LINK === */
.social-link {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  background: rgba(0, 240, 255, 0.1);
  border-radius: 10px;
  color: var(--primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  border: 1px solid rgba(0, 240, 255, 0.2);
  position: relative;
  z-index: 2;
}

.social-link:hover {
  background: var(--primary);
  color: var(--dark);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 240, 255, 0.4);
  border-color: var(--primary);
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.social-link:hover svg {
  transform: scale(1.1);
}

/* === FOOTER === */
.footer {
  padding: 2rem;
  text-align: center;
  border-top: 1px solid rgba(148,163,184,0.3);
  color: #64748b;
  background: #f8fafc;
  backdrop-filter: blur(10px);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .nav__wrap {
    padding: 1rem;
  }

  .nav__links {
    gap: 1rem;
  }

  .brand {
    font-size: 1.2rem;
  }

  .hero {
    padding: 5rem 1rem 3rem;
  }

  .section {
    padding: 4rem 1rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

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

  .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .nav__links {
    gap: 0.75rem;
  }

  .nav__links a {
    font-size: 0.9rem;
  }

  .section-title {
    margin-bottom: 2rem;
  }
}