:root{
  --bg:#0b0f14;
  --panel:#0f1621;
  --soft:#111b28;
  --text:#e9eef6;
  --muted:#a9b6c7;
  --line:rgba(255,255,255,.08);
  --brand:#7dd3fc;
  --brand2:#a78bfa;
  --ok:#34d399;
  --shadow: 0 20px 60px rgba(0,0,0,.45);
  --radius: 22px;
}

*{box-sizing:border-box}

html, body { margin: 0; }
html {  
  background: radial-gradient(1200px 600px at 20% 0%, rgba(125,211,252,.12), transparent 60%),
              radial-gradient(900px 500px at 80% 10%, rgba(167,139,250,.10), transparent 55%),
              linear-gradient(180deg, var(--bg), #070a0e 55%, #06080b);
}
/* 
html{
  scroll-padding-top: 92px; 
}

section{
  scroll-margin-top: 92px;
} */

body{
  min-height: 100vh;   
  background: transparent;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  line-height:1.55;
}

a{color:inherit; text-decoration:none}

.wrap{
  max-width:1120px;
  margin:0 auto;
  padding:0 20px;
}

.grad-text{
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.muted{color:var(--muted)}

/* NAV */
.nav{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(11,15,20,.72);
  border-bottom: 1px solid var(--line);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:20px 0;
  padding-right:20px;
  padding-left:20px;
}
.logo{display:flex; gap:10px; align-items:center; font-weight:720; letter-spacing:.2px;}
.mark{
  width:34px; height:34px; border-radius:12px;
  background: linear-gradient(135deg, rgba(125,211,252,.95), rgba(167,139,250,.95));
  box-shadow: 0 10px 28px rgba(125,211,252,.15);
}
.logo-sub{font-size:14px; color:var(--muted); line-height:1.1;}
.logo-title{font-size:16px; font-weight:820; line-height:1.1;}


.logo{
  display:flex;
  align-items:center;
}

.logo-img{
  height:64px;       /* klíčové – drží header nízký */
  width:auto;
  display:block;
}

@media (max-width: 940px){
  .logo-img{
    height:34px;
  }
}
.logo-link{
  display:flex;
  align-items:center;
}



.nav-links{display:flex; gap:18px; align-items:center}
.nav-links a{
  color:var(--muted);
  font-size:14px;
  padding:8px 10px;
  border-radius:12px;
  transition:.2s ease;
}
.nav-links a:hover{color:var(--text); background: rgba(255,255,255,.04)}

.cta{display:flex; gap:10px; align-items:center}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:16px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
  color:var(--text);
  font-weight:650;
  letter-spacing:.2px;
  transition:.2s ease;
  cursor:pointer;
  user-select:none;
}
.btn:hover{transform: translateY(-1px); background: rgba(255,255,255,.04)}
.btn.primary{
  border: 1px solid rgba(125,211,252,.35);
  background: linear-gradient(135deg, rgba(125,211,252,.20), rgba(167,139,250,.16));
  box-shadow: 0 18px 48px rgba(125,211,252,.12);
}
.btn.primary:hover{border-color: rgba(125,211,252,.55)}
.btn:active{transform: translateY(0px) scale(.99)}

.pill{
  display:inline-flex; gap:10px; align-items:center;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
  color:var(--muted);
  font-size:13px;
}
.dot{
  width:8px; height:8px; border-radius:99px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 0 0 4px rgba(125,211,252,.10);
}

/* HERO */
.hero{padding:54px 0 26px}
.hero-grid{
  display:grid; grid-template-columns: 1.15fr .85fr;
  gap:26px;
  align-items:stretch;
}
.hero h1{
  margin:14px 0 10px;
  font-size: clamp(34px, 4.1vw, 54px);
  line-height:1.05;
  letter-spacing:-.8px;
}
.hero-text{
  margin:0;
  color:var(--muted);
  font-size: clamp(16px, 1.3vw, 18px);
  max-width: 58ch;
}
.hero-actions{display:flex; gap:12px; margin-top:18px; flex-wrap:wrap}
.hero-note{margin-top:14px; color:var(--muted); font-size:13px;}

.hero-card{
  border:1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:18px;
  overflow:hidden;
  position:relative;
}
.hero-card::before{
  content:"";
  position:absolute; inset:-2px;
  background: radial-gradient(450px 220px at 30% 20%, rgba(125,211,252,.14), transparent 55%),
              radial-gradient(420px 220px at 70% 30%, rgba(167,139,250,.11), transparent 55%);
  pointer-events:none;
}
.hero-card > *{position:relative}

.hero-card-top{
  display:flex; justify-content:space-between; gap:10px; align-items:flex-start;
}
.hero-card-title{font-weight:850; font-size:18px; letter-spacing:-.2px;}
.hero-card-sub{color:var(--muted); font-size:14px; margin-top:6px;}

.stats{
  display:grid; gap:12px;
  grid-template-columns: 1fr 1fr;
  margin-top:14px;
}
.stat{
  border:1px solid var(--line);
  background: rgba(10,15,20,.5);
  border-radius:18px;
  padding:14px;
}
.stat .k{font-size:12px; color:var(--muted)}
.stat .v{font-size:18px; font-weight:750; margin-top:6px}

.hero-card-bottom{
  margin-top:12px;
  border-top:1px solid var(--line);
  padding-top:12px;
  color:var(--muted);
  font-size:13px;
}

.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
  font-size:13px;
  color:var(--muted);
}
.badge strong{color:var(--text)}

