/* =========================================
   VoxContract — Modern Landing CSS
   ========================================= */

:root {
  --bg: #07060d;
  --bg-2: #0d0b1a;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #ECEAF6;
  --text-muted: #9794AE;
  --text-dim: #6F6C85;

  --violet: #7C5CFF;
  --violet-2: #A78BFA;
  --cyan: #22D3EE;
  --pink: #F472B6;
  --green: #34D399;
  --orange: #FB923C;
  --red: #F87171;
  --yellow: #FACC15;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;

  --shadow: 0 20px 60px -20px rgba(124, 92, 255, 0.35);
  --shadow-soft: 0 10px 30px -15px rgba(0, 0, 0, 0.6);

  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

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

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

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

.muted { color: var(--text-muted); }

/* ===== Background layers ===== */
.bg-gradient {
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 50% at 80% 0%, rgba(124, 92, 255, 0.35), transparent 60%),
    radial-gradient(50% 40% at 0% 30%, rgba(34, 211, 238, 0.18), transparent 60%),
    radial-gradient(60% 50% at 50% 100%, rgba(244, 114, 182, 0.14), transparent 60%),
    linear-gradient(180deg, #06050c 0%, #0a0815 50%, #06050c 100%);
}
.bg-grid {
  position: fixed; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 36px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.navbar.scrolled {
  background: rgba(10, 8, 21, 0.7);
  border-bottom-color: var(--border);
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--text);
}
.logo svg { width: 22px; height: 22px; color: var(--violet-2); }
.logo strong { font-weight: 700; }

.nav-links {
  display: flex; align-items: center; gap: 28px;
  font-size: 0.93rem;
}
.nav-links a {
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:not(.btn-primary)::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:not(.btn-primary):hover::after { transform: scaleX(1); }

.menu-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 36px; height: 36px;
  flex-direction: column; justify-content: center; gap: 6px;
}
.menu-toggle span {
  display: block; width: 24px; height: 2px; background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}

/* ===== Language switcher ===== */
.lang-switcher {
  position: relative;
  display: inline-flex;
}
.lang-current {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.lang-current:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
}
.lang-current svg {
  width: 16px; height: 16px;
  color: var(--violet-2);
}
.lang-current .chev {
  width: 14px; height: 14px;
  color: var(--text-muted);
  transition: transform 0.25s ease;
}
.lang-switcher.open .lang-current .chev { transform: rotate(180deg); }
.lang-switcher.open .lang-current {
  border-color: rgba(124, 92, 255, 0.4);
  background: var(--surface-2);
}

.lang-menu {
  list-style: none;
  margin: 0;
  padding: 6px;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 180px;
  background: rgba(14, 11, 30, 0.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  box-shadow: 0 25px 50px -20px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 60;
}
.lang-switcher.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-menu li {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.92rem;
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.lang-menu li:hover { background: rgba(124, 92, 255, 0.12); }
.lang-menu li.active {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.22), rgba(34, 211, 238, 0.12));
  color: var(--text);
}
.lang-menu li.active::after {
  content: '';
  margin-left: auto;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet-2), var(--cyan));
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.18);
}
.lang-menu .flag {
  font-size: 1.1rem;
  line-height: 1;
}

/* ===== Buttons ===== */
.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.25s;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--violet) 0%, #5C8CFF 100%);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 25px 70px -20px rgba(124, 92, 255, 0.6);
}
.btn-primary svg { width: 18px; height: 18px; }
.btn-primary.small { padding: 9px 18px; font-size: 0.88rem; }
.btn-primary.large { padding: 16px 28px; font-size: 1rem; }

.btn-ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.btn-ghost.large { padding: 16px 28px; }

