:root{
  /* Layout */
  --container: 1100px;

  /* Depth control (0..1 from JS) */
  --depth: 0;

  /* Colors (high contrast) */
  --text: rgba(245, 252, 255, .94);
  --muted: rgba(245, 252, 255, .70);

  --bgTop: #0a2730;
  --bgMid: #061a21;
  --bgDeep:#030a0f;

  --card: rgba(255,255,255,.07);
  --card2: rgba(255,255,255,.10);
  --stroke: rgba(255,255,255,.14);

  --accent: #5eead4;
  --accent2:#22d3ee;

  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --shadowSoft: 0 10px 30px rgba(0,0,0,.28);

  --radius: 18px;
  --radius2: 24px;
}

/* Reset */
*{ box-sizing:border-box; }
html, body { height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  color: var(--text);
  overflow-x:hidden;
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
background: var(--bgMid)
  /* Base background (clean, readable) */
  background:
    radial-gradient(900px 600px at 15% 15%, rgba(34,211,238,.16), transparent 60%),
    radial-gradient(900px 600px at 85% 18%, rgba(94,234,212,.12), transparent 60%),
    linear-gradient(
      180deg,
      color-mix(in oklab, var(--bgTop) 100%, var(--bgDeep) calc(var(--depth)*100%)),
      color-mix(in oklab, var(--bgMid) 100%, var(--bgDeep) calc(var(--depth)*100%))
    );
}

/* Ensure content is always above decorative layers */
.header, .main{
  position: relative;
  z-index: 5;
}

.container{
  width:min(var(--container), calc(100% - 32px));
  margin:0 auto;
}

/* ===== Decorative layers (ALWAYS BEHIND CONTENT) ===== */

/* Soft spots */
.bg{
  position:fixed;
  inset:-80px;
  pointer-events:none;
  z-index:0;
  background:
    radial-gradient(800px 520px at 20% 30%, rgba(94,234,212, calc(.10 - var(--depth)*.05)), transparent 62%),
    radial-gradient(760px 540px at 88% 55%, rgba(34,211,238, calc(.10 - var(--depth)*.06)), transparent 62%),
    radial-gradient(720px 520px at 55% 5%,  rgba(96,165,250, calc(.08 - var(--depth)*.05)), transparent 62%);
  filter: blur(18px);
  opacity: .65;
}

/* Depth darkening overlay (NO blend-mode; no fog over text) */
.depth{
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:1;

  /* only darkens background subtly as you scroll */
  background:
    linear-gradient(
      180deg,
      rgba(0,0,0, calc(.05 + var(--depth)*.10)),
      rgba(0,0,0, calc(.12 + var(--depth)*.35))
    );
  opacity: 1;
}

/* Rays – very subtle, masked to top, always behind */
.rays{
  position:fixed;
  inset:-30%;
  pointer-events:none;
  z-index:2;

  opacity: calc(.10 - var(--depth)*.06);
  background:
    repeating-linear-gradient(
      112deg,
      rgba(255,255,255,.055) 0px,
      rgba(255,255,255,0) 58px,
      rgba(255,255,255,.040) 110px,
      rgba(255,255,255,0) 170px
    );

  mask-image: radial-gradient(circle at 50% 0%, rgba(0,0,0,.9), rgba(0,0,0,0) 62%);
  -webkit-mask-image: radial-gradient(circle at 50% 0%, rgba(0,0,0,.9), rgba(0,0,0,0) 62%);

  filter: blur(0.6px);
  transform: translateY(-2%) rotate(-2deg);
  animation: raysFloat 12s ease-in-out infinite alternate;
}

@keyframes raysFloat{
  from{ transform: translateY(-2%) rotate(-2deg); }
  to  { transform: translateY(2%)  rotate(1.6deg); }
}

/* Bubbles – subtle and behind content */
.bubbles{
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:2;
  overflow:hidden;
}

