    /* --- Base / Reset --- */
    *,*::before,*::after{box-sizing:border-box}
    html,body{margin:0;padding:0}
    :root{
      --bg: #0b0b0c;
      --text: #ececec;
      --muted: #b7b7b7;
      --card: rgba(255,255,255,.06);
      --border: rgba(255,255,255,.12);
      --accent: #e6e6e6;
      --cta: #0071e3; /* blue-esque CTA */
      --cta-2: #1d1d1f;
      --radius: 20px;
      --shadow: 0 30px 60px rgba(0,0,0,.35);
      --grid-gap: clamp(16px, 2vw, 24px);
    }
    @media (prefers-color-scheme: light){
      :root{
        --bg: #f5f5f7;
        --text: #1d1d1f;
        --muted:#6e6e73;
        --card: #f5f5f7;
        --border: rgba(0,0,0,.08);
        --accent:#111;
        --cta-2: #f5f5f7;
        --shadow: 0 20px 40px rgba(0,0,0,.1);
      }
    }
    body{
      font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, Roboto, Segoe UI, Helvetica, Arial, system-ui, sans-serif;
      background: radial-gradient(1200px 800px at 80% -10%, rgba(255,255,255,.06), transparent 60%), var(--bg);
      color: var(--text);
      line-height: 1.6;
      letter-spacing: -.01em;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }
    a{color:inherit;text-decoration:none}
    .container{width:min(1200px, 92%);margin-inline:auto}

    /* --- Header --- */
    header{
      position: sticky; top: 0; z-index: 50;
      backdrop-filter: saturate(160%) blur(16px);
      -webkit-backdrop-filter: saturate(160%) blur(16px);
      background: color-mix(in oklab, var(--bg) 80%, transparent);
      border-bottom: 1px solid var(--border);
    }
    .nav{display:flex;align-items:center;justify-content:space-between;padding:12px 0}
    .brand{display:flex;align-items:center;gap:10px;font-weight:600}
    .logo{width:22px;height:22px;border-radius:6px;background:url(img/logo.png) no-repeat center top / 23px auto,  linear-gradient(135deg,#fff,rgba(255,255,255,.5));box-shadow:inset 0 0 0 1px var(--border)}
    .links{display:flex;gap:22px}
    .links a{font-size:14px;color:var(--muted)}
    .cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 9px;
    padding: 6px 18px;
    font-weight: 600;
    border: 1px solid rgb(12 165 215 / 62%);
    transition: .25s ease;}
}
    .cta.primary{background:var(--cta);color:white;border-color:transparent}
    .cta.secondary{background:var(--cta-2);color:var(--text)}
    .cta:hover{transform:translateY(-1px);box-shadow:0 12px 24px rgba(0,0,0,.18); color: rgb(12 165 215 / 62%);}

    /* --- Hero --- */
    .hero{position:relative;padding: clamp(56px, 10vw, 120px) 0}
    .hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:var(--grid-gap);align-items:center}
    .eyebrow{font-size:14px;color:var(--muted);letter-spacing:.12em;text-transform:uppercase}
    h1{font-size:clamp(40px, 6vw, 80px);line-height:1.05;margin:10px 0 16px;letter-spacing:-.02em}
    .lede{font-size:clamp(16px, 1.5vw, 20px);color:var(--muted);max-width:48ch}
    .hero-actions{display:flex;gap:12px;margin-top:26px}

    .device{
      position:relative;aspect-ratio:4/3;border-radius:calc(var(--radius) + 4px);
      background: 
            url(img/hacker.png) no-repeat center top 10px / 350px auto, linear-gradient(180deg, rgb(21 146 255 / 8%), rgb(16 154 71 / 8%));
      border:1px solid var(--border);
      overflow:hidden;box-shadow:var(--shadow);
    }


    .device::before{
      content:"";position:absolute;inset:-20%;background:
      radial-gradient(600px 300px at 70% 0%, rgba(0,113,227,.35), transparent 40%),
      radial-gradient(600px 300px at 30% 100%, rgba(255,255,255,.2), transparent 40%),
      linear-gradient(120deg, rgba(255,255,255,.12), rgba(255,255,255,0) 40%);
      filter:saturate(130%);
    }
    .device .dock{position:absolute;inset:auto 20px 20px;display:flex;gap:12px}
    .chip{padding:0px 14px;font:600 12px/1 var(--font, inherit);border-radius:9px;background:rgba(255,255,255,.2);border:1px solid var(--border)}


