/* style/download.css */

/* General styles for the download page */
.page-download {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background: #FFFFFF; /* Default body background is white */
}

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

.page-download__section-title {
    font-size: 32px;
    font-weight: 700;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
}

.page-download__section-title--light {
    color: #FFFFFF;
}

.page-download__btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    background: #26A9E0;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(38, 169, 224, 0.3);
    max-width: 100%; /* Ensure responsive */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-download__btn-primary:hover {
    background-color: #1a8cc4;
    transform: translateY(-2px);
}

.page-download__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    background: #FFFFFF;
    color: #26A9E0;
    border: 2px solid #26A9E0;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 100%; /* Ensure responsive */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-download__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #1a8cc4;
    transform: translateY(-2px);
}

.page-download__btn-download .page-download__btn-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.page-download__btn-icon--android {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M7 14v-2h2v2H7zm4 0v-2h2v2h-2zm4 0v-2h2v2h-2zM16 9V4h-3v5h3zm-4 0V4h-3v5h3zM7 9V4H4v5h3zM20 2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 18H4V4h16v16z"/></svg>');
}

.page-download__btn-secondary .page-download__btn-icon--android {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2326A9E0"><path d="M7 14v-2h2v2H7zm4 0v-2h2v2h-2zm4 0v-2h2v2h-2zM16 9V4h-3v5h3zm-4 0V4h-3v5h3zM7 9V4H4v5h3zM20 2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 18H4V4h16v16z"/></svg>');
}

.page-download__btn-icon--ios {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 17.5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zM15.5 12c.83 0 1.5-.67 1.5-1.5S16.33 9 15.5 9s-1.5.67-1.5 1.5.67 1.5 1.5 1.5zM8.5 12c.83 0 1.5-.67 1.5-1.5S9.33 9 8.5 9s-1.5.67-1.5 1.5.67 1.5 1.5 1.5zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/></svg>');
}

.page-download__btn-secondary .page-download__btn-icon--ios {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2326A9E0"><path d="M12 17.5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zM15.5 12c.83 0 1.5-.67 1.5-1.5S16.33 9 15.5 9s-1.5.67-1.5 1.5.67 1.5 1.5 1.5zM8.5 12c.83 0 1.5-.67 1.5-1.5S9.33 9 8.5 9s-1.5.67-1.5 1.5.67 1.5 1.5 1.5zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/></svg>');
}

/* Hero Section */
.page-download__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, not --header-offset */
    margin-bottom: 50px;
    background: linear-gradient(135deg, #26A9E0, #1a8cc4);
    color: #FFFFFF;
    overflow: hidden;
    display: flex;
    flex-direction: column; /* Ensure image is above content */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 50px;
}

.page-download__hero-image {
    width: 100%;
    height: auto;
    max-height: 500px; /* Limit max height for desktop */
    object-fit: contain;
    display: block;
    margin-bottom: 30px; /* Space between image and content */
}

.page-download__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-download__hero-title {
    font-size: clamp(28px, 4vw, 48px); /* Responsive font size */
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFFFFF;
}

.page-download__hero-description {
    font-size: 18px;
    margin-bottom: 30px;
    color: #f0f8ff;
}

.page-download__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Features Section */
.page-download__features-section {
    padding: 60px 0;
    background: #F8F8F8; /* Light background for contrast */
    margin-bottom: 50px;
}

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

.page-download__feature-card {
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333;
}

.page-download__feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.page-download__feature-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    object-fit: contain;
    margin: 0 auto 20px;
    display: block;
    border-radius: 8px;
}

.page-download__feature-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #26A9E0;
}

.page-download__feature-text {
    font-size: 16px;
    color: #555555;
}

/* Steps Section */
.page-download__steps-section {
    padding: 60px 0;
    background: #26A9E0; /* Brand color background */
    color: #FFFFFF;
    margin-bottom: 50px;
}

.page-download__steps-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.page-download__steps-list {
    flex: 1;
}

.page-download__step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.page-download__step-item:last-child {
    margin-bottom: 0;
}

.page-download__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #FFFFFF;
    color: #26A9E0;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
    margin-right: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-download__step-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #FFFFFF;
}

.page-download__step-text {
    font-size: 16px;
    color: #f0f8ff;
}

.page-download__steps-image {
    flex: 1;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}