
:root {
  --bg-1: #020705;
  --bg-2: #04100c;
  --bg-3: #071610;
  --panel: linear-gradient(180deg, rgba(10, 28, 21, 0.96) 0%, rgba(6, 17, 13, 0.98) 100%);
  --panel-soft: linear-gradient(180deg, rgba(12, 32, 24, 0.95) 0%, rgba(7, 19, 14, 0.98) 100%);
  --line: rgba(157, 226, 190, 0.10);
  --line-strong: rgba(157, 226, 190, 0.18);
  --text: #edf4ef;
  --muted: #9db0a4;
  --accent: #84e0b2;
  --accent-2: #4caf7f;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.48);
  --shadow-soft: 0 14px 34px rgba(0, 0, 0, 0.34);
  --cut-xl: 28px;
  --cut-lg: 20px;
  --cut-md: 14px;
  --cut-sm: 10px;
  --sidebar-width: 268px;
    --page-gap: 24px;
  --cta-width: 220px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 0%, rgba(35, 110, 77, 0.22), transparent 28%),
    radial-gradient(circle at 92% 10%, rgba(35, 110, 77, 0.18), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(20, 72, 52, 0.16), transparent 22%),
    linear-gradient(135deg, var(--bg-1), var(--bg-2) 45%, var(--bg-3));
  overflow-x: hidden;
}
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}
body::before {
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 85%);
  opacity: 0.28;
}
body::after {
  opacity: 0.06;
  background-image: radial-gradient(rgba(255,255,255,0.26) 0.6px, transparent 0.6px);
  background-size: 10px 10px;
  mix-blend-mode: soft-light;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { max-width: 100%; display: block; }
.page-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: var(--sidebar-width) 1fr;
  gap: var(--page-gap);
  min-height: 100vh;
  padding: var(--page-gap);
}
.sidebar { position: relative; z-index: 2; padding-top: 0; }
.main-column { min-width: 0; }
.sidebar-inner,
.topbar-inner,
.floating-cta,
.section-card,
.ai-card,
.shop-card,
.info-box,
.site-footer,
.ghost-button,
.menu-toggle,
.chat-bubble,
.chat-form input,
.chat-form button,
.faq-list details,
.product-card,
.product-media,
.nav-link,
.ai-badge {
  clip-path: polygon(
    var(--cut-md) 0,
    calc(100% - var(--cut-md)) 0,
    100% var(--cut-md),
    100% calc(100% - var(--cut-md)),
    calc(100% - var(--cut-md)) 100%,
    var(--cut-md) 100%,
    0 calc(100% - var(--cut-md)),
    0 var(--cut-md)
  );
}
.sidebar-inner,
.topbar-inner,
.section-card,
.shop-card,
.site-footer,
.ai-card,
.info-box,
.reta-panel {
  position: relative;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.sidebar-inner::before,
.topbar-inner::before,
.section-card::before,
.shop-card::before,
.ai-card::before,
.info-box::before,
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, transparent 14%, rgba(185, 255, 216, 0.018) 28%, transparent 38%);
  pointer-events: none;
}
.topbar-inner,
.section-card.hero { background: var(--panel-soft); }
.sidebar-inner {
  position: sticky;
  top: 24px;
  min-height: auto;
  padding: 20px 16px 22px;
}
.sidebar-brand {
  display: block;
  margin-bottom: 18px;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  color: var(--text);
}
.sidebar-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.sidebar-title { font-size: 1.2rem; font-weight: 700; }
.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: rgba(132, 224, 178, 0.08);
  color: var(--text);
}
.menu-toggle svg { width: 20px; height: 20px; }
.sidebar-nav { display: grid; gap: 8px; margin-bottom: 26px; }
.nav-link {
  display: block;
  padding: 14px 16px;
  color: var(--muted);
  background: transparent;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  border: 1px solid transparent;
}
.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: rgba(132, 224, 178, 0.09);
  border-color: rgba(132, 224, 178, 0.12);
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}
.ai-stack { display: grid; gap: 14px; }
.ai-stack-title {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.ai-card { padding: 16px; }
.ai-card-head { display: grid; gap: 8px; margin-bottom: 8px; }
.ai-badge {
  width: fit-content;
  padding: 6px 10px;
  background: rgba(132, 224, 178, 0.08);
  color: var(--accent);
  border: 1px solid rgba(132, 224, 178, 0.16);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.ai-card h3,
.ai-card p { margin: 0; }
.ai-card p { color: var(--muted); line-height: 1.55; }
.topbar { display: none; }
.topbar-inner {
  min-height: var(--topbar-height);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 36px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  font-weight: 600;
  letter-spacing: -0.05em;
}
.floating-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  background: linear-gradient(180deg, rgba(132, 224, 178, 0.16), rgba(76, 175, 127, 0.14));
  border: 1px solid rgba(132, 224, 178, 0.2);
  box-shadow: var(--shadow-soft);
  font-weight: 700;
  transition: transform 0.18s ease, filter 0.18s ease;
  position: relative;
  top: 20px;
}
.floating-cta:hover { transform: translateY(-1px); filter: brightness(1.03); }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.content { display: grid; gap: 22px; }
.section-card { padding: 30px; }
.hero { min-height: 340px; display: grid; align-items: center; }
.hero-copy { max-width: 820px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 10px 14px;
  color: var(--accent);
  background: rgba(132, 224, 178, 0.07);
  border: 1px solid rgba(132, 224, 178, 0.16);
  clip-path: polygon(
    var(--cut-sm) 0,
    calc(100% - var(--cut-sm)) 0,
    100% var(--cut-sm),
    100% calc(100% - var(--cut-sm)),
    calc(100% - var(--cut-sm)) 100%,
    var(--cut-sm) 100%,
    0 calc(100% - var(--cut-sm)),
    0 var(--cut-sm)
  );
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1,h2,h3,h4,p { margin-top: 0; }
h1 {
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 5.8vw, 4.85rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  max-width: 12ch;
}
h2 {
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  line-height: 1;
  letter-spacing: -0.04em;
}
h3 { font-size: 1.2rem; letter-spacing: -0.02em; }
.lead,
.hero-copy p:not(.eyebrow),
.shop-body > p,
.info-box p,
.site-footer p,
.chat-bubble,
.faq-list p {
  color: var(--muted);
  line-height: 1.7;
}
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid rgba(132, 224, 178, 0.16);
  background: rgba(132, 224, 178, 0.08);
  color: var(--text);
  font-weight: 700;
  transition: transform 0.18s ease, filter 0.18s ease, background 0.18s ease;
}
.ghost-button:hover { transform: translateY(-1px); filter: brightness(1.04); }
.ghost-button.strong {
  background: linear-gradient(180deg, rgba(132, 224, 178, 0.18), rgba(76, 175, 127, 0.16));
}
.ghost-button.is-disabled { opacity: 0.66; pointer-events: none; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.product-grid,
.shop-grid,
.info-grid { display: grid; gap: 18px; }
.product-grid { grid-template-columns: 1.1fr 0.9fr; }
.shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-card,
.compare-card { min-height: 100%; }
.shop-card { display: grid; gap: 16px; padding: 18px; }
.shop-media,
.product-media {
  min-height: 250px;
  background: #ffffff;
  border: 1px solid rgba(255,255,255,0.94);
  box-shadow: inset 0 0 0 1px rgba(12,25,20,0.06), 0 10px 28px rgba(0,0,0,0.12);
  position: relative;
  overflow: hidden;
}
.shop-media::before,
.product-media::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(12,25,20,0.06);
  clip-path: polygon(
    var(--cut-sm) 0,
    calc(100% - var(--cut-sm)) 0,
    100% var(--cut-sm),
    100% calc(100% - var(--cut-sm)),
    calc(100% - var(--cut-sm)) 100%,
    var(--cut-sm) 100%,
    0 calc(100% - var(--cut-sm)),
    0 var(--cut-sm)
  );
}
.shop-media::after,
.product-media::after {
  content: "Varsti tulekul";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 16px;
  color: #45524b;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.shop-card:nth-child(1) .shop-media::after,
.product-media::after { content: "LO26PLUS"; }
.shop-card:nth-child(2) .shop-media::after { content: "LO26-II-FT-YD"; }
.shop-card:nth-child(3) .shop-media::after { content: "RS-A07"; }
.shop-card:nth-child(4) .shop-media::after { content: "RS-A02Pro"; }
.shop-media.has-image::after,
.product-media.has-image::after {
  content: none;
}
.shop-media.has-image img,
.product-media.has-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  position: relative;
  z-index: 1;
}
.shop-body,
.product-body { display: grid; gap: 12px; }
.shop-body h3,
.product-body h2 { margin-bottom: 0; }
.shop-body > p { margin-bottom: 0; }
.shop-price { margin: 0; font-size: 1.4rem; font-weight: 800; color: var(--text); }
.product-meta { display: flex; flex-wrap: wrap; gap: 10px; }
.product-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  color: var(--text);
  background: rgba(132, 224, 178, 0.07);
  border: 1px solid rgba(132, 224, 178, 0.14);
  clip-path: polygon(
    8px 0,
    calc(100% - 8px) 0,
    100% 8px,
    100% calc(100% - 8px),
    calc(100% - 8px) 100%,
    8px 100%,
    0 calc(100% - 8px),
    0 8px
  );
  font-size: 0.88rem;
}
.reta-panel .lead { margin-bottom: 18px; max-width: 66ch; }
.chat-shell { display: grid; gap: 14px; }
.chat-log { display: grid; gap: 12px; min-height: 180px; }
.chat-bubble {
  width: fit-content;
  max-width: min(100%, 720px);
  padding: 14px 16px;
  background: rgba(132, 224, 178, 0.07);
  border: 1px solid rgba(132, 224, 178, 0.12);
}
.chat-bubble.user {
  margin-left: auto;
  background: rgba(76, 175, 127, 0.14);
  color: var(--text);
}
.chat-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
.chat-form input {
  min-height: 50px;
  padding: 0 16px;
  color: var(--text);
  background: rgba(5, 12, 9, 0.58);
  border: 1px solid rgba(132, 224, 178, 0.16);
  outline: none;
}
.chat-form input::placeholder { color: #93a79c; }
.info-box { padding: 22px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details {
  background: rgba(132, 224, 178, 0.04);
  border: 1px solid rgba(132, 224, 178, 0.11);
  padding: 16px 18px;
}
.faq-list summary { cursor: pointer; font-weight: 700; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list p { margin: 12px 0 0; }
.site-footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 22px;
  padding: 24px 28px;
}
.site-footer h3,
.site-footer h4 { margin-bottom: 10px; }
@media (max-width: 1100px) {
  .page-shell { grid-template-columns: 1fr; }
  .sidebar { padding-top: 0; }
  .sidebar-inner { position: static; min-height: auto; padding: 18px; }
  .sidebar-brand { margin-bottom: 14px; }
  .topbar { position: static; grid-template-columns: 1fr; gap: 14px; }
  .topbar-inner { min-height: 96px; }
  .floating-cta { width: 100%; min-height: 58px; top: 0; }
  .product-grid,
  .shop-grid,
  .info-grid,
  .site-footer { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --page-gap: 14px; }
  .sidebar-top { margin-bottom: 16px; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .sidebar-nav { display: none; }
  .sidebar-nav.open { display: grid; }
  .section-card,
  .site-footer,
  .shop-card,
  .info-box { padding: 20px; }
  h1 { font-size: clamp(2.2rem, 14vw, 4rem); }
  .chat-form { grid-template-columns: 1fr; }
}
