:root {
  --bg: #070b14;
  --bg-alt: #0f1727;
  --text: #e8ecff;
  --muted: #aab5d6;
  --primary: #6ef1a8;
  --primary-dark: #45c17b;
  --card: #121a2c;
  --border: rgba(255, 255, 255, 0.08);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

body {
  background: radial-gradient(circle at top, rgba(110, 241, 168, 0.12), transparent 45%), var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

body.legal-body {
  background: radial-gradient(circle at top, rgba(110, 241, 168, 0.18), transparent 55%), #05070e;
}

img {
  max-width: 100%;
}

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

section, footer, header {
  padding: 4rem clamp(1.5rem, 5vw, 6rem);
}

.hero {
  padding-top: 2rem;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn {
  border-radius: 999px;
  padding: 0.85rem 1.8rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn.primary {
  background: linear-gradient(120deg, var(--primary), #b0f5d0);
  color: #04120a;
  box-shadow: 0 10px 30px rgba(110, 241, 168, 0.4);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(110, 241, 168, 0.5);
}

.hero-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.hero-note {
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.hero-card ul {
  list-style: none;
}

.hero-card li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}

.hero-card li:last-child {
  border-bottom: none;
}

.kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  background: var(--bg-alt);
}

.kpis article {
  text-align: center;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
}

.kpis h2 {
  font-size: 2.5rem;
  color: var(--primary);
}

.section-heading {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.feature-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.features article,
.testimonials figure {
  background: var(--card);
  padding: 1.75rem;
  border-radius: 1.25rem;
  border: 1px solid var(--border);
}

.features h3 {
  margin-bottom: 0.75rem;
}

.testimonials blockquote {
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--muted);
}

.cta {
  background: linear-gradient(120deg, rgba(110, 241, 168, 0.2), rgba(46, 90, 255, 0.25));
  border-radius: 2rem;
  margin: 4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  border: 1px solid var(--border);
}

.legal-cta__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.legal-link-row {
  justify-content: center;
  margin-top: 1.5rem;
}

.btn.secondary {
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.btn.secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.legal-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 4rem clamp(1.5rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.legal-hero {
  padding: 3rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(110, 241, 168, 0.15), rgba(255, 255, 255, 0.03));
  border-radius: 1.75rem;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

.legal-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(110, 241, 168, 0.25), transparent 55%);
  opacity: 0.6;
  pointer-events: none;
}

.legal-hero > * {
  position: relative;
  z-index: 1;
}

.legal-lead {
  max-width: 640px;
  margin: 0 auto;
  color: var(--muted);
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.legal-grid article {
  background: var(--card);
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.75rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.legal-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(110, 241, 168, 0.4);
}

.legal-grid h3 {
  margin-bottom: 1rem;
}

.legal-grid ul {
  margin: 0 0 1rem 1.2rem;
  color: var(--muted);
  line-height: 1.5;
}

.legal-grid li {
  margin-bottom: 0.5rem;
}


.legal-section {
  margin-bottom: 2rem;
  padding: 2.5rem;
  background: linear-gradient(160deg, rgba(7, 11, 20, 0.95), rgba(18, 26, 44, 0.95));
  border-radius: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.legal-section::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, rgba(110, 241, 168, 0.45), rgba(110, 241, 168, 0));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.legal-section h2 {
  margin-bottom: 1rem;
  font-size: 1.75rem;
  position: relative;
}

.legal-section h2 span {
  color: var(--primary);
}

.legal-section > article {
  margin-top: 1.25rem;
  padding: 1.5rem 1.75rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 7, 14, 0.6);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.legal-section p,
.legal-section li {
  color: var(--muted);
}

footer {
  background: #05070e;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  border-top: 1px solid var(--border);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-weight: 500;
}

.footer-links a {
  color: var(--muted);
}

.footer-meta {
  color: var(--muted);
  align-self: flex-end;
}

@media (min-width: 768px) {
  .hero-cta {
    flex-direction: row;
    align-items: center;
  }

  .hero-note {
    margin-left: 1rem;
  }

  .cta {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

}