/* ===== HERO ===== */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 36px 120px;
  min-height: calc(100vh - 80px);
}

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.gradient-text {
  background: linear-gradient(135deg, var(--violet-2) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: 1.12rem;
  max-width: 540px;
  margin: 16px 0 32px;
}

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

.hero-stats {
  display: flex; gap: 48px;
  border-top: 1px solid var(--border);
  padding-top: 28px;
}
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  color: var(--text);
}
.hero-stats span {
  font-size: 0.82rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ===== Hero visual ===== */
.hero-visual {
  position: relative;
  height: 520px;
  display: flex; align-items: center; justify-content: center;
}

.orb {
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--violet) 0%, transparent 60%),
              radial-gradient(circle at 70% 70%, var(--cyan) 0%, transparent 60%);
  filter: blur(60px);
  opacity: 0.55;
  animation: orbFloat 8s ease-in-out infinite;
}
@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.waveform {
  position: absolute;
  display: flex; align-items: center; gap: 6px;
  height: 100px;
  z-index: 2;
}
.waveform span {
  display: block;
  width: 4px;
  background: linear-gradient(to bottom, var(--violet-2), var(--cyan));
  border-radius: 4px;
  animation: wave 1.4s ease-in-out infinite;
}
.waveform span:nth-child(1) { height: 18px; animation-delay: 0s; }
.waveform span:nth-child(2) { height: 32px; animation-delay: 0.05s; }
.waveform span:nth-child(3) { height: 56px; animation-delay: 0.1s; }
.waveform span:nth-child(4) { height: 80px; animation-delay: 0.15s; }
.waveform span:nth-child(5) { height: 64px; animation-delay: 0.2s; }
.waveform span:nth-child(6) { height: 40px; animation-delay: 0.25s; }
.waveform span:nth-child(7) { height: 70px; animation-delay: 0.3s; }
.waveform span:nth-child(8) { height: 90px; animation-delay: 0.35s; }
.waveform span:nth-child(9) { height: 55px; animation-delay: 0.4s; }
.waveform span:nth-child(10) { height: 30px; animation-delay: 0.45s; }
.waveform span:nth-child(11) { height: 60px; animation-delay: 0.5s; }
.waveform span:nth-child(12) { height: 85px; animation-delay: 0.55s; }
.waveform span:nth-child(13) { height: 45px; animation-delay: 0.6s; }
.waveform span:nth-child(14) { height: 25px; animation-delay: 0.65s; }
.waveform span:nth-child(15) { height: 50px; animation-delay: 0.7s; }
.waveform span:nth-child(16) { height: 75px; animation-delay: 0.75s; }
.waveform span:nth-child(17) { height: 35px; animation-delay: 0.8s; }
.waveform span:nth-child(18) { height: 60px; animation-delay: 0.85s; }
.waveform span:nth-child(19) { height: 28px; animation-delay: 0.9s; }
.waveform span:nth-child(20) { height: 18px; animation-delay: 0.95s; }
@keyframes wave {
  0%, 100% { transform: scaleY(0.4); opacity: 0.6; }
  50% { transform: scaleY(1); opacity: 1; }
}

.hero-card {
  position: absolute;
  bottom: 0;
  width: 100%;
  max-width: 380px;
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(20, 17, 38, 0.7);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 12px;
  z-index: 3;
  animation: cardFloat 6s ease-in-out infinite;
}
@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-card-row {
  display: flex; align-items: center; gap: 10px;
}
.hero-card-row.right { flex-direction: row-reverse; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 0.82rem;
  flex-shrink: 0;
}
.avatar.a1 { background: linear-gradient(135deg, var(--violet), var(--pink)); color: #fff; }
.avatar.a2 { background: linear-gradient(135deg, var(--cyan), var(--green)); color: #051; }
.bubble {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.86rem;
  color: var(--text);
}
.bubble.alt {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.25), rgba(34, 211, 238, 0.15));
  border-color: rgba(124, 92, 255, 0.35);
}
.hero-card-status {
  display: flex; align-items: center; gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-muted);
}
.status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

/* ===== Sections ===== */
.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 100px 36px;
  position: relative;
}
.section.alt { padding: 120px 36px; }
.section.alt::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent, rgba(124, 92, 255, 0.04), transparent);
  pointer-events: none;
  z-index: -1;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 60px;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet-2);
  margin-bottom: 14px;
}
.section-head p { font-size: 1.05rem; }

/* ===== Grids ===== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

/* ===== Cards ===== */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, transparent, transparent);
  z-index: -1;
  transition: background 0.4s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  background: var(--surface-2);
}
.card.glow:hover {
  box-shadow: 0 25px 60px -25px rgba(124, 92, 255, 0.5);
  border-color: rgba(124, 92, 255, 0.3);
}
.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 0; font-size: 0.95rem; }

