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

.page-download-ios-app__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-download-ios-app__section {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.page-download-ios-app__section:nth-of-type(even) {
    background-color: #ffffff;
}

.page-download-ios-app__hero {
    background: linear-gradient(135deg, #1A237E 0%, #303F9F 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-download-ios-app__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFC107;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-download-ios-app__hero-description {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-download-ios-app__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.page-download-ios-app__btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.05em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.page-download-ios-app__btn--primary {
    background-color: #FFC107;
    color: #1A237E;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.page-download-ios-app__btn--primary:hover {
    background-color: #FFD54F;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.6);
}

.page-download-ios-app__btn--secondary {
    background-color: transparent;
    color: #FFC107;
    border: 2px solid #FFC107;
}

.page-download-ios-app__btn--secondary:hover {
    background-color: #FFC107;
    color: #1A237E;
    transform: translateY(-2px);
}

.page-download-ios-app__btn--small {
    padding: 10px 20px;
    font-size: 0.95em;
}

.page-download-ios-app__btn--large {
    padding: 18px 35px;
    font-size: 1.2em;
}

.page-download-ios-app__hero-image-wrapper {
    margin-top: 30px;
}

.page-download-ios-app__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-download-ios-app__section-title {
    font-size: 2.2em;
    color: #1A237E;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.page-download-ios-app__section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #FFC107;
    margin: 10px auto 0;
    border-radius: 2px;
}

.page-download-ios-app__section-description {
    font-size: 1.05em;
    color: #555;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
}

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

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

.page-download-ios-app__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-download-ios-app__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 5px rgba(255, 193, 7, 0.5));
}

.page-download-ios-app__feature-title {
    font-size: 1.4em;
    color: #1A237E;
    margin-bottom: 15px;
}

.page-download-ios-app__feature-text {
    color: #666;
    font-size: 0.95em;
}

.page-download-ios-app__guide-steps {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-top: 40px;
}

.page-download-ios-app__guide-step {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-download-ios-app__step-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.page-download-ios-app__step-number {
    background-color: #FFC107;
    color: #1A237E;
    font-size: 1.8em;
    font-weight: bold;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    box-shadow: 0 4px 10px rgba(255, 193, 7, 0.4);
}

.page-download-ios-app__step-title {
    font-size: 1.8em;
    color: #1A237E;
    margin: 0;
    text-align: left;
}

.page-download-ios-app__step-text {
    font-size: 1.05em;
    color: #555;
    margin-bottom: 20px;
    text-align: left;
    max-width: 800px;
}

.page-download-ios-app__step-list {
    list-style-type: decimal;
    padding-left: 25px;
    margin-bottom: 20px;
    text-align: left;
    color: #555;
    font-size: 1.05em;
}

.page-download-ios-app__step-list li {
    margin-bottom: 10px;
}

.page-download-ios-app__step-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.page-download-ios-app__step-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-download-ios-app__security-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-download-ios-app__security-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.page-download-ios-app__security-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 5px rgba(26, 35, 126, 0.5));
}

.page-download-ios-app__security-subtitle {
    font-size: 1.5em;
    color: #1A237E;
    margin-bottom: 15px;
}

.page-download-ios-app__security-text {
    color: #666;
    font-size: 0.98em;
}

.page-download-ios-app__faq-accordion {
    margin-top: 40px;
}

