:root {
  --bg: #0b1120;
  --panel: #0f172a;
  --muted: #94a3b8;
  --text: #e2e8f0;
  --brand: #0ea5a4;
  --brand-strong: #0f766e;
  --ring: rgba(14, 165, 164, 0.4);
}

* { box-sizing: border-box; }
html, body { height: auto; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica Neue, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: linear-gradient(180deg, #020617 0%, #0b1120 100%);
}

a { color: inherit; text-decoration: none; }
p { color: var(--muted); line-height: 1.7; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5rem; }

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2, 6, 23, 0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: white;
  font-size: 14px;
}
.brand-text { letter-spacing: 0.2px; }

.nav { display: flex; gap: 1rem; align-items: center; }
.nav a { color: var(--muted); padding: 0.5rem 0.75rem; border-radius: 8px; }
.nav a:hover { color: var(--text); background: rgba(148, 163, 184, 0.08); }

.nav-toggle { display: none; }

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 10px;
  padding: 0.6rem 1rem;
  color: var(--text);
  background: rgba(148, 163, 184, 0.06);
  transition: transform 0.06s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.button:hover { transform: translateY(-1px); }
.button--primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  border: none;
  box-shadow: 0 10px 30px -10px var(--ring);
}
.button--ghost { background: transparent; }
.button--lg { padding: 0.9rem 1.25rem; font-size: 1.05rem; }

/* Hero */
.hero {
  position: relative;
  padding: clamp(3rem, 6vw, 6rem) 0;
  background:
    radial-gradient(800px 300px at 20% 0%, rgba(14, 165, 164, 0.15), transparent 60%),
    radial-gradient(800px 300px at 80% 0%, rgba(15, 118, 110, 0.15), transparent 60%);
  box-shadow: inset 0 -1px 0 rgba(148, 163, 184, 0.08);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-copy h1 { font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: -0.02em; }
.hero-copy p { margin: 0.75rem 0 1.25rem; font-size: 1.1rem; }
.hero-ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.hero-art { position: relative; height: 320px; }
.mock {
  position: absolute;
  inset: auto 0 0 auto;
  width: clamp(220px, 40vw, 380px);
  height: 220px;
  border-radius: 16px;
  background: linear-gradient(180deg, #1f2937 0%, #0b1220 100%);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 40px 80px -30px rgba(2, 6, 23, 0.8), 0 30px 60px -30px var(--ring);
  transform: rotate(-6deg);
  animation: float 8s ease-in-out infinite;
}
.mock.delay-1 { right: 40px; bottom: 30px; transform: rotate(-3deg); animation-delay: 0.8s; }
.mock.delay-2 { right: 80px; bottom: 60px; transform: rotate(2deg); animation-delay: 1.6s; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--r, -6deg)); }
  50% { transform: translateY(-8px) rotate(var(--r, -6deg)); }
}

/* Sections */
.section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  position: relative;
  background: rgba(148, 163, 184, 0.03);
  box-shadow:
    inset 0 1px 0 rgba(148, 163, 184, 0.08),
    inset 0 -1px 0 rgba(148, 163, 184, 0.08);
}
.section.alt {
  background: rgba(148, 163, 184, 0.06);
}
.section-title { font-size: 1.75rem; margin-bottom: 1.25rem; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.feature {
  background: rgba(148, 163, 184, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 14px;
  padding: 1rem;
}
.feature-icon { font-size: 1.5rem; }
.feature h3 { margin-top: 0.25rem; font-size: 1.05rem; }
.feature p { margin: 0.25rem 0 0; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  counter-reset: step;
  padding-left: 0;
}
.steps li {
  list-style: none;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(148, 163, 184, 0.04);
}
.steps li strong { display: block; margin-bottom: 0.25rem; }
.steps li span { color: var(--muted); }

.security {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.security-point {
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(148, 163, 184, 0.04);
}

.cta { background: linear-gradient(135deg, rgba(14, 165, 164, 0.06), rgba(15, 118, 110, 0.06)); }
.cta-inner { text-align: center; }
.cta-inner p { margin: 0.25rem 0 1rem; }

/* Footer */
.site-footer { border-top: 1px solid rgba(148, 163, 184, 0.12); }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0.5rem;
}
.site-footer nav { display: flex; gap: 1rem; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }

/* Responsive */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; height: 240px; margin-bottom: 0.5rem; }
  .feature-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .security { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav { display: none; position: absolute; right: 1rem; top: 64px; flex-direction: column; background: rgba(2, 6, 23, 0.9); padding: 0.5rem; border-radius: 10px; border: 1px solid rgba(148, 163, 184, 0.12); }
  .nav.show { display: flex; }
  .nav-toggle { display: inline-flex; background: transparent; border: 1px solid rgba(148, 163, 184, 0.2); color: var(--text); padding: 0.4rem 0.5rem; border-radius: 8px; }
}