.bubble{
  position:absolute;
  bottom:-120px;
  left: var(--x);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;

  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.18), rgba(255,255,255,.05) 35%, rgba(255,255,255,0) 60%),
    radial-gradient(circle at 65% 75%, rgba(255,255,255,.08), rgba(255,255,255,0) 55%);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 0 0 1px rgba(34,211,238,.03) inset;

  opacity: calc(.18 - var(--depth)*.10);

  animation:
    bubbleUp var(--d) linear infinite,
    bubbleSide calc(var(--d) * 0.45) ease-in-out infinite alternate;
}

@keyframes bubbleUp{
  from { transform: translateY(0) scale(1); }
  to   { transform: translateY(calc(-120vh - 220px)) scale(1.10); }
}
@keyframes bubbleSide{
  from { margin-left: -10px; }
  to   { margin-left:  10px; }
}

/* ===== Header ===== */
.header{
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(5,14,18,.58);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding: 14px 0;
}

.brand{
  display:flex;
  align-items:baseline;
  gap:10px;
  text-decoration:none;
  color: var(--text);
}
.brand__mark{
  font-weight: 900;
  letter-spacing: .06em;
}
.brand__tag{
  font-size: 13px;
  color: var(--muted);
}

.nav{
  display:flex;
  align-items:center;
  gap: 16px;
}
.nav a{
  color: rgba(245,252,255,.78);
  text-decoration:none;
  font-size: 14px;
  padding: 8px 8px;
  border-radius: 10px;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.nav a:hover{
  background: rgba(255,255,255,.06);
  color: var(--text);
  transform: translateY(-1px);
}
.nav__cta{
  padding: 10px 14px !important;
  border: 1px solid rgba(94,234,212,.45);
  border-radius: 999px;
  background: rgba(94,234,212,.10);
  color: var(--text) !important;
}


/* ===== Typography ===== */
.h1{
  margin: 0;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.02;
  letter-spacing: .03em;
}
.h2{
  margin: 0 0 14px;
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: .01em;
}
.h3{
  margin: 0 0 10px;
  font-size: 16px;
  letter-spacing: .01em;
}
.muted{ color: var(--muted); }

/* ===== Hero ===== */
.hero{
  padding: 42px 0 26px;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
  align-items:stretch;
}

.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.16);
  color: rgba(245,252,255,.78);
  font-size: 13px;
  margin: 0 0 14px;
}

.subtitle{
  margin: 10px 0 12px;
  font-size: 18px;
  color: rgba(245,252,255,.86);
}

.lead{
  margin: 0 0 18px;
  color: rgba(245,252,255,.76);
  font-size: 16px;
  line-height: 1.68;
  max-width: 60ch;
}

/* Buttons */
.hero__actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin: 18px 0 18px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  text-decoration:none;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
  color: var(--text);
  font-weight: 800;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:hover{
  transform: translateY(-1px);
  background: rgba(0,0,0,.24);
  box-shadow: 0 10px 22px rgba(0,0,0,.28);
}
.btn--primary{
  background: linear-gradient(135deg, rgba(94,234,212,.20), rgba(34,211,238,.14));
  border-color: rgba(94,234,212,.45);
}
.btn--primary:hover{
  background: linear-gradient(135deg, rgba(94,234,212,.26), rgba(34,211,238,.18));
}
.btn--ghost{
  background: rgba(255,255,255,.06);
}
.btn--full{ width:100%; }

/* Hero meta */
.hero__meta{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.meta-card{
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.16);
  box-shadow: var(--shadowSoft);
}
.meta-card__title{
  font-size: 12px;
  color: rgba(245,252,255,.70);
  margin-bottom: 6px;
}
.meta-card__value{
  font-weight: 800;
  font-size: 14px;
}

/* Hero visual glass card */
.hero__visual{ display:flex; align-items:stretch; }
.glass{
  width:100%;
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.05));
  box-shadow: var(--shadow);
  overflow:hidden;
  position:relative;
  min-height: 320px;
}

