:root {
  --bg: #0b0b10;
  --surface: #111118;
  --muted: #a1a1aa;
  --text: #e6e6eb;
  --line: #1c1c22;
  --accent: #7c3aed;
  --accent-2: #06b6d4;
  --bright: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-soft: 0 10px 30px rgba(0,0,0,.35);
}

* { box-sizing: border-box }
html, body { height: 100% }
html { scroll-behavior: smooth }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, Apple Color Emoji, Segoe UI Emoji;
  color: var(--text);
  background: radial-gradient(1000px 800px at 80% -100px, rgba(124,58,237,.12), transparent 60%), var(--bg);
  line-height: 1.6;
}

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

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

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  background: var(--surface);
  padding: 8px 12px;
  border-radius: 8px;
  outline: 2px solid var(--accent-2);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  background: rgba(11,11,16,.6);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  font-weight: 800;
  letter-spacing: -.02em;
  color: #fff;
  text-decoration: none;
}
.brand--muted { color: var(--muted) }
.brand--muted img { width: 120px; height: auto; transform: translateY(-8px) }

.primary-nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0 20px 0 0;
}
.primary-nav a { color: var(--muted); text-decoration: none }
.primary-nav a:hover { color: #fff }

.nav-toggle {
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}
.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--muted);
}
.nav-toggle-bar {
  width: 18px;
  height: 2px;
  background: currentColor;
  display: block;
  border-radius: 1px;
  transition: all 0.2s ease;
}

@media (min-width: 900px) {
  .nav-toggle { display: none }
}

.primary-nav { display: none }
.primary-nav.open { display: block }
@media (min-width: 900px) {
  .primary-nav { display: flex; align-items: center }
}

.section { padding: 80px 0; border-top: 1px solid var(--line) }
.section:first-of-type { border-top: none }
.section-head { margin-bottom: 28px }
.section h2 { margin: 0 0 8px 0; font-size: 28px }
.eyebrow { color: var(--muted); font-size: 13px; letter-spacing: .08em; text-transform: uppercase }

.hero { padding-top: 48px; padding-bottom: 0px; }
.hero-title { font-size: clamp(34px, 6vw, 60px); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 12px 0; text-align: center }
.interactive-text, .phrase-text { 
  color: #c8f5c8; 
  transition: opacity 0.6s ease-in-out; 
  display: inline-block;
  text-align: left;
  position: relative;
}

.interactive-text:not(:empty):not(.typing-complete)::after {
  content: '|';
  color: #c8f5c8;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}
.hero-subtitle-row { 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  gap: 20px; 
  margin: 0 0 24px 0; 
  flex-wrap: wrap; 
}
.hero-subtitle { margin: 0; color: var(--muted); max-width: 56ch; text-align: center }
.hero-actions { display: flex; gap: 12px; justify-content: center }
.hero .button { color: var(--accent) }

.grid { display: grid; gap: 24px }
.grid--hero { grid-template-columns: 1.1fr .9fr; align-items: center }
.grid--cards { grid-template-columns: repeat(2, 1fr) }
.grid--tools { grid-template-columns: repeat(3, 1fr) }
.grid--testimonials { grid-template-columns: repeat(3, 1fr) }
.grid--tryit { grid-template-columns: 1.1fr .9fr; align-items: start }

@media (max-width: 900px) {
  .grid--hero, .grid--cards, .grid--work, .grid--testimonials, .grid--tryit { grid-template-columns: 1fr }
  .hero-slideshow { margin-top: 40px; height: 250px }
  .hero-subtitle-row { flex-direction: column; gap: 16px }
  .hero-actions { flex-direction: column; align-items: center }
  .slideshow-container { height: 250px; max-width: 100% }
}

@media (max-width: 600px) {
  .grid--tools { grid-template-columns: 1fr }
}

.hero-slideshow { 
  position: relative; 
  height: 350px; 
  margin-top: 0px; 
  display: flex; 
  flex-direction: column;
  align-items: center;
}

.slideshow-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 350px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0f0f16;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
}

.slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.slideshow-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  transition: background 0.3s ease;
}

.dot.active {
  background: var(--accent);
}

.dot:hover {
  background: var(--muted);
}

