:root {
  --bg: #f3f4f6;
  --bg-soft: #eceef1;
  --text: #111111;
  --text-2: #555555;
  --text-3: #666666;
  --text-4: #8a8a8a;
  --line: rgba(0,0,0,0.08);
  --line-2: rgba(0,0,0,0.06);
  --dark: #111111;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(15,23,42,0.08);
  --shadow-2: 0 24px 56px rgba(15,23,42,0.12);
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.page-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.92), transparent 24%),
    linear-gradient(180deg, #f3f4f6, #eceef1 40%, #f4f4f5 100%);
}
.page-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  opacity: 0.35;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  z-index: 0;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(247,247,248,0.10);
  backdrop-filter: blur(0px);
  transition: all 0.5s ease;
}
.site-header.scrolled {
  border-bottom-color: rgba(0,0,0,0.10);
  background: rgba(247,247,248,0.82);
  backdrop-filter: blur(20px);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--text);
  white-space: nowrap;
}
.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(0,0,0,0.08);
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(15,23,42,0.08);
  flex-shrink: 0;
}
.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  color: var(--text-3);
}
.nav a:hover, .footer-links a:hover { color: var(--text); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.lang-switcher {
  position: relative;
}
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.78);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.3s ease;
}
.lang-toggle:hover { background: #fff; transform: translateY(-1px); }
.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 148px;
  padding: 8px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 18px;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 18px 38px rgba(15,23,42,0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.25s ease;
  backdrop-filter: blur(12px);
  z-index: 120;
}
.lang-switcher.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-option {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s ease;
}
.lang-option:hover,
.lang-option.active {
  background: rgba(17,17,17,0.06);
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.3s ease;
  cursor: pointer;
}
.btn-dark { background: var(--dark); color: #fff; border-color: var(--dark); }
.btn-dark:hover { background: #000; border-color: #000; transform: translateY(-1px); }
.btn-light { background: rgba(255,255,255,0.82); color: var(--text); border-color: rgba(0,0,0,0.10); }
.btn-light:hover { background: #fff; transform: translateY(-1px); }

.section { position: relative; z-index: 1; }
.section-pad { padding: 96px 0; }
.section-soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}
.section-head.left {
  max-width: 760px;
  margin: 0 0 36px;
  text-align: left;
}
.section-head h1,
.section-head h2,
.cta-box h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.14;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--text);
}
.section-head p,
.cta-box p {
  margin: 16px auto 0;
  max-width: 760px;
  font-size: 15px;
  line-height: 1.95;
  color: var(--text-3);
}
.section-head.left p { margin-left: 0; }

.cta-box {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #111111, #2a2a2a);
  border-color: rgba(255,255,255,0.08);
  color: #fff;
  padding: 56px 48px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.20);
}
.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: radial-gradient(rgba(255,255,255,0.14) 1px, transparent 1px);
  background-size: 24px 24px;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 840px;
}
.cta-box h2,
.cta-box p { color: #fff; }
.cta-box p { color: rgba(255,255,255,0.65); }
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, #121212, #0a0a0a);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.8fr;
  gap: 48px;
  padding: 64px 0;
}
.footer-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 18px;
}
.footer-copy,
.footer-links a,
.footer-contact div {
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255,255,255,0.55);
}
.footer-links,
.footer-contact {
  display: grid;
  gap: 10px;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1199px) {
  .nav { display: none; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .container { width: min(var(--container), calc(100% - 32px)); }
  .site-header .container { padding: 14px 0; }
  .site-header .header-actions .btn { display: none; }
  .lang-toggle { min-height: 40px; padding: 0 14px; }
  .section-pad { padding: 72px 0; }
  .hero-actions,
  .cta-actions { flex-direction: column; }
  .hero-actions .btn,
  .cta-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-box { padding-top: 40px; padding-bottom: 40px; }
}
