/* =============================================================
   lasse tech — Landingpage (Neon-Redesign v2)
   Design tokens & styles. Rebuilt pixel-faithfully from handoff.
   ============================================================= */

:root {
  /* Backgrounds */
  --bg: #08090f;
  --grid: #12141f;
  --card: #0b0d15;
  --block: #0a0c14;
  --panel: #0b1420;

  /* Borders */
  --border: #1b1e2c;
  --border-soft: #1f2333;
  --border-dashed: #2b3040;
  --border-panel: #16324a;

  /* Accents */
  --cyan: #2EE6FF;
  --magenta: #FF3DBD;
  --blue: #6FA8DC;
  --lime: #9BD40A;
  --violet: #B07CFF;

  /* Text */
  --text: #e7ecf5;
  --text-2: #a9b4c7;
  --text-3: #9aa6ba;
  --text-body: #c2ccdc;
  --muted: #6f7c92;
  --muted-2: #5c6880;

  /* Type */
  --f-display: 'Space Grotesk', system-ui, sans-serif;
  --f-body: 'Hanken Grotesk', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;
  --f-brand: 'Wallpoet', var(--f-mono);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--text);
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 44px 44px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { text-decoration: none; color: var(--cyan); transition: opacity .15s ease; }
a:hover { opacity: .85; }

img, svg { display: block; }

.container { max-width: 1240px; margin: 0 auto; }

.mono { font-family: var(--f-mono); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@keyframes ltpulse { 0%,100% { opacity: .5 } 50% { opacity: .95 } }

/* skip link */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--cyan); color: var(--bg); padding: 10px 16px;
  border-radius: 8px; font-family: var(--f-mono); font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }

/* =============================== Header =============================== */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 18px 48px;
  border-bottom: 1px solid var(--border);
  background: rgba(8, 9, 15, .82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand__symbol { width: 36px; height: 36px; flex: none; }
.brand__wordmark {
  font-family: var(--f-brand);
  font-size: 22px; letter-spacing: 1px; line-height: 1;
  background: linear-gradient(92deg, var(--magenta), #22E0FF);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 5px rgba(255,61,189,.55)) drop-shadow(0 0 12px rgba(34,224,255,.45));
}

.nav { display: flex; align-items: center; gap: 26px; font-family: var(--f-mono); font-size: 14px; }
.nav__link { color: var(--text-3); }
.nav__cta {
  font-weight: 700; color: var(--bg); background: var(--cyan);
  padding: 10px 18px; border-radius: 8px;
  box-shadow: 0 0 18px rgba(46,230,255,.5);
}
.nav__cta:hover { opacity: 1; box-shadow: 0 0 24px rgba(46,230,255,.7); }

/* language switch */
.lang-switch { display: inline-flex; border: 1px solid var(--border-soft); border-radius: 8px; overflow: hidden; }
.lang-switch button {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em;
  background: transparent; color: var(--muted); border: 0; cursor: pointer;
  padding: 7px 10px; transition: color .15s ease, background .15s ease;
}
.lang-switch button[aria-pressed="true"] { color: var(--bg); background: var(--cyan); font-weight: 700; }
.lang-switch button:not([aria-pressed="true"]):hover { color: var(--text); }

/* mobile nav toggle */
.nav-toggle { display: none; background: transparent; border: 1px solid var(--border-soft);
  border-radius: 8px; padding: 8px 10px; cursor: pointer; color: var(--text); }
.nav-toggle svg { width: 18px; height: 18px; }

/* =============================== Buttons =============================== */
.btn { font-weight: 700; border-radius: 9px; display: inline-block; cursor: pointer; }
.btn--primary {
  font-size: 16px; color: var(--bg); background: var(--cyan);
  padding: 15px 28px; box-shadow: 0 0 22px rgba(46,230,255,.5); border: 0;
}
.btn--primary:hover { opacity: 1; box-shadow: 0 0 30px rgba(46,230,255,.75); }
.btn--ghost {
  font-family: var(--f-mono); font-weight: 500; font-size: 15px; color: var(--text);
  border: 1px solid var(--border-dashed); padding: 15px 24px; background: transparent;
}
.btn--ghost:hover { border-color: var(--cyan); opacity: 1; }

/* =============================== Hero =============================== */
.hero { position: relative; padding: 96px 48px 84px; overflow: hidden; }
.hero__glow { position: absolute; pointer-events: none; }
.hero__glow--cyan {
  top: -40px; right: 80px; width: 400px; height: 400px;
  background: radial-gradient(closest-side, rgba(46,230,255,.20), transparent);
  animation: ltpulse 7s ease-in-out infinite;
}
.hero__glow--magenta {
  bottom: -80px; left: 140px; width: 360px; height: 320px;
  background: radial-gradient(closest-side, rgba(255,61,189,.18), transparent);
}
.hero__inner { position: relative; max-width: 960px; margin: 0 auto; }

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 13px; color: var(--cyan);
  border: 1px solid var(--border-panel); background: var(--panel);
  border-radius: 7px; padding: 7px 13px; margin-bottom: 28px;
}
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime);
  box-shadow: 0 0 8px var(--lime); flex: none; }