.device2 {
  position: relative;
  aspect-ratio: 2/3;
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(135deg, rgb(0 106 255 / 5%), rgb(12 17 14));
  animation: bgmove 8s ease-in-out infinite alternate;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  align-items: flex-start; /* прижимаем контент к верху */
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}


@keyframes bgmove {
  0% { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}

.content {
  text-align: center;
  width: 100%;
}

.title {
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}

.subtitle {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 в ряд */
  gap: 20px;
  padding: 0 10px;
  justify-items: center;
  align-items: center;
}

.icon-wrap {
  text-align: center;
  width: 70px;
}

.icon {
  width: 80px;
  height: 80px;
  opacity: 1;
  border-radius: 9px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.icon-wrap:hover .icon {
  transform: scale(1.2);
  opacity: 1;
}

.label {
  display: block;
  margin-top: -6px;
  font-size: 12px;
  color: white;
  text-shadow: 0 1px 3px rgba(0,0,0,0.7);
  user-select: none;
}




    /* --- Section cards --- */
    section{padding: clamp(36px, 7vw, 80px) 0}
    .grid{display:grid;grid-template-columns:repeat(12, 1fr);gap:var(--grid-gap)}



.card2 {
  max-width: 1100px;
  margin: 0 auto;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  padding: 28px;
  box-shadow: var(--shadow);
}

.card2 h2{
font-size: 30px;
}


.card {
  grid-column: span 4;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.btn {
  padding: 10px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--accent, #007BFF);
  color: #000;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s;
}

.btn:hover {
  background: var(--accent-hover, #0056b3);
}

.slider {
  position: relative;
  overflow: visible;
  width: 100%;
  max-width: 500px;
  margin: 20px auto;
}

.slides {
  display: flex;
  transition: transform 0.4s ease-in-out;
  background: linear-gradient(135deg, rgb(5 17 60), rgb(2 35 8 / 50%));
  border-radius: var(--radius);
}

.slide {
  min-width: 100%;
  display: none;
  align-items: center;
  gap: 12px;
  background: var(--card);
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.slide.active {
  display: flex;
}

.profile-pic {
  border-radius: 50%;
  width: 60px;
  height: 60px;
}

.review {
  display: flex;
  flex-direction: column;
}

.review .date {
  font-size: 12px;
  color: gray;
  margin-bottom: 6px;
}

/* Стрелки */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--accent, #007BFF);
  border: none;
  cursor: pointer;
  font-size: 15px;
  opacity: 0.2;
}

.slider-btn:hover {
  opacity: 0.5;
}

.prev {
  left: -10px; /* прижали к левой границе */
}

.next {
  right: -10px; /* прижали к правой границе */
}




    .card h3{margin:0 0 8px;font-size:22px;letter-spacing:-.01em}
    .card p{margin:0;color:var(--muted)}
    .card.big{grid-column:span 8;display:grid;grid-template-columns:1fr 1fr;gap:var(--grid-gap);align-items:center}
    .specs{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:16px}
    .spec{background:rgba(255,255,255,.06);border:1px solid var(--border);padding:14px;border-radius:12px}

    /* --- Color picker --- */
    .swatches{display:flex;gap:10px;margin-top:12px}
    .swatch{width:26px;height:26px;border-radius:50%;border:1px solid var(--border);cursor:pointer;position:relative}
    .swatch[aria-selected="true"]{outline:2px solid var(--text);outline-offset:2px}

    /* --- Pricing --- */
    .pricing{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--grid-gap)}
    .price-card{border:1px solid var(--border);border-radius:var(--radius);background:var(--card);padding:28px;box-shadow:var(--shadow)}
    .price{font-size:36px;font-weight:700;letter-spacing:-.02em;margin:8px 0}
    .note{font-size:13px;color:var(--muted)}

    /* --- Footer --- */
    footer{border-top:1px solid var(--border);padding:40px 0;color:var(--muted);font-size:14px}

/************************************
 * 💬 Секция комментариев
 ************************************/
.comments-section {
  padding: 50px 0;
  background: radial-gradient(800px 400px at 80% -10%, rgba(255,255,255,.04), transparent 60%);
}

.comments-section h2 {
  font-size: 28px;
  text-align: center;
  margin-bottom: 10px;
}

/************************************
 * ⭐ Средний рейтинг
 ************************************/
.average-rating {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: gold;
  margin-bottom: 25px;
}

/************************************
 * 📋 Список комментариев
 ************************************/
.comments-list {
  max-width: 800px;
  margin: 0 auto 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comment-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255,255,255,0.05);
  padding: 15px 18px;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.comment-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}




/************************************
 * 👤 Аватарка
 ************************************/
.comment-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #0e2935;
  border: 1px solid rgba(255,255,255,0.1);
}

/************************************
 * 📝 Тело комментария
 ************************************/
.comment-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.comment-body strong {
  font-size: 16px;
  display: block;
  margin-bottom: 4px;
}

.comment-rating {
  color: gold;
  font-size: 16px;
  margin: 2px 0 6px;
}

.comment-body p {
  margin: 4px 0 8px;
  color: var(--muted, #b7b7b7);
  line-height: 1.5;
  word-break: break-word;
}

.comment-body .date {
  font-size: 13px;
  color: var(--muted, #888);
}

/************************************
 * 🌿 Вложенные ответы (админ)
 ************************************/
.comment-children {
  margin-left: 0;               /* убираем отступ вправо */
  margin-top: 10px;             /* небольшой отступ сверху */
  border-left: none;            /* убираем вертикальную линию */
  padding-left: 0;
  display: flex;
  flex-direction: column;       /* ответы выстраиваются вертикально */
  gap: 10px;
}

/* Ответ администратора */
.comment-item.admin-reply {
  margin-left: 0;                          /* не сдвигается вправо */
  margin-top: -18px;
  margin-bottom: 18px;
  background: rgba(0, 113, 227, 0.08);
  border-left: 3px solid #0071e3;
  padding: 12px 18px;
  border-radius: 10px;
}

.comment-item.admin-reply .comment-avatar {
  width: 45px;
  height: 45px;
  border: 2px solid #0071e3;
}



/************************************
 * 📝 Форма добавления комментариев
 ************************************/
.comment-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(255,255,255,0.05);
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.comment-form input[type="text"],
.comment-form textarea,
.comment-form input[type="file"] {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border, rgba(255,255,255,0.1));
  background: rgba(255,255,255,0.03);
  color: var(--text, #ececec);
  font-size: 14px;
}

.comment-form textarea {
  min-height: 100px;
  resize: vertical;
}

.comment-form label {
  font-size: 14px;
  font-weight: 500;
  margin-top: 0px;
  color: var(--text, #ececec);
}

.comment-form button[type="submit"] {
  align-self: flex-start;
  background: var(--cta, #0071e3);
  color: white;
  border: none;
  padding: 10px 18px;
  font-size: 15px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}

.comment-form button[type="submit"]:hover {
  background: #005bbd;
  transform: translateY(-2px);
}

/************************************
 * ⭐ Рейтинг в форме
 ************************************/
.rating-stars {
  display: inline-flex;
  gap: 6px;
  font-size: 15px;
  cursor: pointer;
  user-select: none;
}

.rating-stars span {
  color: #999;
  transition: color 0.2s, transform 0.2s;
}

.rating-stars span:hover {
  transform: scale(1.2);
}

.rating-stars span.selected {
  color: gold;
}

/************************************
 * 📱 Адаптивность
 ************************************/
@media (max-width: 600px) {
  .comment-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .comment-avatar {
    width: 50px;
    height: 50px;
  }

  .comment-body strong {
    font-size: 15px;
  }

  .comment-form {
    padding: 15px;
  }
}

/* 🌿 Контейнер блока ответа администратора */
.admin-reply-block {
  margin-top: -35px;
  margin-left: 30px; /* небольшой отступ вправо от основного коммента */
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* 📎 Вертикальная линия */
.admin-reply-block .connector-line {
  width: 1px;
  height: 38px;
  background: #0071e3;
  margin-left: 12px;
}



/* 🔸 Гамбургер */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 60;
}

.burger .line {
  width: 100%;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* 📱 Показываем на мобильных */
@media (max-width: 960px) {
  .burger {
    display: flex;
  }
}

/* 🔸 Анимация "крестика" */
.burger[aria-expanded="true"] .line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger[aria-expanded="true"] .line:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] .line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* 🔸 Мобильное меню */
.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 20px;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 50;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* 📌 При открытии */
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a {
  font-size: 18px;
  color: var(--text);
  text-align: center;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.mobile-menu a:hover {
  color: var(--cta);
}





.cta:hover{box-shadow:0 0 20px rgba(255,255,255,.35);transform:translateY(-4px)}
.hero{position:relative;padding:clamp(56px,10vw,120px) 0}
.hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:24px;align-items:center}
h1{font-size:clamp(40px,6vw,80px);line-height:1.05;margin:10px 0 16px}
.lede{font-size:clamp(16px,1.5vw,20px);color:var(--muted);max-width:48ch}
section{padding:clamp(36px,7vw,80px) 0}
.contact-section {
  position: relative;
  text-align: center;
  padding: 60px 0;
  background: linear-gradient(135deg, rgba(0,255,195,0.08), rgba(0,100,255,0.05));
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url(img/hacker2.png) no-repeat right -100px top -200px / 700px auto;
  opacity: 0.3; /* <-- прозрачность картинки */
  pointer-events: none;
}
.contact-section h2{font-size:32px;letter-spacing:-.01em;margin-bottom:12px}
.contact-section p{max-width:600px;margin:0 auto 24px;color:var(--muted);font-size:16px}
.contact-buttons{display:flex;justify-content:center;color: #cbcbcb;gap:16px;flex-wrap:wrap}
.contact-buttons .cta{font-size:16px;line-height:1;text-align:center;     padding: 11px 18px;}

    /* --- Responsive --- */
    @media (max-width: 960px){
      .hero-grid{grid-template-columns:1fr;gap:32px}
      .card{grid-column:span 12}
      .card.big{grid-template-columns:1fr}
      .pricing{grid-template-columns:1fr}
      .links{display:none}
    }



@media (max-width: 1024px){

  .grid {grid-template-columns: repeat(8, 1fr);}

.card {grid-column: span 8;}

}






@media (max-width: 768px){

    .grid {
    display: grid
;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--grid-gap);
}

    .card {
        grid-column: span 18;
    }


.card.big {
    grid-column: span 18;
}

.device2 {
    position: relative;
    aspect-ratio: 2 / 1.6;}


.device {
    background: url(img/hacker.png) no-repeat center top 10px / 550px auto, 
            linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02))}




}



@media (max-width: 500px){


.card.big {
    grid-column: span 18;
}




}


@media (max-width: 425px){

.device {
    background: url(img/hacker.png) no-repeat center top 10px / 350px auto, 
            linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02))}

body {line-height: 1.3;}

.device2 {padding: 8px; aspect-ratio: 2 / 2.5;}

.card.big {grid-column: span 18;}

.card {grid-column: span 18; padding: 10px;}

.icon-grid {grid-template-columns: repeat(3, 1fr);}

.spec {padding: 5px;}


}

    /* --- Responsive --- */
    @media (max-width: 375px){
      .device2 {padding: 8px; aspect-ratio: 2 / 3;}
    }




    /* --- Responsive --- */
    @media (max-width: 340px){
      .hero-grid{grid-template-columns:1fr;gap:32px}
      .card{grid-column:span 20}
      .card.big{grid-template-columns:1fr;grid-column: span 20;}
      .pricing{grid-template-columns:1fr}
      .links{display:none}


.specs {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 14px;
    margin-top: 16px;
    align-content: space-around;
}

.subtitle {
  display: none;
}

.title {
    font-size: 16px;
    font-weight: 700;
    color: white;
    margin-bottom: 0px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}



.device2 {padding: 8px; aspect-ratio: 2 / 3.5;}
*, *::before, *::after {
    box-sizing: border-box;
}


.icon {
    width: 80px;
    height: 80px;
    opacity: 1;
    border-radius: 9px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}


.icon-grid {
    display: grid
;
    grid-template-columns: repeat(2, 1fr);
    gap: 0px;
padding: 0 0px;
    justify-items: center;
    align-items: center;
}

.device {
    /* position: relative; */
    display: none;
    aspect-ratio: 4 / 3;
    border-radius: calc(var(--radius) + 4px);
    background: url(img/hacker.png) no-repeat center top 10px / 350px auto, linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow);
}

    }


    /* ===============================
   🦶 FOOTER
=============================== */
.site-footer {
  background: color-mix(in oklab, var(--bg) 90%, black);
  color: var(--muted);
  padding-top: 50px;
  border-top: 1px solid var(--border);
  margin-top: 60px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-brand .logo {
  width: 32px;
  height: 32px;
  background: url(img/logo.png) no-repeat center/contain;
  border-radius: 8px;
}

.footer-brand span {
  font-weight: 600;
  font-size: 18px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
  max-width: 220px;
}

.footer-nav h4,
.footer-contact h4 {
  color: var(--text);
  font-size: 15px;
  margin-bottom: 8px;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav li {
  margin-bottom: 6px;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--cta);
}

.footer-contact a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: var(--cta);
}