/* SECTIONS */
section{
  padding:28px 0;
  position: relative;
}

/* fallback pro starší prohlížeče */
@supports not (overflow: clip){
  section{ overflow: hidden; }
}

/* subtle separator to avoid ugly band artifacts */
.section-sep{
  height: 1px;
  margin-top: 28px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
/* subtle divider between sections */
section + section{
  border-top: 1px solid rgba(255,255,255,.04);
}


.h2{
  font-size:26px;
  margin:0 0 8px;
  letter-spacing:-.3px;
}
.lead{color:var(--muted); margin:0; max-width:70ch}

.grid-3{
  display:grid; gap:14px;
  grid-template-columns: repeat(3, 1fr);
  margin-top:14px;
}
.card{
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
  border-radius: var(--radius);
  padding:18px;
}
.card h3{margin:0 0 8px; font-size:16px}
.card p{margin:0; color:var(--muted); font-size:14px}

.icon{
  width:38px; height:38px; border-radius:16px;
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, rgba(125,211,252,.16), rgba(167,139,250,.12));
  border:1px solid rgba(255,255,255,.08);
  margin-bottom:10px;
}

.split{
  display:grid; grid-template-columns: 1fr 1fr;
  gap:14px;
  align-items:start;
}

.list{
  margin:14px 0 0;
  padding:0;
  list-style:none;
  display:grid;
  gap:10px;
}
.li{
  display:flex; gap:10px;
  align-items:flex-start;
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
  border-radius:18px;
  padding:12px 14px;
}
.check{
  width:18px; height:18px; border-radius:6px;
  background: rgba(52,211,153,.15);
  border:1px solid rgba(52,211,153,.35);
  margin-top:2px;
  flex:0 0 18px;
  position:relative;
}
.check:after{
  content:"";
  position:absolute;
  left:5px; top:3px;
  width:6px; height:9px;
  border-right:2px solid var(--ok);
  border-bottom:2px solid var(--ok);
  transform: rotate(40deg);
}

/* PRODUCT */
.product{
  border:1px solid rgba(125,211,252,.24);
  background: linear-gradient(180deg, rgba(125,211,252,.08), rgba(255,255,255,.02));
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  padding:18px;
  overflow:hidden;
  position:relative;
  margin-top:14px;
}
.product::after{
  content:"";
  position:absolute; inset:auto -40px -60px auto;
  width:240px; height:240px;
  background: radial-gradient(circle at 30% 30%, rgba(125,211,252,.35), transparent 60%),
              radial-gradient(circle at 70% 70%, rgba(167,139,250,.25), transparent 55%);
  border-radius:999px;
  transform: rotate(12deg);
  pointer-events:none;
}
.product > *{position:relative}

.product-grid{
  display:flex;
  gap:12px;
  justify-content:space-between;
  align-items:flex-start;
  /* flex-wrap:wrap; */
}

.badges{display:flex; gap:8px; flex-wrap:wrap; margin-bottom:10px;}
.product-title{
  font-weight:900; font-size:26px; letter-spacing:-.4px;
}
.product-desc{margin:10px 0 0; max-width:72ch;}

.mini{
  display:grid; grid-template-columns: repeat(3, 1fr);
  gap:10px;
  margin-top:12px;
}
.mini .stat{padding:12px; border-radius:18px}
.mini .v{font-size:16px}

.product-side{min-width:260px; max-width:340px; flex:1;}
.product-side-card{height:100%;}
.product-side-title{font-weight:800; font-size:16px;}
.product-side-sub{margin-top:6px; font-size:14px;}

.price-row{
  display:flex; align-items:end; justify-content:space-between;
  gap:12px; flex-wrap:wrap;
  margin-top:10px;
}
.price-label{font-size:13px;}
.price{
  font-size:30px;
  font-weight:850;
  letter-spacing:-.6px;
}
.price-note{font-size:13px;}

.product-actions{margin-top:12px; display:grid; gap:10px;}
.product-note{
  margin-top:12px;
  border-top:1px solid var(--line);
  padding-top:12px;
  color:var(--muted);
  font-size:13px;
}

