/* ===================================
   Platforms Page Specific Styles
   =================================== */

/* Platforms Hero Section */
.platforms-hero {
    background: linear-gradient(135deg, #1a1f35 0%, #0f1419 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.platforms-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%231a1f35" width="1200" height="600"/><g fill-opacity="0.03"><polygon fill="%23444" points="1200 600 0 600 900 0"/></g></svg>') no-repeat center;
    background-size: cover;
    opacity: 0.5;
}

.platforms-hero .hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.platforms-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.platforms-hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.platform-quick-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.quick-link-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.quick-link-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.quick-link-btn img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.quick-link-btn i {
    font-size: 32px;
    color: var(--accent-color);
}

.quick-link-btn span {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Platform Overview Section */
.platform-overview {
    padding: 80px 0;
}

.platforms-comparison-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.platform-card {
    background: #fff;
    border: 2px solid #e8ecef;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.platform-card.featured {
    border-color: var(--accent-color);
    border-width: 3px;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.featured-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--accent-color);
    color: #fff;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.platform-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.platform-icon i {
    font-size: 60px;
    color: var(--primary-color);
}

.platform-card h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.platform-subtitle {
    color: var(--text-gray);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.platform-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    text-align: left;
}

.platform-features li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
}

.platform-features li:last-child {
    border-bottom: none;
}

.platform-features i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

/* Platform Detail Section */
.platform-detail-section {
    padding: 80px 0;
}

.platform-detail-section.alt-bg {
    background: #f8f9fa;
}

.platform-detail-section .content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.platform-detail-section .content-wrapper.reverse {
    direction: rtl;
}

.platform-detail-section .content-wrapper.reverse > * {
    direction: ltr;
}

.platform-detail-section .image-side img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.section-badge {
    display: inline-block;
    background: var(--accent-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.platform-detail-section h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.platform-detail-section p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 25px;
}

.platform-stats {
    display: flex;
    gap: 40px;
    margin: 30px 0;
}

.platform-stats .stat-item {
    text-align: center;
}

.platform-stats .stat-item h4 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 5px;
    font-weight: 700;
}

.platform-stats .stat-item p {
    color: var(--text-gray);
    margin: 0;
    font-size: 0.9rem;
}

/* Download Buttons */
.download-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    background: #fff;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.download-btn img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.download-btn .text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.download-btn .label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.download-btn:hover .label {
    color: #fff;
}

.download-btn .platform {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.download-btn:hover .platform {
    color: rgba(255, 255, 255, 0.9);
}

/* Features Grid */
.features-grid {
    margin-top: 80px;
}

.features-title {
    text-align: center;
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 40px;
}

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

.feature-box {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-box .icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.feature-box .icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-box h4 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.feature-box p {
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
}

/* Advantages Section */
.advantages-section {
    margin-top: 80px;
}

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

.advantage-item {
    text-align: center;
    padding: 30px 20px;
}

.advantage-item .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.advantage-item .icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.advantage-item .icon i {
    font-size: 60px;
    color: var(--primary-color);
}

.advantage-item h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.advantage-item p {
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

/* Advanced Features */
.advanced-features {
    margin-top: 80px;
}

.features-list .feature-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.feature-item .icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
}

.feature-item .icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-item .content h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.feature-item .content p {
    color: var(--text-gray);
    margin: 0;
    line-height: 1.6;
}

/* App Features */
.app-features-list {
    margin: 30px 0;
}

.app-feature {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #e8ecef;
}

.app-feature:last-child {
    border-bottom: none;
}

.app-feature i {
    font-size: 32px;
    color: var(--accent-color);
    flex-shrink: 0;
}

.app-feature .content h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.app-feature .content p {
    color: var(--text-gray);
    margin: 0;
    line-height: 1.6;
}

.app-download-section {
    margin-top: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
}

.app-download-section h4 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    text-align: center;
}

.app-download-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.app-store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: #000;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.app-store-btn:hover {
    background: #333;
    transform: translateY(-2px);
}

.app-store-btn img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.app-store-btn .text {
    display: flex;
    flex-direction: column;
}

.app-store-btn .small {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
}

.app-store-btn .large {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 600;
}