.hero h1 {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(38px, 6vw, 66px); line-height: 1.08; letter-spacing: -.02em; margin: 0;
}
.hero h1 .accent { color: var(--cyan); }
.hero__sub { font-size: 20px; line-height: 1.7; color: var(--text-2); max-width: 660px; margin: 28px 0 0; }
.hero__cta { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero__platforms { font-family: var(--f-mono); font-size: 13px; color: var(--muted);
  margin-top: 32px; letter-spacing: .04em; }

/* =============================== Section headers =============================== */
.section { padding: 20px 48px 70px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 28px; flex-wrap: wrap; gap: 8px; }
.section-head h2 { font-family: var(--f-display); font-weight: 600; font-size: 34px; margin: 0; }
.section-head .tag { font-family: var(--f-mono); font-size: 13px; color: var(--muted); }

/* =============================== Products =============================== */
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.product {
  position: relative; display: block; background: var(--card);
  border: 1px solid var(--border-soft); border-radius: 14px; padding: 28px; color: inherit;
  transition: border-color .15s ease, transform .15s ease;
}
.product:hover { opacity: 1; transform: translateY(-2px); }
.product--cyan:hover { border-color: var(--cyan); }
.product--blue:hover { border-color: var(--blue); }
.product--magenta:hover { border-color: var(--magenta); }
.product--violet:hover { border-color: var(--violet); }
/* non-interactive card (no external link yet) */
.product--static { cursor: default; }
.product--static:hover { transform: none; border-color: var(--border-soft); opacity: 1; }
.product__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.product__head h3 { margin: 0; }
.chip {
  font-family: var(--f-mono); font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; line-height: 1.4;
  padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}
.chip--alpha { color: var(--lime); background: rgba(155,212,10,.10); border: 1px solid rgba(155,212,10,.45); }
.product__corner { position: absolute; left: 14px; top: 14px; width: 14px; height: 14px; }
.product--cyan .product__corner { border-left: 2px solid var(--cyan); border-top: 2px solid var(--cyan); }
.product--blue .product__corner { border-left: 2px solid var(--blue); border-top: 2px solid var(--blue); }
.product--magenta .product__corner { border-left: 2px solid var(--magenta); border-top: 2px solid var(--magenta); }
.product--violet .product__corner { border-left: 2px solid var(--violet); border-top: 2px solid var(--violet); }
.product__icon { width: 58px; height: 58px; border-radius: 14px; margin-bottom: 16px; }
.product h3 { font-family: var(--f-display); font-weight: 600; font-size: 22px; margin: 0 0 6px; }
.product__platform { font-family: var(--f-mono); font-size: 12px; margin-bottom: 12px; }
.product--cyan .product__platform { color: var(--cyan); }
.product--blue .product__platform { color: var(--blue); }
.product--magenta .product__platform { color: var(--magenta); }
.product--violet .product__platform { color: var(--violet); }
.chip--dev { color: var(--violet); background: rgba(176,124,255,.10); border: 1px solid rgba(176,124,255,.45); }
.product p { font-size: 15px; line-height: 1.6; color: var(--text-3); margin: 0; }

.more-box {
  margin-top: 16px; border: 1px dashed var(--border-dashed); border-radius: 12px;
  padding: 16px 22px; font-family: var(--f-mono); font-size: 14px; color: var(--muted);
}

/* =============================== Services + Contact =============================== */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
}
.split__services { padding: 48px 44px; border-right: 1px solid var(--border); }
.split__contact { padding: 48px 44px; background: var(--block); }
.eyebrow { font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
.eyebrow--cyan { color: var(--cyan); }
.split h2 { font-family: var(--f-display); font-weight: 600; font-size: 28px; margin: 10px 0 20px; }
.split__contact h2 { margin: 10px 0 8px; }
.services-list { display: flex; flex-direction: column; gap: 10px; font-size: 16px; color: var(--text-body); }
.split__contact p { font-size: 16px; color: var(--text-3); margin: 0 0 20px; }

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: var(--f-mono); font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.field input, .field textarea {
  font-family: var(--f-body); font-size: 15px; color: var(--text);
  background: var(--panel); border: 1px solid var(--border-panel);
  border-radius: 9px; padding: 12px 14px; width: 100%; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(46,230,255,.15);
}
.field textarea { min-height: 110px; }
/* honeypot — hidden from humans */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.form-note { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.form-note a { color: var(--text-3); }
.form-status { font-family: var(--f-mono); font-size: 14px; min-height: 20px; }
.form-status--ok { color: var(--lime); }
.form-status--err { color: var(--magenta); }
.contact-fallback { margin-top: 18px; }
.contact-mail {
  display: inline-block; font-family: var(--f-mono); font-size: 16px; color: var(--cyan);
  border: 1px solid var(--border-panel); background: var(--panel);
  padding: 14px 20px; border-radius: 9px;
}
.btn[disabled] { opacity: .5; cursor: progress; }

/* =============================== Footer =============================== */
.site-footer {
  padding: 22px 48px; border-top: 1px solid var(--border);
  font-family: var(--f-mono); font-size: 12px; color: var(--muted-2);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.site-footer a { color: var(--muted-2); }
.site-footer a:hover { color: var(--text-3); }
.site-footer nav { display: flex; gap: 16px; }

/* =============================== Legal pages =============================== */
.legal { max-width: 820px; margin: 0 auto; padding: 64px 48px 80px; }
.legal a { color: var(--cyan); }
.legal h1 { font-family: var(--f-display); font-weight: 700; font-size: clamp(30px, 4vw, 42px);
  letter-spacing: -.02em; margin: 0 0 8px; }
.legal .lead { font-family: var(--f-mono); font-size: 13px; color: var(--muted); margin: 0 0 40px; }
.legal h2 { font-family: var(--f-display); font-weight: 600; font-size: 22px; margin: 40px 0 12px; }
.legal h3 { font-family: var(--f-display); font-weight: 600; font-size: 17px; margin: 24px 0 8px; }
.legal p, .legal li { font-size: 16px; line-height: 1.7; color: var(--text-2); }
.legal ul { padding-left: 20px; }
.legal address { font-style: normal; color: var(--text); line-height: 1.7; }
.back-link { font-family: var(--f-mono); font-size: 13px; }

/* =============================== Responsive =============================== */
@media (max-width: 860px) {
  .site-header { padding: 16px 22px; }
  .nav { gap: 16px; }
  .nav__link { display: none; }
  .hero { padding: 64px 22px 60px; }
  .section { padding: 12px 22px 56px; }
  .split { grid-template-columns: 1fr; }
  .split__services { border-right: 0; border-bottom: 1px solid var(--border); }
  .site-footer { padding: 22px; }
  .legal { padding: 48px 22px 64px; }
}

@media (max-width: 560px) {
  .nav__cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav[data-open="true"] .nav__link { display: block; }
  .nav[data-open="true"] {
    position: absolute; top: 68px; right: 22px; left: 22px;
    flex-direction: column; align-items: stretch; gap: 6px;
    background: rgba(8,9,15,.97); border: 1px solid var(--border);
    border-radius: 12px; padding: 14px;
  }
  .nav[data-open="true"] .nav__cta { display: block; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__glow--cyan { animation: none; }
  .dk-shot { transition: none; }
}

/* =============================== Product page (Duktus) =============================== */
.subpage-back { font-family: var(--f-mono); font-size: 13px; color: var(--muted);
  padding: 20px 48px 0; max-width: 1240px; margin: 0 auto; }
.subpage-back a { color: var(--text-3); }
.subpage-back a:hover { color: var(--cyan); }

.dk-hero { position: relative; padding: 40px 48px 80px; overflow: hidden; }
.dk-hero__inner { position: relative; max-width: 960px; margin: 0 auto; }
.dk-hero__brand { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.dk-wordmark { font-family: var(--f-display); font-weight: 700; font-size: 56px;
  line-height: 1; letter-spacing: .005em;
  background: linear-gradient(120deg, #ff6aa0, #ff2d78 48%, #7a1ce0);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.dk-hero__icon { width: 72px; height: 72px; border-radius: 18px; flex: none;
  box-shadow: 0 0 0 1px var(--border-soft), 0 14px 38px rgba(122,28,224,.35); }
.dk-hero__badges { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.dk-hero h1 { font-family: var(--f-display); font-weight: 700;
  font-size: clamp(34px, 5vw, 54px); line-height: 1.05; letter-spacing: -.02em; margin: 0; }
.dk-hero h1 .accent {
  background: linear-gradient(92deg, var(--magenta), var(--violet), #22E0FF);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.dk-hero__sub { font-size: 19px; line-height: 1.6; color: var(--text-2); max-width: 640px; margin: 16px 0 0; }
.dk-hero__cta { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

/* Feature grid */
.dk-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.dk-feature { background: var(--card); border: 1px solid var(--border-soft);
  border-radius: 14px; padding: 24px; }
.dk-feature h3 { font-family: var(--f-display); font-weight: 600; font-size: 19px; margin: 0 0 8px; }
.dk-feature__k { font-family: var(--f-mono); font-size: 12px; color: var(--violet);
  letter-spacing: .06em; text-transform: uppercase; }
.dk-feature p { font-size: 15px; line-height: 1.6; color: var(--text-3); margin: 6px 0 0; }

/* Platforms strip */
.dk-platforms-strip { display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  border: 1px dashed var(--border-dashed); border-radius: 12px; padding: 16px 22px; margin-top: 16px; }
.dk-platforms-strip__label { font-family: var(--f-mono); font-size: 11px; color: var(--violet);
  text-transform: uppercase; letter-spacing: .08em; }
.dk-platforms-strip__list { font-family: var(--f-mono); font-size: 14px; color: var(--text-2); letter-spacing: .03em; }

/* Gallery */
.dk-gallery { border: 1px solid var(--border); border-radius: 16px;
  background: var(--block); padding: 22px; }
.dk-gallery__controls { display: flex; gap: 20px; flex-wrap: wrap; align-items: center;
  margin-bottom: 18px; }
.dk-seg { display: inline-flex; border: 1px solid var(--border-soft); border-radius: 9px; overflow: hidden; }
.dk-seg button { font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em;
  background: transparent; color: var(--muted); border: 0; cursor: pointer;
  padding: 8px 14px; transition: color .15s ease, background .15s ease; }
.dk-seg button[aria-pressed="true"] { color: var(--bg); background: var(--cyan); font-weight: 700; }
.dk-seg button:not([aria-pressed="true"]):hover { color: var(--text); }
.dk-seg__label { font-family: var(--f-mono); font-size: 11px; color: var(--muted);
  letter-spacing: .06em; text-transform: uppercase; margin-right: 10px; }
.dk-seg-group { display: inline-flex; align-items: center; }

.dk-stage { position: relative; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border-soft); background: #05060b; }
.dk-shot { width: 100%; height: auto; display: block; transition: opacity .2s ease; }

.dk-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 14px; }
.dk-thumb { position: relative; border: 1px solid var(--border-soft); border-radius: 9px;
  overflow: hidden; cursor: pointer; background: #05060b; padding: 0;
  transition: border-color .15s ease, transform .15s ease; }
.dk-thumb img { width: 100%; height: auto; display: block; }
.dk-thumb span { display: block; font-family: var(--f-mono); font-size: 11px; color: var(--text-3);
  padding: 6px 8px; text-align: center; }
.dk-thumb:hover { transform: translateY(-2px); border-color: var(--violet); }
.dk-thumb[aria-current="true"] { border-color: var(--cyan); }
.dk-thumb[aria-current="true"] span { color: var(--cyan); }

@media (max-width: 860px) {
  .subpage-back { padding: 16px 22px 0; }
  .dk-hero { padding: 28px 22px 56px; }
  .dk-hero__icon { width: 58px; height: 58px; border-radius: 15px; }
  .dk-wordmark { font-size: 42px; }
  .dk-thumbs { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .dk-thumbs { grid-template-columns: repeat(2, 1fr); }
}

/* =============================== Duktus pricing =============================== */
.dk-pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; align-items: stretch; }
.dk-plan { position: relative; display: flex; flex-direction: column; background: var(--card);
  border: 1px solid var(--border-soft); border-radius: 18px; padding: 30px 28px; }
.dk-plan--pro { border: 1.5px solid transparent;
  background: linear-gradient(var(--card), var(--card)) padding-box,
              linear-gradient(135deg, var(--magenta), var(--violet), #22E0FF) border-box;
  box-shadow: 0 0 44px rgba(176,124,255,.15); }
.dk-plan__badge { position: absolute; top: -12px; right: 22px; font-family: var(--f-mono); font-weight: 700;
  font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--bg);
  background: linear-gradient(92deg, var(--magenta), var(--violet)); padding: 5px 12px; border-radius: 20px; }
.dk-plan__k { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--violet); }
.dk-plan--pro .dk-plan__k { background: linear-gradient(92deg, var(--magenta), #22E0FF);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.dk-plan__price { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 2px; }
.dk-plan__amt { font-family: var(--f-display); font-weight: 600; font-size: 46px; line-height: 1; color: var(--text); }
.dk-plan__per { font-family: var(--f-mono); font-size: 14px; color: var(--muted); }
.dk-plan__alt { font-family: var(--f-mono); font-size: 12.5px; color: var(--cyan); margin: 4px 0 0; }
.dk-plan__lead { font-size: 15px; color: var(--text-2); margin: 18px 0 12px; }
.dk-plan__list { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 11px; }
.dk-plan__list li { position: relative; padding-left: 26px; font-size: 14.5px; line-height: 1.5; color: var(--text-3); }
.dk-plan__list li strong { color: var(--text); font-weight: 700; }
.dk-plan__list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--cyan); font-weight: 700; }
.dk-plan__list--pro li::before { color: var(--magenta); }
.dk-plan .btn { display: block; margin-top: auto; text-align: center; }
.dk-pricing__note { font-family: var(--f-mono); font-size: 12px; line-height: 1.6; color: var(--muted); margin: 18px 0 0; max-width: 760px; }
