﻿:root {
  color-scheme: light;
  --bg: #f6f7fb;
  --bg-soft: #edf0fc;
  --surface: #ffffff;
  --surface-alt: #f2f4fc;
  --text: #141620;
  --muted: #535a74;
  --line: #d4d9ef;
  --accent: #6340ff;
  --accent-strong: #4a24e8;
  --accent-soft: #7e66ff;
  --accent-glow: rgba(99, 64, 255, 0.18);
  --ok: #1bbb8a;
  --warn: #f5a623;
  --err: #f44b4b;
  --header-bg: rgba(246, 247, 251, 0.82);
  --accent-line: rgba(99, 64, 255, 0.2);
  --icon-bg: rgba(99, 64, 255, 0.12);
  --card-bg: #ffffff;
  --field-bg: #ffffff;
  --btn-text: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(30,34,70,0.07);
  --shadow: 0 12px 32px rgba(30,34,70,0.11);
  --shadow-lg: 0 24px 56px rgba(30,34,70,0.14);
  --hero-grad: rgba(99,64,255,0.12);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0a0c10;
    --bg-soft: #0f1119;
    --surface: #161924;
    --surface-alt: #1c2030;
    --text: #edf0f8;
    --muted: #8d95ad;
    --line: #272d3f;
    --accent: #8b76ff;
    --accent-strong: #6a52ff;
    --accent-soft: #b0a2ff;
    --accent-glow: rgba(139, 118, 255, 0.14);
    --ok: #5de2b4;
    --warn: #f7c05a;
    --err: #f87070;
    --header-bg: rgba(10,12,16,0.78);
    --accent-line: rgba(139,118,255,0.18);
    --icon-bg: rgba(139,118,255,0.13);
    --card-bg: #161924;
    --field-bg: rgba(10,12,16,0.7);
    --btn-text: #07080d;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.24);
    --shadow: 0 12px 32px rgba(0,0,0,0.32);
    --shadow-lg: 0 24px 56px rgba(0,0,0,0.42);
    --hero-grad: rgba(139,118,255,0.09);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 110px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Sora", "Segoe UI", sans-serif;
  line-height: 1.65;
}

h1, h2, h3 {
  margin-top: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  letter-spacing: -0.01em;
}

a { color: inherit; }
p { margin: 0 0 0.8rem; }
p:last-child { margin-bottom: 0; }
ul { margin: 0.8rem 0 0; padding-left: 1.15rem; }
li + li { margin-top: 0.45rem; }

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.ambient-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 40% at 20% 0%, var(--hero-grad), transparent),
    radial-gradient(ellipse 40% 30% at 85% 10%, var(--accent-glow), transparent);
}

/* ─── HEADER ─────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px) saturate(1.2);
  background: var(--header-bg);
  border-bottom: 1px solid var(--accent-line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1.5rem;
}

.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  flex-shrink: 0;
}
.brand-logo {
  /* The PNG has built-in padding; negative margin crops white space */
  height: 56px;
  width: auto;
  display: block;
  object-fit: contain;
  margin: -10px -6px -10px -14px;
  /* In dark mode the white PNG bg would show — blend it away */
  mix-blend-mode: multiply;
}
@media (prefers-color-scheme: dark) {
  .brand-logo {
    mix-blend-mode: normal;
    filter: brightness(10) saturate(0) invert(0)
      drop-shadow(0 0 0 transparent);
    /* Render as white silhouette then recolor purple */
    filter: brightness(0) saturate(1) invert(1) sepia(1)
      saturate(4) hue-rotate(225deg) brightness(1.1);
  }
}
.brand-name {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand-sub {
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0;
  display: block;
  margin-top: 1px;
}

.site-nav {
  display: flex;
  gap: 1.6rem;
}
.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.site-nav a:hover, .site-nav a:focus-visible { color: var(--text); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  display: inline-flex;
  gap: 0.2rem;
  padding: 0.18rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.lang-link {
  text-decoration: none;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--muted);
  padding: 0.26rem 0.52rem;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}
.lang-link.active {
  background: var(--accent);
  color: var(--btn-text);
}

/* ─── BUTTONS ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  padding: 0.72rem 1.4rem;
  background: var(--accent);
  color: var(--btn-text);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform 0.22s ease, filter 0.22s ease, box-shadow 0.22s ease;
  box-shadow: 0 4px 16px var(--accent-glow);
}
.btn:hover, .btn:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
  box-shadow: none;
}
.btn-outline:hover, .btn-outline:focus-visible {
  border-color: var(--accent-soft);
  box-shadow: none;
  filter: none;
}

.btn-small { padding: 0.52rem 1rem; font-size: 0.86rem; }
.btn-full { width: 100%; }

/* ─── SECTION BASE ─────────────────────────────── */
.section { padding: 6rem 0; }

.eyebrow {
  display: inline-block;
  margin: 0 0 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-soft);
  font-size: 0.74rem;
  font-weight: 600;
}