/* Mobile Features Grid */
.mobile-features-grid {
    margin-top: 60px;
}

.mobile-features-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.mobile-feature-card {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.mobile-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.mobile-feature-card i {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.mobile-feature-card h4 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.mobile-feature-card p {
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

/* Account Comparison Section */
.account-comparison-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 50px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.comparison-table thead {
    background: var(--primary-color);
}

.comparison-table th {
    padding: 25px 20px;
    color: #fff;
    font-weight: 600;
    text-align: center;
    font-size: 1.1rem;
}

.comparison-table th.feature-column {
    text-align: left;
    background: var(--text-dark);
}

.comparison-table th.featured {
    background: var(--accent-color);
    position: relative;
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: var(--accent-color);
    padding: 3px 15px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
}

.comparison-table tbody tr {
    border-bottom: 1px solid #e8ecef;
}

.comparison-table tbody tr:last-child {
    border-bottom: none;
}

.comparison-table td {
    padding: 20px;
    text-align: center;
    color: var(--text-dark);
}

.comparison-table td.feature-name {
    text-align: left;
    font-weight: 600;
    color: var(--text-dark);
}

.comparison-table td.featured {
    background: rgba(215, 48, 39, 0.05);
}

.comparison-table .text-success {
    color: #28a745;
    font-size: 1.5rem;
}

.comparison-table .text-muted {
    color: #999;
    font-size: 1.5rem;
}

.comparison-table .action-row td {
    padding: 30px 20px;
}

.comparison-table .btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.comparison-table .btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Mobile Comparison Cards */
.mobile-comparison-cards {
    display: none;
    gap: 30px;
    margin-top: 50px;
}

.mobile-account-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.mobile-account-card.featured {
    border: 3px solid var(--accent-color);
}

.mobile-account-card .popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: #fff;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.mobile-account-card h3 {
    text-align: center;
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.mobile-account-card .account-info {
    margin-bottom: 25px;
}

.mobile-account-card .info-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #e8ecef;
}

.mobile-account-card .info-item:last-child {
    border-bottom: none;
}

.mobile-account-card .label {
    color: var(--text-gray);
    font-weight: 500;
}

.mobile-account-card .value {
    color: var(--text-dark);
    font-weight: 600;
}

.mobile-account-card .btn {
    width: 100%;
    justify-content: center;
}

/* Platform Comparison Detailed */
.platform-comparison-detailed {
    padding: 80px 0;
}

.platform-comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 50px;
}

.platform-comparison-table-wrapper .comparison-table th.platform-column {
    background: var(--primary-color);
}

/* Why Platforms Section */
.why-platforms-section {
    padding: 80px 0;
    background: #f8f9fa;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--text-dark) 100%);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

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

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .platform-detail-section .content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-list .feature-row {
        grid-template-columns: 1fr;
    }

    .platform-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .platforms-hero h1 {
        font-size: 2.5rem;
    }

    .platforms-hero p {
        font-size: 1rem;
    }

    .quick-link-btn {
        padding: 12px 20px;
    }

    .quick-link-btn span {
        font-size: 0.95rem;
    }

    .platforms-comparison-cards {
        grid-template-columns: 1fr;
    }

    .platform-stats {
        flex-direction: column;
        gap: 20px;
    }

    .features-row {
        grid-template-columns: 1fr;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .mobile-features-row {
        grid-template-columns: 1fr;
    }

    .comparison-table-wrapper {
        display: none;
    }

    .mobile-comparison-cards {
        display: flex;
        flex-direction: column;
    }

    .download-buttons {
        flex-direction: column;
    }

    .download-btn {
        width: 100%;
    }

    .app-download-buttons {
        flex-direction: column;
    }

    .app-store-btn {
        width: 100%;
        justify-content: center;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .cta-section p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn-lg {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .platforms-hero h1 {
        font-size: 2rem;
    }

    .platform-card h3 {
        font-size: 1.5rem;
    }

    .platform-detail-section h2 {
        font-size: 2rem;
    }

    .features-title {
        font-size: 1.5rem;
    }

    .feature-box h4 {
        font-size: 1.1rem;
    }

    .app-download-section {
        padding: 20px;
    }
}

