* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #0f172a;
  color: white;
  font-family: Arial, sans-serif;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(15, 23, 42, 0.9);
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero {
  padding: 60px 0;
  text-align: center;
}

.hero h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.hero p {
  color: #94a3b8;
  font-size: 1.2rem;
}

.about,
.projects {
  padding: 40px 0;
}

.about p {
  max-width: 800px;
  margin-top: 20px;
  color: #cbd5e1;
  line-height: 1.8;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.project-card {
  background: #111c34;
  padding: 30px;
  border-radius: 20px;
  border: 1px solid #1e293b;
  transition: 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: #38bdf8;
}

.project-card h3 {
  margin-bottom: 15px;
  color: #38bdf8;
}

.project-card p {
  color: #cbd5e1;
  line-height: 1.7;
}
header {
  padding: 18px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

header h1 {
  color: #38bdf8;
  letter-spacing: 0.04em;
}

.language-switch {
  display: flex;
  gap: 8px;
}

.language-switch button {
  padding: 7px 12px;
  color: #cbd5e1;
  background: transparent;
  border: 1px solid #334155;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}

.language-switch button:hover {
  color: white;
  border-color: #38bdf8;
}

.language-switch button.active {
  color: #0f172a;
  background: #38bdf8;
  border-color: #38bdf8;
}

.language-switch button:focus-visible,
.project-link:focus-visible {
  outline: 3px solid rgba(56, 189, 248, 0.4);
  outline-offset: 3px;
}

.project-link {
  display: inline-block;
  margin-top: 20px;
  color: #38bdf8;
  font-weight: 700;
  text-decoration: none;
}

.project-link:hover {
  color: #7dd3fc;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .hero {
    padding: 50px 0;
  }

  .hero h2 {
    font-size: 1.9rem;
  }

  header h1 {
    font-size: 1.5rem;
  }
}