.icon-box {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
}
.icon-box svg { width: 24px; height: 24px; }
.icon-box.violet { color: var(--violet-2); background: rgba(124, 92, 255, 0.12); border-color: rgba(124, 92, 255, 0.22); }
.icon-box.cyan { color: var(--cyan); background: rgba(34, 211, 238, 0.12); border-color: rgba(34, 211, 238, 0.22); }
.icon-box.green { color: var(--green); background: rgba(52, 211, 153, 0.12); border-color: rgba(52, 211, 153, 0.22); }
.icon-box.red { color: var(--red); background: rgba(248, 113, 113, 0.12); border-color: rgba(248, 113, 113, 0.22); }
.icon-box.orange { color: var(--orange); background: rgba(251, 146, 60, 0.12); border-color: rgba(251, 146, 60, 0.22); }
.icon-box.yellow { color: var(--yellow); background: rgba(250, 204, 21, 0.12); border-color: rgba(250, 204, 21, 0.22); }

/* ===== Steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
}
.step:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 92, 255, 0.3);
  background: var(--surface-2);
}
.step-num {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: transparent;
  background: linear-gradient(135deg, var(--violet-2), var(--cyan));
  -webkit-background-clip: text; background-clip: text;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { font-size: 0.9rem; margin-bottom: 0; }

/* ===== Tech section ===== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
.tech-item {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.3s, border-color 0.3s;
}
.tech-item:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}
.tech-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.18), rgba(34, 211, 238, 0.12));
  border: 1px solid rgba(124, 92, 255, 0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--violet-2);
}
.tech-icon svg { width: 22px; height: 22px; }
.tech-item h3 { font-size: 1.05rem; margin-bottom: 4px; }
.tech-item p { font-size: 0.92rem; margin-bottom: 0; }

/* Security banner */
.security-banner {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 40px;
  padding: 44px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(124, 92, 255, 0.12), rgba(34, 211, 238, 0.06));
  border: 1px solid rgba(124, 92, 255, 0.25);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.security-banner::after {
  content: '';
  position: absolute;
  right: -100px; top: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.3), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.security-banner h3 { font-size: 1.7rem; margin-bottom: 0; }
.security-banner ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.security-banner li {
  padding-left: 28px;
  position: relative;
  color: var(--text-muted);
  font-size: 0.96rem;
}
.security-banner li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.18);
}
.security-banner strong { color: var(--text); }

/* Audience cards */
.audience-card, .future-card, .value-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
}
.audience-card:hover, .future-card:hover, .value-item:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: var(--surface-2);
}
.audience-card h4, .future-card h4, .value-item h4 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}
.audience-card p, .future-card p, .value-item p {
  font-size: 0.92rem;
  margin-bottom: 0;
}
.future-card .icon-box { margin-bottom: 18px; }

.value-item {
  padding: 32px;
}
.value-item h4 {
  font-size: 1.2rem;
  background: linear-gradient(135deg, var(--violet-2), var(--cyan));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  display: inline-block;
}