.page-download-ios-app__faq-item {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-download-ios-app__faq-question {
    width: 100%;
    background-color: #1A237E;
    color: #fff;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: bold;
    text-align: left;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-download-ios-app__faq-question::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-download-ios-app__faq-question.active {
    background-color: #303F9F;
}

.page-download-ios-app__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-download-ios-app__faq-answer {
    padding: 0 25px;
    background-color: #fcfcfc;
    color: #444;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-download-ios-app__faq-answer.active {
    max-height: 500px; /* Adjust as needed */
    padding: 20px 25px;
}

.page-download-ios-app__faq-answer p {
    margin: 0;
    font-size: 1em;
}

.page-download-ios-app__cta-final {
    background-color: #1A237E;
    color: #fff;
    text-align: center;
    padding: 70px 0;
}

.page-download-ios-app__cta-final .page-download-ios-app__section-title {
    color: #FFC107;
}

.page-download-ios-app__cta-final .page-download-ios-app__section-title::after {
    background-color: #FFC107;
}

.page-download-ios-app__cta-final .page-download-ios-app__section-description {
    color: #e0e0e0;
}

.page-download-ios-app__note {
    margin-top: 30px;
    font-size: 0.9em;
    color: #ccc;
}

/* Floating Menu */
.page-download-ios-app__floating-menu {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.page-download-ios-app__floating-toggle {
    background-color: #FFC107;
    color: #1A237E;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.5);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-download-ios-app__floating-toggle:hover {
    background-color: #FFD54F;
    transform: scale(1.05);
}

.page-download-ios-app__floating-icon {
    display: block;
    width: 24px;
    height: 3px;
    background-color: #1A237E;
    position: relative;
    transition: background-color 0.3s ease;
}

.page-download-ios-app__floating-icon::before, .page-download-ios-app__floating-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #1A237E;
    transition: transform 0.3s ease;
}

.page-download-ios-app__floating-icon::before {
    top: -8px;
}

.page-download-ios-app__floating-icon::after {
    top: 8px;
}

.page-download-ios-app__floating-toggle.active .page-download-ios-app__floating-icon {
    background-color: transparent;
}

.page-download-ios-app__floating-toggle.active .page-download-ios-app__floating-icon::before {
    transform: translateY(8px) rotate(45deg);
}

.page-download-ios-app__floating-toggle.active .page-download-ios-app__floating-icon::after {
    transform: translateY(-8px) rotate(-45deg);
}

.page-download-ios-app__floating-items {
    position: absolute;
    bottom: 60px;
    right: 0;
    background-color: #1A237E;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out, visibility 0.3s ease-out;
    width: 150px;
}

.page-download-ios-app__floating-menu.active .page-download-ios-app__floating-items {
    max-height: 300px; /* Adjust based on number of items */
    opacity: 1;
    visibility: visible;
}

.page-download-ios-app__floating-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    text-decoration: none;
    color: #fff;
    font-size: 0.95em;
    transition: background-color 0.2s ease;
}

.page-download-ios-app__floating-item:hover {
    background-color: #303F9F;
}

.page-download-ios-app__floating-item-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    filter: brightness(0) invert(1) drop-shadow(0 0 5px rgba(255, 193, 7, 0.5));
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-download-ios-app__hero-title {
        font-size: 2em;
    }

    .page-download-ios-app__hero-description {
        font-size: 1em;
    }

    .page-download-ios-app__section-title {
        font-size: 1.8em;
    }

    .page-download-ios-app__section-description {
        font-size: 0.95em;
    }

    .page-download-ios-app__features-grid,
    .page-download-ios-app__security-points {
        grid-template-columns: 1fr;
    }

    .page-download-ios-app__guide-step {
        padding: 30px 20px;
    }

    .page-download-ios-app__step-header {
        flex-direction: column;
        text-align: center;
    }

    .page-download-ios-app__step-number {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .page-download-ios-app__step-title {
        font-size: 1.5em;
        text-align: center;
    }

    .page-download-ios-app__step-text,
    .page-download-ios-app__step-list {
        font-size: 0.95em;
        text-align: center;
        padding-left: 0;
    }

    .page-download-ios-app__step-list li {
        text-align: left;
    }

    .page-download-ios-app__hero-actions,
    .page-download-ios-app__step-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-download-ios-app__btn {
        width: 100%;
        max-width: 300px;
    }

    .page-download-ios-app__floating-menu {
        bottom: 15px;
        right: 15px;
    }

    .page-download-ios-app__floating-toggle {
        width: 45px;
        height: 45px;
        font-size: 1.6em;
    }

    .page-download-ios-app__floating-items {
        width: 130px;
        bottom: 55px;
    }
}

@media (max-width: 480px) {
    .page-download-ios-app__hero-title {
        font-size: 1.8em;
    }

    .page-download-ios-app__section-title {
        font-size: 1.6em;
    }

    .page-download-ios-app__btn {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-download-ios-app__btn--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }

    .page-download-ios-app__step-title {
        font-size: 1.3em;
    }

    .page-download-ios-app__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }

    .page-download-ios-app__faq-answer.active {
        padding: 15px 20px;
    }
}