/* ==========================================================================
   SVKonzept — Design System (Web 3.0 / Glassmorphism Dark Theme)
   ========================================================================== */

:root {
  /* Base palette — derived from logo grey + trustworthy tech gradient */
  --bg-0: #0a0d14;
  --bg-1: #0e131d;
  --bg-2: #131a26;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.18);

  --text-hi: #f3f5f9;
  --text-mid: #b7c0d1;
  --text-low: #78849c;

  --brand-grey: #4d4d4d;

  --accent-1: #4f7cff;   /* electric blue  */
  --accent-2: #7c5cff;   /* violet         */
  --accent-3: #12d8c4;   /* teal / cyan    */

  --gradient-brand: linear-gradient(120deg, var(--accent-1), var(--accent-2) 55%, var(--accent-3));
  --gradient-text: linear-gradient(100deg, #ffffff, #b9c6ff 45%, #7ee8dc);

  --shadow-glow: 0 0 0 1px rgba(255,255,255,0.06), 0 20px 60px -20px rgba(79, 124, 255, 0.35);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(1100px 600px at 15% -10%, rgba(79,124,255,0.16), transparent 60%),
    radial-gradient(900px 500px at 100% 10%, rgba(18,216,196,0.10), transparent 55%),
    var(--bg-0);
  color: var(--text-mid);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  color: var(--text-hi);
  font-family: "Space Grotesk", "Inter", sans-serif;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { padding-left: 1.2em; }

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

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-3);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gradient-brand);
  box-shadow: 0 0 12px rgba(79,124,255,0.9);
}

/* ---------------- Background canvas (data-flow network) ---------------- */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.55;
  pointer-events: none;
}

/* ---------------- Header / Nav ---------------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px) saturate(140%);
  background: rgba(10, 13, 20, 0.55);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 20px;
  color: var(--text-hi);
}

.brand-badge {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(160deg, #5a5a5a, #333741 70%);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  letter-spacing: -0.03em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 6px 18px -6px rgba(0,0,0,0.6);
}

.brand small {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--text-low);
  letter-spacing: 0.04em;
  margin-top: 1px;
}

nav.links {
  display: flex;
  align-items: center;
  gap: 8px;
}
nav.links a {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-mid);
  transition: color .2s ease, background .2s ease;
}
nav.links a:hover { color: var(--text-hi); background: var(--surface); }
nav.links a.cta {
  color: #fff;
  background: var(--gradient-brand);
  font-weight: 600;
  box-shadow: 0 8px 24px -8px rgba(79,124,255,0.6);
}
nav.links a.cta:hover { filter: brightness(1.08); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 42px; height: 42px;
  color: var(--text-hi);
  font-size: 18px;
  cursor: pointer;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #fff;
  background: var(--gradient-brand);
  box-shadow: 0 12px 34px -10px rgba(79,124,255,0.55);
}
.btn-primary:hover { filter: brightness(1.07); }
.btn-ghost {
  color: var(--text-hi);
  background: var(--surface);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--surface-strong); }

/* ---------------- Sections / Hero ---------------- */
main { position: relative; z-index: 1; }

section { padding: 120px 0; position: relative; }
section.tight { padding: 90px 0; }

.hero {
  padding-top: 120px;
  padding-bottom: 100px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  max-width: 900px;
  margin: 0 auto 22px;
}
.hero .lead {
  max-width: 660px;
  margin: 0 auto 40px;
  font-size: 18px;
  color: var(--text-mid);
}
.hero-actions {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 720px;
  margin: 0 auto;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero-stats div {
  background: var(--bg-1);
  padding: 26px 14px;
  text-align: center;
}
.hero-stats .num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-hi);
}
.hero-stats .num span { color: var(--accent-3); }
.hero-stats .label {
  font-size: 13px;
  color: var(--text-low);
  margin-top: 4px;
}