/* Нижняя плашка */
.footer-bottom {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 16px 0;
  margin-top: 30px;
  font-size: 13px;
  color: var(--muted);
}

.footer-bottom .small {
  font-size: 12px;
  opacity: 0.7;
}

/* 📱 Адаптив */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  .footer-brand {
    align-items: center;
  }
}

/* ===============================
   🧭 Выпадающее меню (Услуги)
=============================== */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 4px;
}

.dropbtn:hover {
  color: var(--cta);
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--bg);
  min-width: 220px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.2);
  border: 1px solid var(--border);
  border-radius: 10px;
  z-index: 100;
  flex-direction: column;
}

.dropdown-content a {
  color: var(--text);
  padding: 10px 14px;
  display: block;
  font-size: 14px;
  transition: background 0.2s ease;
}

.dropdown-content a:hover {
  background: rgba(255,255,255,0.06);
}

.dropdown:hover .dropdown-content {
  display: flex;
}

/* 📱 Мобильное меню — dropdown адаптация */
@media (max-width: 960px) {
  .dropdown {
    width: 100%;
  }
  .dropdown-content {
    position: static;
    box-shadow: none;
    border: none;
    display: none;
  }
  .dropdown.open .dropdown-content {
    display: flex;
  }
  .dropbtn {
    width: 100%;
    justify-content: center;
    padding: 8px 0;
  }
}
/* 🌿 Улучшенный тарифный блок */
.price-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(145deg, rgba(255,255,255,0.03), rgba(255,255,255,0.05));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}

