:root {
  --bg-main: #0b0f17;
  --bg-surface: #121824;
  --bg-card: #182234;
  --bg-card-hover: #1f2c42;
  --border-color: #26354a;
  --accent: #38bdf8;
  --accent-hover: #0ea5e9;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-stack);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Nav */
header {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
}

.brand:hover {
  text-decoration: none;
}

.brand-avatar {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
  align-items: center;
}

nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

nav a:hover, nav a.active {
  color: var(--accent);
  text-decoration: none;
}

.lang-switch {
  display: inline-flex;
  background: var(--bg-card);
  padding: 3px 6px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
  gap: 6px;
}

.lang-switch a {
  color: var(--text-dim);
}

.lang-switch a.active {
  color: var(--accent);
  font-weight: 700;
}

/* Hero Section */
.hero {
  padding: 60px 0 40px;
  text-align: center;
}

.hero-img-wrap {
  margin-bottom: 24px;
}

.hero-img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border-color);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.badge {
  display: inline-block;
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.25;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 750px;
  margin: 0 auto 28px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: var(--accent);
  color: #0b0f17;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  color: #0b0f17;
  text-decoration: none;
}

.btn-secondary {
  background-color: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--bg-card-hover);
  text-decoration: none;
}

/* Cards Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: 8px;
  transition: transform 0.2s, border-color 0.2s;
}

.card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: #fff;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Content Page Layout */
.content-section {
  padding: 40px 0;
}

.content-section h1 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.content-section h2 {
  font-size: 1.4rem;
  margin: 28px 0 12px;
  color: var(--accent);
}

.content-section p, .content-section ul {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.content-section ul {
  padding-left: 20px;
}

.content-section li {
  margin-bottom: 8px;
}

/* Contact Links */
.contact-list {
  list-style: none;
  padding: 0 !important;
  margin-top: 20px;
}

.contact-list li {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 14px 18px;
  border-radius: 6px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Footer */
footer {
  margin-top: auto;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 30px 0;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}

footer p {
  margin-bottom: 6px;
}

@media (max-width: 768px) {
  .nav-wrapper {
    flex-direction: column;
    gap: 12px;
  }
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
}