/* Roka-Tekk Local — page styles */
:root{
  --bg: #0b0f14;
  --panel: #0f1520;
  --muted: #a7b0be;
  --text: #ffffff; /* Brighter */
  --brand: #6ac7ff;
  --accent: #74f0c0;
  --danger: #ff6a6a;
  --ring: rgba(116,240,192,.35);
  --shadow: 0 12px 40px rgba(0,0,0,0.4);
  --radius: 20px;
  
  /* Inherit glass vars from style.css or redefine for independence if needed, 
     but here we will try to reuse the vibe */
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.22);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body.lokal-body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
  color: var(--text);
  background: radial-gradient(1000px 800px at 50% 0%, #1c2536 0%, transparent 80%), var(--bg);
  line-height: 1.6;
}

/* Containers */
.lk-container {
  width: min(1160px, calc(100% - 2.5rem)); /* More breathing room */
  margin-inline: auto;
}

/* make scroll land nicely below any fixed header */
#features { scroll-margin-top: 100px; }

/* flash outline to confirm "See it in action" worked */
.pulse-highlight {
  box-shadow: 0 0 0 4px rgba(80, 150, 255, .35), 0 0 0 10px rgba(80, 150, 255, .15);
  transition: box-shadow .25s ease;
  border-radius: 16px;
}


/* --- Lightbox minimal styles --- */
.lb-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.8); /* Darker backdrop */
  display: none; opacity: 0;
  transition: opacity .2s ease;
  z-index: 1000;
  backdrop-filter: blur(5px);
}
.lb-backdrop.is-open { display: block; opacity: 1; }

.lb-modal {
  position: fixed; inset: 0;
  display: grid; place-items: center;
  z-index: 1001; pointer-events: none;
}

.lb-figure {
  max-width: 90vw; max-height: 85vh;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  border-radius: 16px; overflow: hidden;
  background: #0f141a;
  border: 1px solid var(--glass-border);
  transform: translateY(6px) scale(.98);
  opacity: 0; transition: all .2s ease;
  pointer-events: auto;
}
.lb-modal.is-open .lb-figure {
  transform: translateY(0) scale(1); opacity: 1;
}

.lb-figure img { display: block; max-width: 100%; max-height: 70vh; }

.lb-caption {
  padding: 1rem; color: #cbd5e1;
  font: 500 15px/1.4 Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.08);
}

.lb-close {
  position: absolute; top: 14px; right: 18px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff; font-size: 18px;
  padding: 8px 12px; border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s;
}
.lb-close:hover { background: rgba(255,255,255,0.2); }

.lb-nav {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: space-between;
  pointer-events: none;
}
.lb-btn {
  pointer-events: auto;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,0.1); color: #fff;
  font-size: 18px; padding: 10px 14px;
  border-radius: 10px; margin: 0 15px;
  cursor: pointer;
  transition: background 0.2s;
}
.lb-btn:hover { background: rgba(255,255,255,0.2); }

/* overlay container */
.lb {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.8);
  display: none;            /* hidden by default */
  align-items: center;
  justify-content: center;
  z-index: 3000;            /* above header/nav */
  backdrop-filter: blur(5px);
}

/* shown state (your JS toggles this) */
.lb.is-open { display: flex; }

/* the image */
#lightboxImg {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  border: 1px solid var(--glass-border);
}

/* close button */
.lb-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 26px;
  line-height: 1;
  border: 0;
  padding: 8px 14px;
  color: #fff;
  background: rgba(255,255,255,.18);
  border-radius: 10px;
  cursor: pointer;
}

/* optional: add a subtle hover zoom on thumbnails */
.feature-img img {
  transition: transform .3s ease, filter 0.3s ease;
  filter: brightness(1.05); /* Brighter */
}
.feature-img img:hover {
  transform: translateY(-4px) scale(1.03);
  filter: brightness(1.15);
}


