/* style/app-download.css */
.page-app-download {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
}

.page-app-download__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-app-download__hero {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #fff;
    padding: 80px 0 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-app-download__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #ffc107;
    line-height: 1.2;
}

.page-app-download__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-app-download__hero-actions {
    margin-bottom: 40px;
}

.page-app-download__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin: 10px;
}

.page-app-download__button--primary {
    background-color: #ffc107;
    color: #000;
    border: 2px solid #ffc107;
}

.page-app-download__button--primary:hover {
    background-color: #e0a800;
    border-color: #e0a800;
    transform: translateY(-3px);
}

.page-app-download__button--secondary {
    background-color: transparent;
    color: #ffc107;
    border: 2px solid #ffc107;
}

.page-app-download__button--secondary:hover {
    background-color: #ffc107;
    color: #000;
    transform: translateY(-3px);
}

.page-app-download__button--small {
    padding: 8px 15px;
    font-size: 0.9em;
}

.page-app-download__hero-image {
    max-width: 50%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-app-download__section {
    padding: 60px 0;
    text-align: center;
}

.page-app-download__section:nth-of-type(even) {
    background-color: #f8f9fa;
}

.page-app-download__section-title {
    font-size: 2.2em;
    color: #007bff;
    margin-bottom: 20px;
}

.page-app-download__section-description {
    font-size: 1.1em;
    color: #555;
    max-width: 900px;
    margin: 0 auto 40px;
}

.page-app-download__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-app-download__advantage-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-app-download__advantage-item:hover {
    transform: translateY(-10px);
}

.page-app-download__advantage-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.page-app-download__advantage-title {
    font-size: 1.4em;
    color: #007bff;
    margin-bottom: 15px;
}

.page-app-download__advantage-text {
    color: #666;
    font-size: 0.95em;
}

.page-app-download__guide-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.page-app-download__tab-button {
    background-color: #e9ecef;
    border: none;
    padding: 12px 25px;
    font-size: 1.05em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 5px;
    margin: 5px;
}

.page-app-download__tab-button:hover {
    background-color: #dee2e6;
}

.page-app-download__tab-button--active {
    background-color: #007bff;
    color: #fff;
}

.page-app-download__tab-button--active:hover {
    background-color: #0056b3;
}

.page-app-download__tab-content {
    display: none;
    text-align: left;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.page-app-download__tab-content--active {
    display: block;
}

.page-app-download__guide-subtitle {
    font-size: 1.8em;
    color: #007bff;
    margin-bottom: 25px;
}

.page-app-download__guide-steps ol {
    list-style-type: decimal;
    padding-left: 25px;
    margin-bottom: 30px;
}

.page-app-download__guide-steps ol li {
    margin-bottom: 15px;
    font-size: 1.05em;
    color: #444;
}

.page-app-download__guide-steps ol li strong {
    color: #0056b3;
}

.page-app-download__guide-image {
    max-width: 80%;
    height: auto;
    display: block;
    margin: 30px auto 0;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-app-download__qr-codes {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-app-download__qr-item {
    text-align: center;
}

.page-app-download__qr-image {
    width: 180px;
    height: 180px;
    border: 5px solid #007bff;
    border-radius: 10px;
    margin-bottom: 15px;
}

.page-app-download__qr-item p {
    font-size: 1.1em;
    font-weight: bold;
    color: #333;
}

.page-app-download__grid--features {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-app-download__feature-item {
    background-color: #eaf6ff;
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    border-left: 5px solid #007bff;
}

.page-app-download__feature-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

.page-app-download__feature-title {
    font-size: 1.3em;
    color: #0056b3;
    margin-bottom: 10px;
}

.page-app-download__feature-text {
    color: #555;
    font-size: 0.95em;
}

.page-app-download__features-image {
    max-width: 70%;
    height: auto;
    display: block;
    margin: 50px auto 0;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.page-app-download__text {
    font-size: 1.05em;
    color: #444;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-app-download__list {
    list-style-type: disc;
    text-align: left;
    max-width: 800px;
    margin: 20px auto 40px;
    padding-left: 25px;
}

.page-app-download__list li {
    margin-bottom: 10px;
    color: #444;
    font-size: 1em;
}

.page-app-download__faq {
    text-align: left;
    margin-top: 40px;
}

.page-app-download__faq-item {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 20px;
}

.page-app-download__faq-question {
    font-size: 1.2em;
    color: #007bff;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-app-download__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.5em;
    line-height: 1;
    color: #ffc107;
}

.page-app-download__faq-question.active::after {
    content: '-';
}

.page-app-download__faq-answer {
    font-size: 1em;
    color: #666;
    display: none;
    padding-top: 10px;
    border-top: 1px dashed #eee;
    margin-top: 10px;
}

.page-app-download__faq-answer.active {
    display: block;
}

.page-app-download__troubleshooting-image {
    max-width: 60%;
    height: auto;
    display: block;
    margin: 40px auto 0;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-app-download__web-version-image {
    max-width: 80%;
    height: auto;
    display: block;
    margin: 40px auto 0;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-app-download__grid--detail-pages {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin-top: 40px;
    text-align: left;
}

.page-app-download__detail-card {
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-app-download__detail-card:hover {
    transform: translateY(-5px);
}

.page-app-download__detail-title {
    font-size: 1.3em;
    color: #007bff;
    margin-bottom: 10px;
}

.page-app-download__detail-title a {
    color: #007bff;
    text-decoration: none;
}

.page-app-download__detail-title a:hover {
    text-decoration: underline;
}

.page-app-download__detail-description {
    color: #666;
    font-size: 0.95em;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-app-download__hero-title {
        font-size: 2em;
    }
    .page-app-download__hero-description {
        font-size: 1em;
    }
    .page-app-download__button {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-app-download__hero-image {
        max-width: 70%;
    }
    .page-app-download__section-title {
        font-size: 1.8em;
    }
    .page-app-download__tab-button {
        font-size: 0.9em;
        padding: 10px 15px;
    }
    .page-app-download__tab-content {
        padding: 25px;
    }
    .page-app-download__guide-subtitle {
        font-size: 1.5em;
    }
    .page-app-download__qr-codes {
        flex-direction: column;
        align-items: center;
    }
    .page-app-download__qr-image {
        width: 150px;
        height: 150px;
    }
    .page-app-download__features-image,
    .page-app-download__troubleshooting-image,
    .page-app-download__web-version-image {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .page-app-download__hero {
        padding: 60px 0 30px;
    }
    .page-app-download__hero-title {
        font-size: 1.6em;
    }
    .page-app-download__hero-actions {
        flex-direction: column;
    }
    .page-app-download__button {
        width: 90%;
        margin: 5px auto;
    }
    .page-app-download__hero-image {
        max-width: 90%;
    }
    .page-app-download__section {
        padding: 40px 0;
    }
    .page-app-download__section-title {
        font-size: 1.5em;
    }
    .page-app-download__section-description {
        font-size: 0.9em;
    }
    .page-app-download__tab-button {
        font-size: 0.85em;
        padding: 8px 12px;
    }
    .page-app-download__tab-content {
        padding: 15px;
    }
    .page-app-download__guide-subtitle {
        font-size: 1.3em;
    }
    .page-app-download__guide-steps ol {
        padding-left: 15px;
    }
    .page-app-download__qr-image {
        width: 120px;
        height: 120px;
    }
    .page-app-download__list {
        padding-left: 15px;
    }
}