:root {
  --brand-black: #1a1a1a;
  --brand-orange: #ff6f00;
  --brand-orange-soft: #ff8c33;
  --brand-orange-glow: rgba(255, 111, 0, 0.35);

  --bg1: #fafafa;
  --bg2: #fff7ed;
  --bg3: #fef3e2;

  --card-bg: rgba(255, 255, 255, 0.88);
  --card-border: rgba(26, 26, 26, 0.06);
  --card-shadow: 0 18px 45px rgba(26, 26, 26, 0.1);

  --text-main: #1a1a1a;
  --text-muted: #6b7280;
  --header-bg: rgba(255, 255, 255, 0.72);
  --header-border: rgba(26, 26, 26, 0.06);
}

:root[data-theme="dark"] {
  --bg1: #0a0a0a;
  --bg2: #111111;
  --bg3: #1a1208;

  --card-bg: rgba(22, 22, 22, 0.92);
  --card-border: rgba(255, 111, 0, 0.15);
  --card-shadow: 0 26px 70px rgba(0, 0, 0, 0.85);

  --text-main: #f5f5f5;
  --text-muted: #9ca3af;
  --header-bg: rgba(10, 10, 10, 0.82);
  --header-border: rgba(255, 111, 0, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background: linear-gradient(180deg, var(--bg1) 0%, var(--bg2) 45%, var(--bg3) 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

.spot {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.32;
  animation: float 18s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}
.spot.orange {
  width: 440px; height: 440px;
  background: var(--brand-orange);
  top: -5%; right: -5%;
}
.spot.warm {
  width: 360px; height: 360px;
  background: #ffb366;
  bottom: 15%; left: -8%;
  animation-delay: 3s;
}
.spot.dark {
  width: 300px; height: 300px;
  background: var(--brand-black);
  top: 45%; left: 55%;
  opacity: 0.12;
  animation-delay: 6s;
}
@keyframes float {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-24px) scale(1.04); opacity: 0.42; }
  100% { transform: translateY(16px) scale(1.07); opacity: 0.28; }
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.logo img {
  height: 40px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav a:hover { color: var(--brand-orange); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--brand-orange);
  color: #fff;
  box-shadow: 0 8px 24px var(--brand-orange-glow);
}
.btn-primary:hover { background: var(--brand-orange-soft); }
.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--card-border);
}
.btn-outline:hover { border-color: var(--brand-orange); color: var(--brand-orange); }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  cursor: pointer;
  user-select: none;
}
.theme-icon {
  width: 18px; height: 18px;
  display: inline-flex;
  opacity: 0.4;
  color: var(--text-main);
}
:root[data-theme="light"] .theme-icon.sun,
:root[data-theme="dark"] .theme-icon.moon { opacity: 1; }
.theme-icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.6; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: 0.3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  padding: 72px 0 88px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.hero-badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-orange);
  box-shadow: 0 0 10px var(--brand-orange-glow);
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.hero h1 span { color: var(--brand-orange); }

.hero-lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.hero-stat strong {
  display: block;
  font-size: 22px;
  margin-bottom: 2px;
}
.hero-stat span {
  font-size: 13px;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
}

.hero-card {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  padding: 28px;
  position: relative;
}

.doc-preview {
  border: 1px dashed rgba(255, 111, 0, 0.35);
  border-radius: 14px;
  padding: 24px 20px;
  background: rgba(255, 111, 0, 0.04);
  margin-bottom: 20px;
}
.doc-line {
  height: 8px;
  border-radius: 4px;
  background: rgba(26, 26, 26, 0.08);
  margin-bottom: 10px;
}
:root[data-theme="dark"] .doc-line { background: rgba(255, 255, 255, 0.08); }
.doc-line.short { width: 55%; }
.doc-line.medium { width: 78%; }

.sign-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(26, 26, 26, 0.04);
  border: 1px solid var(--card-border);
}
:root[data-theme="dark"] .sign-block { background: rgba(255, 255, 255, 0.04); }

.sign-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--brand-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 20px var(--brand-orange-glow);
}
.sign-icon svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2; }

.sign-text strong { display: block; font-size: 14px; margin-bottom: 2px; }
.sign-text span { font-size: 12px; color: var(--text-muted); }

.sign-status {
  font-size: 12px;
  font-weight: 600;
  color: #16a34a;
  white-space: nowrap;
}

.hero-float {
  position: absolute;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  font-size: 12px;
  font-weight: 600;
  animation: float 14s ease-in-out infinite alternate;
}
.hero-float.top { top: -16px; right: -12px; animation-delay: 1s; }
.hero-float.bottom { bottom: -14px; left: -10px; color: var(--brand-orange); animation-delay: 4s; }

.benefits {
  padding: 0 0 96px;
}

.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}
.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.section-head p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 15px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.benefit-card {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  box-shadow: var(--card-shadow);
  padding: 32px 28px;
  transition: transform 0.25s, border-color 0.25s;
}
.benefit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 111, 0, 0.25);
}

.benefit-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: rgba(255, 111, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--brand-orange);
}
.benefit-icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.8; }

.benefit-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.benefit-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
}

.footer {
  border-top: 1px solid var(--header-border);
  padding: 28px 0 36px;
  backdrop-filter: blur(12px);
  background: var(--header-bg);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}
.footer a {
  color: var(--text-muted);
  text-decoration: none;
}
.footer a:hover { color: var(--brand-orange); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 420px; margin: 0 auto; }
  .benefits-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .burger { display: flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px;
    background: var(--header-bg);
    border-bottom: 1px solid var(--header-border);
    backdrop-filter: blur(16px);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--card-border); }
  .nav a:last-child { border-bottom: none; }
  .header-inner { position: relative; flex-wrap: wrap; }
  .header-actions .btn-primary { display: none; }
  .hero { padding: 48px 0 64px; }
  .hero-float { display: none; }
}
