/* style/platforms.css */

/* Biến CSS cho màu sắc */
:root {
    --page-platforms-primary-color: #0A246A;
    --page-platforms-secondary-color: #FFD700;
    --page-platforms-text-light: #FFFFFF;
    --page-platforms-text-dark: #333333;
    --page-platforms-accent-color: #f5db95; /* Từ phân tích màu bổ sung của #0A246A */
    --page-platforms-bg-light: #F8F8F8;
    --page-platforms-bg-dark: #071E52; /* Biến thể tối hơn của primary */
}

.page-platforms {
    font-family: 'Arial', sans-serif;
    color: var(--page-platforms-text-dark);
    line-height: 1.6;
    background-color: var(--page-platforms-bg-light);
}

.page-platforms-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-platforms-section-title {
    font-size: 2.5em;
    color: var(--page-platforms-primary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    position: relative;
}

.page-platforms-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--page-platforms-secondary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.page-platforms-section-subtitle {
    font-size: 1.2em;
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

/* Hero Section */
.page-platforms-hero-section {
    background: linear-gradient(135deg, var(--page-platforms-primary-color) 0%, var(--page-platforms-bg-dark) 100%);
    color: var(--page-platforms-text-light);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-platforms-hero-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transform: rotate(45deg);
}

.page-platforms-hero-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background-color: rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    transform: rotate(-30deg);
}

.page-platforms-hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--page-platforms-secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-platforms-hero-description {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.page-platforms-hero-actions .page-platforms-btn {
    margin: 0 10px;
    padding: 15px 30px;
    font-size: 1.1em;
    border-radius: 50px;
    transition: all 0.3s ease;
}

/* Buttons */
.page-platforms-btn {
    display: inline-block;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    border: none;
}

.page-platforms-btn-primary {
    background-color: var(--page-platforms-secondary-color);
    color: var(--page-platforms-primary-color);
    border: 2px solid var(--page-platforms-secondary-color);
}

.page-platforms-btn-primary:hover {
    background-color: var(--page-platforms-accent-color);
    color: var(--page-platforms-primary-color);
    transform: translateY(-2px);
}

.page-platforms-btn-secondary {
    background-color: transparent;
    color: var(--page-platforms-secondary-color);
    border: 2px solid var(--page-platforms-secondary-color);
}

.page-platforms-btn-secondary:hover {
    background-color: var(--page-platforms-secondary-color);
    color: var(--page-platforms-primary-color);
    transform: translateY(-2px);
}

.page-platforms-btn-card {
    width: calc(100% - 40px);
    margin: 20px auto 0;
    background-color: var(--page-platforms-primary-color);
    color: var(--page-platforms-secondary-color);
    border: 2px solid var(--page-platforms-primary-color);
}

.page-platforms-btn-card:hover {
    background-color: var(--page-platforms-bg-dark);
    color: var(--page-platforms-secondary-color);
}

.page-platforms-btn-large {
    padding: 18px 40px;
    font-size: 1.2em;
    border-radius: 50px;
}

.page-platforms-btn-middle {
    padding: 15px 35px;
    font-size: 1.1em;
    border-radius: 50px;
}

/* About Section */
.page-platforms-about-section {
    padding: 80px 0;
    background-color: var(--page-platforms-bg-light);
}

.page-platforms-about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.page-platforms-about-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-platforms-about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.page-platforms-about-text {
    flex: 2;
    min-width: 300px;
}

.page-platforms-about-text p {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: var(--page-platforms-text-dark);
}

/* Featured Platforms Grid */
.page-platforms-featured-platforms {
    padding: 80px 0;
    background-color: var(--page-platforms-bg-dark);
    color: var(--page-platforms-text-light);
}

.page-platforms-featured-platforms .page-platforms-section-title {
    color: var(--page-platforms-secondary-color);
}

.page-platforms-featured-platforms .page-platforms-section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

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

.page-platforms-card {
    background-color: var(--page-platforms-text-light);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-platforms-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.page-platforms-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.page-platforms-card-title {
    font-size: 1.5em;
    color: var(--page-platforms-primary-color);
    margin: 20px 15px 10px;
    font-weight: bold;
}

.page-platforms-card-title a {
    text-decoration: none;
    color: inherit;
}

.page-platforms-card-title a:hover {
    color: var(--page-platforms-secondary-color);
}

.page-platforms-card-description {
    font-size: 1em;
    color: #555;
    padding: 0 20px;
    margin-bottom: 15px;
}

/* CTA Section */
.page-platforms-cta-section {
    background-color: var(--page-platforms-secondary-color);
    color: var(--page-platforms-primary-color);
    padding: 60px 0;
    text-align: center;
}

.page-platforms-cta-title {
    font-size: 2.8em;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-platforms-cta-description {
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto 30px;
}

/* Deep Content Section */
.page-platforms-deep-content {
    padding: 80px 0;
    background-color: var(--page-platforms-text-light);
}

.page-platforms-deep-content h3 {
    font-size: 1.8em;
    color: var(--page-platforms-primary-color);
    margin-top: 40px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-platforms-deep-content p {
    margin-bottom: 15px;
    font-size: 1.05em;
    color: var(--page-platforms-text-dark);
}

.page-platforms-deep-content ul {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--page-platforms-text-dark);
}

.page-platforms-deep-content ul li {
    margin-bottom: 8px;
    font-size: 1.05em;
}

.page-platforms-deep-content strong {
    color: var(--page-platforms-primary-color);
}

/* Detail Pages List */
.page-platforms-detail-pages {
    padding: 80px 0;
    background-color: var(--page-platforms-bg-dark);
    color: var(--page-platforms-text-light);
}

.page-platforms-detail-pages .page-platforms-section-title {
    color: var(--page-platforms-secondary-color);
}

.page-platforms-detail-pages .page-platforms-section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.page-platforms-detail-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-platforms-detail-card {
    background-color: var(--page-platforms-text-light);
    text-align: left;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: auto; /* Allow card height to adjust */
}

.page-platforms-detail-card .page-platforms-card-title {
    font-size: 1.3em;
    margin: 0 0 10px;
    color: var(--page-platforms-primary-color);
}

.page-platforms-detail-card .page-platforms-card-title a {
    text-decoration: none;
    color: var(--page-platforms-primary-color);
    transition: color 0.2s ease;
}

.page-platforms-detail-card .page-platforms-card-title a:hover {
    color: var(--page-platforms-secondary-color);
}

.page-platforms-detail-card .page-platforms-card-description {
    font-size: 0.95em;
    color: #666;
    padding: 0;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-platforms-detail-card .page-platforms-btn-card {
    width: auto;
    margin: 0;
    align-self: flex-start;
    padding: 10px 20px;
    font-size: 0.9em;
}

/* Final CTA Section */
.page-platforms-final-cta {
    background-color: var(--page-platforms-primary-color);
    color: var(--page-platforms-text-light);
    padding: 80px 0;
    text-align: center;
}

.page-platforms-final-cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--page-platforms-secondary-color);
}

.page-platforms-final-cta-description {
    font-size: 1.3em;
    max-width: 900px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-platforms-hero-title {
        font-size: 2.8em;
    }
    .page-platforms-hero-description {
        font-size: 1.1em;
    }
    .page-platforms-section-title {
        font-size: 2em;
    }
    .page-platforms-about-content {
        flex-direction: column;
    }
    .page-platforms-about-image, .page-platforms-about-text {
        min-width: unset;
        width: 100%;
    }
    .page-platforms-cta-title {
        font-size: 2.2em;
    }
    .page-platforms-final-cta-title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .page-platforms-hero-section {
        padding: 80px 0;
    }
    .page-platforms-hero-title {
        font-size: 2.2em;
    }
    .page-platforms-hero-description {
        font-size: 1em;
    }
    .page-platforms-hero-actions .page-platforms-btn {
        display: block;
        margin: 15px auto;
        width: 80%;
    }
    .page-platforms-section-title {
        font-size: 1.8em;
    }
    .page-platforms-cta-title {
        font-size: 1.8em;
    }
    .page-platforms-final-cta-title {
        font-size: 2em;
    }
    .page-platforms-grid {
        grid-template-columns: 1fr;
    }
    .page-platforms-card-image {
        height: 180px;
    }
    .page-platforms-detail-card .page-platforms-card-title {
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .page-platforms-hero-title {
        font-size: 1.8em;
    }
    .page-platforms-hero-description {
        font-size: 0.9em;
    }
    .page-platforms-section-title {
        font-size: 1.5em;
    }
    .page-platforms-cta-title {
        font-size: 1.5em;
    }
    .page-platforms-final-cta-title {
        font-size: 1.8em;
    }
    .page-platforms-btn-large, .page-platforms-btn-middle {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-platforms-card {
        padding-bottom: 15px;
    }
    .page-platforms-card-title {
        font-size: 1.3em;
    }
    .page-platforms-card-description {
        font-size: 0.9em;
    }
}