.page-download-ios-app-guide {
    color: #F2FFF6; /* Text Main */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-download-ios-app-guide__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding as per instruction, body handles main offset */
    background: linear-gradient(180deg, #0A4B2C 0%, #08160F 100%); /* Deep Green to Background */
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-download-ios-app-guide__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Constrain image width */
    margin-bottom: 30px; /* Space between image and text */
    display: flex;
    justify-content: center;
}

.page-download-ios-app-guide__hero-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    object-fit: cover; /* Ensure image covers the area */
    min-width: 200px; /* Enforce global minimum size */
    min-height: 200px; /* Enforce global minimum size */
}

.page-download-ios-app-guide__hero-content {
    max-width: 900px;
    width: 100%;
    z-index: 1; /* Ensure text is above any potential background elements */
}

.page-download-ios-app-guide__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive H1 font size */
    color: #F2C14E; /* Gold */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.page-download-ios-app-guide__lead-text {
    font-size: clamp(1em, 1.5vw, 1.3em);
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-download-ios-app-guide__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.page-download-ios-app-guide__cta-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.2s ease;
    text-align: center;
    box-sizing: border-box; /* Crucial for button responsiveness */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
}

.page-download-ios-app-guide__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6; /* Text Main */
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-download-ios-app-guide__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-download-ios-app-guide__btn-secondary {
    background: #11271B; /* Card BG */
    color: #F2C14E; /* Gold */
    border: 2px solid #F2C14E; /* Gold border */
}

.page-download-ios-app-guide__btn-secondary:hover {
    background: #1E3A2A; /* Divider */
    transform: translateY(-3px);
}

.page-download-ios-app-guide__section {
    padding: 60px 20px;
    background-color: #08160F; /* Background */
    color: #F2FFF6; /* Text Main */
    border-bottom: 1px solid #1E3A2A; /* Divider */
}

.page-download-ios-app-guide__section:last-of-type {
    border-bottom: none;
}

.page-download-ios-app-guide__container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-download-ios-app-guide__section-title {
    font-size: clamp(1.8em, 3vw, 2.8em);
    color: #F2C14E; /* Gold */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-download-ios-app-guide__text-block {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #A7D9B8; /* Text Secondary */
    text-align: justify;
}