/* ===== CTA ===== */
.cta {
  padding: 100px 36px;
  max-width: var(--container);
  margin: 0 auto;
}
.cta-inner {
  background:
    radial-gradient(circle at 0% 0%, rgba(124, 92, 255, 0.5), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(34, 211, 238, 0.3), transparent 60%),
    linear-gradient(135deg, #1A1530, #0E0B1F);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 80px 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
}
.cta-inner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}
.cta-inner p {
  font-size: 1.1rem;
  max-width: 540px;
  margin: 0 auto 36px;
}
.cta-actions {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.price-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
}
.price-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  background: var(--surface-2);
}
.price-card.featured {
  background:
    linear-gradient(180deg, rgba(124, 92, 255, 0.10), rgba(124, 92, 255, 0.02)),
    var(--surface);
  border-color: rgba(124, 92, 255, 0.4);
  box-shadow: 0 20px 60px -25px rgba(124, 92, 255, 0.45);
}
.price-card.featured:hover {
  border-color: rgba(124, 92, 255, 0.6);
  box-shadow: 0 25px 70px -20px rgba(124, 92, 255, 0.55);
}
.price-badge {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  padding: 6px 16px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--violet), #5C8CFF);
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 8px 24px -8px rgba(124, 92, 255, 0.7);
}
.price-head h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.price-head p {
  font-size: 0.9rem;
  margin-bottom: 24px;
  min-height: 42px;
}
.price-amount {
  display: flex; align-items: baseline; gap: 4px;
  margin-bottom: 28px;
  font-family: 'Space Grotesk', sans-serif;
}
.price-amount .currency {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
}
.price-amount .number {
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--text), var(--violet-2));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.price-amount .period {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-left: 4px;
}
.price-amount .custom {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text);
  background: linear-gradient(135deg, var(--violet-2), var(--cyan));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex; flex-direction: column;
  gap: 12px;
  flex: 1;
}
.price-features li {
  position: relative;
  padding-left: 28px;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.price-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.2), rgba(34, 211, 238, 0.15));
  border: 1px solid rgba(124, 92, 255, 0.35);
}
.price-features li::after {
  content: '';
  position: absolute;
  left: 4px; top: 11px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--violet-2);
  border-bottom: 2px solid var(--violet-2);
  transform: rotate(-45deg);
}
.btn-primary.full, .btn-ghost.full {
  width: 100%;
  justify-content: center;
}
.pricing-note {
  text-align: center;
  margin-top: 32px;
  font-size: 0.85rem;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex; flex-direction: column; gap: 12px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s;
}
.faq-item[open] {
  border-color: rgba(124, 92, 255, 0.3);
  background: var(--surface-2);
}
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  cursor: pointer;
  list-style: none;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--text);
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--violet-2); }
.faq-chev {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.3s ease, color 0.3s;
}
.faq-item[open] .faq-chev {
  transform: rotate(180deg);
  color: var(--violet-2);
}
.faq-item p {
  padding: 0 26px 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
  animation: faqOpen 0.4s ease;
}
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Contact form ===== */
.cta-inner .eyebrow { display: inline-block; margin-bottom: 14px; }
.contact-form {
  max-width: 600px;
  margin: 36px auto 24px;
  display: flex; flex-direction: column;
  gap: 16px;
  text-align: left;
  position: relative;
  z-index: 2;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field {
  display: flex; flex-direction: column;
  gap: 6px;
}
.form-field > span {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.form-field em {
  font-style: normal;
  color: var(--text-dim);
  font-weight: 400;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--violet-2);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.15);
}
.form-field input:invalid:not(:placeholder-shown),
.form-field textarea:invalid:not(:placeholder-shown) {
  border-color: rgba(248, 113, 113, 0.5);
}
.form-field textarea {
  resize: vertical;
  min-height: 110px;
  font-family: inherit;
}
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239794AE' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 44px;
}
.form-field select option {
  background: #14112b;
  color: var(--text);
}
.form-consent {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
  cursor: pointer;
}
.form-consent input[type="checkbox"] {
  margin-top: 3px;
  appearance: none;
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 5px;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s;
}
.form-consent input[type="checkbox"]:checked {
  background: linear-gradient(135deg, var(--violet), #5C8CFF);
  border-color: var(--violet);
}
.form-consent input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 5px; top: 1px;
  width: 5px; height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}
.form-consent a { color: var(--violet-2); text-decoration: underline; }
.form-consent a:hover { color: var(--cyan); }

