/* style/download.css */
.page-download {
    background-color: #0A0A0A;
    color: #FFF6D6;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-download__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    text-align: center;
    overflow: hidden;
    box-sizing: border-box;
}

.page-download__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height to prevent excessive size on large screens */
    overflow: hidden;
}

.page-download__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-download__hero-content {
    position: relative; /* Ensure content is above image but not overlapping */
    z-index: 10;
    max-width: 900px;
    padding: 20px;
    margin-top: 40px; /* Space between image and text */
}

.page-download__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em);
    font-weight: 700;
    color: #FFF6D6;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-download__intro-text {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #FFF6D6;
}

.page-download__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-download__btn-primary,
.page-download__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-download__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111; /* Dark text for bright button */
    border: none;
}

.page-download__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-download__btn-secondary {
    background: #111111;
    color: #FFD36B; /* Glow color for border and text */
    border: 2px solid #3A2A12; /* Border color */
}

.page-download__btn-secondary:hover {
    background: #FFD36B;
    color: #111111;
    border-color: #FFD36B;
}

.page-download__section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
}

.page-download__section-title {
    font-size: 2.5em;
    color: #FFF6D6;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-download__section-description {
    font-size: 1.1em;
    color: #FFF6D6;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-download__card {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border color */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: #FFF6D6;
}

.page-download__card-image {
    width: 100%;
    height: auto;
    max-width: 400px; /* Ensure images are not too wide */
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px;
}

.page-download__card-title {
    font-size: 1.5em;
    color: #FFD36B;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-download__card-description {
    font-size: 1em;
    color: #FFF6D6;
}

.page-download__download-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
}

.page-download__step-card {
    background-color: #111111;
    border: 1px solid #3A2A12;
    border-radius: 12px;
    padding: 30px;
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: #FFF6D6;
}

.page-download__step-title {
    font-size: 1.8em;
    color: #FFD36B;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-download__step-list {
    list-style-type: decimal;
    margin-left: 20px;
    margin-bottom: 30px;
    color: #FFF6D6;
}

.page-download__step-list li {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-download__step-list li strong {
    color: #FFD36B;
}

.page-download__qr-code-wrapper {
    text-align: center;
    margin-bottom: 30px;
}

.page-download__qr-code {
    width: 200px; /* Display size */
    height: 200px; /* Display size */
    border: 5px solid #FFD36B;
    border-radius: 8px;
    object-fit: contain;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px;
}

.page-download__note-text {
    font-size: 0.95em;
    color: #AAA;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-download__app-features {
    background-color: #111111;
    border-top: 1px solid #3A2A12;
    border-bottom: 1px solid #3A2A12;
    padding-top: 80px;
    padding-bottom: 80px;
}

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

.page-download__feature-item {
    background-color: #0A0A0A;
    border: 1px solid #3A2A12;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: #FFF6D6;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-download__feature-icon {
    width: 60px; /* Allowed small icon size */
    height: 60px; /* Allowed small icon size */
    margin-bottom: 15px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(255, 211, 107, 0.5)); /* Glow effect */
}

.page-download__feature-title {
    font-size: 1.3em;
    color: #FFD36B;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-download__feature-description {
    font-size: 0.95em;
    color: #FFF6D6;
}

.page-download__device-info {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
}

.page-download__device-card {
    background-color: #111111;
    border: 1px solid #3A2A12;
    border-radius: 12px;
    padding: 30px;
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: #FFF6D6;
}

.page-download__device-title {
    font-size: 1.8em;
    color: #FFD36B;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-download__device-list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 30px;
    color: #FFF6D6;
}

.page-download__device-list li {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-download__device-image {
    width: 100%;
    height: auto;
    max-width: 400px; /* Display size */
    border-radius: 8px;
    margin-top: 20px;
    object-fit: contain;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px;
}

.page-download__security-fairness .page-download__content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    text-align: left;
    margin-top: 40px;
}

.page-download__security-fairness .page-download__text-block {
    flex: 2;
    min-width: 300px;
    color: #FFF6D6;
}

.page-download__security-fairness .page-download__image-block {
    flex: 1;
    min-width: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-download__security-fairness .page-download__content-image {
    width: 100%;
    height: auto;
    max-width: 800px; /* Display size */
    border-radius: 12px;
    object-fit: cover;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px;
}

.page-download__sub-title {
    font-size: 1.6em;
    color: #FFD36B;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-download__security-fairness p {
    margin-bottom: 15px;
    color: #FFF6D6;
}

.page-download__link {
    color: #FFD36B;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-download__link:hover {
    color: #F2C14E;
}

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

.page-download__faq-item {
    background-color: #111111;
    border: 1px solid #3A2A12;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #FFF6D6;
}

.page-download__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #1A1A1A;
    font-size: 1.15em;
    font-weight: 600;
    color: #FFD36B;
    transition: background-color 0.3s ease;
}

.page-download__faq-question:hover {
    background-color: #222222;
}