.client-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; padding: 0; margin: 16px 0 0 0; list-style: none }
.client-row li { padding: 14px 12px; border-radius: 12px; text-align: center; color: var(--muted); background: #0f0f16; border: 1px solid var(--line) }
@media (max-width: 900px) { .client-row { grid-template-columns: repeat(3, 1fr) } }

.card { background: #0f0f16; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-soft) }
.card-icon { width: 40px; height: 40px; display: grid; place-items: center; color: #d4d4d8; background: #14141d; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 12px }
.card h3 { margin: 0 0 6px 0 }
.card p { margin: 0; color: var(--muted) }
.card ul,
.checklist { margin: 0; padding: 0; list-style: none }
.card li,
.checklist li { 
  margin-bottom: 8px; 
  color: var(--muted);
  position: relative;
  padding-left: 20px;
}
.card li:last-child,
.checklist li:last-child { margin-bottom: 0 }
.card li::before,
.checklist li::before {
  content: '•';
  color: var(--accent);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.tools-card { background: #0f0f16; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-rows: 180px auto; box-shadow: var(--shadow-soft) }
.tools-media { background: linear-gradient(135deg, rgba(124,58,237,.3), rgba(6,182,212,.25)); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: center; padding: 16px }
.tools-media--b { background: linear-gradient(135deg, rgba(6,182,212,.35), rgba(124,58,237,.3)) }
.tools-media--c { background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(6,182,212,.2)) }
.tools-media img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px }
.tools-meta { padding: 16px }
.tools-meta h3 { margin: 0 0 6px 0 }
.tools-meta p { margin: 0; color: var(--muted) }

.quote { margin: 0; padding: 16px; background: #0f0f16; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-soft) }
.quote p { margin: 0 0 8px 0; font-size: 18px }
.quote footer { color: var(--muted) }
.testimonials-copyright { 
  margin: 8px 0 -24px 0; 
  font-size: 12px; 
  color: #666; 
  text-align: right; 
}

.tryit-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px }
.stat { background: #0f0f16; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; text-align: center }
.stat-number { font-size: 28px; font-weight: 700 }
.stat-label { color: var(--muted) }

.section--cta { background: radial-gradient(800px 400px at 10% -10%, rgba(6,182,212,.2), transparent 50%), radial-gradient(800px 400px at 90% -10%, rgba(124,58,237,.2), transparent 50%) }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 16px }
.cta p { color: var(--muted) }

.site-footer { border-top: 1px solid var(--line); padding: 24px 0; color: var(--muted) }
.footer { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 16px }
.footer a { color: var(--muted); text-decoration: none }
.footer a:hover { color: #fff }

@media (max-width: 900px) {
  .cta { flex-direction: column; align-items: flex-start }
  .footer { grid-template-columns: 1fr }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: #fff;
  background: #161624;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
}
.button:hover { transform: translateY(-1px) }
.button:active { transform: translateY(0) }
.button--ghost { background: transparent }
.button--bright { background: #fff; color: #000; border-color: transparent; box-shadow: none }

.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease }
.reveal.reveal--visible { opacity: 1; transform: translateY(0) }

/* Code Block Styles */
.code-block {
  position: relative;
  background: #0f0f16;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 16px 0;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.code-block-copy {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  background: rgba(11, 11, 16, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  opacity: 0;
}

.code-block:hover .code-block-copy {
  opacity: 1;
}

.code-block-copy:hover {
  background: rgba(124, 58, 237, 0.9);
  border-color: var(--accent);
  color: #fff;
}

.code-block-copy:active {
  transform: translateY(1px);
}

.code-block-copy.copied {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  opacity: 1;
}

.code-block pre {
  margin: 0;
  padding: 16px;
  background: transparent;
  overflow-x: auto;
}

.code-block code {
  font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.5;
  color: #e6e6eb;
  white-space: pre;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important }
}

.light-link {
  color: #a8d8ff !important;
  text-decoration: underline;
  text-decoration-color: rgba(168, 216, 255, 0.3);
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.light-link:hover {
  color: #ffffff !important;
  text-decoration-color: rgba(255, 255, 255, 0.6);
}

#klaro-cookie-notice {
  background-color: #000000 !important;
}