:root {
  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --surface: #ffffff;
  --surface-alt: #f4f7fb;
  --text: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --primary: #0f172a;
  --primary-soft: #1e293b;
  --accent: #2563eb;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --header-height: 86px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.10), transparent 28%),
    linear-gradient(to bottom, #ffffff, #fbfdff);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
select,
input,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: var(--header-height);
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: 42px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav a {
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--primary-soft);
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.language-select {
  min-width: 84px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  outline: none;
  cursor: pointer;
}

/* Hero */
.hero {
  padding: 72px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.3rem, 4.6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  max-width: 13ch;
}

.hero p {
  margin: 0;
  max-width: 62ch;
  font-size: 1.08rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(244,247,251,0.96));
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}

.hero-panel h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.hero-panel p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--muted);
}

.hero-panel-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.hero-panel-list li {
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--primary-soft);
  font-weight: 500;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: #1f2937;
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--line);
}

.btn-secondary:hover {
  background: var(--bg-soft);
}

/* Sections */
.section {
  padding: 72px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section h2 {
  margin: 0 0 10px;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.lead {
  margin: 0;
  max-width: 72ch;
  color: var(--muted);
  font-size: 1.04rem;
}

/* Cards */
.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  line-height: 1.2;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.card-icon {
  display: none;
}

/* Contact */
.contact-box {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 28px;
  align-items: center;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-box p {
  margin: 0;
  color: var(--muted);
}

.contact-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

/* Footer */
.site-footer {
  padding: 26px 0 34px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  height: 28px;
  width: auto;
}

.footer-copy {
  color: var(--muted);
  font-size: 0.94rem;
}

/* Utilities */
.muted {
  color: var(--muted);
}

/* Responsive */
@media (max-width: 1080px) {
  .hero-grid,
  .contact-box,
  .cards-4,
  .cards-3 {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid > :first-child,
  .contact-box > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: auto;
  }

  .site-header {
    position: sticky;
  }

  .header-inner {
    min-height: unset;
    padding: 14px 0;
    flex-wrap: wrap;
    justify-content: center;
  }

  .brand {
    width: 100%;
    justify-content: center;
  }

  .nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px 20px;
    margin-left: 0;
  }

  .header-actions {
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding: 54px 0 42px;
  }

  .hero-grid,
  .cards-4,
  .cards-3,
  .contact-box,
  .footer-inner {
    grid-template-columns: 1fr;
    display: grid;
  }

  .footer-inner {
    gap: 12px;
    text-align: center;
    justify-items: center;
  }

  .hero h1 {
    max-width: 100%;
  }

  .section {
    padding: 56px 0;
  }

  .section-head {
    margin-bottom: 22px;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .hero h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .eyebrow {
    font-size: 0.8rem;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .card,
  .hero-panel,
  .contact-box {
    padding: 20px;
  }
}