.tariff-header {
  margin-bottom: 14px;
  text-align: center;
}

.tariff-header h3 {
  font-size: 22px;
  margin-bottom: 6px;
}

.tariff-subtitle {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
  max-width: 90%;
  margin: 0 auto;
}

.tariff-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}

.tariff-list li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

/* Галочки и крестики */
.tariff-list li:contains("✅") {
  color: #00c853;
}

.tariff-list li:contains("❌") {
  color: #d32f2f;
}

/* 🏷️ Популярный тариф */
.price-card.popular {
  position: relative;
  border: 2px solid #0071e3;
  background: linear-gradient(135deg, rgba(0,113,227,0.05), rgba(255,255,255,0.05));
}

.badge {
  display: inline-block;
  background: #0071e3;
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

/* Кнопка */
.price-card .btn {
  width: 100%;
  font-size: 15px;
  padding: 10px;
  background: var(--cta);
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.25s ease;
}

.price-card .btn:hover {
  background: #005bbd;
}

/* 🌌 Модальное окно */
.modal {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(4px);
  z-index: 999;
}

.modal[hidden] {
  display: none;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.modal-content {
  position: relative;
  background: var(--bg);
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 24px;
  max-width: 480px;
  width: 90%;
  color: var(--text);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  z-index: 1000;
  animation: modalIn .3s ease;
}

@keyframes modalIn {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--muted);
  cursor: pointer;
  transition: color .2s;
}
.modal-close:hover {
  color: var(--text);
}

/* Кнопка "Подробнее" */
.btn.more {
  background: transparent;
  color: var(--cta);
  border: 1px solid var(--cta);
  font-size: 14px;
}
.btn.more:hover {
  background: var(--cta);
  color: white;
}
.tariff-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