/* ---------------- Glass card ---------------- */
.card {
  background: linear-gradient(160deg, var(--surface-strong), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px;
  backdrop-filter: blur(10px);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(400px 160px at 0% 0%, rgba(79,124,255,0.14), transparent 60%);
  opacity: 0;
  transition: opacity .3s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-glow);
}
.card:hover::before { opacity: 1; }

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }

/* ---------------- Products grid ---------------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.icon-tile {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--gradient-brand);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  font-size: 24px;
  box-shadow: 0 10px 30px -10px rgba(79,124,255,0.6);
}
.card h3 { font-size: 20px; }
.card .tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag {
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--text-low);
}

/* ---------------- Process / How it works ---------------- */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.flow-step {
  position: relative;
  padding: 28px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}
.flow-step .n {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--accent-3);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.flow-step h4 { font-size: 16px; margin-bottom: 8px; }
.flow-step p { font-size: 14px; margin: 0; color: var(--text-low); }

/* ---------------- About / Team ---------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-grid .badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 13px; color: var(--text-mid);
}

.team-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.person-card {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 26px;
}
.avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(160deg, #3a3f4b, #1c2027);
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: var(--text-hi);
  margin-bottom: 16px;
}
.person-card h4 { margin-bottom: 2px; font-size: 17px; }
.person-card .role { font-size: 13px; color: var(--accent-3); margin-bottom: 12px; }
.person-card p { font-size: 14px; color: var(--text-low); }

/* ---------------- Contact ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.contact-list li {
  display: flex; align-items: center; gap: 14px;
  font-size: 15px; color: var(--text-mid);
}
.contact-list .ico {
  width: 40px; height: 40px; flex: none;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.contact-list a:hover { color: var(--text-hi); }

form.contact-form { display: grid; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; color: var(--text-low); font-weight: 500; }
.field input, .field textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  color: var(--text-hi);
  font-family: inherit;
  font-size: 14.5px;
  resize: vertical;
  transition: border-color .2s ease, background .2s ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent-1);
  background: rgba(79,124,255,0.06);
}
.form-note { font-size: 12.5px; color: var(--text-low); margin-top: 4px; }

/* ---------------- CTA banner ---------------- */
.cta-banner {
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(600px 260px at 50% 0%, rgba(79,124,255,0.22), transparent 70%),
    var(--bg-2);
}
.cta-banner h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.cta-banner .btn { margin-top: 18px; }

/* ---------------- Footer ---------------- */
footer.site {
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-grid h5 {
  color: var(--text-hi);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid ul a { color: var(--text-low); font-size: 14.5px; }
.footer-grid ul a:hover { color: var(--text-hi); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--text-low); flex-wrap: wrap; gap: 12px;
}

/* ---------------- Reveal animation ---------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------------- Legal pages ---------------- */
.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 150px 24px 120px;
}
.legal h1 { font-size: 2.2rem; margin-bottom: 8px; }
.legal .updated { color: var(--text-low); font-size: 13.5px; margin-bottom: 48px; }
.legal h2 {
  font-size: 1.25rem;
  margin-top: 44px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.legal h2:first-of-type { border-top: none; margin-top: 8px; }
.legal p, .legal li { color: var(--text-mid); font-size: 15px; }
.legal .box {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  margin: 20px 0;
}
.legal a.inline { color: var(--accent-3); border-bottom: 1px dotted rgba(18,216,196,0.4); }
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 30px; font-size: 14px; color: var(--text-low);
}
.back-link:hover { color: var(--text-hi); }

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  nav.links { position: fixed; top: 74px; left: 16px; right: 16px;
    flex-direction: column; align-items: stretch;
    background: rgba(10,13,20,0.96); border: 1px solid var(--border);
    border-radius: var(--radius-md); padding: 12px; gap: 4px;
    display: none; backdrop-filter: blur(16px);
  }
  nav.links.open { display: flex; }
  nav.links a { text-align: center; }
  .nav-toggle { display: block; }
  .hero-stats { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 80px 0; }
  .cta-banner { padding: 36px 22px; }
}
