:root {
  --bg: #09090B;
  --bg-alt: #0F0F12;
  --text: #FAFAFA;
  --muted: #A1A1AA;
  --accent: #3B82F6;
  --card-bg: rgba(250, 250, 250, 0.02);
  --card-border: rgba(250, 250, 250, 0.1);
  --radius: 12px;
  --radius-sm: 6px;
  --container: 1248px;
  --section-py: 80px;
  --font: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Fade-in animation */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Header */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(9, 9, 11, 0.8); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
}
.header__inner { display: flex; align-items: center; height: 64px; gap: 32px; }
.logo { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav__link { font-size: 14px; color: var(--muted); transition: color 0.2s; }
.nav__link:hover { color: var(--text); }
.header__actions { display: flex; align-items: center; gap: 12px; }
.lang-switch {
  background: none; border: 1px solid var(--card-border); color: var(--muted);
  padding: 4px 10px; border-radius: var(--radius-sm); font-size: 12px;
  font-weight: 600; cursor: pointer; font-family: var(--font); transition: color 0.2s, border-color 0.2s;
}
.lang-switch:hover { color: var(--text); border-color: var(--text); }
.menu-toggle { display: none; background: none; border: none; color: var(--text); cursor: pointer; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: var(--radius-sm); font-size: 14px;
  font-weight: 600; font-family: var(--font); cursor: pointer;
  transition: opacity 0.2s, transform 0.2s; border: none; text-decoration: none;
}
.btn:hover { opacity: 0.9; }
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--text); color: var(--bg); }
.btn--ghost { background: transparent; border: 1px solid var(--card-border); color: var(--text); }
.btn--sm { padding: 8px 16px; font-size: 13px; }

/* Hero */
.hero { padding: 160px 0 var(--section-py); text-align: center; }
.hero__badge {
  display: inline-block; padding: 6px 16px; border-radius: 100px;
  border: 1px solid var(--card-border); font-size: 13px; color: var(--accent);
  font-weight: 500; margin-bottom: 24px;
}
.hero__title {
  font-size: clamp(36px, 6vw, 72px); font-weight: 700; line-height: 1.08;
  letter-spacing: -0.03em; max-width: 800px; margin: 0 auto 24px;
}
.hero__subtitle {
  font-size: clamp(16px, 2vw, 20px); color: var(--muted); max-width: 600px;
  margin: 0 auto 40px; line-height: 1.6;
}
.hero__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Sections */
.section { padding: var(--section-py) 0; }
.section--alt { background: var(--bg-alt); }
.section__title {
  font-size: clamp(28px, 4vw, 48px); font-weight: 700; text-align: center;
  letter-spacing: -0.02em; margin-bottom: 16px;
}
.section__subtitle {
  font-size: 18px; color: var(--muted); text-align: center;
  max-width: 600px; margin: 0 auto 56px;
}

/* Cards */
.card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 32px;
  transition: border-color 0.3s;
}
.card:hover { border-color: rgba(250, 250, 250, 0.2); }
.card__icon { color: var(--accent); margin-bottom: 16px; }
.card__title { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.card__text { font-size: 15px; color: var(--muted); line-height: 1.6; }

/* Features grid */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.features-grid .card:nth-child(4),
.features-grid .card:nth-child(5) {
  grid-column: span 1;
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step { text-align: center; }
.step__number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--accent); color: var(--accent);
  font-size: 20px; font-weight: 700; margin-bottom: 20px;
}
.step__title { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.step__text { font-size: 15px; color: var(--muted); }

/* Use cases grid */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* About */
.about-content {
  max-width: 720px; margin: 0 auto; text-align: center;
  font-size: 17px; color: var(--muted); line-height: 1.7;
}
.about-content strong { color: var(--text); }

/* Trust */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trust-item {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 24px;
}
.trust-item svg { flex-shrink: 0; color: var(--accent); }
.trust-item p { font-size: 15px; color: var(--muted); }

/* Footer */
.footer { border-top: 1px solid var(--card-border); padding: 40px 0; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer__brand { display: flex; align-items: center; gap: 16px; }
.footer__contact a { font-size: 14px; color: var(--muted); transition: color 0.2s; }
.footer__contact a:hover { color: var(--text); }
.footer__links { display: flex; gap: 24px; }
.footer__links a { font-size: 14px; color: var(--muted); transition: color 0.2s; }
.footer__links a:hover { color: var(--text); }
.footer__copy { font-size: 13px; color: var(--muted); width: 100%; text-align: center; margin-top: 16px; }

/* Mobile */
@media (max-width: 768px) {
  :root { --section-py: 56px; }
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute;
    top: 64px; left: 0; right: 0; background: rgba(9, 9, 11, 0.95);
    backdrop-filter: blur(12px); padding: 24px; gap: 16px;
    border-bottom: 1px solid var(--card-border);
  }
  .menu-toggle { display: block; }
  .header__actions .btn { display: none; }
  .features-grid, .cases-grid, .trust-grid, .steps { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__brand { flex-direction: column; }
  .footer__links { justify-content: center; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
}

.about-clarification { margin-top: 16px; color: var(--muted); font-style: italic; }
