﻿/* ===================================
   APPS PAGE STYLING - IAT FUSION
   =================================== */

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===================================
   HERO SECTION
   =================================== */
.apps-hero-section {
    padding: 140px 2rem 100px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
}

.apps-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.8rem;
    background: rgba(250, 204, 21, 0.15);
    border: 2px solid rgba(250, 204, 21, 0.4);
    border-radius: 50px;
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease;
    backdrop-filter: blur(10px);
}

    .hero-badge i {
        font-size: 1.2rem;
    }

.apps-hero-title {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

    .apps-hero-title .title-line {
        display: block;
        color: var(--light-text);
    }

    .apps-hero-title .title-highlight {
        display: block;
        background: linear-gradient(135deg, var(--accent-gold) 0%, #fbbf24 50%, var(--white) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: 0 0 40px rgba(250, 204, 21, 0.3);
    }

.apps-hero-subtitle {
    font-size: 1.3rem;
    color: var(--light-text);
    opacity: 0.95;
    max-width: 750px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.2s both;
    font-weight: 400;
}

.apps-hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin: 3rem 0;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(250, 204, 21, 0.2);
    transition: all 0.3s ease;
}

    .stat-item:hover {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(250, 204, 21, 0.4);
        transform: translateY(-5px);
    }

    .stat-item i {
        font-size: 3rem;
        color: var(--accent-gold);
    }

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-gold);
    line-height: 1;
}

.stat-label {
    font-size: 1.05rem;
    color: var(--light-text);
    opacity: 0.9;
    font-weight: 600;
}

/* ===================================
   BUTTONS
   =================================== */
.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2.5rem;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.btn-primary,
.btn-secondary,
.btn-cta-primary,
.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem 2.5rem;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary,
.btn-cta-primary {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #fbbf24 100%);
    color: var(--dark-bg);
    box-shadow: 0 4px 20px rgba(250, 204, 21, 0.4);
}

    .btn-primary:hover,
    .btn-cta-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 30px rgba(250, 204, 21, 0.5);
        background: linear-gradient(135deg, #fbbf24 0%, var(--accent-gold) 100%);
    }

.btn-secondary,
.btn-cta-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--light-text);
    border: 2px solid rgba(250, 204, 21, 0.3);
    backdrop-filter: blur(10px);
}

    .btn-secondary:hover,
    .btn-cta-secondary:hover {
        background: rgba(255, 255, 255, 0.12);
        border-color: rgba(250, 204, 21, 0.6);
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(250, 204, 21, 0.2);
    }

/* ===================================
   SECTION HEADERS
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.6rem 1.8rem;
    background: rgba(250, 204, 21, 0.15);
    border: 2px solid rgba(250, 204, 21, 0.3);
    border-radius: 50px;
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--light-text);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--light-text);
    opacity: 0.85;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===================================
   PROCESS SECTION
   =================================== */
.app-process-section {
    padding: 100px 2rem;
    background: rgba(30, 64, 175, 0.08);
    position: relative;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1300px;
    margin: 0 auto;
}

.process-step {
    position: relative;
    padding: 2.5rem;
    background: rgba(15, 23, 42, 0.6);
    border: 2px solid rgba(250, 204, 21, 0.25);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(40px);
    backdrop-filter: blur(10px);
}

    .process-step.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .process-step:hover {
        transform: translateY(-8px);
        border-color: rgba(250, 204, 21, 0.6);
        background: rgba(15, 23, 42, 0.8);
        box-shadow: 0 15px 40px rgba(250, 204, 21, 0.2);
    }

.step-number {
    position: absolute;
    top: -20px;
    right: 25px;
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-gold), rgba(250, 204, 21, 0.3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    opacity: 0.4;
}

.step-icon {
    width: 75px;
    height: 75px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-red) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.8rem;
    box-shadow: 0 8px 20px rgba(250, 204, 21, 0.3);
}

    .step-icon i {
        font-size: 2.2rem;
        color: var(--accent-gold);
    }

.process-step h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--light-text);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.process-step p {
    color: var(--light-text);
    opacity: 0.85;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* ===================================
   PLATFORMS SECTION
   =================================== */
.platforms-section {
    padding: 100px 2rem;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1300px;
    margin: 0 auto;
}

.platform-card {
    padding: 3rem;
    background: rgba(15, 23, 42, 0.6);
    border: 2px solid rgba(250, 204, 21, 0.25);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(40px);
    backdrop-filter: blur(10px);
}

    .platform-card.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .platform-card:hover {
        transform: translateY(-12px);
        border-color: rgba(250, 204, 21, 0.6);
        background: rgba(15, 23, 42, 0.8);
        box-shadow: 0 20px 50px rgba(250, 204, 21, 0.25);
    }

.platform-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-red) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px rgba(250, 204, 21, 0.3);
}

    .platform-icon i {
        font-size: 3rem;
        color: var(--accent-gold);
    }

