html {
  scroll-behavior: smooth;
}

:root {
  --max-width: 1200px;
  --font-family: 'Poppins', sans-serif;
  --color-card: #FFFFFF;
  --color-primary: rgb(26,47,63);
  --color-secondary: #4B5563;
  --color-muted: #6B7280;
  --btn-bg: rgb(47, 63, 122);
  --btn-hover: rgb(10, 29, 44);
  --page-gradient-angle: 35deg;
  --page-gradient-start: #F9FAFB;
  --page-gradient-end: rgba(219,226,234,0.25);
  --hero-decor-top: 10%;
  --hero-decor-right: 0%;
  --hero-decor-width: 1200px;
  --hero-decor-height: 700px;
  --hero-decor-angle: -40deg;
  --hero-decor-color: 219,226,234;
  --hero-decor-opacity: 0.59;
  --header-bg: rgba(209, 226, 238, 0.1);
  --header-bg-scrolled: rgba(157, 183, 202, 0);
  --header-blur: 20px;
  --transition-speed: 1s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}




body {
  font-family: var(--font-family);
  background: linear-gradient(
    var(--page-gradient-angle),
    var(--page-gradient-start) 0%,
    var(--page-gradient-end) 100%
  );
  color: var(--color-primary);
  line-height: 1.5;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: transparent;
  backdrop-filter: blur(var(--header-blur));
  transition: background var(--transition-speed),
              padding var(--transition-speed),
              box-shadow var(--transition-speed);
  z-index: 1000;
  padding: 0.8rem 2rem;
}
.site-header.scrolled {
  background: var(--header-bg-scrolled);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 0.2rem 2rem;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.github-btn {
  position: relative;
  background: var(--btn-bg);
  padding: 15px 30px;
  border-radius: 20px;
  color: #eef5ff;
  text-decoration: none;
  font-weight: 500;
  transition: box-shadow 0.2s ease; 
  font-size: 0.95rem;
}

.github-btn:hover {
  box-shadow: inset 0 -3px 10px rgb(62, 94, 190);
}


.logo {
  display: inline-flex;
  align-items: center;
  color: rgb(47, 63, 122);
  text-decoration: none;
}

.logo-icon {
  display: block;
  width: 40px;
  height: auto;
  margin-right: 7px;
  align-self: center;
  opacity: 0.8;
  cursor: pointer;
  transition: transform 0.3s ease,
              opacity 0.3s ease;
}
.logo__icon:hover {
  transform: scale(1.05);
}

@media (max-width: 600px) {
  .header {
    padding: 0 10px;
    height: 50px;
  }
  .logo__icon {
    width: 100px;
  }
}

.logo i {
  font-size: 1.75rem;
}

.logo-text {
  margin-left: 0.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  position: relative;
  display: inline-block;
}
.logo-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background-color: rgba(54, 81, 161);
  transition: bottom 0.4s ease;
}

.main-nav {
  margin: 0 auto;
  background: var(--btn-bg);
  padding: 15px 30px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}
.main-nav a {
  position: relative;
  color: #eef5ff;
  text-decoration: none;
  font-weight: 500;
  z-index: 1;
  transition: opacity 0.2s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -22px;
  width: 100%;
  height: 3px;
  background-color: #eef5ff;
  z-index: -1;
  transition: bottom 0.4s ease;
}
.main-nav a:hover::after {
  bottom: -5px;
}

.hero__anchor {
  position: absolute;
  top: 75%;
  right: -300px;
  width: 440px;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  opacity: 0;
}

.hero {
  position: relative;
  padding: 3rem 0 5rem;
  background: var(--color-card);
  border-radius: 20px;
  overflow: hidden;
  max-width: var(--max-width);
  margin: 0 auto;
}
.hero::before {
  content: '';
  position: absolute;
  top: var(--hero-decor-top);
  right: var(--hero-decor-right);
  width: var(--hero-decor-width);
  height: var(--hero-decor-height);
  background: rgba(var(--hero-decor-color), var(--hero-decor-opacity));
  transform: rotate(var(--hero-decor-angle));
  transform-origin: top right;
  z-index: 0;
  pointer-events: none;
}

