/* style/register-login-download.css */

/* Base styles and variables */
:root {
    --page-register-login-download-primary-color: #0A192F;
    --page-register-login-download-secondary-color: #FFD700;
    --page-register-login-download-text-light: #FFFFFF;
    --page-register-login-download-text-dark: #0A192F;
    --page-register-login-download-background-dark: #0A192F;
    --page-register-login-download-background-light: #F0F2F5; /* A light grey for contrast */
    --page-register-login-download-accent-gold-dark: #B39700; /* Darker gold for text on light gold */
    --page-register-login-download-border-radius: 8px;
    --page-register-login-download-spacing-sm: 15px;
    --page-register-login-download-spacing-md: 30px;
    --page-register-login-download-spacing-lg: 60px;
}

.page-register-login-download {
    font-family: 'Arial', sans-serif;
    color: var(--page-register-login-download-text-dark);
    line-height: 1.6;
}

.page-register-login-download__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--page-register-login-download-spacing-sm);
}

/* Hero Section */
.page-register-login-download__hero {
    background: linear-gradient(135deg, var(--page-register-login-download-primary-color), #2C3E50);
    color: var(--page-register-login-download-text-light);
    padding: var(--page-register-login-download-spacing-lg) var(--page-register-login-download-spacing-sm);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-register-login-download__hero-title {
    font-size: 2.8em;
    margin-bottom: var(--page-register-login-download-spacing-sm);
    color: var(--page-register-login-download-secondary-color);
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-register-login-download__hero-subtitle {
    font-size: 1.3em;
    margin-bottom: var(--page-register-login-download-spacing-md);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.page-register-login-download__hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--page-register-login-download-spacing-sm);
    margin-top: var(--page-register-login-download-spacing-md);
}

/* Buttons */
.page-register-login-download__btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--page-register-login-download-border-radius);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1.1em;
    text-align: center;
    white-space: nowrap;
}

.page-register-login-download__btn--primary {
    background-color: var(--page-register-login-download-secondary-color);
    color: var(--page-register-login-download-background-dark);
    border: 2px solid var(--page-register-login-download-secondary-color);
}

