@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Roboto", sans-serif;
    background: #0a0a0f;
    max-width: 2560px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    display: inline-block;
    
}

p {
    color: rgba(255, 255, 255, 0.45);
}

li {
    list-style: none;
}

header {
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.08)
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
}

.header-logo {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    gap: 8px;
}

.header-logo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #7F77DD;
}

header nav ul {
    display: flex;
    gap: 50px;
}
header a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 400;
    text-decoration: none;           /* убираем стандартное подчёркивание */
    position: relative;              /* важно! */
    padding-bottom: 4px;             /* отступ для полоски */
    transition: all 600ms ease;
}

header a:hover {
    color: #fff;
    scale: calc(1.1);  
    transition: all 600ms ease;                   /* меняем цвет текста при наведении (по желанию) */
}

/* Сама анимированная полоска */
header a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;                        /* изначально скрыта */
    height: 2px;                     /* толщина полоски */
    background-color: #fff;          /* цвет полоски */
    transition: all 600ms ease;     /* плавность */
}

/* При наведении растягиваем */
header a:hover::after {
    width: 100%;
}

.header-btn {
    font-size: 14px;
    font-weight: 400;
    background: #7F77DD;
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 600ms ease;
}

.header-btn:hover {
    background: #6A63C8;           /* чуть темнее и насыщеннее */
    transform: translateY(-2px);
    transition: all 600ms ease;
    box-shadow: 0 10px 25px rgba(127, 119, 221, 0.4);
}

.hero {
    text-align: center;
    padding: 80px 32px 64px;
}

.hero-badge {
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
    color: #AFA9EC;
    background: rgba(127, 119, 221, 0.12);
    border: 0.5px solid rgba(127, 119, 221, 0.3);
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 1.75rem;
}

.hero h1 {
    font-size: 52px;
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: #fff;
}

.hero span {
    color: #AFA9EC;
}

.hero p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    margin-bottom: 2.25rem;
 
}

.hero-btn {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.hero-btn_primary {
    background: #7F77DD;
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: all 600ms ease;
}

.hero-btn-secondary {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 0.5px solid rgba(255, 255, 255, 0.2);
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: all 600ms ease;
}

.hero-btn_primary:hover {
    background: #6A63C8;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(127, 119, 221, 0.4);
    transition: all 600ms ease;
}

.hero-btn-secondary:hover {
    transition: all 600ms ease;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}
.kb-section {
    padding: 0 10%;
}

.kb-board {
    background: #13131a;
    border: 0.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 60px;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.07); ;
}

.kb {
  background: #0d0d14;
  border: 0.5px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 1.5rem;
  width: 100%;
  max-width: 900px;
}

.kb-bar {
    background: #1c1c26;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.06);
}

.kb-cols {
    display: flex;
    gap: 20px;
    padding: 24px 24px;
}

/* ─── Header ─── */
.kb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
 
.kb-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
}
 
.kb-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7f77dd;
}
 
.kb-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}
 
/* ─── Board grid ─── */
/* .kb-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
} */
 
/* ─── Column ─── */
.kb-col {
  background: rgba(255, 255, 255, 0.04);
  border: 0.5px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 12px;
  min-height: 280px;
  width: 30%;
  transition: background 0.15s, border-color 0.15s;
}
 
.kb-col.drag-over {
  background: rgba(127, 119, 221, 0.1);
  border-color: rgba(127, 119, 221, 0.35);
}
 
.col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
 
.col-name {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
 
.col-count {
  font-size: 11px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.35);
  border-radius: 20px;
  padding: 1px 7px;
}
 
/* ─── Card ─── */
.kb-card {
  background: #1a1a26;
  border: 0.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 8px;
  cursor: grab;
  position: relative;
  transition: border-color 0.15s, transform 0.15s, opacity 0.2s;
  user-select: none;
}
 
.kb-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}
 
.kb-card:hover .del-btn {
  opacity: 1;
}
 