.section-heading { max-width: 680px; margin-bottom: 2.4rem; }
.section-heading.centered { text-align: center; margin: 0 auto 2.8rem; }
.section-heading h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); margin-bottom: 0.6rem; }
.section-heading p { color: var(--muted); }

/* ─── HERO ─────────────────────────────────────── */
.hero { padding: 7rem 0 5rem; }

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.72rem;
  border-radius: 999px;
  border: 1px solid var(--accent-line);
  background: var(--icon-bg);
  color: var(--accent-soft);
  font-size: 0.78rem;
  font-weight: 600;
}

.hero-copy h1 {
  font-size: clamp(1.9rem, 3.6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
}

.subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 56ch;
  line-height: 1.7;
}

.cta-row {
  display: flex;
  gap: 0.85rem;
  margin-top: 1.8rem;
  flex-wrap: wrap;
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 1.2rem;
}
.check-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 500;
}
.check-item::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ok);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23fff' stroke-width='1.6'%3E%3Cpath d='M2.5 6.5l2.5 2.5 4.5-5'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

/* Hero card */
.hero-visual { display: flex; align-items: center; justify-content: center; }

.hero-card {
  width: 100%;
  max-width: 380px;
  border-radius: var(--radius);
  border: 1px solid var(--accent-line);
  background: var(--card-bg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hcard-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  background: var(--surface-alt);
}
.hcard-dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.hcard-dot.green { background: #2dc97e; }
.hcard-dot.yellow { background: #f5a623; }
.hcard-dot.red { background: #f44b4b; }
.hcard-label { margin-left: auto; font-size: 0.78rem; color: var(--muted); font-weight: 600; }

.hcard-body { padding: 0.8rem 1rem; display: grid; gap: 0.6rem; }

.hcard-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface-alt);
}
.hcard-icon {
  width: 34px; height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.hcard-icon svg { width: 16px; height: 16px; }
.hcard-icon.web { background: rgba(99,64,255,0.12); color: var(--accent-soft); }
.hcard-icon.soft { background: rgba(29,185,255,0.12); color: #1db9ff; }
.hcard-icon.venue { background: rgba(27,187,138,0.12); color: var(--ok); }

.hcard-row > div { flex: 1; min-width: 0; }
.hcard-title { margin: 0; font-size: 0.88rem; font-weight: 600; line-height: 1.2; }
.hcard-sub { margin: 0; font-size: 0.78rem; color: var(--muted); }
.hcard-status {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: rgba(27,187,138,0.14);
  color: var(--ok);
  white-space: nowrap;
}

.hcard-footer {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1rem;
  border-top: 1px solid var(--line);
  background: var(--surface-alt);
  font-size: 0.8rem;
  color: var(--muted);
}

.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ok);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

/* ─── VALUE SECTION ──────────────────────────── */
.value-section {
  padding: 0 0 4rem;
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.value-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  background: var(--card-bg);
  box-shadow: var(--shadow-sm);
}
.value-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  background: var(--icon-bg);
  color: var(--accent-soft);
  margin-bottom: 1rem;
}
.value-icon svg { width: 22px; height: 22px; }
.value-item h3 { font-size: 1.05rem; margin-bottom: 0.45rem; }
.value-item p { color: var(--muted); font-size: 0.93rem; margin: 0; }

/* ─── SERVICES ────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  align-items: start;
}

.service-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem 1.4rem;
  background: var(--card-bg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--accent-line);
}
.service-card.featured {
  border-color: var(--accent-line);
  box-shadow: 0 0 0 1px var(--accent-line), var(--shadow);
}

.sc-badge {
  position: absolute;
  top: -12px;
  left: 1.4rem;
  padding: 0.24rem 0.7rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--btn-text);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.sc-icon {
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  margin-bottom: 0.3rem;
}
.sc-icon svg { width: 22px; height: 22px; }
.sc-icon.web { background: rgba(99,64,255,0.12); color: var(--accent-soft); }
.sc-icon.soft { background: rgba(29,185,255,0.12); color: #1db9ff; }
.sc-icon.venue { background: rgba(27,187,138,0.12); color: var(--ok); }

.service-card h3 { font-size: 1.15rem; margin-bottom: 0.1rem; }
.sc-fit { font-size: 0.82rem; color: var(--accent-soft); margin: 0; }
.service-card > p { color: var(--muted); }
.service-card ul { color: var(--muted); font-size: 0.92rem; }

.partner-note {
  font-size: 0.82rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 0.8rem;
  margin-top: 0.4rem;
}
.partner-note strong { color: var(--text); }

.sc-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.4rem;
  color: var(--accent-soft);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: gap 0.2s, color 0.2s;
}
.sc-cta:hover, .sc-cta:focus-visible { color: var(--accent); gap: 0.55rem; }

/* ─── WHY KTUS ────────────────────────────────── */
.why-section { background: var(--surface-alt); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.why-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: var(--card-bg);
}
.why-num {
  display: inline-block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-soft);
  margin-bottom: 0.7rem;
}
.why-item h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.why-item p { color: var(--muted); font-size: 0.91rem; margin: 0; }

/* ─── PROOF ───────────────────────────────────── */
.proof-section {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #fff;
}
.proof-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.proof-text .eyebrow { color: rgba(255,255,255,0.7); }
.proof-text h2 { color: #fff; font-size: clamp(1.5rem, 2.5vw, 2.2rem); }
.proof-text p { color: rgba(255,255,255,0.78); font-size: 0.96rem; margin-bottom: 1.4rem; }
.proof-text .btn-outline { border-color: rgba(255,255,255,0.4); color: #fff; }
.proof-text .btn-outline:hover { border-color: #fff; }

.proof-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.stat-card {
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem;
  background: rgba(255,255,255,0.1);
  text-align: center;
}
.stat-num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin: 0 0 0.3rem;
}
.stat-label { margin: 0; font-size: 0.82rem; color: rgba(255,255,255,0.7); }

/* ─── HOW IT WORKS ────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  counter-reset: steps;
}
.step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  background: var(--card-bg);
  position: relative;
}
.step-num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-line);
  line-height: 1;
  margin-bottom: 0.9rem;
  letter-spacing: -0.04em;
}
.step h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.step p { color: var(--muted); font-size: 0.91rem; margin: 0; }

/* ─── CTA BANNER ─────────────────────────────── */
.cta-banner { padding: 4rem 0; }
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border: 1px solid var(--accent-line);
  border-radius: var(--radius);
  padding: 2.4rem 2.8rem;
  background: var(--card-bg);
  box-shadow: var(--shadow);
}
.cta-banner-text h2 { font-size: clamp(1.4rem, 2.2vw, 2rem); margin-bottom: 0.3rem; }
.cta-banner-text p { color: var(--muted); margin: 0; }
.cta-banner-actions { display: flex; gap: 0.85rem; flex-shrink: 0; flex-wrap: wrap; }

/* ─── CONTACT ─────────────────────────────────── */
.contact-section { border-top: 1px solid var(--accent-line); }
.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: start;
}
.contact-info .eyebrow { margin-bottom: 0.6rem; }
.contact-info h2 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); margin-bottom: 0.8rem; }
.contact-info > p { color: var(--muted); font-size: 0.96rem; }

