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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #fff;
    background-color: #1e1e1e;
    min-height: 100vh;
}


.main {
    width: 100%;
    padding: 80px 40px;
    text-align: center;
    background-color: #1e1e1e;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
}

.main__container {
    max-width: 800px;
    margin: 0 auto;
}


.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: #1e1e1e;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo__image {
    width: 40px;
    height: auto;
    flex-shrink: 0;
}

.logo__text {
    font-size: 29px;
  font-weight: 500;
  color: #fff;
  text-transform: uppercase;
}

.header__button {
    padding: 12px 34px;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.header__button:hover {
    background-color: rgba(255, 255, 255, 0.15);
}


.main__title {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #fff;
}

.main__text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 48px;
    line-height: 1.8;
}

.text_clear {
  color: #6464ff;
  font-weight: bold;
  }
  
.text_tor {
  color: #863fa6;
  font-weight: bold;
  }
  
.differences-section {
    width: 100%;
    padding: 80px 40px;
    background-color: #2a2a2a;
}

.differences-section__container {
    max-width: 1200px;
    margin: 0 auto;
}

.differences {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    text-align: left;
}

.differences__item {
    padding: 24px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.differences__item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.differences__title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.differences__image {
    width: 320px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    float: left;
    margin: 0 20px 15px 0;
    shape-outside: margin-box;
}

.differences__text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    text-align: justify;
}

.differences-section__button {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.main__buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.main__button {
    width: 180px;
    padding: 12px 32px;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.main__button-icon {
    flex-shrink: 0;
}

.main__button[data-popup="popup1"] {
    background-color: #59316b;
}

.main__button:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.main__button[data-popup="popup1"]:hover {
    background-color: #6d3a82;
}


.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.popup.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.popup__content {
    position: relative;
    background-color: #1e1e1e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    z-index: 1001;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.popup__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    opacity: 0.7;
}

.popup__close:hover {
    opacity: 1;
}

.popup__title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #fff;
}

.popup__text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
    line-height: 1.6;
}

.popup__link-container {
    margin-bottom: 24px;
    padding: 16px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.popup__link {
    font-size: 16px;
    color: #fff;
    word-break: break-all;
    display: block;
}

.popup__copy-button {
    width: 100%;
    padding: 16px;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.popup__copy-button:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.popup__copy-button.copied {
    background-color: rgba(76, 175, 80, 0.3);
    color: #4caf50;
}

.foot_content {
  padding: 80px 10px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

 h4 { 
 margin-bottom: 22px;
 font-size: 20px;
 }
 
.footer {
    width: 100%;
    padding: 30px 40px;
    max-height: 100px;
    background-color: #1e1e1e;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer__container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer__copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}


@media (max-width: 1024px) {
    .main__container {
        max-width: 100%;
        padding: 0 20px;
    }

    .differences-section__container {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 16px 20px;
        flex-wrap: wrap;
        gap: 12px;
    }

    .header__logo {
        gap: 8px;
    }

    .logo__image {
        width: 32px;
        height: 32px;
    }

    .logo__text {
        font-size: 16px;
    }

    .header__button {
        padding: 10px 30px;
        font-size: 12px;
    }

    .main {
        padding: 60px 20px;
    }

    .main__container {
        padding: 0;
    }

    .main__title {
        font-size: 36px;
    }

    .main__text {
        font-size: 16px;
    }

    .main__buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .main__button {
        width: 100%;
    }

    .differences-section {
        padding: 60px 20px;
    }

    .differences {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .differences__item {
        padding: 20px;
    }

    .differences__title {
        font-size: 18px;
    }

    .differences__image {
        float: none;
        width: 100%;
        height: auto;
        max-width: 300px;
        margin: 0 auto 20px;
        display: block;
    }

    .differences__text {
        font-size: 14px;
        text-align: left;
    }

    .differences-section__button {
        margin-top: 30px;
    }

    .popup__content {
        padding: 30px 20px;
        max-width: 95%;
        width: 95%;
    }

    .popup__title {
        font-size: 24px;
    }

    .popup__text {
        font-size: 14px;
    }

    .popup__close {
        top: 15px;
        right: 15px;
        font-size: 28px;
        width: 28px;
        height: 28px;
    }

    .footer {
        padding: 20px;
        max-height: 100px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 12px 16px;
    }

    .logo__text {
        font-size: 14px;
    }

    .header__button {
        padding: 8px 24px;
        font-size: 11px;
    }

    .main {
        padding: 40px 16px;
    }

    .main__title {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .main__text {
        font-size: 14px;
        margin-bottom: 32px;
    }

    .main__button {
        padding: 14px 24px;
        font-size: 12px;
    }

    .differences-section {
        padding: 40px 16px;
    }

    .differences__item {
        padding: 16px;
    }

    .differences__title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .differences__text {
        font-size: 13px;
    }

    .differences__image {
        max-width: 100%;
        margin-bottom: 16px;
    }

    .popup__content {
        padding: 24px 16px;
        max-width: 98%;
        width: 98%;
    }

    .popup__title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .popup__text {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .popup__link-container {
        padding: 12px;
        margin-bottom: 20px;
    }

    .popup__link {
        font-size: 14px;
    }

    .popup__copy-button {
        padding: 14px;
        font-size: 12px;
    }

    .footer {
        padding: 16px;
    }

    .footer__copyright {
        font-size: 12px;
    }
}
