:root {
  --color-bg: #0f1115;
  --color-surface: #171a21;
  --color-surface-alt: #1e222b;
  --color-border: #2a2f3a;
  --color-text: #e8eaed;
  --color-text-muted: #9aa1ac;
  --color-accent: rgb(121, 112, 247);
  --max-width: 960px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1.1rem;
}

.brand-logo {
  height: 48px;
  width: auto;
  display: block;
}

.lang-switch {
  display: flex;
  gap: 4px;
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 2px;
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.lang-btn:hover {
  color: var(--color-text);
}

.lang-btn.active {
  background: var(--color-accent);
  color: #fff;
}

/* Hero */
.hero {
  padding: 64px 20px 40px;
  text-align: center;
}

.hero h1 {
  font-size: 2.2rem;
  margin: 0 0 12px;
}

.hero p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto;
}

/* Sections */
.section {
  padding: 40px 20px;
  border-top: 1px solid var(--color-border);
}

.section h2 {
  font-size: 1.6rem;
  margin: 0 0 16px;
}

.section p {
  color: var(--color-text-muted);
  max-width: 760px;
}

/* Contacts */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.contact-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 18px;
}

.contact-card h3 {
  margin: 0 0 8px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}

.contact-card p {
  margin: 0;
  color: var(--color-text);
}

.contact-card a {
  color: var(--color-accent);
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 24px 0;
  margin-top: 20px;
}

.site-footer p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  text-align: center;
}

/* Responsive */
@media (max-width: 480px) {
  .header-inner {
    flex-direction: column;
    gap: 12px;
  }

  .hero {
    padding: 40px 16px 32px;
  }

  .hero h1 {
    font-size: 1.7rem;
  }
}
