* {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
html{
    margin: 0;
    padding: 0;
    
}
:root {
--primary-color: #7dbd28;
--second-color: #2e3c56;
--second-color-next: #3d4b65;
--primary-hover-color:  #81cc1f;
--primary-color-blue: #278ec6;
--primary-color-fio: #4352af;
--primary-color-greend: #7dbd28;
}
html, body {
    height: 100%;
    margin: 0;
     overflow-x: hidden;
}
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    height: 100%;
      font-size: 16px;

}
a{
    text-decoration: none;
  transition: 0.1s;
    color: #6ba819;
}
img{
  max-width: 100%;
  height: auto;
}

main{
    flex: 1;
}





.text-center{
  text-align: center;
}

body {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-weight: 500;
    font-family: Roboto, system-ui, -apple-system, Arial, sans-serif;
  background: #f7f8fc;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.bg{
  background: var(--second-color-next);
}
.bg-green{
  background: var(--primary-color);
}
.bg2{
    background: var(--second-color);
}

.text-white,
.text-white .subtitle {
  color: #fff;
}


.logo .icon-logo{
      color: var(--primary-color);
}
.menu li a:before{
    background: var(--primary-color);
}
.wrapp{
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 22px;
    border: 1px solid #d6d6d6;
}
body.modal-open {
  overflow: hidden;
}
.hide{
  display: none;
}

p {
    margin: 0 0 15px 0;
}

.bg-color {
  background: #e2e4ee;
}






/*********************************
LIGHTBOX
*********************************/

.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0,0,0,0.7);
  align-items: center;
  justify-content: center;
    touch-action: pan-y;

}

.lightbox.active {
  display: flex;
}

.lightbox-preview {
  width: auto;
  height: auto;
  max-width: 95vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 10px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 32px;
  color: white;
  cursor: pointer;
}
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: white;
  cursor: pointer;
  padding: 10px;
  user-select: none;
}

.lightbox-arrow.left {
  left: 20px;
}

.lightbox-arrow.right {
  right: 20px;
}

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  color: white;
  font-size: 14px;
  opacity: 0.8;
}


/*********************************
админка
*********************************/



.admin .card {
   margin-bottom: 50px;
        }
.admin .card .link-black,
.admin .card .link-red {
font-size: 15px;
        } 
.admin table {
            border-collapse: collapse;
            width: 100%;
        }

.admin th, 
.admin td {
            border: 1px solid #ddd;
            padding: 8px;
        }

.admin th {
            background: #f5f5f5;
        }


.admin-nav {
    background: var(--second-color-next);
    padding: 10px 0;
}



.admin-nav a {
    color: white;
    margin-right: 20px;
    text-decoration: none;

}

.admin-nav a:hover {
    text-decoration: underline;
}


.admin .row-col {
  display: flex;
  gap: 20px;
  padding-bottom: 30px;
}

.admin .col-3{
    flex: 0 0 33.333%;
}



.admin.dashboard .admin-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
}

.admin.dashboard .chart-card {
grid-column: span 1;
}

.admin.dashboard .full {
grid-column: span 2;
}

.admin.dashboard canvas {

    max-width: 100%;
}








/*админка карточка клиента возврат и история платежей*/
.admin-table{
margin-top:30px;
}

.table-tools{
margin-bottom:15px;
}

.table-search{
padding:8px 12px;
border:1px solid #ddd;
border-radius:6px;
width:250px;
}

.table{
width:100%;
border-collapse:collapse;
}

.table th{
background:#f5f5f5;
text-align:left;
padding:10px;
font-weight:600;
}

.table td{
padding:10px;
border-top:1px solid #eee;
}

.status{
padding:4px 8px;
border-radius:6px;
font-size:13px;
}

.status.paid{
background:#e6f7e6;
color:#2e7d32;
}

.status.pending{
background:#fff4e5;
color:#c77700;
}

.status.refunded{
background:#ffe5e5;
color:#b71c1c;
}

.btn-small{
padding:6px 10px;
font-size:13px;
margin-right:5px;
}

.btn-small.danger{
background:#e53935;
color:white;
}

.btn-wrapp{

  gap: 15px;

  display: flex;
  grid-template-columns: auto auto;
  justify-content: center;
}


/*********************************
HOMEPAGE
*********************************/


.home .btn {
        text-align: center;
        width: auto;
        min-width: 240px;
}

.home .hero .home .col{
display: grid;
grid-template-columns: repeat(3, 1fr);
}

.home .subtitle {
    font-size: 22px;
}


.home .hero-sub{
font-size: 18px;
    color: #666;
    max-width: 800px;
    margin: 0 auto 30px;
}

.home .hero-actions{
display:flex;
justify-content:center;
gap:20px;
}

.home .hero-btn{
font-size:16px;
padding:12px 24px;
}

.home .hero-btn-secondary{
background:#fff;
border:1px solid #ddd;
}


.home .home-tr {
 overflow-x: hidden;
}

.home .trigg-wrapp {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    position: relative;
    }

.home .trigg-item {
 flex: 0 0 27%;
    scroll-snap-align: start;
    }

.home .trigg-item-desc{
    top: -20px;
    text-align: center;
    line-height: 1.4;
    color: #757575;
    position: relative;
}

.home-tr .scroll-btn {
    position: absolute;
    top: 43%;
    transform: translateY(-50%);
    z-index: 10;
    background: transparent;
    border: 0;
    font-size: 55px;
    color: #c4c4c4;
}

.home-tr .prev {
  left: -80px;
}

.home-tr .next {
  right: -80px;
}





.home .tools{
padding:80px 0;
}