/* Header */
.lk-nav { position: sticky; top: 0; z-index: 30; backdrop-filter: blur(20px) saturate(180%); background: rgba(11,15,20,.65); border-bottom: 1px solid var(--glass-border); }
.lk-nav .lk-container { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; }
.lk-brand { font-weight: 800; letter-spacing: .2px; text-decoration: none; color: var(--text); font-size: 1.25rem; }
.lk-navlinks { display: flex; align-items: center; gap: 1.2rem; }
.lk-navlinks a { color: var(--muted); text-decoration: none; padding: .5rem .8rem; border-radius: 12px; transition: all 0.2s; }
.lk-navlinks a.active, .lk-navlinks a:hover { color: var(--text); background: rgba(255,255,255,.1); }
.lk-signup { background: linear-gradient(180deg, var(--accent), #66d8b0); color: #081214 !important; font-weight: 700; box-shadow: 0 4px 12px rgba(116, 240, 192, 0.3); }
.lk-login { border: 1px solid rgba(255,255,255,.2); }

/* Hero */
.lk-hero { padding: 6rem 0 3rem; }
.lk-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.lk-hero__title { font-size: clamp(2.5rem, 4vw, 3.8rem); line-height: 1.05; margin: 0 0 1rem; text-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.lk-hero__tag { color: var(--muted); margin-bottom: 2rem; font-size: 1.15rem; }
.lk-cta-wrap { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.lk-trustbar { margin-top: 2rem; color: var(--muted); display: flex; align-items: center; gap: .8rem; font-size: 0.95rem; }
.lk-pulse { width: 10px; height: 10px; border-radius: 99px; background: var(--accent); box-shadow: 0 0 0 0 var(--ring); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--ring);} 70% { box-shadow: 0 0 0 14px rgba(116,240,192,0);} 100% { box-shadow: 0 0 0 0 rgba(116,240,192,0);} }

.lk-hero__visual { position: relative; min-height: 380px; display: grid; place-items: center; }
.lk-hero__img { width: 95%; max-width: 600px; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--glass-border); transform-origin: center; transition: transform .6s ease, opacity .6s ease; }
.lk-hero__img.is-front { position: relative; z-index: 2; transform: translateY(0) rotate(-1deg); }
.lk-hero__img.is-back { position: absolute; z-index: 1; transform: translate(30px, 35px) rotate(2deg) scale(.98); opacity: .8; filter: saturate(1.05) blur(.5px); }

/* Buttons */
.lk-btn {
  --padx: 1.4rem;
  --pady: .9rem;
  appearance: none; border: 0; cursor: pointer; border-radius: 999px; padding: var(--pady) var(--padx);
  font-weight: 700; letter-spacing: .2px; transition: transform .1s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; font-size: 1rem;
}
.lk-btn--primary { background: linear-gradient(180deg, var(--brand), #51a9ee); color: #081014; box-shadow: 0 6px 20px rgba(106,199,255,.3); border: 1px solid rgba(255,255,255,0.2); }
.lk-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(106,199,255,.45); }
.lk-btn--ghost { background: transparent; border: 1px solid rgba(255,255,255,.2); color: var(--text); backdrop-filter: blur(4px); }
.lk-btn--ghost:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }

/* Pains */
.lk-pains { padding: 5rem 0 3rem; }
.lk-section-title { font-size: 2rem; margin: 0 0 1.5rem; text-align: center; }
.lk-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.lk-card { 
    background: var(--glass-bg); 
    background-image: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0));
    border: 1px solid var(--glass-border); 
    border-radius: var(--radius); 
    padding: 1.5rem; 
    box-shadow: var(--shadow); 
    backdrop-filter: blur(12px);
    transition: transform 0.2s;
}
.lk-card:hover { transform: translateY(-5px); }

.lk-card h3 { margin: .8rem 0 .5rem; font-size: 1.15rem; }
.lk-ico { width: 48px; height: 48px; border-radius: 14px; background: rgba(106,199,255,.2); border: 1px solid rgba(106,199,255,.35); display: grid; place-items: center; }
.lk-ico--inventory { background: rgba(116,240,192,.18); border-color: rgba(116,240,192,.35); }
.lk-ico--ops { background: rgba(255,166,77,.18); border-color: rgba(255,166,77,.35); }

/* Solution / Showcase */
.lk-solution { padding: 4rem 0 2rem; }
.lk-solution__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 3rem; align-items: center; }
.lk-featurelist { margin: 1.5rem 0 2rem; color: var(--muted); font-size: 1.05rem; }
.lk-featurelist li { margin: .5rem 0; display: flex; align-items: center; gap: 0.5rem; }
.lk-featurelist li::before { content: "✓"; color: var(--accent); font-weight: bold; }
.lk-inline-cta { margin-top: 1rem; }

