:root{
  --primary:#0088ff;
  --bg:#ffffff;
  --text:#111111;
  --glass:rgba(255,255,255,.08);
  --glass-border:rgba(255,255,255,.16);
}

body.dark{
  --bg:#21242b;
  --text:#f3f7ff;
}
.theme-btn{
  width:50px;
  height:50px;

  border:none;
  border-radius:50%;

  cursor:pointer;

  position:relative;

  background:rgba(255,255,255,.08);

  border:1px solid rgba(255,255,255,.12);

  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);

  transition:.25s;
}

.theme-btn:hover{
  transform:translateY(-2px) scale(1.05);
}

.theme-btn::before{
  content:"";

  position:absolute;

  inset:0;
  margin:auto;

  width:22px;
  height:22px;

  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;

  transition:.25s;
}
body:not(.dark) .theme-btn::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%230088ff' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Cpath d='M12 1v2M12 21v2M4.2 4.2l1.4 1.4M18.4 18.4l1.4 1.4M1 12h2M21 12h2M4.2 19.8l1.4-1.4M18.4 5.6l1.4-1.4'/%3E%3C/svg%3E");
}
body.dark .theme-btn::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23ffffff' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M21 12.8A9 9 0 1111.2 3a7 7 0 009.8 9.8z'/%3E%3C/svg%3E");
}
*{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:Inter,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  overflow-x:hidden;
}

.bg-glow{
  position:fixed;
  width:500px;
  height:500px;
  border-radius:50%;
  filter:blur(140px);
  z-index:-1;
}

.glow-1{
  top:-150px;
  left:-100px;
  background:#0088ff33;
}

.glow-2{
  bottom:-150px;
  right:-100px;
  background:#00ff8833;
}

.liquid-glass{
  backdrop-filter:blur(28px) saturate(180%);
  -webkit-backdrop-filter:blur(28px) saturate(180%);
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.1),
    0 15px 40px rgba(0,0,0,.15);
}

.topbar-wrap{
  display:flex;
  justify-content:center;
  padding:20px;
  position:sticky;
  top:0;
  z-index:100;
}

.topbar{
  width:min(900px,95%);
  border-radius:999px;
  padding:14px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.logo{
  color:#0088ff;
  font-size:34px;
  font-weight:800;
}

.nav-links{
  display:flex;
  gap:24px;
}

.nav-links a{
  text-decoration:none;
  color:var(--text);
}

.hero{
  min-height:65vh;

  display:flex;
  flex-direction:column;

  justify-content:center;

  align-items:center;

  text-align:center;

  padding:0 20px;

  margin-top:-80px;
}

.hero-badge{
  padding:12px 22px;
  border-radius:999px;
  margin-bottom:25px;
}

.hero h1{
  font-size:90px;
  font-weight:900;
}

.hero p{
  max-width:700px;
  margin-top:20px;
  font-size:22px;
  opacity:.8;
}

.hero-buttons{
  display:flex;
  gap:16px;
  margin-top:35px;
  flex-wrap:wrap;
}

.download-btn{
  min-width:220px;

  display:flex;
  align-items:center;
  justify-content:center;

  height:56px;

  border-radius:18px;

  font-size:18px;
  font-weight:800;

  text-decoration:none;

  transition:.25s;
}

.download-btn:hover{
  transform:translateY(-3px);
}

.primary-btn{
  background:var(--primary);
  color:white;
}

.secondary-btn{
  background:rgba(255,255,255,.08);
  color:var(--text);
}

.disabled-btn{
  background:#6f7682;
  color:white;
  cursor:default;
}

.downloads{
  max-width:1200px;
  margin:auto;
  padding:100px 20px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:25px;
}
.download-card{
  position:relative;
  overflow:hidden;

  min-height:220px;

  border-radius:28px;

  padding:30px;

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;

  text-align:center;

  transition:.35s;
}

.download-card h2{
  margin-bottom:24px;
  font-size:34px;
  font-weight:800;
}

.download-card:hover{
  transform:
    translateY(-10px)
    scale(1.03);
}

.download-card::before{

  content:"";

  position:absolute;

  top:-100%;
  left:-100%;

  width:250%;
  height:250%;

  background:
  linear-gradient(
    45deg,
    transparent,
    rgba(255,255,255,.08),
    transparent
  );

  transform:
  rotate(25deg);

  transition:1s;
  pointer-events:none;
}

.download-card:hover::before{

  left:100%;

}

.download-card p{
  margin-bottom:20px;
  opacity:.8;
}

.features{
  max-width:1200px;
  margin:auto;
  padding:0 20px 100px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:20px;
}

.feature-card{
  border-radius:24px;
  padding:28px;
}

.feature-card h3{
  margin-bottom:12px;
}

footer{
  text-align:center;
  padding:40px;
  opacity:.7;
}

.reveal{
  opacity:0;
  transform:translateY(40px);
  transition:.8s;
}

.reveal.show{
  opacity:1;
  transform:none;
}

@media(max-width:768px){

  .logo{
    font-size:26px;
  }

  .nav-links{
    display:none;
  }

  .hero h1{
    font-size:54px;
  }

  .hero p{
    font-size:18px;
  }

}
.nav-pill{

  display:flex;
  align-items:center;
  justify-content:center;

  height:44px;

  padding:0 22px;

  border-radius:999px;

  text-decoration:none;

  color:var(--text);

  font-weight:700;

  transition:.2s;

}
body.dark .nav-pill{

  background:
  rgba(255,255,255,.05);

  border:
  1px solid rgba(255,255,255,.08);

}
body:not(.dark) .nav-pill{

  background:
  rgba(255,255,255,.95);

  border:
  1px solid rgba(0,0,0,.08);

  box-shadow:
    0 4px 12px rgba(0,0,0,.06);

}

.nav-pill:hover{

  background:
  rgba(0,136,255,.12);

  border-color:
  rgba(0,136,255,.20);

  transform:
  translateY(-2px);

}
.hero h1{
  animation:
  floatLogo 5s ease-in-out infinite;
}

@keyframes floatLogo{

  0%{
    transform:translateY(0);
  }

  50%{
    transform:translateY(-10px);
  }

  100%{
    transform:translateY(0);
  }

}
.bg-glow{
  animation:
  moveGlow 12s linear infinite alternate;
}

@keyframes moveGlow{

  from{
    transform:
    translate(0,0);
  }

  to{
    transform:
    translate(60px,40px);
  }

}
.footer-links{
  display:flex;
  justify-content:center;
  gap:20px;
  margin-bottom:12px;
  flex-wrap:wrap;
}

.footer-links a{
  color:var(--text);
  opacity:.75;
  text-decoration:none;
  transition:.2s;
}

.footer-links a:hover{
  opacity:1;
  color:#0088ff;
}

.footer-copy{
  opacity:.7;
}
/* Стиль для неактивных кнопок */
.disabled-btn {
  background: #4a4f58 !important; /* Серый цвет */
  color: rgba(255, 255, 255, 0.5) !important;
  cursor: not-allowed !important; /* Значок заблокировано */
  border: none;
  pointer-events: all; /* Чтобы курсор менялся при наведении */
}

/* Отключаем эффект подъема для неактивных кнопок */
.disabled-btn:hover {
  transform: none !important;
  background: #3f444d !important;
}