:root {
  --bg: #0b1220;
  --bg-alt: #111a2e;
  --surface: rgba(255,255,255,.04);
  --surface-border: rgba(255,255,255,.08);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --text-faint: #64748b;
  --accent: #3b82f6;
  --accent-strong: #2563eb;
  --accent-soft: rgba(59,130,246,.14);
  --success: #4ade80;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  background-image: radial-gradient(circle at 15% 0%, rgba(59,130,246,.10) 0%, transparent 45%),
                     radial-gradient(circle at 85% 15%, rgba(99,102,241,.08) 0%, transparent 45%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); transition: color .15s ease; }
a:hover { color: #60a5fa; }

h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.2; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 24px;
}

.logo {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.01em;
}
.logo:hover { color: var(--text); }

.nav-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}

.nav-links a:hover, .nav-links a.active { color: var(--text); }

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--surface-border);
  border-radius: 999px;
  padding: 4px 10px;
}

.lang-switch a {
  color: var(--text-faint);
  text-decoration: none;
  font-size: .78rem;
  font-weight: 700;
  padding: 2px 4px;
  letter-spacing: .03em;
}

.lang-switch a.active { color: var(--text); }

/* --- Buttons --- */
.btn-primary, .btn-outline {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .15s ease;
}

.btn-primary {
  background: var(--accent-strong);
  color: #fff;
  box-shadow: 0 4px 16px rgba(37,99,235,.35);
}
.btn-primary:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,99,235,.45);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--surface-border);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,.35);
  color: var(--text);
  transform: translateY(-1px);
}

/* --- Hero --- */
.hero {
  padding: 96px 0 88px;
  text-align: center;
}

.badge {
  display: inline-block;
  background: var(--accent-soft);
  border: 1px solid rgba(59,130,246,.35);
  color: #93c5fd;
  font-size: .8rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  margin: 0 0 18px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 800;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 36px;
}

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

.hero-actions .btn-primary, .hero-actions .btn-outline {
  padding: 15px 30px;
  font-size: 1rem;
}

/* --- Sections --- */
section { padding: 64px 0; }

.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  margin: 0 0 10px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 48px;
  font-size: 1.02rem;
}

/* --- Feature grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .15s ease, transform .15s ease, background .15s ease;
}

.feature-card:hover {
  border-color: rgba(59,130,246,.35);
  background: rgba(255,255,255,.05);
  transform: translateY(-2px);
}

.feature-card .icon {
  font-size: 1.4rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--accent-soft);
  margin-bottom: 16px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  font-weight: 700;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: .92rem;
}

/* --- How it works --- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  text-align: center;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-strong);
  color: #fff;
  font-weight: 700;
  margin-bottom: 14px;
  box-shadow: 0 4px 14px rgba(37,99,235,.35);
}

.step h3 { margin: 0 0 6px; font-size: 1.05rem; font-weight: 700; }
.step p { margin: 0; color: var(--text-muted); font-size: .92rem; }

/* --- CTA banner --- */
.cta-banner {
  background: linear-gradient(135deg, rgba(37,99,235,.16) 0%, rgba(99,102,241,.10) 100%);
  border: 1px solid rgba(59,130,246,.3);
  border-radius: 20px;
  padding: 56px 32px;
  text-align: center;
}

.cta-banner h2 { margin: 0 0 10px; font-size: 1.7rem; font-weight: 800; }
.cta-banner p { color: var(--text-muted); margin: 0 0 28px; }

/* --- Pricing --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card.highlight {
  border-color: var(--accent);
  background: rgba(59,130,246,.06);
  box-shadow: 0 0 0 1px rgba(59,130,246,.15), 0 12px 32px rgba(37,99,235,.18);
}

.price-card h3 { margin: 0 0 4px; font-size: 1.3rem; font-weight: 800; }

.price-card .price {
  font-size: 2.1rem;
  font-weight: 800;
  margin: 10px 0 18px;
  background: linear-gradient(135deg, #f8fafc, #93c5fd);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
}

.price-card li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: .92rem;
  color: #cbd5e1;
}
.price-card li:last-child { border-bottom: none; }

.price-card li:before { content: "✓ "; color: var(--success); font-weight: 700; }

.price-note {
  font-size: .8rem;
  color: var(--text-faint);
  margin-top: 14px;
}

/* --- FAQ --- */
.faq-item {
  border-bottom: 1px solid var(--surface-border);
  padding: 20px 0;
}
.faq-item:last-child { border-bottom: none; }

.faq-item h3 { margin: 0 0 6px; font-size: 1.05rem; font-weight: 700; }
.faq-item p { margin: 0; color: var(--text-muted); }

/* --- Forms (contact) --- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 18px;
  padding: 36px;
  max-width: 560px;
  margin: 0 auto;
}

.field { margin-bottom: 18px; }

.field label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.field input, .field textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--surface-border);
  background: rgba(255,255,255,.03);
  color: var(--text);
  font-size: .95rem;
  font-family: inherit;
  transition: border-color .15s ease, background .15s ease;
}

.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,.05);
}

.alert {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: .9rem;
  margin-bottom: 18px;
}

.alert-error {
  background: rgba(239,68,68,.12);
  border: 1px solid rgba(239,68,68,.35);
  color: #fca5a5;
}

.alert-success {
  background: rgba(34,197,94,.12);
  border: 1px solid rgba(34,197,94,.35);
  color: #86efac;
}

/* --- GDPR / static content page --- */
.content-page {
  max-width: 760px;
  margin: 0 auto;
}

.content-page h1 { margin-bottom: 24px; font-size: 1.9rem; font-weight: 800; }
.content-page p { color: var(--text-muted); }

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

.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-faint);
  font-size: .85rem;
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 18px;
  font-weight: 500;
}

.site-footer a:hover { color: var(--text); }

@media (max-width: 720px) {
  .nav-links { order: 3; width: 100%; justify-content: center; gap: 18px; }
  .nav-actions { gap: 10px; }
}

@media (max-width: 600px) {
  .hero { padding: 64px 0 56px; }
  section { padding: 48px 0; }
}
