@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap');

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

#wrapper {
    margin: 46px auto 0;
    width: 1218px;
}

header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    margin-bottom: 20px;
}

.header-logo {
    display: inline-block;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 171px;
    height: 57px;
}

.logo-name {
    display: inline-block;
}

header nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 35px;
    padding: 0 20px;
}

header nav a {
    text-decoration: none;
    color: #000;
    font-family: Manrope;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    padding: 12px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

header nav a:hover {
    color: #467AFF;
    background-color: rgba(70, 122, 255, 0.1);
    transform: translateY(-2px);
}

header nav a:active {
    transform: translateY(0);
}

/* Active state for current section */
header nav a.active {
    color: #467AFF;
    background-color: rgba(70, 122, 255, 0.15);
    font-weight: 600;
}

.top-text {
    color: #000;
    font-size: 20px;
    font-style: normal;
    line-height: normal;
    font-family: 'Rubik', sans-serif;
}

.under-text {
    color: rgba(0, 0, 0, 0.58);
    font-family: Manrope;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.header-btn {
    width: 171px;
    height: 48px;
    border-radius: 15px;
    border: 1px solid #7A7A7A;
    background: rgba(255, 255, 255, 0.00);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    transition: 0.3s;
}

header a {
    color: #000;
    text-decoration: none;
    font-family: Manrope;
    transition: 0.3s;
}

.header-btn:hover {
    border: 1px solid #467AFF;
    background-color: #467AFF;
    color: #fff;
}

.first-block {
    height: 260px;
    margin-left: 25px;
    margin-top: 100px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.slogan-text {
    color: #000;
    font-family: Manrope;
    font-size: 35px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

#blue {
    color: #467AFF;
}

.slogan-subtext {
    color: #747474;
    font-family: Manrope;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.first-block a {
    text-decoration: none;
    color: #fff;
}

.left-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 712px;
}

.first-block-btn {
    width: 370px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 15px;
    background: #5786FF;
    color: #FFF;
    font-family: Manrope;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
}

.first-block-btn:hover {
    transform: translateY(3px);
}

.first-block-btn:active {
    background: #6892fcb4;
}

.right-content {
    width: 1000px;
    /* border: 1px solid blue; */
    display: flex;
    flex-direction: row;
    justify-content: right;
    align-items: center;
}

.right-content img {
    margin-left: 10px;
    float: right;
    width: 2 0px;
    height: 200px;
    border-radius: 48px;
}

.second-block {
    margin-top: 50px;
    height: 120px;
    background: linear-gradient(169deg, rgba(37, 98, 255, 0.79) 0%, rgba(132, 56, 255, 0.79) 92.71%);
    border-radius: 10em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.second-block__content {
    width: 931px;
    height: 70px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.item-title {
    color: #ffffffd5;
    text-align: center;
    font-family: 'Rubik', sans-serif;
    font-size: 34px;
    line-height: normal;
}

.item-subtitle {
    color: #ffffffd5;
    font-family: Manrope;
    font-size: 14px;
    font-weight: 600;
    line-height: normal;
}

.third-block {
    padding: 50px;
    margin-top: 50px;
    border-radius: 5rem;
    background: linear-gradient(170deg, #D1DEFF 0%, #E7D9FF 36.46%, #DDE7FF 88.33%, #E7D9FF 100%);
}

ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 50px;
}

ul:last-child {
    margin-bottom: 0 !important;
}

li {
    padding: 30px;
    background-color: #fff;
    border-radius: 38px;
    width: 350px;
}

li img {
    width: 53px;
    height: 53px;
}

.icon-downloads {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.downloads {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.downloads span {
    color: #628EFF;
    text-align: center;
    font-family: Manrope;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

li h1 {
    color: #000;
    font-family: Manrope;
    font-size: 21px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin: 10px 0;
}

.pass-content svg {
    margin-right: 5px;
}

.password {
    display: inline-block;
    color: #5786FF;
    font-family: Manrope;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
}

.pass-content {
    display: flex;
    align-items: center;
    padding: 8px;
    border-radius: 5px;
    background: rgba(98, 142, 255, 0.21);
}

.app-description {
    color: rgba(0, 0, 0, 0.58);
    font-family: Manrope;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin: 10px 0;
}

li a {
    text-decoration: none;
}

.download-btn {
    height: 34px;
    border-radius: 11px;
    background: #5786FF;
    display: flex;
    color: #fff;
    align-items: center;
    justify-content: center;
    font-family: Manrope;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
    margin: 0;
    width: 100%;
}

.download-btn:hover {
    transform: translateY(3px);
    background-color: #3e72f7;
}

.download-btn:active {
    background-color: #97b5fffd;
}

/* Button container for Download and More buttons */
.button-container {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    align-items: stretch;
}

.button-container a {
    flex: 1;
    display: flex;
}

.more-btn {
    height: 34px;
    border-radius: 11px;
    background: #fff;
    border: 2px solid #5786FF;
    display: flex;
    color: #5786FF;
    align-items: center;
    justify-content: center;
    font-family: Manrope;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
    margin: 0;
    width: 100%;
}

.more-btn:hover {
    transform: translateY(3px);
    background-color: #5786FF;
    color: #fff;
}

.more-btn:active {
    background-color: #3e72f7;
    border-color: #3e72f7;
    color: #fff;
}

/* Detail page styles */
.detail-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    overflow-x: hidden;
    box-sizing: border-box;
}

.detail-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    padding: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 25px;
    color: white;
    box-sizing: border-box;
    overflow: hidden;
}

.detail-icon {
    width: 120px;
    height: 120px;
    border-radius: 25px;
    background: white;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.detail-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.detail-title-section h1 {
    font-family: Manrope;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.detail-meta {
    display: flex;
    gap: 20px;
    align-items: center;
    font-family: Manrope;
    font-size: 16px;
}

.detail-downloads, .detail-password {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 10px;
}

.detail-content {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
    overflow: hidden;
    box-sizing: border-box;
}

.detail-section {
    margin-bottom: 30px;
    box-sizing: border-box;
}

.detail-section:last-child {
    margin-bottom: 0;
}

.detail-section h2 {
    font-family: Manrope;
    font-size: 24px;
    font-weight: 600;
    color: #000;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 3px solid #5786FF;
    word-wrap: break-word;
}

.detail-section p {
    font-family: Manrope;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 12px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.features-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.features-list li {
    background: linear-gradient(135deg, #D1DEFF 0%, #E7D9FF 100%);
    padding: 15px;
    border-radius: 12px;
    font-family: Manrope;
    font-size: 14px;
    color: #333;
    border-left: 4px solid #5786FF;
    width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
    max-width: 100%;
}

.features-list li:nth-child(n+7) {
    display: none;
}

@media (max-width: 1024px) {
    .features-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .features-list {
        grid-template-columns: 1fr;
    }
}

.features-list li:before {
    content: "✓ ";
    color: #5786FF;
    font-weight: bold;
    font-size: 16px;
    margin-right: 8px;
}

.system-requirements {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    box-sizing: border-box;
}

.requirement-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #5786FF;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.requirement-item h3 {
    font-family: Manrope;
    font-size: 16px;
    font-weight: 600;
    color: #5786FF;
    margin-bottom: 8px;
    word-wrap: break-word;
}

.requirement-item p {
    font-family: Manrope;
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
}

.download-section {
    background: linear-gradient(135deg, #5786FF 0%, #764ba2 100%);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    color: white;
    margin-top: 30px;
    box-sizing: border-box;
    overflow: hidden;
}

.download-section h2 {
    font-family: Manrope;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
    border: none;
    padding: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.download-large-btn {
    display: inline-block;
    padding: 15px 40px;
    background: white;
    color: #5786FF;
    font-family: Manrope;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: 0.3s;
    margin-top: 15px;
}

.download-large-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.back-link {
    display: inline-block;
    margin-bottom: 30px;
    padding: 12px 25px;
    background: #5786FF;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-family: Manrope;
    font-weight: 500;
    transition: 0.3s;
}

.back-link:hover {
    background: #3e72f7;
    transform: translateX(-5px);
}

/* Responsive design for detail pages */
@media (max-width: 768px) {
    .detail-page {
        padding: 20px 10px;
    }
    
    .detail-header {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .detail-icon {
        width: 80px;
        height: 80px;
    }
    
    .detail-title-section h1 {
        font-size: 28px;
    }
    
    .detail-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .detail-content {
        padding: 25px 20px;
    }
    
    .detail-section h2 {
        font-size: 22px;
    }
    
    .system-requirements {
        grid-template-columns: 1fr;
    }
    
    .download-section {
        padding: 30px 20px;
    }
    
    .download-section h2 {
        font-size: 24px;
    }
}

/* Video Tutorial Block Styles */
.video-tutorial-block {
    margin-top: 40px;
    padding: 40px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 35px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.video-content {
    width: 100%;
    max-width: 1000px;
    text-align: center;
}

.video-tutorial-block h1 {
    color: white;
    font-family: Manrope;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 15px;
}

.video-description {
    color: rgba(255, 255, 255, 0.9);
    font-family: Manrope;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.video-container {
    margin-bottom: 40px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.video-placeholder {
    position: relative;
    width: 100%;
    height: 400px;
    background: linear-gradient(45deg, #4a5568, #2d3748);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-placeholder:hover {
    transform: scale(1.02);
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.play-button {
    position: absolute;
    z-index: 3;
    transition: transform 0.3s ease;
}

.video-placeholder:hover .play-button {
    transform: scale(1.1);
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 30px 20px 20px;
    text-align: left;
}

.video-overlay h3 {
    font-family: Manrope;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
}

.video-overlay p {
    font-family: Manrope;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.tutorial-video {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    background: #000;
    object-fit: cover;
}

.tutorial-video:focus {
    outline: 2px solid #467AFF;
    outline-offset: 2px;
}

.video-features {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: background 0.3s ease;
}

.feature-item:hover .feature-icon {
    background: rgba(255, 255, 255, 0.2);
}

.feature-text h4 {
    font-family: Manrope;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
}

.feature-text p {
    font-family: Manrope;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

/* Responsive design for navigation */
@media (max-width: 1024px) {
    #wrapper {
        width: 95%;
        margin: 20px auto 0;
    }
    
    header {
        flex-direction: column;
        gap: 20px;
        padding: 20px 10px;
    }
    
    header nav {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    header nav a {
        font-size: 14px;
        padding: 10px 16px;
    }
}

@media (max-width: 768px) {
    header nav {
        gap: 15px;
    }
    
    header nav a {
        font-size: 13px;
        padding: 8px 12px;
    }
    
    .header-btn {
        font-size: 14px;
        padding: 10px 20px;
    }
}

/* Responsive design for video section */
@media (max-width: 768px) {
    .video-features {
        flex-direction: column;
        gap: 20px;
    }
    
    .video-placeholder {
        height: 250px;
    }
    
    .video-tutorial-block h1 {
        font-size: 24px;
    }
}

.fourth-block {
    margin-top: 40px;
    padding: 25px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 65px;
    background: linear-gradient(171deg, #D1DEFF 0%, #E7D9FF 36.46%, #E3DEFF 57.51%, #DDE7FF 88.33%, #E7D9FF 100%), #D9D9D9;
}

.fourth-block h1 {
    color: #000;
    font-family: Manrope;
    font-size: 28px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

#faq {
    font-family: 'Roboto', sans-serif;
    color: #232322;
    font-size: 25px;
}

details {
    margin: 5px auto;
    width: 500px;
    border: 1px solid #b3b3b3;
    border-radius: 20px;
    padding: 10px 25px;
    font-size: 17px;
    font-family: 'Roboto', sans-serif;
    color: #fff;
    border: none;
    border-radius: 12px;
    background-color: #5786FF;
}

.answer {
    border-left: 3px solid #814bc2;
    font-size: 15px;
    text-align: left;
    padding: 10px;
    margin-bottom: 10px;
}

hr {
    margin-top: 40px;
}

/* Social Media Block */
.social-block {
    margin-top: 40px;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 65px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.social-block::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(180deg); }
}

.social-block h1 {
    color: #fff;
    font-family: Manrope;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.social-block > p {
    color: rgba(255, 255, 255, 0.95);
    font-family: Manrope;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 35px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 25px;
    position: relative;
    z-index: 1;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 40px;
    background: rgba(255, 255, 255, 0.95);
    color: #667eea;
    text-decoration: none;
    font-family: Manrope;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.social-links a svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.social-links a:hover svg {
    transform: scale(1.1) rotate(5deg);
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.6s, height 0.6s, top 0.6s, left 0.6s;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.social-links a:hover::before {
    width: 300px;
    height: 300px;
}

.social-links a:hover {
    color: #fff;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.social-links a:active {
    transform: translateY(-2px) scale(1.02);
}

footer {
    /* background-color: #cecece3b; */
    height: 80px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    padding: 0 50px;
}

.footer-info {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.footer-navigation {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 250px;
}

.footer-info>nav>a {
    text-decoration: none;
    color: #000;
    font-family: Manrope;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    transition: 0.3s;
    margin: 0 5px;
}

.footer-info>nav>a:hover {
    color: #467AFF;
}

.footer-company-info {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    border: 1px solid blue;
}

.footer-company-info>.under-text {
    margin-top: 15px;
    color: rgba(0, 0, 0, 0.58);
    font-family: Manrope;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}