.svg-zigzag {
  position: absolute;
  bottom: -10px;
  right: 20px;
  width: 170px;
  height: auto;
  opacity: 0.3;
}
.svg-zigzag .stop1 { stop-color: #c3d8ec; }
.svg-zigzag .stop2 { stop-color: #d0d8e0; }
.svg-zigzag .stop3 { stop-color: #c8d7e6; }

.hero__extra-decor {
  position: absolute;
  top: 120px;
  left: 30px;
  width: 400px;
  height: 300px;
  background: rgba(var(--hero-decor-color), 1);
  clip-path: polygon(
    20% 0%,
    60% 0%,
    80% 40%,
    50% 40%,
    90% 100%,
    70% 100%,
    0% 60%,
    30% 60%
  );
}

.hero__inner,
.hero__features {
  position: relative;
  z-index: 1;
}

.hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
}
@media (max-width: 768px) {
  .hero__inner {
    flex-wrap: wrap;
  }
}

.hero__card-bg {
  margin-top: 40px;
  width: 545px;
  height: 545px;
  background-image: url('/public/image.png');
  opacity: 0.975;
  
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease, opacity 0.7s ease;
}
.hero__card-bg:hover {
  transform: scale(1.004);
  opacity: 1;
}

.hero__title__block {
  display: block;
  margin-top: -35px;
  line-height: 1;
}

.hero__text {
  flex: 1 1 400px;
}

.hero__title {
  font-size: 5rem;
  font-weight: 700;
  margin-bottom: 2.3rem;
}

.hero__subtitle {
  font-size: 1.4rem;
  color: var(--color-secondary);
  margin-bottom: 1.4rem;
}

.btn {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.75rem;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}









.btn--primary {
   background: var(--btn-bg);
  color: #eef5ff;
  transition: background 0.2s;
    transition: box-shadow 0.2s ease; 
}
.btn--primary:hover {
    box-shadow: inset 0 -3px 10px rgb(62, 94, 190);

}

.hero__features {
  position: relative;
  z-index: 1;
  margin-top: 2rem;
}

.features__grid {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  background: #FFFFFF55;
  border-radius: 0.75rem;
  padding: 8px 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
  flex: 1 1 280px;
  gap: 1rem;
}

.feature-card__media {
  flex-shrink: 0;
  width: 75px;
  height: 75px;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card__icon-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.feature-card__content {
  display: flex;
  flex-direction: column;
}

.feature-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.2rem;
  color: var(--color-primary);
}

.feature-card__desc {
  font-size: 0.9375rem;
  color: var(--color-muted);
  margin: 0;
}

.feature-card__list {
  list-style: none;
  font-size: 0.85rem;
  line-height: 1.55;
}

.feature-card__list li {
  position: relative;
  padding-left: 1.25em;
  white-space: nowrap;
}

.feature-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--color-primary);
  border-radius: 50%;
}

.downloads {
  font-family: Poppins, sans-serif;
  color: #1f2d3d;
  background: #f7f9fc;
  display: flex;
  flex-wrap: wrap;
  padding: 2rem 0;
  max-width: 1200px;
  margin: 1.7rem auto;
  gap: 1.5rem;
}
.downloads-left,
.downloads-right {
  flex: 1;
  min-width: 320px;
}
.downloads-left h2 {
  margin-bottom: 0.75em;
  color: #102a43;
  font-size: 2rem;
}
.downloads-left p.intro {
  margin-bottom: 1.5em;
  font-size: 1rem;
  line-height: 1.5;
}
.downloads-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}
.downloads-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: #fff;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.downloads-tab:hover {
  background: #e1eefa;
}
.downloads-tab.active {
   background: var(--btn-bg);
  color: #fff;
  border-color: rgb(46, 59, 113);
}
.downloads-tab i {
  font-size: 1.25rem;
  width: 1.5em;
  height: 1.5em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
}
.downloads-tab[data-os="windows"] i {
  color: #00adef;
}
.downloads-tab[data-os="macos"] i {
  color: #000000;
}
.downloads-tab[data-os="linux"] i {
  color: #f8a51b;
}
.downloads-tab.active i {
  color: #eef5ff;
}

