:root {
  --bg: #0b0c10;
  --bg-alt: #101218;
  --surface: #15171f;
  --surface-border: #23262f;
  --text: #eef0f4;
  --text-muted: #9aa1ae;
  --accent: #6f5cff;
  --accent-2: #22d3ee;
  --accent-gradient: linear-gradient(135deg, var(--accent), var(--accent-2));
  --radius: 14px;
  --max-width: 1140px;
  --font-heading: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.2;
  margin: 0 0 .5em;
}

p { margin: 0 0 1em; color: var(--text-muted); }

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

ul { padding: 0; margin: 0; list-style: none; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(111, 92, 255, .55);
}
.btn-primary:hover { box-shadow: 0 12px 28px -8px rgba(111, 92, 255, .7); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--surface-border);
}
.btn-ghost:hover { border-color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(11, 12, 16, .75);
  border-bottom: 1px solid var(--surface-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -.01em;
}
.logo span { color: var(--accent-2); }

.main-nav {
  display: flex;
  gap: 28px;
}
.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .15s ease;
}
.main-nav a:hover { color: var(--text); }

.nav-cta { font-size: 14px; padding: 10px 20px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(circle at center, rgba(111, 92, 255, .35), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 780px;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  letter-spacing: -.02em;
  margin-bottom: 22px;
}

.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 17px;
  max-width: 620px;
  margin: 0 auto 34px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  border-top: 1px solid var(--surface-border);
  padding-top: 32px;
}
.hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-stats strong {
  font-family: var(--font-heading);
  font-size: 18px;
}
.hero-stats span {
  font-size: 13px;
  color: var(--text-muted);
}

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 12px;
}

.section h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  max-width: 620px;
}

.section-lead {
  max-width: 560px;
  font-size: 16px;
  margin-bottom: 48px;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.card-highlight {
  background: linear-gradient(160deg, rgba(111,92,255,.12), rgba(34,211,238,.05));
  border-color: rgba(111, 92, 255, .4);
}

.card-icon { font-size: 28px; margin-bottom: 14px; }

.card h3 { font-size: 19px; }

.card-badge {
  display: inline-block;
  font-size: 12.5px;
  color: var(--accent-2);
  margin: -6px 0 16px;
}

.card-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 14.5px;
  color: var(--text-muted);
}
.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-gradient);
}

/* ---------- Price table ---------- */
.price-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}

.price-table th, .price-table td {
  padding: 16px 24px;
  text-align: left;
  font-size: 15px;
  border-bottom: 1px solid var(--surface-border);
}

.price-table thead th {
  background: var(--surface);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.price-table tbody tr:last-child td { border-bottom: none; }
.price-table tbody tr:hover { background: rgba(255,255,255,.02); }

.price-table td:last-child {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--accent-2);
  white-space: nowrap;
}

.row-highlight td:first-child { color: var(--text); font-weight: 600; }

.price-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ---------- Kontakt ---------- */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info { margin-top: 24px; }

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  transition: border-color .15s ease;
}
.contact-item:hover { border-color: var(--accent); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 32px;
}

.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-muted);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--surface-border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14.5px;
  resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-submit { width: 100%; margin-top: 6px; }

.form-status {
  margin: 14px 0 0;
  font-size: 13.5px;
  min-height: 18px;
}
.form-status.success { color: var(--accent-2); }
.form-status.error { color: #ff6b6b; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--surface-border);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.footer-nav { display: flex; gap: 20px; }
.footer-nav a:hover { color: var(--text); }

/* ---------- Legal pages ---------- */
.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 100px 24px 80px;
}
.legal-page h1 { margin-bottom: 24px; }
.legal-page h2 { font-size: 20px; margin-top: 32px; }
.legal-page a { color: var(--accent-2); }
.back-link {
  display: inline-block;
  margin-bottom: 32px;
  font-size: 14px;
  color: var(--text-muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
  .kontakt-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 760px) {
  .main-nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .main-nav.open {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--surface-border);
    flex-direction: column;
    padding: 20px 24px;
    gap: 18px;
  }

  .hero { padding: 90px 0 70px; }
  .section { padding: 70px 0; }
}