.home .tool-section{
padding:80px 0;
border-bottom:1px solid #cdcccc;
display: grid;
grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.home .tool-section:last-child{
padding-bottom:0;
border-bottom: 0;
}

.home .tool-section.home .alt{
background:#fafafa;
}

.home .tool-text{
max-width:700px;
}

.home .tool-image{
    max-width: 700px;
    padding: 15px;
    border: 1px solid #cdcdcd;
    background: #ffffff;
}

.home .tool-text h3{
font-size:28px;
margin-bottom:10px;
}

.home .tool-text p{
color:#555;
}

.home .tool-text ul{
margin:30px 0;
}

.home .tool-text li{
margin-bottom:6px;
}










.home .hero-text p{
font-size:18px;
color:#666;
}

.home .hero .small{
font-size: 13px;
    padding-top: 10px;
    color: #7c7676;
}


.home .hero-first {
      padding: 1% 0 0 0;
}

.home .hero-first .hero-img img{
width: 947px;
    position: absolute;
    top: 0px;
    left: -98px;
}

.home .hero-first .hero-text{
    max-width: 705px;
    text-align: center;
    margin: auto;
    padding-bottom: 30px;
}
.home .hero-first .btn{
display: inline-block;
}

.home .hero-second{
 position: relative;
     margin-top: 7%;
 }

.home .hero-second .hero-img img{
  
width: 1028px;
    position: absolute;
    top: -100px;
    right: -428px;
    z-index: 0;
}

.home .hero-second  .hero-text{
max-width: 555px;
    position: relative;
    z-index: 2;
    background: #f7f8fe;

}










.home .audience{
    z-index: 1;
    position: relative;
   margin-top: 7%;
}

.home .audience .title{
padding-bottom: 40px;

}

.home .section-title{

text-align:center;
font-size:42px;
margin-bottom:70px;

}

.home .audience-grid{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:30px;

}

/* карточка */

.home .card{

background:white;

padding:32px;

border-radius:14px;

box-shadow:0 10px 30px rgba(0,0,0,0.08);

transition:all .3s ease;

}

.home .card:hover{

transform:translateY(-6px);

box-shadow:0 20px 50px rgba(0,0,0,0.15);

}

/* заголовок */

.home .card h3{

font-size:20px;
margin-bottom:12px;

}

/* текст */

.home .card p{

color:#555;
line-height:1.6;

}

/* список */

.home .card ul{

margin:16px 0;
padding-left:20px;

}

.home .card li{

margin-bottom:6px;

}

/* пояснение */

.home .note{

font-size:14px;
color:#777;

}









.home .feature-list{list-style:none;padding:0;margin:30px 0;color:#222}
.home .feature-list li{position:relative;padding-left:38px;margin-bottom:14px}
.home .feature-list li:before{content:"";position:absolute;left:0;top: 0px;width:22px;height:22px;background:#76b82a;border-radius:50%;box-shadow:0 4px 10px rgba(0,0,0,0.15)}
.home .feature-list li:after{content:"✓";position:absolute;left:5px;top: 2px;font-size:14px;color:white;font-weight:bold}



.home .semantic-example {
      padding: 10% 0 0 0;
}





.home .all-tools{
    padding: 2% 0;
    position: relative;
    z-index: 1;
    text-align: center;
  background: var(--second-color);
    color: #fff;
}



.home .builder{
padding: 4% 0;

}



.home .builder-header{

text-align:center;
margin-bottom:60px;

}

.home .builder-header h2{

font-size:42px;
margin-bottom:10px;

}

.home .builder-header p{

color:#666;

}


.home .builder-content{

display:flex;
gap:60px;
align-items:center;

}


.home .builder-tabs{

flex:1;

}


.home .tab{
    border: 1px solid #dcdcdc;
padding:16px 20px;
margin-bottom:12px;

background:#f1f2f5;

border-radius:10px;

cursor:pointer;

transition:all .25s ease;

font-size:18px;

}

.home .tab:hover{

background:#e7e9ee;

}


.home .tab.active{
    border: 1px solid var(--primary-color);
    background: var(--primary-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    color: #fff;

}


.home .builder-preview{

flex:1 .5;

}


.home .builder-preview img{

width:100%;

border-radius:14px;

box-shadow:0 20px 50px rgba(0,0,0,0.15);

transition:opacity .3s ease;

}





/*********************************
статистика использования кредитов
*********************************/
/* ===== Usage History ===== */

.usage-history .table-wrap {
    margin-top: 20px;
}

.usage-history .usage-controls {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.usage-history #search {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

.usage-history .table-wrap select {
    width: 120px;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

/* ===== Table ===== */

.usage-history .usage-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.usage-history .usage-table thead {
    background: #f5f6f8;
}

.usage-history .usage-table th {
    text-align: left;
    font-weight: 600;
    padding: 12px;
    font-size: 14px;
    border-bottom: 1px solid #e3e3e3;
}

.usage-history .usage-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.usage-history .usage-table tr:hover {
    background: #fafafa;
}

/* ===== Columns ===== */

.usage-history .usage-table td:nth-child(1) {
    width: 180px;
    color: #666;
}

.usage-history .usage-table td:nth-child(3) {
    width: 100px;
    font-weight: 600;
}

.usage-history .usage-table td:nth-child(4) {
    width: 180px;
}

/* ===== Status colors ===== */

.usage-history .status-success {
    color: #1f8f4e;
    font-weight: 600;
}

.usage-history .status-refund {
    color: #d9822b;
    font-weight: 600;
}

.usage-history .status-error {
    color: #d64545;
    font-weight: 600;
}

/* ===== Pagination ===== */

.usage-history .pagination {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.usage-history .pagination button {
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    background: white;
    cursor: pointer;
}

.usage-history .pagination button:hover {
    background: #f5f5f5;
}

.usage-history #pageNumber {
    font-weight: 600;
}
/* ===== STATUS COLORS ===== */

.usage-history .status-success{
    color:#1a7f37;
    font-weight:600;
}

.usage-history .status-refund{
    color:#d97706;
    font-weight:600;
}

.usage-history .status-error{
    color:#dc2626;
    font-weight:600;
}



/* ===== DAY GROUP HEADER ===== */

.usage-history .day-group{
    background:#f5f7fb;
    font-weight:600;
    color:#444;
}

.usage-history .day-group td{
    padding:10px 12px;
    border-bottom:1px solid #e5e7eb;
}






/*********************************
хлебные крошки
*********************************/
.breadcrumbs {
font-size: 14px;
    padding: 10px 0 0 0;
    color: #777;
}

.breadcrumbs a {
  text-decoration: none;
  color: #555;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}




h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 10px;
  margin-top: 0;
}


h1:last-child,
h2:last-child,
h3:last-child,
h4:last-child,
h5:last-child,
h6:last-child {
margin-bottom: 0px;
}

.container > h1{
    margin-top: 15px;
        margin-bottom: 4px;
}



h1,
.title{
  font-size: 26px; 
}

.container h1:has(+ .wrapp) {
    margin-bottom: 15px;
}


.subtitle {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.5;
}
.subtitle span{
border-bottom: 2px solid var(--primary-color);
}

.uptitle span{
    background: var(--second-color);
    padding: 10px 15px;
    color: #fff;
    display: inline-block;
    margin-bottom: 15px;
    border-radius: 6px;
    position: relative;
}
.warning{
  padding-left: 20px !important;
}
.warning:before,
.warning:after {
    content: "";
   width: 7px;
    height: 7px;
    border-radius: 50%;
    position: absolute;
    top: 10px;
    left: 0px;
    background-color: var(--primary-color);
    z-index: 2;
}
.warning:after{
    z-index: 1;
    -webkit-animation: pulse_2 2s linear infinite;
    animation: pulse_2 2s linear infinite;
}


@-webkit-keyframes pulse_2 {
  0% {
    -webkit-transform: scale(0.8);
            transform: scale(0.8);
    opacity: 0.8;
  }
  100% {
    -webkit-transform: scale(3.5);
            transform: scale(3.5);
    opacity: 0;
  }
}
@keyframes pulse_2 {
  0% {
    -webkit-transform: scale(0.8);
            transform: scale(0.8);
    opacity: 0.8;
  }
  100% {
    -webkit-transform: scale(3.5);
            transform: scale(3.5);
    opacity: 0;
  }
}
@-webkit-keyframes pulse_2_small {
  0% {
    -webkit-transform: scale(0.8);
            transform: scale(0.8);
    opacity: 0.8;
  }
  100% {
    -webkit-transform: scale(1.7);
            transform: scale(1.7);
    opacity: 0;
  }
}
@keyframes pulse_2_small {
  0% {
    -webkit-transform: scale(0.8);
            transform: scale(0.8);
    opacity: 0.8;
  }
  100% {
    -webkit-transform: scale(1.7);
            transform: scale(1.7);
    opacity: 0;
  }
}




.q {
     position: relative;
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgb(236 238 248);
    border: 1px solid #a6aaca;
    text-align: center;
    font-size: 12px;
    cursor: help;
    margin-left: 6px;
    line-height: 15px;
}

.tooltip {
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  
  background: #000;
  color: #fff;
  padding: 10px;
  border-radius: 6px;
  
  font-size: 12px;
  min-width: 220px;
  
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
}

.q:hover .tooltip {
  opacity: 1;
  visibility: visible;
}


/* 🔥 маленькая стрелка */
.q::before {
content: "";
    position: absolute;
    bottom: 70%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #000;
    opacity: 0;
    transition: 0.2s;
}

/* hover */
.q:hover::after,
.q:hover::before {
  opacity: 1;
}


.p-row{  
  padding: 3% 0;
  }



.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}
.clearfix:after {
    clear: both; 
}

.relative{
  position: relative;
}

.pbd{
  padding-bottom: 15px;
}
.ptd{
    padding-top: 15px;
}
.pb0{
  padding-bottom: 0px;
}
.pb5{
  padding-bottom: 5px;
}
.pb30{
  padding-bottom: 30px;
}
.pb50{
  padding-bottom: 50px;
}
.pt0{
  padding-top: 0px;
}
.pt20{
  padding-top: 20px;
}
.pt30{
  padding-top: 30px;
}
.pt50{
  padding-top: 50px;
}



/*********************************
home 
*********************************/

.home h1:has(+ .subtitle){
 padding-bottom: 15px;
margin: 0px;
}

.home h1,
.home .title{
     font-size: 42px;
  
}






.pageTheme{
    font-size: 14px;
    margin-bottom: 15px;
}

.pageTheme strong{
padding-bottom: 5px;
    display: inline-block;
}

.red{
  color: red;
}

/*********************************
toggle 
*********************************/
.toggle-content{
display:none;
margin-top:10px;
}

.toggle-content.active{
display:block;
}



/*********************************
модальное окно
*********************************/

.auth-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.auth-modal.active {
  display: flex;
}

.auth-modal-content {
  background: white;
  padding: 30px;
  border-radius: 5px;
  width: 360px;
  text-align: center;
  position: relative;
}

.auth-buttons {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.auth-btn {
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    background: #eee;
    color: #000;
    width: 150px;
}

.auth-btn.primary {
width: 200px;
}

.auth-close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  background: none;
  cursor: pointer;
}




/*********************************
галки и опции
*********************************/
.option-line-block {
display: block;
}

.option-toggle,
.option-expand {
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
}



.option-settings {
  margin-top: 8px;
}

.option-settings textarea {
  width: 100%;
}



/*********************************
шапка и меню 
*********************************/


/* ===== HEADER ===== */

.header {
    background: var(--second-color);
   
    box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

.header-container{
  padding: 0 25px;

  margin: auto;
}

.navi {
    
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ===== LOGO ===== */

.logo  {
color: white;
    position: relative;
    padding-left: 38px;
    text-transform: uppercase;
}
.logo a {
color: white;
text-decoration: none;
}

.icon-logo {
width: 32px;
    height: 32px;
    stroke-width: 1.6;
    color: #ffffff;
    position: absolute;
    top: -7px;
    left: 0;
}    
/* ===== MENU ===== */


.menu-toggle{
  display: none;
}
  .menu-close{
display: none;
  }
.menu {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
      transition: none;
   
}

.menu > li {
    position: relative;
}

.menu > li > a {
    text-decoration: none;
    color: #fff;
    transition: all 0.2s ease;
        padding: 20px 0;
        display: inline-block;
}

.menu > li > a:hover {
opacity: 0.8;
}

/* ===== DROPDOWN ===== */
.menu li a.menu-icon{
    padding-left: 25px;
}

.menu-icon::before{
    position: absolute;
    left: -2px;
    top: 20px;
    content: "";
    width: 21px;
    height: 21px;
display: inline-flex;
}

.my-account-icon::before {
    background-color: currentColor;

    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z' stroke='black' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M6.376 18.91a6 6 0 0 1 11.249.003' stroke='black' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='11' r='4' stroke='black' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat center;

    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z' stroke='black' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M6.376 18.91a6 6 0 0 1 11.249.003' stroke='black' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='11' r='4' stroke='black' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat center;

    mask-size: contain;
    -webkit-mask-size: contain;

    flex-shrink: 0;
}

.price-icon::before {

    background-color: currentColor;

    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z' stroke='black' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M9 16h5' stroke='black' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3Cpath d='M9 12h5a2 2 0 1 0 0-4h-3v9' stroke='black' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;

    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z' stroke='black' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M9 16h5' stroke='black' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3Cpath d='M9 12h5a2 2 0 1 0 0-4h-3v9' stroke='black' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;

    mask-size: contain;
    -webkit-mask-size: contain;

    flex-shrink: 0;
}


.login-icon::before {
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m10 17 5-5-5-5' stroke='black' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M15 12H3' stroke='black' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3Cpath d='M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4' stroke='black' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m10 17 5-5-5-5' stroke='black' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M15 12H3' stroke='black' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3Cpath d='M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4' stroke='black' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
    -webkit-mask-size: contain;
    flex-shrink: 0;
}

.price-icon::before {

  background-color: currentColor;

  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1'/%3E%3Cpath d='M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4'/%3E%3C/g%3E%3C/svg%3E") no-repeat center;

  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1'/%3E%3Cpath d='M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4'/%3E%3C/g%3E%3C/svg%3E") no-repeat center;

  -webkit-mask-size: contain;
  mask-size: contain;

  flex-shrink: 0;
}


.book-icon::before {
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 7v14'/%3E%3Cpath d='M16 12h2'/%3E%3Cpath d='M16 8h2'/%3E%3Cpath d='M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z'/%3E%3Cpath d='M6 12h2'/%3E%3Cpath d='M6 8h2'/%3E%3C/g%3E%3C/svg%3E") no-repeat center;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 7v14'/%3E%3Cpath d='M16 12h2'/%3E%3Cpath d='M16 8h2'/%3E%3Cpath d='M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z'/%3E%3Cpath d='M6 12h2'/%3E%3Cpath d='M6 8h2'/%3E%3C/g%3E%3C/svg%3E") no-repeat center;
  -webkit-mask-size: contain;
  mask-size: contain;
}


.logo-icon::before {
  content: "";
    width: 32px;
    height: 32px;
    stroke-width: 1.6;

    background: var(--primary-color);

  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 18V5'/%3E%3Cpath d='M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4'/%3E%3Cpath d='M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5'/%3E%3Cpath d='M17.997 5.125a4 4 0 0 1 2.526 5.77'/%3E%3Cpath d='M18 18a4 4 0 0 0 2-7.464'/%3E%3Cpath d='M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517'/%3E%3Cpath d='M6 18a4 4 0 0 1-2-7.464'/%3E%3Cpath d='M6.003 5.125a4 4 0 0 0-2.526 5.77'/%3E%3C/g%3E%3C/svg%3E") no-repeat center;

  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 18V5'/%3E%3Cpath d='M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4'/%3E%3Cpath d='M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5'/%3E%3Cpath d='M17.997 5.125a4 4 0 0 1 2.526 5.77'/%3E%3Cpath d='M18 18a4 4 0 0 0 2-7.464'/%3E%3Cpath d='M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517'/%3E%3Cpath d='M6 18a4 4 0 0 1-2-7.464'/%3E%3Cpath d='M6.003 5.125a4 4 0 0 0-2.526 5.77'/%3E%3C/g%3E%3C/svg%3E") no-repeat center;

  -webkit-mask-size: contain;
  mask-size: contain;

  flex-shrink: 0;
      padding-bottom: 20px;
      display: flex;
}





.menu .icon-dropdown-menu{
width: 12px;
    height: 12px;
    color: #fff;
}


.meni-have-child {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* стрелка */
.meni-have-child > a::after {
    content: "";
    width: 14px;
    height: 14px;
    margin-left: 6px;

    background-color: #fff; /* цвет стрелки */

    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' stroke='black' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' stroke='black' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;

    mask-size: contain;
    -webkit-mask-size: contain;

    transition: transform 0.2s ease, background-color 0.2s ease;
    display: inline-block;
}


.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border-radius: 0 0 10px 10px;
    padding: 8px;
    min-width: 320px;
    list-style: none;
    margin: 0;
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: all 0.2s ease;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
        border: 1px solid #d6d6d6;
}

.submenu li a {
    display: block;
    padding: 10px 14px;
    text-decoration: none;
    color: #334155;
    font-size: 14px;
    border-radius: 6px;
    transition: background 0.15s ease;
}

.submenu li a:hover {
opacity: 0.8;
}

.dropdown{
  position: relative;
}
/* Показываем dropdown */
.dropdown:hover .submenu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}


/* ===== Выделим Личный кабинет ===== */





/* ===== STEP BLOCKS ===== */
.step {
  background: #fff;
  border-radius: 8px;
    padding: 20px 25px;
  margin-bottom: 22px;
  border: 1px solid #d5d5d5;

}
.competitor .step {
    padding: 30px;
}



.wrapp h2,
.step h2 {
  margin: 0 0 6px;
  font-size: 18px;
}

.step-desc {
  font-size: 13px;
  color: #555;
  margin-bottom: 12px;
}

/* ===== LAYOUT ===== */
.container{
    max-width: 1170px;
    margin: auto;
    width: 100%;
    padding: 0 15px;
}
.container-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

/* ===== COMMON ===== */
.filter-grid textarea {
  width: 100%;
  min-height: 140px;
  padding: 8px;
  font-size: 13px;
  border: 1px solid #c8c8c8;
}

.result {
  background: #fff;
  padding: 15px;
  border-radius: 6px;
}

/* ===== FILTER PANEL ===== */
.filter-toggle { margin-bottom: 10px; }

.filter-panel {
  background:#f9f9f9;
  padding:15px;
  border-radius:6px;
  border:1px solid #ddd;
}

.filter-panel button {
    min-width: auto;
}

.filter-grid {
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap:14px;
}

.filter-group h4 {
  margin:0 0 4px;
  font-size:13px;
  padding:4px 6px;
  border-radius:4px;
}

.filter-desc { font-size:12px; }
.filter-example { font-size:11px; color:#666; }

/* ===== LEGEND ===== */
.legend span {
  display: inline-block;
  margin: 4px 6px 6px 0;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  border: 2px solid transparent;
}
.legend span.active { border-color: #000; }

/* colors */
.terms { background:#c6f6d5; }
.methods { background:#bee3f8; }
.processes { background:#fefcbf; }
.logic_markers { background:#e9d8fd; }
.limitations { background:#fed7d7; }
.risks { background:#ffd6cc; }
.results { background:#bbf7d0; }
.experience { background:#d9f99d; }
.authority { background:#bae6fd; }
.trust { background:#bbf7d0; }
.service { background:#fde68a; }
.pricing { background:#fcd34d; }
.water { background:#ffe6e6; }

/* ===== HIGHLIGHT ===== */
.highlight { padding: 2px 4px; border-radius: 3px; }
.highlight.water { text-decoration: line-through; }
.highlight.hidden { background:none !important; text-decoration:none !important; }


/* ===== REPORT ===== */
.recommendations ul{
  padding: 0;
}
.recommendations li {
  list-style:none;
  margin-bottom:14px;
}
.recommendations li.done { opacity:.5; }
.rec-badge {
  display:inline-block;
  padding:3px 6px;
  border-radius:4px;
  font-weight:bold;
  font-size:12px;
}
.rec-desc{
  font-size:10px;
}
.rec-example{
  font-size:10px;
}

.counter {
  font-size:13px;
  color:#555;
      padding-bottom: 15px;
}

/* ===== ANALYSIS ===== */
#analysisProgress {
  background:#fff;
  padding:10px;
  border-radius:6px;
  border:1px solid #ddd;
}

/* ===== ABOUT SERVICE ===== */
.about-analyzer {
  background: #ffffff;
  border-radius: 10px;
  padding: 24px;
  margin: 20px 0;

  line-height: 1.5;
}

.about-analyzer h2 {
  margin-top: 0;
  font-size: 22px;
}

.about-analyzer h3 {
  margin-top: 26px;
  font-size: 18px;
}

.about-analyzer p {
  margin: 8px 0;
  color: #333;
}

.about-analyzer ul {
  padding-left: 18px;
}

.about-analyzer li {
  margin-bottom: 8px;
}

.cat {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 12px;
  margin-right: 6px;
}

/* цвета категорий */
.cat.terms { background:#c6f6d5; }
.cat.methods { background:#bee3f8; }
.cat.processes { background:#fefcbf; }
.cat.logic_markers { background:#e9d8fd; }
.cat.limitations { background:#fed7d7; }
.cat.risks { background:#ffd6cc; }
.cat.results { background:#bbf7d0; }
.cat.experience { background:#d9f99d; }
.cat.authority { background:#bae6fd; }
.cat.trust { background:#bbf7d0; }
.cat.service { background:#fde68a; }
.cat.pricing { background:#fcd34d; }
.cat.water { background:#ffe6e6; text-decoration: line-through; }

.example {
  font-size: 13px;
  color: #555;
  margin-left: 10px;
}

.note {
  background:#f7f7f7;
  padding:12px;
  border-radius:6px;
  margin-top:16px;
  font-size:14px;
  border: 1px solid #e3e3e3;
}
.about-analyzer .cat{
width: 100px;
    text-align: center;
}


/* ===== EXAMPLES ===== */
.examples {
  display: grid;
  gap: 14px;
}

.example-card {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 12px;
}

.example-meta {
  font-size: 12px;
  color: #666;
  margin-bottom: 6px;
}

.example-text {
  font-size: 14px;
  line-height: 1.6;
  color: #111;
}
/* ===== LAYOUT ===== */

.container-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}
.pb10{
  padding-bottom: 10px;
}
.pb20{
  padding-bottom: 20px;
}

.options {
  margin-bottom: 10px;
}

.options label {
  margin-right: 15px;
  font-size: 14px;
}

.columns {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}


input, select {
width: 100%;
    padding: 12px;
    font-size: 14px;
    margin-bottom: 15px;
    border: 1px solid #9299a1;
    border-radius: 5px;
}
textarea {
    width: 100%;
    min-height: 140px;
    padding: 8px;
    font-size: 14px;
        border-radius: 5px;
    border: 1px solid #9299a1;
        margin-bottom: 10px
}

label > input {
   width: auto;
    margin-bottom: 0;
}

a:focus,
button:focus,
input:focus-visible, 
select:focus-visible,
textarea:focus-visible {
   outline: none;
}


/*now*/
.test{
color: #00ccff;
color: #90a0dd;
color: #33aedf;
color: #4bb9e3;
color: #63c3e6;
color: #7bcde9;
color: #94d7ec;
color: #aedff0;
color: #90a0dd;
color: #aad3e8;

color: #1a73e8;
}
/*maby*/
.test{
color: #7a8bfe;
color: #50a4e5 ;
color: #8191fb;
color: #67b4ef;

color: #63c3e6;
color: #7bcde9;
color: #94d7ec;
color: #aedff0;
color: #90a0dd;
color: #aad3e8;

color: #1a73e8;
}


.competitor .options input {
    width: auto;
}


    label {
      font-weight: 600;
      display: block;
      margin-bottom: 6px;
    }
button {
    padding: 12px 12px;
    cursor: pointer;
}


.btn {
  position: relative;
    font-size: 14px;
    display: inline-block;
    padding: 12px 12px;
    cursor: pointer;
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: #fff;
    border-radius: 4px;
     font-weight: 600;
         text-decoration: none;
       transition: background-color 0.25s ease, 
                transform 0.15s ease;
}
.btn:hover {
background: var(--primary-hover-color);
}

.btn-blue{
 background: #2894bd; 
}

.btn-outline,
.btn-outline:hover{
background: transparent;
color: var(--primary-color);
}

.btn-outline-white,
.btn-outline-white:hover{
    background: transparent;
    color: #fff;
    border-color: #fff;
}


.btn-icon {
    position: relative;
    gap: 8px;
     display: inline-flex;
    align-items: center;
    justify-content: center; /* центрируем текст */
}

.btn-red:hover,
.btn-red {
  background-color: red;
      border: red;
}

.link-black {
color: #000;
border-bottom: 1px dashed;
  border: 0;
    padding: 0;
}
.link-red{
    background: transparent;
    color: red;
    border: 0;
    padding: 0;
}
.bwd{
min-width: 250px
}
.font-little{
  font-size: 10px;
}
.btn100{
  width: 100%;
}

/* иконка */
.btn-icon::after {
    content: "";
    width: 16px;
    height: 16px;

    background-color: currentColor; /* цвет берётся от текста */

    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 8L22 12L18 16' stroke='black' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M2 12H22' stroke='black' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;

    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 8L22 12L18 16' stroke='black' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M2 12H22' stroke='black' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;

    mask-size: contain;
    -webkit-mask-size: contain;

    transition: transform 0.2s ease;
}


.btn-link{
  background: transparent;
    color: #000;
    border: 0;
    border-bottom: 1px dashed #000;
    padding: 0;
    border-radius: 0;
}
.btn-gray {
  background-color: gray;
}

.btn:disabled,
button:disabled {
background-color: #dbdbdb;
    color: #696969;
    cursor: no-drop;
    border: 1px solid #d4d4d4;
        border-radius: 4px;
}






.analyze-loader {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #4a5568;
  font-size: 14px;
}

.spinner {
  width: 18px;
  height: 18px;
  border: 3px solid #e2e8f0;
  border-top: 3px solid #4aa3ff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}




.tabs {
  margin-top: 15px;
  margin-bottom: 10px;
}

.tabs button {
  margin-right: 5px;
}

.table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.table-header h3,
.table-header h2 {
  margin: 0;
}

.table-search {
  width: 200px;
  padding: 6px 10px;
  font-size: 14px;
  border: 1px solid #d0d7de;
  border-radius: 6px;
  outline: none;
  transition: all 0.2s ease;
}

.table-header input {

    padding: 4px 8px;
    max-width: 200px;

      font-size: 14px;
  border: 1px solid #d0d7de;
  border-radius: 6px;
  outline: none;
  transition: all 0.2s ease;
}



.seo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.seo-table th {
  background: #e6f0f8;
  border: 1px solid #ccc;
  padding: 6px;
}

.seo-table td {
  border: 1px solid #ddd;
  padding: 6px;
}

.seo-table tr.exists {
  background: #e9fbe9;
}

.seo-table tr.missing {
  background: #ffecec;
}


.pagination {
  margin: 10px 0;
}

.pagination button {
  margin: 0 3px;
  padding: 4px 8px;
}

.pagination button.active {
    background:  var(--second-color);;
    color: #ffffff;
    border: 3px solid  var(--second-color);;
}

.pagination .dots {
  margin: 0 5px;
}

.table-info {
  margin-top: 6px;
  font-size: 13px;
  color: #555;
}




/*облака*/
.clouds {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 колонки как в примере */
  gap: 24px;
  margin-bottom: 40px;
}

.cloud {
  border: 1px solid #e0e0e0;
  padding: 16px;
  min-height: 200px;

  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
}

.cloud span {
  margin: 6px 10px 6px 0;
  line-height: 1.2;
  color: #2a7bdc;
  white-space: nowrap;
  cursor: default;
}

.clouds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.cloud {
  position: relative;
  width: 340px;
  height: 340px;
  border: 1px solid #e5e5e5;
  background: #fafafa;
  overflow: hidden;
}

.cloud span {
  position: absolute;
  white-space: nowrap;
  color: #1a73e8;
  cursor: default;
  user-select: none;
}


.cloud-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.cloud-grid h3 {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}

.columns.competitors {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 🔥 1 + 4 */
  gap: 16px;
  align-items: flex-start;
}


.input-block {
  display: flex;
  flex-direction: column;
}

.input-block .label {
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 14px;
}



/* НАШ САЙТ */
.input-block.ours textarea {
border: 2px solid #a6aac9;
    background: #f6f7fc;
        margin-bottom: 3px;
}

.input-block.competitor.fragment textarea {
border: 2px solid #bbbc87;
    background: #f6f7fc;
}

/* КОНКУРЕНТЫ */
.input-block.competitor textarea {
  border: 1px solid #ccc;
  background: #fafafa;
      margin-bottom: 3px;
}



.char-counter {
font-size: 12px;
    color: #777;
    margin-top: 4px;
    text-align: left;
}




.seo-table th {
  cursor: pointer;
  user-select: none;
}

.seo-table th:hover {
  background: #eef5ff;
}



.relevance-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

.relevance-table th,
.relevance-table td {
  border: 1px solid #ddd;
  padding: 8px 10px;
  text-align: center;
}

.relevance-table th {
  cursor: pointer;
  background: #f5f5f5;
}

.relevance-table tr.site-row {
  background: #e8f7e8;
  font-weight: 600;
}

.relevance-table tr:hover {
  background: #f0f0f0;
}




/*ГАП работа с экранами */
.intent-cluster {
  padding: 10px 12px;
  margin: 8px 0;
  border-radius: 6px;
  border: 1px solid #d4d4d4;
}

.intent-title {
  cursor: pointer;
}

.intent-title:hover {
  text-decoration: underline;
}

.intent-cluster.selected {
  border-color: #4aa3ff;
  background: #eef6ff;
}


.intent-title-btn {
  all: unset;
  cursor: pointer;
  color: #1a73e8;
  font-size: 1.2em;
  font-weight: 600;
  display: inline-block;
}

.intent-title-btn:hover {
  text-decoration: underline;
}

.intent-cluster.selected .intent-title-btn {
  color: #0b57d0;
}



/*при генережке экрана блоки как на первых инструментах*/

.model-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.model-card {
  padding: 12px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.model-card-title {
  font-weight: bold;
  font-size: 14px;
}

.model-card-hint {
  font-size: 12px;
  opacity: 0.8;
  white-space: pre-line;
}

.model-card textarea {
  width: 100%;
  resize: vertical;
}

.model-card-actions {
  display: flex;
  gap: 8px;
}








.semantic-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 14px;
}

.semantic-table th,
.semantic-table td {
  border: 1px solid #e0e0e0;
  padding: 10px;
   vertical-align: middle;
}

.semantic-table th {
  background: #f5f5f5;
  text-align: left;
}

.sf-index {
  font-weight: bold;
  text-align: center;
}

.sf-intent,
.rewrite-intent {
  font-size: 12px;
  color: #666;
  margin-bottom: 6px;
}

.sf-text,
.rewrite-text {
  line-height: 1.4;
}

.rewrite-box {
  background: #f9f9f9;
  padding: 8px;
  border-radius: 4px;
  min-height: 40px;
}

.rewrite-box.empty {
  color: #999;
}

.rewrite-btn {
padding: 0;
    cursor: pointer;
    border: 0;
    background: transparent;
    border-bottom: 1px dashed;
    font-size: 12px;
}
/*original*/
.sf-original{
    width: 40%;
}

/*rewrite*/
.sf-rewrite{
    width: 40%;

}





.semantic-locked {
    text-align: center;
    padding: 30px !important;
}

.semantic-upgrade {
  margin: 10px 0;
  color: #555;
  font-size: 14px;
}





/*intent*/

.intent .intent-progress{
margin-top:16px;
padding:14px;
background:#f9fafb;
border:1px solid #e5e7eb;
border-radius:10px;
}

.intent .progress-header{
display:flex;
justify-content:space-between;
font-size:13px;
margin-bottom:8px;
}

.intent .progress-title{
font-weight:600;
}

.intent .progress-bar{
width:100%;
height:3px;
background:#e5e7eb;
border-radius:6px;
overflow:hidden;
margin-bottom:12px;
}

.intent #progressBar{
height:100%;
width:0%;
background: var(--primary-color);
  transition: width 0.7s ease;
}

.intent .progress-steps{
display:flex;
flex-wrap:wrap;
gap:10px;
font-size:12px;
}

.intent .step-item{
padding:6px 10px;
background:#f3f4f6;
border-radius:6px;
color:#6b7280;
display:flex;
align-items:center;
gap:6px;
}

.intent .step-item.active{
background:#e0e7ff;
color:#4338ca;
font-weight:500;
}

.intent .step-item.done{
background:#dcfce7;
color:#166534;
}

.intent .step-item{
  opacity:0.4;
  transition:all .3s ease;
}

.intent .step-item.active{
  opacity:1;
  font-weight:600;
}

.intent .step-item.done{
  opacity:1;
  color:#16a34a;
}








.badge {
  display:inline-block;
  padding:4px 8px;
  border-radius:4px;
  font-size:12px;
  margin-right:6px;
  margin-bottom:6px;
}

.confidence-box {
  padding: 12px;
  border-radius: 6px;
  font-size: 14px;
}

.conf-high {
  background: #dcfce7;
  border: 1px solid #22c55e;
}

.conf-medium {
  background: #fef9c3;
  border: 1px solid #eab308;
}

.conf-low {
  background: #fee2e2;
  border: 1px solid #ef4444;
}

.conf-label {
  font-weight: bold;
  margin-bottom: 6px;
}


.ok { background:#bbf7d0; }
.partial { background:#fde68a; }
.missing { background:#fecaca; }

.result-box {
  background:#f9fafb;
  border:1px solid #e5e7eb;
  border-radius:6px;
  padding:12px;
  font-size: 14px;
}


.conf-strong {
  font-weight: bold;
  border-bottom: 1px dashed #22c55e;
}

.conf-weak {
  opacity: 0.8;
  font-style: italic;
}

.locked-scenarios{
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

.locked-scenarios li{
    padding: 6px 10px;
    margin-bottom: 6px;
    background: #f3f4f6;
    border-radius: 6px;
    color: #555;
    font-size: 14px;
    display: inline-block;
    margin-right: 10px;
}

.locked-box{
    padding: 20px;
    background: #ffecec;
    margin-bottom: 20px;
        border: 1px solid #ff9c9c;
}
.last-locked-box{
  margin-top: 20px;
}
.locked-note{
 padding: 15px 0; 
}








/* ===== FAQ ===== */
.faq details {
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 10px 12px;
  background: #fafafa;
}

.faq details:not(:last-child) {
  margin-bottom: 10px;
}

.faq summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 20px;
}

.faq summary::after {
  content: "▸";
  position: absolute;
  right: 0;
  top: 0;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(90deg);
}

.faq details div {
    margin-top: 10px;
    padding-top: 10px;
    font-size: 14px;
    line-height: 1.5;
    border-top: 1px solid #d6d6d6;
}

.changelog {
  margin-top: 40px;
  padding: 24px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fafafa;

}

.changelog-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
}

.changelog-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.changelog-note {
  font-size: 12px;
  color: #6b7280;
}

.changelog-version {
  padding: 16px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  margin-bottom: 14px;
}

.changelog-version.highlight {

      border-color: var(--primary-color);
}

.version-label {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}



.version-list {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  color: #374151;
}

.version-list li {
  margin-bottom: 6px;
}





/*********************************
expertise-model
*********************************/


.expertise-model .step-2 .checkbox-auto-analyze input{
width: auto;
}
.expertise-model .step-2 .checkbox-auto-analyze label{
    font-size: 13px
    }


/*********************************
text generator 
*********************************/


.text-generator .seo-mode {
  display: flex;
  gap: 10px;
  text-align: left;
}
.text-generator .seo-option input {
width: auto;
}
.text-generator .seo-option {
border-radius: 6px;
    cursor: pointer;
    padding: 20px;
    border: 1px solid #c0bcbc;
}


.text-generator  .seo-option.active {
  background: rgba(40, 167, 69, 0.08);
  border-color: rgba(40, 167, 69, 0.5);
}

.text-generator .seo-desc {
  font-size: 13px;
  opacity: 0.75;
}


.text-generator .form-group {
      margin-bottom: 16px;
    }

    .text-generator .seo-highlight {
  background: #fff3a3;
  padding: 2px 4px;
  border-radius: 4px;
}


.text-generator textarea {
      min-height: 100px;
    }

.text-generator .result-box {
      margin-top: 10px;
      padding: 16px;
      border: 1px solid #ddd;
      background: #fafafa;

    }

.text-generator .hint {
      font-size: 13px;
      color: #666;
      margin-top: 4px;
    }



.field-error {
  color: #d93025;
  font-size: 13px;
  margin-bottom: 6px;
}

.input-error {
  border: 1px solid #d93025;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}


/*********************************
прайс-лист 
*********************************/


.extra-credit-block{
margin-top:60px;
}

.extra-credit-card{
background:#f7f7f7;
border:1px solid #e5e5e5;
border-radius:10px;
padding:25px;
max-width:420px;
margin-top:20px;
}

.extra-credit-plan{
font-size:14px;
color:#666;
margin-bottom:15px;
}

.extra-credit-label{
display:block;
font-weight:600;
margin-bottom:6px;
}

.extra-credit-input{
width:100%;
padding:10px;
border:1px solid #ccc;
border-radius:6px;
font-size:16px;
}

.extra-credit-price{
margin-top:15px;
font-size:18px;
font-weight:600;
}

.extra-credit-btn{
margin-top:20px;
width:100%;
}




.price .btn {
    min-width: 140px;
}
.price .plan-price{
font-weight: bold;
}


.nbnb{    
  border: 0 !important;
    background: transparent !important;
}
.nbb{    
  border-bottom: 0 !important;
}
.price .tools-name{
    text-transform: uppercase;
    font-weight: bold;

}
table {
  text-align: left;
}


table.seo-expert-price{
  width:100%;
  table-layout: fixed;
    margin-top: 20px;
      font-size: 14px;
         border-collapse: collapse;
}

/* первая колонка шире */
table.seo-expert-price th:first-child,
table.seo-expert-price td:first-child{
  width:40%;
}

/* остальные одинаковые */
table.seo-expert-price th:not(:first-child),
table.seo-expert-price td:not(:first-child){
  width:15%;
}




    table.seo-expert-price th, 
    table.seo-expert-price td {
      border: 1px solid #d5d5d5;
      padding: 10px;
      text-align: center;
    }

 
 table.seo-expert-price tr.no-hover:hover{
      background-color: transparent;
     }

    table.seo-expert-price th {
      background: #f9fafb;
      font-weight: 600;
    }

    table.seo-expert-price td:first-child {
      text-align: left;
   
    }

    table.seo-expert-price .plan-name {
      font-size: 16px;
      font-weight: 700;
    }

    table.seo-expert-price .hint {
      margin-top: 8px;
      font-size: 13px;
      color: #666;
    }

    table.seo-expert-price .badge {
      display: inline-block;
      padding: 2px 6px;
      font-size: 12px;
      border-radius: 4px;
      background: #eef2ff;
      color: #3730a3;
      margin-left: 6px;
    }

    .price .plan-label{
    padding-top: 15px;
    }


/* Экономика инструментов */
    .tariff-table{
  width: 100%;
       border-collapse: collapse;
}
.tariff-table th, 
.tariff-table td {
      border: 1px solid #d5d5d5;
      padding: 10px;
      text-align: center;
    }



/*********************************
вход
*********************************/



.terms-box {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.5;
  padding-bottom: 15px;
}

.terms-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
}

.terms-label input {
    margin-top: 4px;
    width: auto;
    position: relative;
}




.div-center{
    min-height: 100%;
    display: flex;
    justify-content: center;  /* горизонтально */
    align-items: center;      /* вертикально */
}

    .login-register-form{
max-width: 500px;
    margin: auto;
    padding: 6%;
    background: #fff;
    border-radius: 9px;
    border: 1px solid #e2e2e2;
    margin: 100px auto;
    }


        .login-register-form h1{
    margin: 0;
        }

    .forget-password{
      margin-top: 15px;
    margin-bottom: 5px;
    text-align: center;
    font-size: 13px;
    }
    
    .have-account{
margin-top: 10px;
    text-align: center;
    font-size: 13px;
    padding-bottom: 20px;
    }
/*********************************
.competitor
*********************************/



.input-error {
  border: 1px solid #e53935 !important;
  background: #fff5f5;
}

.field-error {
  font-size: 12px;
  color: #e53935;
  margin-top: 4px;
}

.semantic-fragment-select-wrapp label{
    font-size: 14px;
}
.semantic-fragment-select-wrapp select{
display: block;
width: 250px;
    margin-top: 7px;
        padding: 10px;
}

.ai-suggestions{
display: block;
    border-left: 2px solid #b2b1b1;
    padding: 20px;
    margin-bottom: 25px;
    font-size: 14px;
    background: #f8f8f8;
}



.competitor .btn,
.competitor .btn:disabled,
.competitor button:disabled {
            min-width: 250px
}

.competitor .options label {
  display: inline-block;
    margin-right: 5px;
    font-size: 13px;
}
.competitor .pageTheme > label{
    display: inline-block;
}




.competitor .seo-warning{
  border: 1px solid #d5d5d5;
    padding: 20px;
    margin-top: 5px;
    border-bottom: 0;
}




.competitor .structure-card {
    border: 1px solid #d5d5d5;
    padding: 20px;
}

.competitor .structure-summary {
  font-weight: 600;
  margin-bottom: 15px;
}

.competitor .structure-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.competitor .structure-table th,
.competitor .structure-table td {
  border-bottom: 1px solid #e3e8ee;
  padding: 8px 10px;
  text-align: left;
}

.competitor .structure-table th {
  background: #ebecee;
  font-weight: 600;
}

.competitor .structure-table th:first-child{
    width: 60%;
}

.competitor .structure-table tr:last-child td{
      border-bottom: 0;
}


.competitor .structure-table .metric-cell {
  padding-bottom: 6px;
}

.competitor .structure-table .metric-title {
  font-weight: 500;
}

.competitor .structure-table .metric-desc {
    font-size: 12px;
    color: #777;
    margin-top: 7px;
    margin-bottom: 6px;
    max-width: 65%;
}




/*уведомление о скрытом текста*/
.competitor .hidden-examples {
margin-top: 15px;
    padding: 10px;
    background: #fff8e1;
    border: 1px solid #e8dcaf;
    margin-bottom: 20px;
}

.competitor .hf-title {
  font-weight: bold;
  margin-bottom: 8px;
}

.competitor .hidden-fragment {
  margin-bottom: 8px;
  font-size: 13px;
}

.competitor .hf-tag {
  color: #888;
  font-size: 12px;
}

.competitor .hf-text {
  color: #333;
}



/*🧱 Скрытые HTML-блоки:*/
.hidden-elements {
    padding: 14px 16px;
    border: 1px solid #d5d5d5;
}

.hidden-elements .hf-title {
font-weight: bold;
}

.hidden-elements .hf-item {
    display: inline-block;
    font-size: 12px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    color: #000000;
    background: #dde2f4;
    border: 1px solid rgb(206 210 222);
    border-radius: 6px;
    padding: 4px 8px;
    margin: 4px 6px 0 0;
    transition: all 0.2s ease;
    cursor: pointer;
}

.hidden-elements .hf-item:hover {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.4);
  color: #040404;
}









.metric-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.metric-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 50%;
  background: #e9eef3;
  color: #555;
  cursor: pointer;
  transition: 0.2s ease;
}

.metric-help:hover {
  background: #dbe3ea;
}

.metric-toggle {
  max-height: 0;
  overflow: hidden;
  transition: 0.25s ease;
  margin-top: 0;
}

.metric-toggle.open {
  max-height: 300px;

}



.metric-example {
  font-size: 12px;
  color: #777;
}
.metric-cell {
  vertical-align: top;
}
.structure-table .metric-example {
    font-size: 12px;
    color: #2c6fdd;
    margin-top: 4px;
    max-width: 46%;
}






  .competitor .result-block .rec-title {
margin: 0;
    cursor: pointer;
  }

  .competitor .result-block .coverage{
padding-top: 10px;
    border-bottom: 1px dashed;
    display: inline-block;
    }

      .competitor .result-block .coverage-a{
padding-top: 5px;
    border-bottom: 1px dashed;
    display: inline-block;
    }
     .competitor .result-block .coverage-a-extended{
padding-top: 5px;
    border-bottom: 1px dashed;
    display: inline-block;
    }
    

    .competitor  .rec-body{
margin: 20px 0;
          border-left: 1px solid #afadad;
    padding-left: 20px;
    }




  .competitor .result-block .depth{
    padding-top: 7px;
    border-bottom: 1px dashed;
    display: inline-block;
    }


   .competitor .model-card button {
    padding: 8px;
    }




/*********************************
rewrite-fragments
*********************************/

.rewrite-fragments .intent-progress {
  background: #f8fafc;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
}

.rewrite-fragments .progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 6px;
}

.rewrite-fragments .progress-bar {
  width: 100%;
  height: 8px;
  background: #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
}

.rewrite-fragments .progress-bar div {
  height: 100%;
  width: 0%;
  background: var(--primary-color);
  transition: width .3s ease;
}





.rewrite-fragments  .rewrite-table {
  width: 100%;
  table-layout: fixed;   /* 🔥 фиксируем ширину колонок */
}

.rewrite-fragments .rewrite-table th,
.rewrite-fragments .rewrite-table td {
  word-wrap: break-word;
  overflow-wrap: break-word;
  vertical-align: top;
}

.rewrite-fragments table, 
.rewrite-fragments th, 
.rewrite-fragments td {
  border: 1px solid #cbcbcb;
 border-collapse: collapse;
     padding: 10px;
}
.rewrite-fragments table{
    margin-top: 30px;
}



.rewrite-fragments .error-message {
    margin-top: 10px;
    font-size: 14px;
    color: red;
}




/*********************************
invoices
*********************************/

.invoice-today,
.invoice-today:hover{
 background: #eafaf0 !important;
  border-left:4px solid #2ecc71;
}

.invoice-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.invoice-table th {
  text-align: left;
  padding: 10px;
  background: #f5f6f8;
  border-bottom: 1px solid #e5e7eb;
}

.invoice-table td {
  padding: 10px;
  border-bottom: 1px solid #f0f0f0;
}

.invoice-table tr:hover {
  background: #fafafa;
}

.badge-paid {
  color: #0f9d58;
  font-weight: 600;
}

.badge-pending {
  color: #f59e0b;
  font-weight: 600;
}

.invoice-link {
  color: #2563eb;
  text-decoration: none;
}

.invoice-link:hover {
  text-decoration: underline;
}




/*********************************
cta
*********************************/
.cta{
    color: #fff;
    padding: 60px 0;

}

.cta .subtitle{
   color: #fff;
}

.cta .btn {
min-width: 215px;
position: relative;
    width: auto !important;
    }
.btn.icon-custom-btn.menu-icon{
  padding-left: 45px;
}

.btn.icon-custom-btn.menu-icon::before{
top: 8px;
    left: 10px;
}

/*********************************
cookie
*********************************/
.cookie-banner{
  position: fixed;
  bottom: 20px;
  left: 20px;

  width: 360px;
  max-width: calc(100% - 40px);

  background: #fff;
  border-radius: 8px;
  padding: 20px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.2);

  font-size: 14px;
  line-height: 1.5;

  z-index: 9999;
}

.cookie-banner h4{
  margin: 0 0 8px 0;
  font-size: 18px;
}

.cookie-banner p{
  margin: 0 0 14px 0;
  color: #444;
}

.cookie-buttons{
  display:flex;
  gap:10px;
}

.cookie-btn{
  flex:1;
  border:none;
  padding:10px;
  border-radius:5px;
  cursor:pointer;
  font-size:14px;
}

.cookie-btn.secondary{
  background:#eee;
}

.cookie-btn.primary{
  background:#ff8a00;
  color:white;
  font-weight:600;
}
.cookie-buttons-top{
    gap: 10px;
    display: flex;
}

.cookie-banner-extra button {
  background: #2563eb;
  color: white;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
}




/*********************************
footer
*********************************/


.footer {
background: var(--second-color);
   color: #cbd5e1;
  padding: 50px 0 20px;
      font-size: 14px;
}
.footer p {
  color: #cbd5e1;

}
.footer a {
  display: block;
  color: #cbd5e1;
  text-decoration: none;
  margin: 6px 0;
}

.footer a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 19px;
}

.footer-bottom {
  margin-top: 40px;
  border-top: 1px solid #1e293b;
  padding-top: 15px;
  text-align: center;

}








.lang-switch {
  margin-top: 15px;
  display: flex;
  gap: 8px;
    justify-content: center; /* по горизонтали */
  align-items: center;     /* по вертикали */
}

.lang-btn {
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 13px;
  text-decoration: none;
  color: #aaa;
  background: rgba(255,255,255,0.05);
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.lang-btn:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

.lang-btn.active {
  color: #fff;
  background: #3b82f6;
  border-color: #3b82f6;
}




.telegram-btn{
width: 40px;
    height: 40px;
    background: #2FA4D6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
 
}

.telegram-btn svg{
    width: 19px;
    height: 19px;
    fill: white;
    position: relative;
    left: -1px;
}






/*********************************
telegram in footer 
*********************************/
.tg-floating {
position: fixed;
    right: 60px;
    bottom: 60px;
    z-index: 99;
}
.tg-floating svg{
    position: relative;
    top: 2px;
    left: -1px;
}

/* 🔥 подпись */
.tg-label {
      position: absolute;
  margin-top: 6px;
  font-size: 12px;
  color: #333;
  background: rgba(255,255,255,0.9);
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-block;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      text-align: center;
          line-height: 17px;
}


.tg-button {
  position: relative;
  width: 60px;
  height: 60px;
  background: #229ED9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}

.tg-button:hover {
  transform: scale(1.1);
}

/* 🔥 кольца */
.tg-rings {
  position: absolute;
  width: 100%;
  height: 100%;
}

.tg-rings::before,
.tg-rings::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(34, 158, 217, 0.5);
  animation: tg-pulse 2s infinite;
}

.tg-rings::after {
  animation-delay: 1s;
}

/* 🔥 анимация */
@keyframes tg-pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.8);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}





/*********************************
html-cleaner
*********************************/

.html-input, .html-output,
.visual-editor{
font-size: 12px;
}

.html-clean-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:30px;
margin-top:20px;
}

.html-input,
.html-output{
width:100%;
height:330px;


padding:12px;
border:1px solid #ddd;
border-radius:6px;
}

.html-clean-options{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:12px 30px;
margin-top:10px;
}

.html-clean-options label{
display:flex;
align-items:center;
gap:8px;
cursor:pointer;
}


/*визуальный редактор*/
.visual-editor-wrapper{
margin-top:30px;
border:1px solid #ddd;
border-radius:6px;
background:white;
}

.visual-editor{
min-height:400px;
padding:20px;
line-height:1.6;
}

.visual-editor *:hover{
outline:2px solid #4da3ff;
cursor:pointer;
}

.editor-help{
padding:10px 20px;
background:#f6f6f6;
font-size:13px;
color:#666;
border-top:1px solid #eee;
}



/* видит какой блок выбран*/
.visual-editor *:hover{
outline:2px solid #4da3ff;
cursor:pointer;
}

.visual-selected{
outline:2px solid red !important;
}









/*********************************
.blog-list
*********************************/

.blog-list{
   margin-bottom: 50px;
}
.blog-list .blog-title {
  margin-bottom: 30px;
}

.blog-list .blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 25px;
}

.blog-list .blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  transition: 0.2s;
}

.blog-list .blog-card:hover {

  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.blog-list .blog-card img {
  width: 100%;
  height: 300px;

}

.blog-list .blog-card-content {
  padding: 16px;
}

.blog-list .blog-card h2 {
  font-size: 18px;
  margin-bottom: 10px;
}

.blog-list .blog-card h2 a {
  text-decoration: none;
  color: #111;
}

.blog-list .blog-card p {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
  height: 60px;
  overflow: hidden;
}

.blog-list .read-more {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  color: #4f46e5;
  text-decoration: none;
}

.blog-list .read-more:hover {
  text-decoration: underline;
}






/*********************************
.blog-post
*********************************/


.post-tools {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e1e8f0;
}

.post-tools h3 {
  margin-bottom: 15px;
}

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

.tool-card {
  display: block;
  padding: 14px;
  background: white;
  border-radius: 10px;
  font-weight: 500;
  border: 1px solid #e2e8f0;
  text-align: center;

}



.tool-card:hover {

  border-color: #7dbd28;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* мобилка */
@media (max-width: 768px) {
  .tools-grid {
    grid-template-columns: 1fr;
  }
}



/* ===== BLOG POST ===== */
.blog-post .blog-content{
    border-radius: 0;
}

.blog-content a{
    text-decoration: underline;
}


.post-header{
  padding: 30px 0;
}

.post-header h1 {
  font-size: clamp(24px, 5vw, 38px);

  line-height: 1.3;
}

.blog-cover {
  width: 100%;
  border-radius: 12px;
  margin: 20px 0 30px;
}

/* ===== TEXT ===== */

.blog-content {
  font-size: 16px;
  line-height: 1.7;
  color: #222;
}

.blog-content h2 {
  margin-top: 40px;
  margin-bottom: 15px;
  font-size: 24px;
}

.blog-content h3 {

  margin-bottom: 10px;
  font-size: 20px;
}

.blog-content p {
  margin-bottom: 16px;
}

.blog-content ul,
.blog-content ol {
  padding-left: 20px;
  margin-bottom: 20px;
}

.blog-content li {
  margin-bottom: 8px;
}

/* ===== TABLE 🔥 ===== */

.blog-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  font-size: 14px;
}

.blog-content th {
  background: #f5f5f5;
  text-align: left;
  padding: 10px;
  border-bottom: 2px solid #ddd;
}

.blog-content td {
  padding: 10px;
  border-bottom: 1px solid #eee;
}

.blog-content tr:hover {
  background: #fafafa;
}

/* ===== CODE ===== */

.blog-content code {
  background: #f4f4f4;
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 14px;
}

.blog-content pre {
  background: #111;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 20px 0;
}




/* ===== BLOCKQUOTE ===== */

.blog-content blockquote {
  border-left: 4px solid #4f46e5;
  padding-left: 15px;
  color: #555;
  margin: 20px 0;
}

/* ===== IMAGES IN CONTENT ===== */

.blog-content img {
  max-width: 100%;
  border-radius: 10px;
}




/* ===== LISTS ===== */

.blog-content ul {
  list-style: none;
  padding-left: 0;
  margin: 20px 0;
}

.blog-content ul li {
  position: relative;
  padding-left: 15px;
  margin-bottom: 10px;
}

/* 🔥 кастомные точки */
.blog-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  background:var(--primary-color) ;
  border-radius: 50%;
}

/* ===== НУМЕРОВАННЫЙ СПИСОК ===== */

.blog-content ol {
  counter-reset: item;
  padding-left: 0;
  margin: 20px 0;
}

.blog-content ol li {
  counter-increment: item;
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
}

/* 🔥 красивые номера */
.blog-content ol li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  color: white;
  font-size: 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}






/*********************************
video
*********************************/

.video-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.video-filters a {
padding: 10px 20px;
    border-radius: 20px;
    background: #e6e6e6;
    text-decoration: none;
    font-size: 14px;
    color: #000;
}




.video-filters a.active {
  background: var(--primary-color);
  color: white;
}


.video-preview {
    position: relative;
    cursor: pointer;
  border-radius: 10px;
    overflow: hidden;
    max-width: 500px;
    margin: 0 auto 0px;
}

.video-preview img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
}

/* затемнение */
.video-preview::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #2e3c56a3;
    transition: 0.3s;
}
.video-preview.playing::after {
  display: none;
}

.video-preview.playing .play-button {
  display: none;
}
/* hover эффект */


.video-preview:hover::after {
     background: #324362a3;
}

/* кнопка */
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
      z-index: 2;
  width: 80px;
  height: 80px;
  border-radius: 50%;

 background: #c71515;
  display: flex;
  align-items: center;
  justify-content: center;

  transition: 0.3s;
}

/* треугольник */
.play-button::before {
  content: "";
  border-style: solid;
  border-width: 12px 0 12px 18px;
  border-color: transparent transparent transparent #ffffff;
  margin-left: 4px;
}

/* hover */
.video-preview:hover .play-button {
  transform: translate(-50%, -50%) scale(1.1);
  background: #c71515;
}

.video-container iframe {
  width: 100%;
  height: 500px;
  border: none;
  border-radius: 16px;
}


/* НИЖНИЙ UI */
.video-ui {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
    z-index: 9;
  padding: 15px;

  background: linear-gradient(
    to top,
    rgba(0,0,0,0.99),
    rgba(0,0,0,0)
  );
}

/* controls */
.controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  font-size: 14px;
}

/* левая часть */
.controls .left {
  display: flex;
  gap: 10px;
}

/* правая */
.controls .right {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* прогресс */
.video-filters .progress {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.3);
  margin: 0 10px;
  border-radius: 10px;
  overflow: hidden;
}

.video-filters .progress-bar {
  width: 40%;
  height: 100%;
  background: red;
}

/* иконки */
.icon {
  opacity: 0.8;
}

.video-tag a,
.video-tag span{
padding: 7px;
    color: #fff;
    border-radius: 5px;
}











.ai-expert-tools-video{
    max-width: 550px;
  margin: 0 auto;
}

.ai-expert-tools-video .plyr {
  border-radius: 12px;
  overflow: hidden;
}



.main-video {
  padding: 80px 0;
margin-top: 5%;
}


.main-video-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}




/* BUTTONS */
.main-video-actions {
  display: flex;
  gap: 15px;
}