#downloads-content-area {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  background: rgba(var(--hero-decor-color), var(--hero-decor-opacity));
  border-radius: 20px;
  padding: 1.25rem;
}

.downloads-cards-wrapper {
  display: flex;
  justify-content: space-between;
  flex: 1;
  gap: rem;
  margin: 0;
  background: none;
  padding: 0;
}

.downloads-btn {
  flex: 0 0 auto;
  align-self: center;
  display: inline-block;
  padding: 0.9rem 1.5rem;
   background: var(--btn-bg);
  font-weight: 400;
  font-family: Poppins, sans-serif;
  color: #eef5ff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  transition: background 0.3s, box-shadow 0.2s;
}
.downloads-btn:hover {

 box-shadow: inset 0 -3px 10px rgb(62, 94, 190);
}


.downloads-card {
  padding: 1rem;
  border-radius: 8px;
  background-color: transparent;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex: 1;
  margin-right: 1rem;
  transition: transform 0.3s;
}
.downloads-card:last-child {
  margin-right: 0;
}
.downloads-card:hover {
  transform: translateY(-4px);
}
.downloads-card-icon {
  font-size: 1.5rem;
  color: #102a43;
  flex-shrink: 0;
}
.downloads-card-content h3 {
  margin: 0 0 0.25em;
  font-size: 1.1rem;
  color: #102a43;
}
.downloads-card-content p {
  margin: 0;
  font-size: 0.95rem;
  color: #334e68;
  line-height: 1.4;
}

.downloads-right {
  background: rgba(var(--hero-decor-color), var(--hero-decor-opacity));
  padding: 1rem;
  border-radius: 20px;
}
.downloads-help ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.downloads-help li {
  position: relative;
  padding-left: 1.25em;
  margin-bottom: 1.1em;
  font-size: 0.95rem;
}
.downloads-help li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 5px;
  height: 5px;
  background: var(--color-primary);
  border-radius: 50%;
}
.downloads-help a {
  text-decoration: none;
  border-bottom: 2px solid rgba(26,47,63,0.9);
  padding-bottom: 2px;
  color: inherit;
}
.downloads-help h3,
.downloads-help li,
.downloads-get-started h3,
.downloads-get-started p.detail {
  color: var(--color-primary);
}
.downloads-help h3 {
  margin-bottom: 0.4em;
}
.downloads-get-started h3 {
  margin-bottom: 0.4em;
  font-size: 1.25rem;
}
.downloads-get-started p.detail {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--color-muted);
}

@media (max-width: 768px) {
  .downloads-container {
    flex-direction: column;
  }
  .downloads-cards-wrapper {
    flex-direction: column;
  }
  .downloads-card {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}

.faq-section {
  display: flex;
  max-width: 1200px;
  gap: 2rem;
  padding: 4rem 0;
}
@media (max-width: 768px) {
  .faq-section {
    flex-direction: column;
  }
}

.faq-intro {
  flex: 0 0 35%;
}
.faq-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.faq-desc {
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-content {
  flex: 1;
}
.faq-categories {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.faq-category {
  background: rgba(var(--hero-decor-color), var(--hero-decor-opacity));
  font-family: Poppins, sans-serif;
  border: 2px solid transparent;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s, border-color 0.3s;
}
.faq-category:hover {
  background: rgba(138, 143, 150, 0.3);
}
.faq-category.active {
  background: var(--btn-bg);
  color: #fff;
  border-color: var(--btn-bg);
}

.faq-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}
@media (max-width: 480px) {
  .faq-items {
    grid-template-columns: 1fr;
  }
}

.faq-item {
  background: var(--bg-light);
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px var(--shadow);
  overflow: hidden;
  display: none;
  transition: background 0.2s;
}
.faq-item.visible {
  display: block;
}
.faq-item:hover {
  background: var(--bg-hover);
}

.faq-question {
  padding: 1rem 1.5rem;
  position: relative;
  font-weight: 600;
}
.faq-question::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s, content 0.3s;
}

.faq-answer {
  max-height: 0;
  padding: 0 1.5rem;
  color: var(--text-muted);
  line-height: 1.5;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item:hover .faq-question::after {
  content: '−';
}
.faq-item:hover .faq-answer {
  max-height: 200px;
  padding: 0.75rem 1.5rem 1.5rem;
}

.section-divider {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 0;
  margin: 2rem auto;
}
.section-divider::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background-color: rgba(26, 47, 63, 0.89);
  transition: bottom 0.4s ease;
}










.news-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.news-intro h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.news-intro p {
  color: var(--text-muted);
  font-size: 1rem;
}

.news-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.news-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.news-card {
  background: var(--bg-light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--shadow);
}
.news-card img {
  width: 100%;
  height: auto;
  display: block;
}
.news-card h3 {
  font-size: 1.25rem;
  margin: 1rem;
}
.news-card h3 a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.2s;
}
.news-card h3 a:hover {
  color: var(--primary);
}

