:root {
  color-scheme: dark;
  --bg: #f6f8ff;
  --surface: #ffffff;
  --surface-strong: #e9efff;
  --text: #0f1c3a;
  --muted: #5f6f8c;
  --primary: #0a68f0;
  --primary-dark: #0d52bf;
  --accent: #1048d8;
  --border: rgba(13, 71, 211, 0.12);
  --shadow: 0 24px 60px rgba(15, 28, 58, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #f6f8ff 0%, #ffffff 100%);
  color: var(--text);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(15, 28, 58, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo {
  width: 48px;
  height: auto;
  border-radius: 12px;
}

.logofooter {
  width: 128px;
  height: auto;
  border-radius: 12px;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.lang-switcher {
  display: inline-flex;
  gap: 0.5rem;
}

.lang-btn {
  border: 1px solid rgba(15, 28, 58, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.lang-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.lang-btn:hover {
  border-color: var(--primary);
}

.hero {
  padding: 5rem 0 4rem;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
}

.hero h1,
.section-heading h2,
.about-grid h2,
.contact-section h2 {
  margin: 0;
  line-height: 1.05;
  font-size: clamp(2.4rem, 4vw, 4rem);
}

.hero-copy,
.section-heading p,
.card p,
.work-card p,
.about-list li,
.contact-section p,
.site-footer p,
.site-footer small {
  color: var(--muted);
  line-height: 1.75;
}

.hero-copy {
  max-width: 620px;
  margin: 1.5rem 0 2rem;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.65rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(10, 104, 240, 0.22);
}

.btn-secondary {
  background: rgba(14, 56, 142, 0.08);
  color: var(--text);
}

.hero-panel {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.feature-card {
  padding: 2rem;
  border-radius: 32px;
  background: radial-gradient(circle at top left, rgba(10, 104, 240, 0.12), transparent 45%), var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.feature-card h2 {
  font-size: 1.7rem;
  margin-bottom: 0.75rem;
}

.section,
.section-alt,
.contact-section {
  padding: 5rem 0;
}

.section-alt {
  background: #f8faff;
}

.section-heading {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.cards-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.work-card {
  padding: 2rem;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(15, 28, 58, 0.06);
}

.card h3,
.work-card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.about-list {
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.about-list li {
  padding-left: 1.4rem;
  position: relative;
  color: var(--text);
}

.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
}

.about-image {
  display: grid;
  gap: 1rem;
}

.stat-card {
  padding: 2rem;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.stat-card.accent {
  background: linear-gradient(135deg, rgba(10, 104, 240, 0.14), rgba(16, 72, 216, 0.08));
}

.stat-value {
  margin: 0;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text);
}

.work-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem 2rem;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(10, 104, 240, 0.12), #f8fbff 100%);
  border: 1px solid rgba(10, 104, 240, 0.16);
}

.contact-panel p {
  max-width: 560px;
}

.site-footer {
  padding: 2rem 0 3rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 960px) {
  .hero-content,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid,
  .work-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .cards-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .section,
  .section-alt,
  .contact-section {
    padding: 3rem 0;
  }
}