.glass__ring{
  position:absolute;
  inset:-60px;
  background:
    radial-gradient(circle at 30% 30%, rgba(94,234,212,.20), transparent 48%),
    radial-gradient(circle at 70% 40%, rgba(34,211,238,.18), transparent 48%),
    radial-gradient(circle at 55% 80%, rgba(96,165,250,.14), transparent 58%);
  filter: blur(10px);
  opacity:.85;
}
.glass__wave{
  position:absolute;
  left:-20%;
  right:-20%;
  bottom:-35%;
  height:70%;
  background:
    radial-gradient(60% 60% at 50% 30%, rgba(255,255,255,.12), transparent 62%),
    radial-gradient(60% 60% at 50% 65%, rgba(94,234,212,.10), transparent 66%);
  transform: rotate(-6deg);
  opacity:.85;
}
.glass__content{
  position:relative;
  padding: 22px;
  display:flex;
  flex-direction:column;
  gap: 14px;
}

.kpi{
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
  border-radius: 18px;
  padding: 16px;
}
.kpi__num{
  font-size: 34px;
  font-weight: 900;
  letter-spacing: .01em;
}
.kpi__text{
  color: rgba(245,252,255,.74);
  margin-top: 4px;
  line-height: 1.4;
}
.kpi--small .kpi__num{ font-size: 28px; }

.note{
  color: rgba(245,252,255,.84);
  border-left: 2px solid rgba(94,234,212,.70);
  padding-left: 12px;
  line-height: 1.55;
}

/* ===== Sections / Cards ===== */
.section{ padding: 34px 0; }

.section__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.section__desc{
  color: rgba(245,252,255,.72);
  max-width: 60ch;
  margin: 0;
  line-height: 1.55;
}

.card{
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.16);
  box-shadow: var(--shadowSoft);
  padding: 18px;
}
.card--wide{ padding: 22px; }

.card.soft{
  background: linear-gradient(180deg, rgba(94,234,212,.10), rgba(0,0,0,.12));
  border-color: rgba(94,234,212,.25);
}

.grid{ display:grid; gap: 14px; }
.grid--3{ grid-template-columns: repeat(3, 1fr); }
.grid--2{ grid-template-columns: repeat(2, 1fr); }

.text-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
}

.quote{
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.45;
  color: rgba(245,252,255,.92);
}
.quote.small{ font-size: 16px; }

.strong{ font-weight: 900; margin: 0; }

/* Lists */
.list{
  margin: 0;
  padding: 0 0 0 18px;
  color: rgba(245,252,255,.84);
  line-height: 1.65;
}
.list li{ margin: 6px 0; }

/* Hint */
.hint{
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(0,0,0,.18);
  border: 1px dashed rgba(255,255,255,.16);
  color: rgba(245,252,255,.82);
}

/* Format */
.format{
  display:grid;
  gap: 10px;
  margin-bottom: 14px;
}
.format__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.12);
}
.format__label{
  color: rgba(245,252,255,.68);
  font-size: 13px;
}
.format__value{
  font-weight: 900;
  font-size: 13px;
}

/* Chips */
.chips{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
}
.chip{
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: rgba(245,252,255,.86);
}

/* Price */
.card--price{
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(0,0,0,.16));
  border-color: rgba(255,255,255,.16);
}

.price{ margin-bottom: 14px; }
.price__title{
  color: rgba(245,252,255,.68);
  font-size: 13px;
  margin-bottom: 8px;
}
.price__value{
  font-size: 40px;
  font-weight: 900;
  letter-spacing: .01em;
}
.price__note{
  color: rgba(245,252,255,.78);
  font-size: 13px;
  margin-top: 4px;
}

.fineprint{
  margin: 12px 0 0;
  color: rgba(245,252,255,.68);
  font-size: 12px;
  line-height: 1.55;
}

.safe{
  display:flex;
  align-items:center;
  gap: 10px;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  color: rgba(245,252,255,.80);
  font-size: 13px;
}
.safe__dot{
  width:10px; height:10px;
  border-radius:50%;
  background: rgba(94,234,212,.95);
  box-shadow: 0 0 0 6px rgba(94,234,212,.14);
}