.news-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0 1rem 1rem;
  display: flex;
  align-items: center;
  gap: 1em;
}
.news-meta span {
  position: relative;
  padding-left: 1.25em;
  white-space: nowrap;
}
.news-meta .meta-date::before,
.news-meta .meta-time::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--color-primary);
  border-radius: 50%;
}

.news-sidebar {
  background: var(--bg-light);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.news-sidebar h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  position: relative;
}
.news-sidebar h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 3px;
  background-color: rgba(26, 47, 63, 0.89);
  transition: bottom 0.4s ease;
}

.headline-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.headline-list li {
  position: relative;
  padding-left: 1.25em;
}
.headline-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--color-primary);
  border-radius: 50%;
}
.headline-list a {
  position: relative;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s;
}
.headline-list a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background-color: rgba(26, 47, 63, 0.89);
  transition: bottom 0.4s ease;
}
.headline-list a:hover {
  opacity: 0.8;
}
.view-all {
  margin-top: auto;
  align-self: start;
  font-size: 0.9rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}
.view-all:hover {
  opacity: 0.8;
}

@media (max-width: 992px) {
  .news-content {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .news-cards {
    grid-template-columns: 1fr;
  }
}

.site-footer {
 background: linear-gradient(
    to bottom,           
    rgb(46, 59, 113),    
    rgb(36, 52, 100)    
  );
  color: #eef5ff;
  font-size: 0.9rem;
  margin-top: 2rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem 0;
}

.logo-logo {
  font-size: 1.5rem;
  font-weight: 600;
  position: relative;
}

.footer-col {
  flex: 1 0 0;
  min-width: 200px;
}
.footer-about .logo-logo {
  color: #eef5ff;
}
.footer-about .footer-desc {
  margin-top: 1rem;
  color: rgba(238, 245, 255, 0.8);
  line-height: 1.5;
  max-width: 300px;
}

.site-footer h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.25rem;
}
.site-footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 40px;
  height: 2px;
  background-color:#eef5ff;
  opacity: 0.93;
  transition: bottom 0.4s ease;
}
.site-footer h4:hover::after {
  bottom: 0;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-list li {
  margin-bottom: 0.75rem;
}
.footer-list a {
  color: #eef5ff;
  text-decoration: none;
  position: relative;
  transition: opacity 0.2s;
}
.footer-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  transition: bottom 0.3s ease;
}
.footer-list a:hover {
  opacity: 0.8;
}

.footer-social {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
}
.footer-social a {
  color: #eef5ff;
  font-size: 1.25rem;
  transition: opacity 0.2s;
}
.footer-social a:hover {
  opacity: 0.7;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}
.footer-bottom p {
  text-align: center;
  color: rgba(238, 245, 255, 0.7);
  margin: 0;
}

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-col {
    max-width: 400px;
  }
}

.footer-privacy {
  margin-top: 1rem;
}

.footer-privacy a {
  display: inline-block;
  color: #eef5ff;
  border-radius: 6px;
  text-decoration: none;
  font-family: Poppins, sans-serif;
  font-weight: 500;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.footer-privacy a:hover {
  opacity: 0.8;
}

a .icon-twitter,
a .icon-github,
a .icon-telegram,
a .icon-windows,
a .icon-apple,
a .icon-linux {
  text-decoration: none;
}