.platform-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--light-text);
    margin-bottom: 1.2rem;
}

.platform-card > p {
    color: var(--light-text);
    opacity: 0.85;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.platform-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .platform-features li {
        padding: 0.8rem 0;
        color: var(--light-text);
        display: flex;
        align-items: center;
        gap: 1rem;
        font-size: 1.05rem;
        transition: all 0.3s ease;
    }

        .platform-features li:hover {
            transform: translateX(5px);
        }

    .platform-features i {
        color: var(--accent-gold);
        font-size: 1.1rem;
        min-width: 20px;
    }

/* ===================================
   MONETIZATION SECTION
   =================================== */
.monetization-section {
    padding: 100px 2rem;
    background: rgba(30, 64, 175, 0.08);
}

.monetization-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1300px;
    margin: 0 auto;
}

.monetization-card {
    padding: 2.5rem;
    background: rgba(15, 23, 42, 0.6);
    border: 2px solid rgba(250, 204, 21, 0.25);
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: scale(0.95);
    backdrop-filter: blur(10px);
}

    .monetization-card.visible {
        opacity: 1;
        transform: scale(1);
    }

    .monetization-card:hover {
        transform: scale(1.05);
        border-color: rgba(250, 204, 21, 0.6);
        background: rgba(15, 23, 42, 0.8);
        box-shadow: 0 15px 40px rgba(250, 204, 21, 0.25);
    }

.monetization-icon {
    width: 85px;
    height: 85px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-red) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.8rem;
    box-shadow: 0 8px 20px rgba(250, 204, 21, 0.3);
}

    .monetization-icon i {
        font-size: 2.5rem;
        color: var(--accent-gold);
    }

.monetization-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--light-text);
    margin-bottom: 1rem;
}

.monetization-card p {
    color: var(--light-text);
    opacity: 0.85;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* ===================================
   FEATURES SECTION
   =================================== */
.features-section {
    padding: 100px 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

.feature-item {
    padding: 2.5rem;
    background: rgba(15, 23, 42, 0.6);
    border: 2px solid rgba(250, 204, 21, 0.25);
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
    backdrop-filter: blur(10px);
}

    .feature-item.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .feature-item:hover {
        transform: translateY(-8px);
        border-color: rgba(250, 204, 21, 0.5);
        background: rgba(15, 23, 42, 0.8);
        box-shadow: 0 12px 30px rgba(250, 204, 21, 0.2);
    }

    .feature-item i {
        font-size: 3rem;
        color: var(--accent-gold);
        margin-bottom: 1.5rem;
        display: block;
    }

    .feature-item h4 {
        font-size: 1.3rem;
        font-weight: 800;
        color: var(--light-text);
        margin-bottom: 1rem;
    }

    .feature-item p {
        color: var(--light-text);
        opacity: 0.85;
        font-size: 1rem;
        line-height: 1.7;
    }

/* ===================================
   CTA SECTION
   =================================== */
.apps-cta-section {
    padding: 120px 2rem;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.25) 0%, rgba(127, 29, 29, 0.25) 100%);
    position: relative;
    overflow: hidden;
}

    .apps-cta-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 50% 50%, rgba(250, 204, 21, 0.1) 0%, transparent 70%);
        pointer-events: none;
    }

.apps-cta-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

    .apps-cta-content h2 {
        font-size: clamp(2.5rem, 5vw, 4rem);
        font-weight: 900;
        color: var(--light-text);
        margin-bottom: 1.5rem;
        line-height: 1.2;
    }

    .apps-cta-content p {
        font-size: 1.3rem;
        color: var(--light-text);
        opacity: 0.95;
        margin-bottom: 3rem;
        line-height: 1.8;
    }

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
    .process-timeline,
    .platforms-grid,
    .monetization-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .apps-hero-section {
        padding: 120px 1.5rem 80px;
        min-height: auto;
    }

    .apps-hero-stats {
        gap: 2rem;
        flex-direction: column;
    }

    .stat-item {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .process-timeline,
    .platforms-grid,
    .monetization-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary,
    .btn-secondary,
    .btn-cta-primary,
    .btn-cta-secondary {
        justify-content: center;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .app-process-section,
    .platforms-section,
    .monetization-section,
    .features-section {
        padding: 80px 1.5rem;
    }

    .apps-cta-section {
        padding: 80px 1.5rem;
    }
}

@media (max-width: 480px) {
    .apps-hero-title {
        font-size: 2rem;
    }

    .apps-hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .process-step,
    .platform-card,
    .monetization-card {
        padding: 2rem;
    }
}

/* ===================================
   SMOOTH TRANSITIONS
   =================================== */
* {
    transition-property: transform, opacity, background-color, border-color, box-shadow;
}