.page-register-login-download__btn--primary:hover {
    background-color: var(--page-register-login-download-accent-gold-dark);
    border-color: var(--page-register-login-download-accent-gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-register-login-download__btn--secondary {
    background-color: transparent;
    color: var(--page-register-login-download-secondary-color);
    border: 2px solid var(--page-register-login-download-secondary-color);
}

.page-register-login-download__btn--secondary:hover {
    background-color: var(--page-register-login-download-secondary-color);
    color: var(--page-register-login-download-background-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-register-login-download__btn--tertiary {
    background-color: #34495E; /* A slightly lighter dark blue */
    color: var(--page-register-login-download-text-light);
    border: 2px solid #34495E;
}

.page-register-login-download__btn--tertiary:hover {
    background-color: var(--page-register-login-download-primary-color);
    border-color: var(--page-register-login-download-primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Sections */
.page-register-login-download__section {
    padding: var(--page-register-login-download-spacing-lg) 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.page-register-login-download__section:last-of-type {
    border-bottom: none;
}

.page-register-login-download__section-title {
    font-size: 2.2em;
    color: var(--page-register-login-download-primary-color);
    text-align: center;
    margin-bottom: var(--page-register-login-download-spacing-md);
    position: relative;
    padding-bottom: 10px;
}

.page-register-login-download__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--page-register-login-download-secondary-color);
    border-radius: 2px;
}

.page-register-login-download__subsection-title {
    font-size: 1.6em;
    color: var(--page-register-login-download-primary-color);
    margin-top: var(--page-register-login-download-spacing-md);
    margin-bottom: var(--page-register-login-download-spacing-sm);
}

/* Content Grid */
.page-register-login-download__content-grid {
    display: flex;
    flex-direction: column;
    gap: var(--page-register-login-download-spacing-lg);
    align-items: center;
}

@media (min-width: 768px) {
    .page-register-login-download__content-grid {
        flex-direction: row;
        text-align: left;
    }
    .page-register-login-download__content-grid--reverse {
        flex-direction: row-reverse;
    }
    .page-register-login-download__text-content,
    .page-register-login-download__image-wrapper {
        flex: 1;
    }
}

.page-register-login-download__text-content p {
    margin-bottom: var(--page-register-login-download-spacing-sm);
    font-size: 1.1em;
}

.page-register-login-download__image-wrapper {
    text-align: center;
}

.page-register-login-download__image {
    max-width: 100%;
    height: auto;
    border-radius: var(--page-register-login-download-border-radius);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Lists */
.page-register-login-download__list {
    list-style: disc inside;
    margin-left: var(--page-register-login-download-spacing-sm);
    margin-bottom: var(--page-register-login-download-spacing-sm);
    font-size: 1.05em;
}

.page-register-login-download__list--ordered {
    list-style: decimal inside;
    margin-left: var(--page-register-login-download-spacing-sm);
    margin-bottom: var(--page-register-login-download-spacing-sm);
    font-size: 1.05em;
}

.page-register-login-download__list li,
.page-register-login-download__list--ordered li {
    margin-bottom: 8px;
}

/* Why vin68 Section (Features Grid) */
.page-register-login-download__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--page-register-login-download-spacing-md);
    margin-top: var(--page-register-login-download-spacing-md);
}

.page-register-login-download__feature-item {
    background-color: var(--page-register-login-download-background-light);
    padding: var(--page-register-login-download-spacing-md);
    border-radius: var(--page-register-login-download-border-radius);
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register-login-download__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
}

.page-register-login-download__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: var(--page-register-login-download-spacing-sm);
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2)); /* Add shadow to icons */
}

.page-register-login-download__feature-title {
    font-size: 1.4em;
    color: var(--page-register-login-download-primary-color);
    margin-bottom: 10px;
}

.page-register-login-download__feature-item p {
    font-size: 0.95em;
    color: #333;
}

.page-register-login-download__closing-text {
    text-align: center;
    font-size: 1.2em;
    margin-top: var(--page-register-login-download-spacing-lg);
    color: var(--page-register-login-download-primary-color);
    font-weight: bold;
}

/* Bottom CTA Section */
.page-register-login-download__section--cta-bottom {
    background-color: var(--page-register-login-download-primary-color);
    color: var(--page-register-login-download-text-light);
    text-align: center;
    padding: var(--page-register-login-download-spacing-lg) var(--page-register-login-download-spacing-sm);
}

.page-register-login-download__cta-bottom-content .page-register-login-download__section-title {
    color: var(--page-register-login-download-secondary-color);
}

.page-register-login-download__cta-bottom-content .page-register-login-download__section-title::after {
    background-color: var(--page-register-login-download-text-light);
}

.page-register-login-download__cta-bottom-content p {
    font-size: 1.2em;
    margin-bottom: var(--page-register-login-download-spacing-md);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .page-register-login-download__hero-title {
        font-size: 2em;
    }
    .page-register-login-download__hero-subtitle {
        font-size: 1em;
    }
    .page-register-login-download__section-title {
        font-size: 1.8em;
    }
    .page-register-login-download__subsection-title {
        font-size: 1.3em;
    }
    .page-register-login-download__btn {
        width: 100%;
        max-width: 300px;
    }
    .page-register-login-download__hero-actions {
        flex-direction: column;
        align-items: center;
    }
    .page-register-login-download__content-grid {
        gap: var(--page-register-login-download-spacing-md);
    }
    .page-register-login-download__text-content,
    .page-register-login-download__image-wrapper {
        width: 100%;
    }
}

@media (min-width: 1024px) {
    .page-register-login-download__container {
        padding: 0 var(--page-register-login-download-spacing-md);
    }
    .page-register-login-download__hero-title {
        font-size: 3.5em;
    }
    .page-register-login-download__hero-subtitle {
        font-size: 1.5em;
    }
    .page-register-login-download__section-title {
        font-size: 2.5em;
    }
}

/* Ensure color contrast for all text elements */
.page-register-login-download p, .page-register-login-download li {
    color: #333333; /* Dark grey for general text on light backgrounds, ensures 4.5:1 contrast with #F0F2F5 */
}

.page-register-login-download__hero p, .page-register-login-download__hero li {
    color: var(--page-register-login-download-text-light); /* White text on dark background */
}

.page-register-login-download__section--cta-bottom p {
    color: var(--page-register-login-download-text-light); /* White text on dark background */
}

.page-register-login-download__btn--primary, .page-register-login-download__btn--secondary:hover {
    color: var(--page-register-login-download-background-dark); /* Ensure dark text on gold button */
}

.page-register-login-download__btn--secondary, .page-register-login-download__btn--primary:hover {
    color: var(--page-register-login-download-secondary-color); /* Ensure gold text on dark background */
}
.page-register-login-download__feature-item p {
    color: #333333;
}