.kb-card:active {
  cursor: grabbing;
  transform: scale(1.02);
  border-color: rgba(127, 119, 221, 0.5);
}
 
.kb-card.dragging {
  opacity: 0.4;
  transform: scale(0.97);
}
 
.card-title {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 7px;
  line-height: 1.4;
  padding-right: 18px;
}
 
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
 
/* ─── Delete button ─── */
.del-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  opacity: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.25);
  font-size: 14px;
  line-height: 1;
  padding: 2px;
  transition: opacity 0.15s, color 0.15s;
}
 
.del-btn:hover {
  color: #f09595;
}
 
/* ─── Tags ─── */
.tag {
  display: inline-block;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 500;
}
 
.tag-p { background: rgba(127, 119, 221, 0.18); color: #afa9ec; }
.tag-t { background: rgba(29, 158, 117, 0.18);  color: #5dcaa5; }
.tag-a { background: rgba(186, 117, 23, 0.18);  color: #fac775; }
.tag-r { background: rgba(226, 75, 74, 0.18);   color: #f09595; }
 
/* ─── Avatars ─── */
.avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 500;
}
 
.av1 { background: rgba(127, 119, 221, 0.25); color: #afa9ec; }
.av2 { background: rgba(29, 158, 117, 0.25);  color: #5dcaa5; }
.av3 { background: rgba(186, 117, 23, 0.25);  color: #fac775; }
 
/* ─── Add button ─── */
.add-btn {
  width: 100%;
  margin-top: 4px;
  background: transparent;
  border: 0.5px dashed rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 7px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: border-color 0.15s, color 0.15s;
}
 
.add-btn:hover {
  border-color: rgba(127, 119, 221, 0.4);
  color: rgba(127, 119, 221, 0.7);
}
 
/* ─── Add form ─── */
.add-form {
  display: none;
  margin-top: 6px;
}
 
.add-form.open {
  display: block;
}
 
.add-input {
  width: 100%;
  background: #1a1a26;
  border: 0.5px solid rgba(127, 119, 221, 0.4);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12px;
  color: #fff;
  outline: none;
  font-family: inherit;
}
 
.add-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}
 
.add-tags {
  display: flex;
  gap: 6px;
  margin-top: 6px;
  flex-wrap: wrap;
}
 
.tag-btn {
  font-size: 10px;
  padding: 3px 10px;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  font-weight: 500;
  opacity: 0.5;
  transition: opacity 0.15s;
}
 
.tag-btn.active {
  opacity: 1;
}
 
.tag-btn-p { background: rgba(127, 119, 221, 0.18); color: #afa9ec; }
.tag-btn-t { background: rgba(29, 158, 117, 0.18);  color: #5dcaa5; }
.tag-btn-a { background: rgba(186, 117, 23, 0.18);  color: #fac775; }
.tag-btn-r { background: rgba(226, 75, 74, 0.18);   color: #f09595; }
 
.add-actions {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
 
.btn-save {
  flex: 1;
  background: #7f77dd;
  border: none;
  border-radius: 6px;
  padding: 6px;
  font-size: 12px;
  color: #fff;
  cursor: pointer;
  transition: background 0.15s;
}
 
.btn-save:hover {
  background: #6b63cc;
}
 
.btn-cancel {
  background: transparent;
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: border-color 0.15s;
}
 
.btn-cancel:hover {
  border-color: rgba(255, 255, 255, 0.25);
}
 
/* ─── Hint ─── */
.kb-hint {
  text-align: center;
  margin-top: 12px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.2);
}

.features {
    padding: 64px 10%;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.07); 
    align-items: center;
}

.features-logo,
.works-logo,
.price-logo {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.features-logo h3,
.works-logo h3,
.price-logo h3 {
    color: #7F77DD;
    text-transform: uppercase;
}

.features-logo h1,
.works-logo h1,
.price-logo h1,
.cta-logo h1 {
    color: #fff;
}

.features-cards {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    gap: 10px;
}

.features-card {
    cursor: pointer;
    padding: 24px;
    width: 212px;
    border-radius: 12px;
    background: #13131a;
    border: 0.5px solid rgba(255, 255, 255, 0.08);
    transition: all 600ms ease;
}

.features-card:hover {
    background: transparent;
    transition: all 600ms ease;
}

.features-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(127, 119, 221, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #AFA9EC;
    font-size: 20px;
}

.features-card h3,
.work-card h3 {
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 10px;
}

.features-card p,
.work-card p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.6
}

.works-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 60px;
}

.work-card {
    text-align: center;
    padding: 16px;
}

.work-card-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(127, 119, 221, 0.12);
    border: 0.5px solid rgba(127, 119, 221, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 18px;
    font-weight: 500;
    color: #AFA9EC;
}

.price-cards {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 60px;
}

.price-card {
    background: #13131a;
    border: 0.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 28px;
    height: 371px;
    width: 288px;
    cursor: pointer;
}

.plane-name {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 8px;
}

.plane-price {
    font-size: 36px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 8px;
}

.plane-price span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
}

.plane-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
}

.price-card li {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    padding: 5px 0;
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    
}

.plane-btn {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    border: 0.5px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 25px;
    background: #7F77DD;
    transition: all 600ms ease;
}

.plane-btn:hover {
  scale: calc(1.1);
  transition: all 600ms ease;
}

.price-card {
  transition:
    transform 600ms cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.price-card:hover {
  transform: translateY(-8px);
  border-color: rgba(127, 119, 221, 0.7);
  background: #16142a;
  box-shadow:
    0 0 0 1px rgba(127, 119, 221, 0.15),
    0 0 20px rgba(127, 119, 221, 0.2),
    0 0 50px rgba(127, 119, 221, 0.08),
    0 20px 40px rgba(0, 0, 0, 0.5);
}

/* для featured карточки glow сильнее */
.price-card.featured:hover {
  border-color: rgba(175, 169, 236, 0.9);
  box-shadow:
    0 0 0 1px rgba(127, 119, 221, 0.3),
    0 0 30px rgba(127, 119, 221, 0.35),
    0 0 70px rgba(127, 119, 221, 0.15),
    0 20px 40px rgba(0, 0, 0, 0.6);
}


.cta {
  padding: 64px 32px;
  text-align: center;
  align-items: center;
  background: rgba(127, 119, 221, 0.06);;
}

.cta-logo p {
  margin-top: 20px;
}

.cta-logo a {
  margin-top: 40px;
  
    padding: 14px 36px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    border: 0.5px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 25px;
    background: #7F77DD;
    transition: all 600ms ease;
}

.cta-logo a:hover {
  scale: calc(1.1);
  transition: all 600ms ease;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(127, 119, 221, 0.4);
}

footer {
  text-align: center;
  padding: 24px 32px;
  border-top: 0.5px solid rgba(255, 255, 255, 0.07);
}

 
/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .features-cards {
        display: flex;
        flex-direction: column;
    }

    .features-card {
        width: 90%;
        
    }

    .price-cards {
      display: flex;
      flex-direction: column;
    }

    .price-card {
      width: 90%;
    }
}


@media (max-width: 640px) {
  .kb-cols {
    display: flex;
    flex-direction: column;
  }

  .kb-col {
    width: 90%;
  }
 
  body {
    padding: 0 0px;
  }

  header nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  

  header nav ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .features-card {
    width: 90%;
  }

  .price-card {
    width: 82%;
  }

  .features,
  .kb-section,
  .hero {
    padding: 0 auto;
    margin:40px 0 0 0;
    
  }

 

  
}



.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}

/* когда класс visible добавляется — элемент появляется */
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); } /* -50% потому что список задублирован */
}

.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }
.d3 { transition-delay: .4s; }
.d5 { transition-delay: .5s; }