:root{
  --bg:#0B0F19;
  --panel:#101317;
  --panel2:#0F1216;
  --white:#F5F7FA;
  --muted: rgba(255,255,255,.78);
  --muted2: rgba(255,255,255,.62);
  --border: rgba(255,255,255,.10);
  --purple:#9E00FF;
  --teal:#00E5D4;
  --gold:#FFD166;
  --cta:#FFD34D;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background:var(--bg);
  color:var(--white);
  line-height:1.5;
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{max-width:1100px;margin:0 auto;padding:0 16px}

.center{text-align:center}
.max-3{max-width:720px;margin-left:auto;margin-right:auto}
.mt-24{margin-top:24px}

/* Buttons */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  gap:10px;
  padding:12px 18px;
  border-radius:14px;
  font-weight:700;
  border:1px solid transparent;
  transition:transform .15s ease, filter .15s ease, background .15s ease;
  user-select:none;
}
.btn:hover{transform:scale(1.02);filter:brightness(1.05)}
.btn:active{transform:scale(.99)}
.btn-gold{background:var(--gold);color:#000}
.btn-teal{background:var(--teal);color:#000}
.btn-white{background:#fff;color:#000}
.btn-outline{background:transparent;border-color:#fff;color:#fff}
.btn-ghost{background:transparent;border-color:var(--border);color:#fff}

/* Header / Nav */
.site-header{
  position:sticky;top:0;z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(16,19,23,.80);
  border-bottom:1px solid var(--border);
}
.nav-wrap{
  max-width:1100px;margin:0 auto;
  padding:12px 16px;
чы
  display:flex;align-items:center;gap:14px;
}
.brand{display:flex;align-items:center}
.brand-logo{height:34px;width:auto}

.nav-desktop{
  display:flex;align-items:center;gap:14px;
  margin-left:8px;
}
.nav-link{
  display:inline-flex;align-items:center;gap:6px;
  padding:10px 10px;border-radius:10px;
  color: rgba(255,255,255,.88);
}
.nav-link:hover{background:rgba(255,255,255,.06);color:var(--gold)}
.nav-cta{
  margin-left:auto;
  background:var(--cta);
  color:#000;
  padding:10px 14px;
  border-radius:14px;
  font-weight:800;
}
.nav-cta:hover{filter:brightness(1.05)}

.nav-dd{position:relative}
.nav-dd-menu{
  position:absolute;left:0;top:calc(100% + 8px);
  min-width: 180px;
  border:1px solid var(--border);
  background: rgba(10,12,18,.96);
  border-radius:14px;
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
  padding:8px;
  display:none;
}
.nav-dd-menu a{
  display:block;
  padding:10px 10px;
  border-radius:10px;
  color: rgba(255,255,255,.90);
}
.nav-dd-menu a:hover{background:rgba(255,255,255,.08);color:var(--teal)}
.has-dd:hover .nav-dd,
.has-dd:focus-within .nav-dd{
  display:block;
}
/* Burger */
.nav-burger{
  display:none;
  margin-left:10px;
  width:42px;height:40px;
  border-radius:12px;
  border:1px solid var(--border);
  background:transparent;
}
.nav-burger span{
  display:block;height:2px;margin:6px 10px;background:#fff;border-radius:2px;
}

.nav-mobile{
  max-width:1100px;margin:0 auto;
  padding: 10px 16px 16px;
  border-top:1px solid var(--border);
}
.nav-mobile a, .nav-mobile summary{
  display:block;
  padding:10px 10px;
  border-radius:12px;
  color: rgba(255,255,255,.90);
}
.nav-mobile a:hover, .nav-mobile summary:hover{background:rgba(255,255,255,.06);color:var(--gold)}
.nav-mobile-sub{padding-left:10px}
.nav-mobile-cta{
  margin-top:10px;
  background:var(--cta);
  color:#000 !important;
  font-weight:800;
}
.nav-mobile details{
  border:1px solid var(--border);
  border-radius:14px;
  margin:10px 0;
  padding:6px;
}
.nav-mobile summary{cursor:pointer;list-style:none}
.nav-mobile summary::-webkit-details-marker{display:none}

/* Hero carousel */
.hero{position:relative}
.hero-slides{position:relative;height:72vh;min-height:520px;overflow:hidden}
.hero-slide{
  position:absolute;inset:0;
  background-size:cover;background-position:center;
  opacity:0;transform:scale(1.02);
  transition:opacity .7s ease, transform .7s ease;
}
.hero-slide.is-active{opacity:1;transform:scale(1)}
.hero-overlay{
  position:absolute;inset:0;
  background: rgba(0,0,0,.55);
}
.hero-content{
  position:relative;z-index:2;height:100%;
  display:flex;flex-direction:column;justify-content:center;
  text-align:center;
}
.hero-title{
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight:900;
  margin:0 0 10px;
  text-shadow: 0 4px 18px rgba(0,0,0,.55);
}
.hero-subtitle{
  margin:0 auto 20px;
  max-width:780px;
  color: rgba(255,255,255,.85);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}
.hero-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.gold{color:var(--gold)}

.hero-dots{
  position:absolute;left:50%;bottom:16px;transform:translateX(-50%);
  display:flex;gap:8px;z-index:3;
}
.dot{
  width:28px;height:6px;border-radius:999px;
  border:0;background: rgba(255,255,255,.35);
  cursor:pointer;
}
.dot.is-active{background: var(--teal)}
.hero-arrow{
  position:absolute;top:50%;transform:translateY(-50%);
  z-index:3;
  width:46px;height:46px;border-radius:16px;
  border:1px solid var(--border);
  background: rgba(0,0,0,.35);
  color:#fff;
  font-size:32px;
  line-height:1;
  display:grid;place-items:center;
  cursor:pointer;
}
.hero-arrow:hover{background: rgba(0,0,0,.55)}
.hero-arrow.prev{left:14px}
.hero-arrow.next{right:14px}

/* Sections */
.section{padding:64px 0}
.section.dark{background:#000}
.section.dark2{background:#111827}
.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:44px;align-items:center}
.media{display:flex;justify-content:center}
.img-card{width:100%;max-width:520px;border-radius:18px;box-shadow: 0 18px 60px rgba(0,0,0,.45)}
.h2{font-size:clamp(1.8rem, 3vw, 3rem);margin:0 0 14px;font-weight:900}
.h3{margin:0;font-size:1.05rem;font-weight:850}
.purple{color: rgba(158,0,255,.95)}
.teal{color: rgba(0,229,212,.95)}
.gold{color: var(--gold)}
.muted{color:var(--muted);margin:0 0 14px}
.muted.softer{color:var(--muted2)}
.muted.small{font-size:.92rem;margin-top:6px}
.muted.tiny{font-size:.82rem;color:rgba(255,255,255,.55)}
.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}

/* Cards */
.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:22px}
.card{
  display:block;
  border-radius:18px;
  overflow:hidden;
  border:1px solid var(--border);
  background: rgba(0,0,0,.35);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 22px 70px rgba(0,0,0,.45);
}
.card-media{aspect-ratio:1/1;overflow:hidden}
.card-media img{width:100%;height:100%;object-fit:cover}
.card-body{padding:14px}

/* Subscribe */
.subscribe{
  display:flex;gap:10px;justify-content:center;flex-wrap:wrap;
  margin: 18px auto 8px;
  max-width:520px;
}
.subscribe input{
  flex:1 1 260px;
  padding:12px 14px;border-radius:14px;
  border:1px solid var(--border);
  background: rgba(0,0,0,.25);
  color:#fff;
  outline:none;
}
.subscribe input::placeholder{color:rgba(255,255,255,.55)}

/* Footer */
.site-footer{
  position:relative;
  background: var(--panel2);
  border-top:1px solid var(--border);
  overflow:hidden;
  padding: 26px 0;
}
.footer-art{
  position:absolute;right:0;bottom:0;
  width:min(60vw,720px);height:200px;
  background:
    linear-gradient(to left, rgba(15,18,22,0.92), rgba(15,18,22,0) 55%),
    url('/assets/footer-pattern.png');
  background-repeat:no-repeat,no-repeat;
  background-position:left bottom,right bottom;
  background-size:100% 100%,contain;
  opacity:.85;
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 35%, rgba(0,0,0,0) 95%);
  mask-image: linear-gradient(to left, rgba(0,0,0,1) 35%, rgba(0,0,0,0) 95%);
}
.footer-inner{
  position:relative;z-index:2;
  display:flex;align-items:center;justify-content:space-between;
  gap:14px;
  font-size:12px;
  color: rgba(255,255,255,.78);
}
.footer-social{display:flex;gap:16px}
.ico{width:26px;height:26px;color:#fff}

/* Responsive */
@media (max-width: 920px){
  .grid-2{grid-template-columns:1fr}
  .grid-3{grid-template-columns:1fr 1fr}
}
@media (max-width: 720px){
  .nav-desktop{display:none}
  .nav-cta{display:none}
  .nav-burger{display:block;margin-left:auto}
  .grid-3{grid-template-columns:1fr}
  .hero-slides{min-height:560px}
}

/* Header / Nav — simple */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10,12,18,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-bar{
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-logo img{ height: 34px; width: auto; display:block; }

.nav-links{
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-link{
  color: rgba(255,255,255,.86);
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 10px;
  transition: background .15s ease, color .15s ease;
}
.nav-link:hover{
  background: rgba(255,255,255,.06);
  color: var(--gold);
}

.nav-item{ position: relative; }

.chev{ font-size: .85em; opacity: .8; }

.nav-dd{
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 190px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(12,14,20,.96);
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
  display: none;
}

.nav-dd a{
  display:block;
  padding: 10px 10px;
  border-radius: 10px;
  color: rgba(255,255,255,.88);
  font-weight: 600;
}
.nav-dd a:hover{
  background: rgba(255,255,255,.08);
  color: var(--teal);
}

/* Hover dropdowns (desktop) */
.has-dd:hover .nav-dd{ display:block; }

/* CTA */
.nav-cta{
  margin-left: auto;
  background: var(--cta);
  color: #000;
  font-weight: 900;
  padding: 10px 14px;
  border-radius: 14px;
  white-space: nowrap;
}
.nav-cta:hover{ filter: brightness(1.05); }

/* Mobile toggle */
.nav-toggle{
  display: none;
  margin-left: auto;
  width: 44px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: transparent;
}
.nav-toggle span{
  display:block;
  height: 2px;
  margin: 6px 11px;
  background: #fff;
  border-radius: 2px;
}

/* Mobile menu */
.nav-mobile{
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 16px 16px;
  border-top: 1px solid var(--border);
}
.nav-mobile a, .nav-mobile summary{
  display:block;
  padding: 10px 10px;
  border-radius: 12px;
  color: rgba(255,255,255,.90);
  font-weight: 600;
}
.nav-mobile a:hover, .nav-mobile summary:hover{
  background: rgba(255,255,255,.06);
  color: var(--gold);
}
.nav-mobile details{
  border: 1px solid var(--border);
  border-radius: 14px;
  margin: 10px 0;
  padding: 6px;
}
.nav-mobile summary{
  cursor: pointer;
  list-style: none;
}
.nav-mobile summary::-webkit-details-marker{ display:none; }
.nav-mobile-sub{ padding-left: 10px; }

.nav-mobile-cta{
  margin-top: 10px;
  background: var(--cta);
  color:#000 !important;
  font-weight: 900;
}

/* Responsive */
@media (max-width: 820px){
  .nav-links{ display:none; }
  .nav-cta{ display:none; }
  .nav-toggle{ display:block; }
}

/* Hover bridge to prevent dropdown from collapsing */
.has-dd::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:100%;
  height:10px;          /* bridge height */
}
