html {
  scroll-behavior: smooth;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #06201E, #010F0D);
  color: #e5e7eb;
  min-height: 100vh;
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 80px;
}

header h1 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.home-link {
  color: inherit;
  text-decoration: none;
}

nav a {
  color: #9ca3af;
  text-decoration: none;
  margin-left: 24px;
  font-size: 0.95rem;
}

nav a:hover { color: #ffffff; }

.hero {
  text-align: center;
  margin-bottom: 100px;
}

.hero h2 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.hero p {
  font-size: 1.2rem;
  color: #9ca3af;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin-bottom: 100px;
}

.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border-radius: 20px;
  padding: 32px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.3s ease;
  text-align: center;
}

.card:hover { transform: translateY(-6px); }

.card h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
  color: #ffffff;
}

.card p { color: #9ca3af; }

.card .counter {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.about {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border-radius: 24px;
  padding: 48px;
  border: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  margin-bottom: 80px;
}

.about h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: #ffffff;
}

.about p { color: #9ca3af; margin-bottom: 32px; }

.project-cards {
  display: grid;
  gap: 48px;
}

.project-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

.project-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.project-info {
  padding: 32px;
}

.project-info h3 {
  margin-bottom: 12px;
  font-size: 1.5rem;
  color: #ffffff;
}

.project-info p {
  color: #9ca3af;
  margin-bottom: 24px;
}

.button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  background: #14b8a6;
  color: white;
  text-decoration: none;
  font-weight: 600;
}

.button:hover { background: #0f766e; }

@media (min-width: 768px) {
  .project-card {
    flex-direction: row;
  }
  .project-card img {
    width: 40%;
  }
  .project-info {
    width: 60%;
  }
}