/* FAQ */
.faq{margin-top:14px;}
details{
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
  border-radius:18px;
  padding:12px 14px;
}
details + details{margin-top:10px}
summary{
  cursor:pointer;
  font-weight:700;
  color:var(--text);
  list-style:none;
}
summary::-webkit-details-marker{display:none}
details p{margin:10px 0 0; color:var(--muted); font-size:14px}

/* FOOTER */
footer{
  padding:26px 0 44px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:13px;
}
.footer-inner{
  display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap;
}
.footer-title{font-weight:800; color:var(--text);}

/* RESPONSIVE */
@media (max-width: 940px){
  .hero-grid{grid-template-columns: 1fr; }
  .grid-3{grid-template-columns: 1fr; }
  .split{grid-template-columns: 1fr; }
  .mini{grid-template-columns: 1fr; }
  .nav-links{display:none}
}


/* PRODUCTS GRID */
.products-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin-top:14px;
}
.pcard{
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
  border-radius: var(--radius);
  padding:14px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.pcard .cover{
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
  border-radius: 18px;
  overflow:hidden;
}
.pcard .cover img{
  width:100%;
  display:block;
  aspect-ratio: 1/1;   /* méně vysoké */
  object-fit: cover;
}

.pcard .title{
  font-weight:850;
  letter-spacing:-.2px;
}
.pcard .meta{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.pcard .meta .badge{
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
}
.pcard .desc{
  color:var(--muted);
  font-size:14px;
}
.pcard .bottom{
  margin-top:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}
.pcard .price{
  font-size:18px;
  font-weight:850;
  letter-spacing:-.2px;
}

@media (max-width: 940px){
  .products-grid{grid-template-columns: 1fr;}
}


/* GALLERY (smarter: main + filmstrip) */
.gallery{margin-top:14px;}

.gallery-frame{
  display:grid;
  grid-template-columns: 1fr 110px; /* main + filmstrip */
  gap:10px;
  align-items:stretch;
}

.gallery-main{
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
  border-radius: 18px;
  overflow:hidden;
  /* limit size so it never dominates */
  max-height: 360px;
}

.gallery-main img{
  width:100%;
  height:100%;
  display:block;
  object-fit: contain;  /* IMPORTANT for renders/visualizations */
  background: rgba(0,0,0,.15);
}

/* vertical filmstrip */
.gallery-thumbs{
  display:flex;
  flex-direction:column;
  gap:10px;
  overflow:auto;
  padding-right:4px; /* tiny space for scrollbar */
}

.thumb{
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
  border-radius: 14px;
  overflow:hidden;
  cursor:pointer;
  transition:.15s ease;
  padding:0;
}

.thumb:hover{transform: translateY(-1px);}
.thumb.active{border-color: rgba(125,211,252,.55);}

.thumb img{
  width:100%;
  display:block;
  aspect-ratio: 1 / 1; /* small square thumbs */
  object-fit: cover;
}

.gallery-note{
  font-size:13px;
  margin-top:10px;
}

/* Mobile: stack + horizontal scroll thumbs */
@media (max-width: 940px){
  .gallery-frame{
    grid-template-columns: 1fr;
  }

  .gallery-main{
    max-height: 280px;
  }

  .gallery-thumbs{
    flex-direction:row;
    overflow-x:auto;
    overflow-y:hidden;
    padding: 2px 0;
  }

  .thumb{
    flex: 0 0 90px; /* small, consistent */
  }

  .thumb img{
    aspect-ratio: 1 / 1;
  }
}



/* CAROUSEL */
/* QUICK PRODUCT CAROUSEL */
.quick{
  padding-top: 10px;
}

.qstrip{
  display:flex;
  gap:14px;
  overflow-x:auto;
  padding:14px 2px 6px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.qstrip::-webkit-scrollbar{ height:10px; }
.qstrip::-webkit-scrollbar-thumb{
  background: rgba(255,255,255,.10);
  border-radius: 999px;
}
.qstrip::-webkit-scrollbar-track{
  background: rgba(255,255,255,.04);
  border-radius: 999px;
}

.qitem{
  flex: 0 0 260px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
  border-radius: var(--radius);
  overflow:hidden;
  scroll-snap-align: start;
  cursor:pointer;
  transition: .15s ease;
}

.qitem:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.03);
  border-color: rgba(125,211,252,.25);
}

.qcover{
  border-bottom:1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
}

.qcover img{
  width:100%;
  display:block;
  aspect-ratio: 4 / 3;  /* produktový look */
  object-fit: cover;
}

.qmeta{
  padding:12px 14px 14px;
}

.qname{
  font-weight:850;
  letter-spacing:-.2px;
  line-height:1.15;
}

.qsub{
  margin-top:6px;
  color:var(--muted);
  font-size:13px;
}

/* mobile */
@media (max-width: 940px){
  .qitem{ flex-basis: 220px; }
}