/* Author */
.author{
  display:grid;
  grid-template-columns: 86px 1fr;
  gap: 16px;
  align-items:start;
}
.author__avatar{
  width: 86px; height: 86px;
  border-radius: 22px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  letter-spacing:.06em;
  background: linear-gradient(135deg, rgba(94,234,212,.22), rgba(34,211,238,.14));
  border: 1px solid rgba(255,255,255,.14);
}
.author__links{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap:wrap;
  margin-top: 10px;
}
.dot{ color: rgba(245,252,255,.35); }

.link{
  color: rgba(245,252,255,.88);
  text-decoration: none;
  border-bottom: 1px dashed rgba(94,234,212,.55);
}
.link:hover{
  color: var(--text);
  border-bottom-color: rgba(94,234,212,.90);
}

/* Footer */
.footer{
  margin-top: 26px;
  padding: 26px 0 10px;
  border-top: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  backdrop-filter: blur(14px);
}
.footer__grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr 1fr;
  gap: 14px;
}
.footer__title{
  font-weight: 900;
  margin-bottom: 10px;
}
.footer__text{
  color: rgba(245,252,255,.76);
  line-height: 1.6;
  font-size: 13px;
}
.footer__links{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap: 10px;
}
.footer__cta .fineprint{ margin-top: 10px; }

.footer__bottom{
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.10);
  display:flex;
  justify-content:space-between;
  align-items:center;
}

/* ===== Responsive ===== */
@media (max-width: 980px){
  .hero__grid{ grid-template-columns: 1fr; }
  .hero__meta{ grid-template-columns: repeat(3, 1fr); }
  .glass{ min-height: 280px; }
  .text-grid{ grid-template-columns: 1fr; }
  .footer__grid{ grid-template-columns: 1fr; }
  .section__head{ flex-direction: column; align-items:flex-start; }
}

@media (max-width: 720px){
  .nav{ display:none; }
  .hero{ padding-top: 28px; }
  .hero__meta{ grid-template-columns: 1fr; }
  .grid--3{ grid-template-columns: 1fr; }
  .grid--2{ grid-template-columns: 1fr; }
  .author{ grid-template-columns: 1fr; }
  .author__avatar{ width: 72px; height: 72px; border-radius: 20px; }
  .btn{ width: 100%; }
  .hero__actions{ flex-direction: column; }
  .bubble{ opacity: calc(.14 - var(--depth)*.08); }
}
body::before{
  content:"";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;

  background:
    radial-gradient(900px 600px at 15% 15%, rgba(34,211,238,.16), transparent 60%),
    radial-gradient(900px 600px at 85% 18%, rgba(94,234,212,.12), transparent 60%),
    linear-gradient(
      180deg,
      color-mix(in oklab, var(--bgTop) 100%, var(--bgDeep) calc(var(--depth)*100%)),
      color-mix(in oklab, var(--bgMid) 100%, var(--bgDeep) calc(var(--depth)*100%))
    );

  background-repeat: no-repeat;
  background-size: cover;
}
.footer_link.salebot__footer-new-design {
  display: none !important;
}
/* ===== Hero photo ===== */
.glass--photo{
  padding: 0;
  position: relative;
}

.hero__photo{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius2);
  min-height: 320px;
}

.glass__overlay{
  position: absolute;
  inset: 0;
  border-radius: var(--radius2);
  pointer-events: none;

  /* мягкое затемнение + лёгкая “водная” глубина */
  background:
    radial-gradient(80% 70% at 30% 20%, rgba(255,255,255,.10), rgba(255,255,255,0) 60%),
    linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.35));
}

/* ===== Author photo ===== */
.author__avatar--photo{
  padding: 0;
  overflow: hidden;
  background: rgba(0,0,0,.16);
}

.author__photo{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* ===== Mobile tuning for images ===== */
@media (max-width: 980px){
  .hero__photo{ min-height: 280px; }
}

@media (max-width: 720px){
  .hero__photo{
    min-height: 240px;
    object-position: 50% 30%;
  }

  .author__avatar--photo{
    width: 92px;
    height: 92px;
    border-radius: 22px;
  }
}