.lk-showcase { display: grid; place-items: center; margin-top: 4rem; }
.lk-showcase__stage { 
    width: 100%; max-width: 800px; aspect-ratio: 16/10; 
    position: relative; border-radius: var(--radius); overflow: hidden; 
    background: #0c1320; border: 1px solid var(--glass-border); 
    box-shadow: var(--shadow);
}
.lk-showcase__shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: showcase 12s infinite; }
.lk-showcase__shot.shot-a { animation-delay: 0s; }
.lk-showcase__shot.shot-b { animation-delay: 4s; }
.lk-showcase__shot.shot-c { animation-delay: 8s; }
@keyframes showcase {
  0%{ opacity: 0; transform: scale(1.02); }
  5%, 30%{ opacity: 1; transform: scale(1); }
  35%, 100%{ opacity: 0; transform: scale(1.02); }
}

/* How it works */
.lk-how { padding: 5rem 0 3rem; }
.lk-steps { counter-reset: step; display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.lk-steps li { 
    list-style: none; 
    background: var(--glass-bg); 
    border: 1px solid var(--glass-border); 
    border-radius: var(--radius); 
    padding: 2rem 1.5rem; 
    position: relative; 
    transition: transform 0.2s;
}
.lk-steps li:hover { transform: translateY(-4px); }
.lk-steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 12px; right: 16px; font-weight: 800; color: rgba(255,255,255,.1); font-size: 1.8rem;
}
.lk-cta-centered { display: grid; place-items: center; margin-top: 2rem; }

/* Proof */
.lk-proof { padding: 4rem 0; }
.lk-proof__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.lk-quote { font-size: 1.2rem; line-height: 1.6; margin: 0; padding: 1.5rem; background: rgba(255,255,255,.04); border: 1px solid var(--glass-border); border-radius: var(--radius); backdrop-filter: blur(10px); }
.lk-proof__imgwrap img { width: 100%; border-radius: var(--radius); border: 1px solid var(--glass-border); box-shadow: var(--shadow); transition: transform 0.3s; }
.lk-proof__imgwrap img:hover { transform: scale(1.02); }

/* Final CTA */
.lk-final-cta { padding: 4rem 0 5rem; }
.lk-final-cta__box {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: center;
  background: linear-gradient(180deg, rgba(106,199,255,.15), rgba(106,199,255,.05));
  border: 1px solid rgba(106,199,255,.3); border-radius: 26px; padding: 2.5rem; box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}
.lk-final__actions { display: grid; gap: .8rem; justify-items: start; }
.lk-terms { margin: 0; color: var(--muted); font-size: .95rem; }

/* Modal (Auth Gate) */
.lk-modal-open { overflow: hidden; }
.lk-modal[aria-hidden="true"] { display: none; }
.lk-modal[aria-hidden="false"] { display: grid; place-items: center; position: fixed; inset: 0; z-index: 1000; }
.lk-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.65); backdrop-filter: blur(5px); }
.lk-modal__panel {
  position: relative; z-index: 1; width: min(560px, 92vw);
  background: linear-gradient(180deg, rgba(15,21,32,.98), rgba(15,21,32,.96));
  border: 1px solid var(--glass-border); border-radius: 20px; padding: 2rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.55);
}
.lk-modal__close { position: absolute; top: 12px; right: 14px; background: transparent; border: 0; color: var(--muted); font-size: 1.8rem; cursor: pointer; transition: color 0.2s; }
.lk-modal__close:hover { color: #fff; }
.lk-modal__actions { display: flex; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap; }
.lk-smallprint { color: var(--muted); font-size: .9rem; margin-top: 1rem; display: block; }

/* Responsive */
@media (max-width: 980px) {
  .lk-hero__grid, .lk-solution__grid, .lk-proof__grid, .lk-final-cta__box { grid-template-columns: 1fr; gap: 2.5rem; }
  .lk-hero { padding-top: 3rem; }
  .lk-hero__img { margin: 0 auto; }
}
@media (max-width: 820px) {
  .lk-cards { grid-template-columns: 1fr; }
  .lk-steps { grid-template-columns: 1fr; }
  .lk-hero__title { font-size: 2.5rem; }
}
@media (max-width: 600px) {
    .lk-hero__title { font-size: 2rem; }
    .lk-final-cta__box { padding: 1.5rem; }
    .lk-btn { width: 100%; }
}