/* Feature Grid */
.page-download-ios-app-guide__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-download-ios-app-guide__feature-card {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-download-ios-app-guide__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-download-ios-app-guide__feature-icon {
    width: 100%; /* Ensure full width of card */
    max-width: 200px; /* Max size for the icon itself */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Min image size */
    min-height: 200px; /* Min image size */
}

.page-download-ios-app-guide__card-title {
    font-size: 1.5em;
    color: #F2C14E; /* Gold */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-download-ios-app-guide__card-text {
    color: #A7D9B8; /* Text Secondary */
    font-size: 1em;
    text-align: justify;
}

/* Step-by-step Guide */
.page-download-ios-app-guide__step-by-step {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
}

.page-download-ios-app-guide__step-item {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-download-ios-app-guide__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #2AD16F; /* Button top gradient color */
    margin-bottom: 15px;
    background: #0A4B2C; /* Deep Green */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-download-ios-app-guide__step-title {
    font-size: 1.8em;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-download-ios-app-guide__step-text {
    color: #A7D9B8; /* Text Secondary */
    font-size: 1.1em;
    text-align: justify;
}

.page-ios-app-guide__step-image-wrapper {
    width: 100%;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.page-download-ios-app-guide__step-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Min image size */
    min-height: 200px; /* Min image size */
}

.page-download-ios-app-guide__cta-buttons--center {
    justify-content: center;
    margin-top: 50px;
}

/* Troubleshooting List */
.page-download-ios-app-guide__troubleshooting-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-download-ios-app-guide__troubleshooting-item {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

/* Features Highlight */
.page-download-ios-app-guide__features-highlight {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 40px;
    margin-top: 40px;
    align-items: center;
}

.page-download-ios-app-guide__feature-main-image {
    flex: 1 1 500px; /* Allows image to grow/shrink, with base of 500px */
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    min-width: 200px; /* Min image size */
    min-height: 200px; /* Min image size */
}

.page-download-ios-app-guide__feature-list {
    flex: 1 1 400px; /* Allows list to grow/shrink, with base of 400px */
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-download-ios-app-guide__list-item {
    background-color: #0A4B2C; /* Deep Green */
    border-left: 5px solid #2AD16F; /* Button top gradient color */
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.page-download-ios-app-guide__list-item:last-child {
    margin-bottom: 0;
}

.page-download-ios-app-guide__list-title {
    font-size: 1.4em;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-download-ios-app-guide__list-text {
    color: #A7D9B8; /* Text Secondary */
    font-size: 1em;
}

/* FAQ Section */
.page-download-ios-app-guide__faq-list {
    margin-top: 40px;
}

.page-download-ios-app-guide__faq-item {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    overflow: hidden; /* For smooth details animation */
}

.page-download-ios-app-guide__faq-item summary {
    list-style: none; /* Hide default marker */
    cursor: pointer;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2em;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    background-color: #11271B; /* Card BG */
    border-bottom: 1px solid #1E3A2A; /* Divider */
    transition: background-color 0.3s ease;
}

.page-download-ios-app-guide__faq-item summary:hover {
    background-color: #0A4B2C; /* Deep Green */
}

.page-download-ios-app-guide__faq-item[open] summary {
    background-color: #0A4B2C; /* Deep Green when open */
    border-bottom: 1px solid #2E7A4E; /* Border when open */
}

.page-download-ios-app-guide__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for Webkit browsers */
}

.page-download-ios-app-guide__faq-qtext {
    flex-grow: 1;
}

.page-download-ios-app-guide__faq-toggle {
    font-size: 1.5em;
    color: #2AD16F; /* Button top gradient color */
    margin-left: 20px;
}

.page-download-ios-app-guide__faq-answer {
    padding: 20px 30px;
    color: #A7D9B8; /* Text Secondary */
    font-size: 1.1em;
    background-color: #0A4B2C; /* Deep Green */
    border-top: 1px solid #1E3A2A; /* Divider */
}

.page-download-ios-app-guide__faq-answer p {
    margin: 0;
}

/* Conclusion Section */
.page-download-ios-app-guide__conclusion-section {
    text-align: center;
    padding-bottom: 80px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .page-download-ios-app-guide {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-download-ios-app-guide__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* Small top padding for mobile */
    }

    .page-download-ios-app-guide__main-title {
        font-size: 2em;
    }

    .page-download-ios-app-guide__lead-text {
        font-size: 1em;
    }

    .page-download-ios-app-guide__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%; /* Ensure button container takes full width */
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px; /* Add padding to container */
    }

    .page-download-ios-app-guide__cta-button {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-download-ios-app-guide__section {
        padding: 40px 15px;
    }

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

    .page-download-ios-app-guide__text-block {
        font-size: 1em;
    }

    .page-download-ios-app-guide__feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-download-ios-app-guide__feature-card {
        padding: 20px;
    }

    .page-download-ios-app-guide img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px; /* Enforce global minimum size */
        min-height: 200px; /* Enforce global minimum size */
    }
    
    .page-download-ios-app-guide__container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }

    .page-download-ios-app-guide__step-item {
        padding: 20px;
    }

    .page-download-ios-app-guide__step-number {
        font-size: 2em;
        width: 50px;
        height: 50px;
    }

    .page-download-ios-app-guide__step-title {
        font-size: 1.5em;
    }

    .page-download-ios-app-guide__step-text {
        font-size: 1em;
    }

    .page-download-ios-app-guide__features-highlight {
        flex-direction: column;
    }

    .page-download-ios-app-guide__feature-main-image {
        flex: 1 1 100%;
    }

    .page-download-ios-app-guide__feature-list {
        flex: 1 1 100%;
    }

    .page-download-ios-app-guide__list-item {
        padding: 15px;
    }

    .page-download-ios-app-guide__list-title {
        font-size: 1.2em;
    }

    .page-download-ios-app-guide__faq-item summary {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-download-ios-app-guide__faq-answer {
        padding: 15px 20px;
        font-size: 1em;
    }
}