:root {
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-hover-bg: rgba(255, 255, 255, 0.15);
  --glass-hover-border: rgba(255, 255, 255, 0.3);
  --accent: #0A84FF;
  --text: #f5f5f7;
  --text-muted: rgba(245, 245, 247, 0.7);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: #050505;
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.5;
}

/* Mesh Gradient Background */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, #0a0a1a 0%, #0d1b2a 50%, #1b2838 100%);
}
.bg-mesh::before, .bg-mesh::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  animation: float 10s ease-in-out infinite alternate;
}
.bg-mesh::before {
  width: 60vw;
  height: 60vw;
  top: -20%;
  left: -20%;
  background: radial-gradient(circle, rgba(10, 132, 255, 0.4), transparent 70%);
}
.bg-mesh::after {
  width: 50vw;
  height: 50vw;
  bottom: -10%;
  right: -10%;
  background: radial-gradient(circle, rgba(90, 200, 250, 0.3), transparent 70%);
  animation-delay: -5s;
}

@keyframes float {
  0% { transform: translate(0, 0); }
  100% { transform: translate(5%, 10%); }
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 100px 20px 60px;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 300;
  color: var(--text-muted);
}

/* Projects Grid */
.projects-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 100px;
}

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

/* Project Card */
.project-card {
  text-decoration: none;
  color: inherit;
  display: block;
  outline: none;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-card:hover {
  transform: translateY(-8px);
}

.card-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: all 0.4s ease;
}

.project-card:hover .card-glass {
  background: var(--glass-hover-bg);
  border-color: var(--glass-hover-border);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
}

.card-icon {
  font-size: 48px;
  margin-bottom: 24px;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border-radius: 20px;
}

.card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-badge {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
  display: inline-block;
}

.card-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.card-desc {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
}

.project-card.placeholder {
  opacity: 0.6;
  cursor: default;
}

.project-card.placeholder:hover {
  transform: none;
}
.project-card.placeholder:hover .card-glass {
  background: var(--glass-bg);
  border-color: var(--glass-border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