.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.submit-btn {
  position: relative;
  align-self: center;
  margin-top: 8px;
  min-width: 220px;
}
.submit-spinner {
  display: none;
  width: 18px; height: 18px;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.submit-btn.is-loading .submit-label,
.submit-btn.is-loading .submit-arrow { display: none; }
.submit-btn.is-loading .submit-spinner { display: block; }
.submit-btn[disabled] { opacity: 0.7; cursor: not-allowed; transform: none !important; }

.form-status {
  font-size: 0.92rem;
  margin-top: 4px;
  min-height: 22px;
  text-align: center;
}
.form-status.success { color: var(--green); }
.form-status.error { color: var(--red); }

.contact-direct {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 24px 0 0;
  position: relative;
  z-index: 2;
}
.contact-direct a {
  color: var(--violet-2);
  margin-left: 6px;
  font-weight: 500;
}
.contact-direct a:hover { color: var(--cyan); text-decoration: underline; }

/* ===== Footer (updated) ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 36px 28px;
  margin-top: 40px;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}
.footer-brand .logo { margin-bottom: 14px; }
.footer-tagline {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  max-width: 320px;
}
.footer-location {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin: 0;
  display: inline-flex; align-items: center; gap: 6px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}
.footer-nav a {
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--text); }
.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 24px;
  text-align: center;
}
.footer-bottom p { margin: 0; font-size: 0.84rem; color: var(--text-dim); }

/* ===== Multi-lang content blocks ===== */
[data-lang-block] { display: none; }
html[lang="de"] [data-lang-block="de"],
html[lang="en"] [data-lang-block="en"],
html[lang="es"] [data-lang-block="es"] { display: revert; }

.legal-page {
  max-width: 780px;
  margin: 0 auto;
  padding: 60px 36px 100px;
}
.legal-page h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  margin-bottom: 8px;
}
.legal-page .last-updated {
  color: var(--text-dim);
  font-size: 0.88rem;
  margin-bottom: 48px;
}
.legal-page h2 {
  font-size: 1.35rem;
  margin: 44px 0 14px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.legal-page h2:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}
.legal-page p,
.legal-page li {
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 0.96rem;
}
.legal-page strong { color: var(--text); font-weight: 600; }
.legal-page a {
  color: var(--violet-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-page a:hover { color: var(--cyan); }
.legal-page address {
  font-style: normal;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 26px;
  margin: 16px 0;
  line-height: 1.7;
}
.legal-page address strong { display: block; margin-bottom: 4px; }
.legal-page ul {
  padding-left: 20px;
  display: flex; flex-direction: column;
  gap: 8px;
  margin: 12px 0 16px;
}

.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 28px;
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color 0.2s, transform 0.2s;
}
.back-link:hover {
  color: var(--violet-2);
  transform: translateX(-2px);
}

/* ===== 404 ===== */
.error-page {
  min-height: calc(100vh - 80px);
  display: flex; align-items: center; justify-content: center;
  padding: 80px 36px;
  text-align: center;
}
.error-page .error-content {
  max-width: 540px;
}
.error-page .error-code {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(5rem, 14vw, 9rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--violet-2), var(--cyan));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.error-page h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 14px;
}
.error-page p {
  color: var(--text-muted);
  margin-bottom: 28px;
}

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

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 28px 80px;
    min-height: auto;
  }
  .hero-visual { height: 420px; }
  .grid-3, .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .security-banner { grid-template-columns: 1fr; gap: 24px; padding: 32px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-nav { align-items: flex-start; flex-direction: row; flex-wrap: wrap; gap: 18px; }
}

@media (max-width: 720px) {
  .navbar { padding: 14px 22px; }
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(10, 8, 21, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 16px 22px;
  }
  .nav-links.open a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    width: 100%;
  }
  .nav-links.open a:last-child { border-bottom: none; }

  .nav-links.open .lang-switcher {
    width: 100%;
    padding: 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open .lang-current {
    width: 100%;
    justify-content: flex-start;
    gap: 14px;
    padding: 14px 0;
    background: transparent;
    border: none;
    border-radius: 0;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0;
  }
  .nav-links.open .lang-current:hover {
    background: transparent;
    color: var(--text);
  }
  .nav-links.open .lang-current .chev { margin-left: auto; }
  .nav-links.open .lang-menu {
    position: static;
    width: 100%;
    margin: 0 0 12px;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    transform: none;
  }

  .nav-links.open a.btn-primary {
    margin-top: 18px;
    padding: 14px 24px;
    width: 100%;
    justify-content: center;
    border-bottom: none;
  }

  .section { padding: 70px 22px; }
  .section.alt { padding: 80px 22px; }
  .cta { padding: 60px 22px; }
  .cta-inner { padding: 50px 28px; }

  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .grid-2, .grid-3, .grid-4, .tech-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .price-card { padding: 28px 24px; }
  .price-amount .number { font-size: 2.8rem; }
  .faq-item summary { padding: 18px 20px; font-size: 0.96rem; }
  .faq-item p { padding: 0 20px 20px; }
}