.contact-details { display: grid; gap: 0.7rem; margin-top: 1.6rem; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.contact-link:hover, .contact-link:focus-visible { color: var(--accent-soft); }
.contact-icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--icon-bg);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--accent-soft);
}
.contact-icon svg { width: 16px; height: 16px; }

.contact-form {
  display: grid;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  background: var(--card-bg);
  box-shadow: var(--shadow-sm);
}

.form-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-field { display: grid; gap: 0.35rem; }
.form-field label { font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.req { color: var(--accent-soft); }
.opt { color: var(--muted); font-weight: 400; font-size: 0.8rem; }

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--field-bg);
  color: var(--text);
  padding: 0.7rem 0.9rem;
  font: inherit;
  font-size: 0.92rem;
  transition: border-color 0.2s, outline 0.2s;
  appearance: auto;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent-line);
  outline-offset: 1px;
  border-color: var(--accent-soft);
}

.form-feedback {
  min-height: 1.2rem;
  margin: 0;
  font-size: 0.88rem;
  color: var(--accent-soft);
}

/* ─── FOOTER ──────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--accent-line);
  padding: 1.2rem 0 1.8rem;
}
.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.footer-wrap p { margin: 0; color: var(--muted); font-size: 0.88rem; }
.footer-links { display: flex; gap: 1.2rem; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 0.88rem; }
.footer-links a:hover { color: var(--text); }

/* ─── REVEAL ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ──────────────────────────────── */
@media (max-width: 1020px) {
  .services-grid,
  .why-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .proof-inner { grid-template-columns: 1fr; gap: 2rem; }
  .proof-stats { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 820px) {
  .site-nav { display: none; }
  .hero-layout,
  .contact-layout,
  .value-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .cta-banner-inner { flex-direction: column; text-align: center; }
  .cta-banner-actions { justify-content: center; }
  .section { padding: 4.5rem 0; }
  .hero { padding-top: 5rem; }
}

@media (max-width: 640px) {
  .services-grid,
  .why-grid,
  .steps-grid,
  .proof-stats,
  .form-row.two-col { grid-template-columns: 1fr; }
  .btn, .btn-small { width: 100%; }
  .cta-row { flex-direction: column; }
}