// Modern Get Started Component Styles
@use '../variables' as *;

.proddisp-get-started {
    background: $background-light;
    min-height: 100vh;

    // Hero Header
    .hero-header {
        // background: linear-gradient(135deg, $primary-color 0%, lighten($primary-color, 10%) 100%);
        background: linear-gradient(135deg, $primary-color 0%, $primary-color-light 100%);
        color: $white;
        padding: $spacing-2xl $spacing-lg;
        margin-bottom: $spacing-xl;
        position: relative;
        overflow: hidden;

        &::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba($white, 0.1) 0%, transparent 70%);
            animation: float 20s ease-in-out infinite;
        }

        .hero-content {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: $spacing-2xl;
            align-items: center;
            position: relative;
            z-index: 1;

            @media (max-width: $tablet) {
                grid-template-columns: 1fr;
                text-align: center;
                gap: $spacing-xl;
            }

            .hero-text {
                h1 {
                    margin: 0 0 $spacing-lg 0;
                    font-size: 48px;
                    font-weight: 800;
                    line-height: 1.2;
                    display: flex;
                    align-items: center;
                    gap: $spacing-md;
                    color: aliceblue;

                    @media (max-width: $tablet) {
                        font-size: 36px;
                        justify-content: center;
                    }

                    @media (max-width: $mobile) {
                        font-size: 28px;
                        flex-direction: column;
                        gap: $spacing-sm;
                    }

                    .hero-icon {
                        font-size: 40px;
                        animation: bounce 2s ease-in-out infinite;

                        @media (max-width: $mobile) {
                            font-size: 32px;
                        }
                    }
                }

                .hero-subtitle {
                    margin: 0 0 $spacing-2xl 0;
                    font-size: 20px;
                    opacity: 0.9;
                    line-height: 1.6;
                    max-width: 600px;

                    @media (max-width: $tablet) {
                        font-size: 18px;
                        margin-left: auto;
                        margin-right: auto;
                    }

                    @media (max-width: $mobile) {
                        font-size: 16px;
                    }
                }

                .hero-actions {
                    display: flex;
                    gap: $spacing-md;
                    flex-wrap: wrap;

                    @media (max-width: $tablet) {
                        justify-content: center;
                    }

                    @media (max-width: $mobile) {
                        flex-direction: column;
                        align-items: center;
                    }

                    .hero-btn {
                        padding: $spacing-md $spacing-xl;
                        font-size: 16px;
                        font-weight: 600;
                        border-radius: $border-radius-lg;
                        transition: $transition;

                        &.button-primary {
                            background: $white;
                            color: $primary-color;
                            border-color: $white;

                            &:hover {
                                background: $background-lighter;
                                transform: translateY(-2px);
                                box-shadow: 0 8px 25px rgba($white, 0.3);
                            }
                        }

                        &.button-outline {
                            background: rgba($white, 0.1);
                            border-color: rgba($white, 0.3);
                            color: $white;

                            &:hover {
                                background: rgba($white, 0.2);
                                border-color: rgba($white, 0.5);
                                transform: translateY(-2px);
                            }
                        }

                        @media (max-width: $mobile) {
                            width: 100%;
                            max-width: 300px;
                        }
                    }
                }
            }

            .hero-visual {
                display: flex;
                justify-content: center;
                align-items: center;

                .feature-preview {
                    display: flex;
                    flex-direction: column;
                    gap: $spacing-lg;

                    .preview-item {
                        background: rgba($white, 0.1);
                        backdrop-filter: blur(10px);
                        padding: $spacing-lg;
                        border-radius: $border-radius-lg;
                        border: 1px solid rgba($white, 0.2);
                        display: flex;
                        align-items: center;
                        gap: $spacing-md;
                        transition: $transition;

                        &:hover {
                            background: rgba($white, 0.2);
                            transform: translateX(10px);
                        }

                        i {
                            font-size: 24px;
                            opacity: 0.9;
                        }

                        span {
                            font-size: 16px;
                            font-weight: 600;
                        }
                    }
                }
            }
        }
    }

    // Statistics Section
    .stats-section {
        max-width: 1200px;
        margin: 0 auto $spacing-2xl auto;
        padding: 0 $spacing-lg;

        .stats-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: $spacing-lg;

            .stat-card {
                background: $white;
                padding: $spacing-xl;
                border-radius: $border-radius-lg;
                box-shadow: $shadow-md;
                text-align: center;
                transition: $transition;
                border: 1px solid $border-color;

                &:hover {
                    transform: translateY(-8px);
                    box-shadow: $shadow-lg;
                    border-color: $primary-color;
                }

                .stat-icon {
                    margin-bottom: $spacing-md;

                    i {
                        font-size: 48px;
                        color: $primary-color;
                        opacity: 0.8;
                    }
                }

                .stat-content {
                    .stat-number {
                        font-size: 30px;
                        font-weight: 600;
                        color: $primary-color;
                        margin-bottom: 20px;
                        display: block;
                    }

                    .stat-label {
                        font-size: 16px;
                        color: $text-light;
                        font-weight: 500;
                        text-transform: uppercase;
                        letter-spacing: 0.5px;
                    }
                }
            }
        }
    }

    // Main Content Sections
    .proddisp-content {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 $spacing-lg;

        .proddisp-section {
            background: $white;
            padding: $spacing-2xl;
            border-radius: $border-radius-lg;
            box-shadow: $shadow-md;
            margin-bottom: $spacing-xl;
            border: 1px solid $border-color;

            h2 {
                margin: 0 0 $spacing-lg 0;
                font-size: 28px;
                font-weight: 700;
                color: $text-dark;
                display: flex;
                align-items: center;
                gap: $spacing-sm;
                padding-bottom: $spacing-md;
                border-bottom: 3px solid $primary-color;
            }

            h3 {
                margin: $spacing-lg 0 $spacing-md 0;
                font-size: 20px;
                font-weight: 600;
                color: $text-dark;
            }

            p {
                margin: 0 0 $spacing-md 0;
                color: $text-light;
                line-height: 1.6;
                font-size: 16px;

                &.shortcode-description {
                    font-size: 14px;
                    color: $text-light;
                    margin-top: $spacing-xs;
                    font-style: italic;
                }
            }

            ul {
                margin: 0 0 $spacing-md 0;
                padding-left: $spacing-lg;

                li {
                    margin-bottom: $spacing-sm;
                    color: $text-light;
                    line-height: 1.5;
                }
            }

            .proddisp-layouts-grid {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
                gap: $spacing-md;
                margin: $spacing-lg 0;

                .proddisp-layout-item {
                    background: $background-lighter;
                    padding: $spacing-md;
                    border-radius: $border-radius;
                    text-align: center;
                    border: 2px solid $border-color;
                    transition: $transition;
                    font-weight: 500;
                    color: $text-dark;

                    &:hover {
                        border-color: $primary-color;
                        background: rgba($primary-color, 0.05);
                        transform: translateY(-2px);
                    }
                }
            }

            .proddisp-code {
                background: $background-lighter;
                border: 2px dashed $border-color;
                border-radius: $border-radius;
                padding: $spacing-md;
                font-family: monospace;
                font-size: 14px;
                color: $text-dark;
                margin: $spacing-md 0;
                overflow-x: auto;
                transition: $transition;

                &:hover {
                    border-color: $primary-color;
                    background: rgba($primary-color, 0.02);
                }
            }

            .proddisp-button {
                display: inline-flex;
                align-items: center;
                gap: $spacing-sm;
                background: $primary-color;
                color: $white;
                padding: $spacing-md $spacing-lg;
                border-radius: $border-radius;
                text-decoration: none;
                font-weight: 600;
                transition: $transition;
                margin: $spacing-sm $spacing-sm $spacing-sm 0;
                border: none;
                cursor: pointer;
                font-size: 14px;
                box-shadow: $shadow-sm;

                &:hover {
                    background: $primary-hover;
                    color: $white;
                    transform: translateY(-2px);
                    box-shadow: $shadow-md;
                }

                &.secondary {
                    background: $secondary-color;

                    &:hover {
                        background: $secondary-color;
                    }
                }

                &.proddisp-button-large {
                    font-size: 16px;
                    padding: $spacing-lg $spacing-xl;
                }
            }
        }

        
    }

    // CTA Section Styles
    .proddisp-cta {
        background: linear-gradient(135deg, $primary-color 0%, $primary-color-light 100%);
        color: $white;
        text-align: center;
        position: relative;
        overflow: hidden;
        border: none;

        &::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba($white, 0.1) 0%, transparent 70%);
            animation: float 15s ease-in-out infinite;
        }

        h2 {
            color: $white;
            border-bottom-color: rgba($white, 0.3);
            position: relative;
            z-index: 1;
        }

        p {
            color: rgba($white, 0.9);
            font-size: 18px;
            margin-bottom: $spacing-xl;
            position: relative;
            z-index: 1;
        }

        .proddisp-button {
            position: relative;
            z-index: 1;
            margin: $spacing-sm;
            padding: 16px 32px;
            font-size: 16px;
            font-weight: 600;
            border-radius: 8px;
            transition: all 0.2s;

            &:not(.secondary) {
                background: $white;
                color: $primary-color;
                border: 2px solid $white;

                &:hover {
                    background: $background-lighter;
                    color: $primary-color;
                    transform: translateY(-3px);
                    box-shadow: 0 10px 30px rgba($white, 0.3);
                }
            }

            &.secondary {
                background: rgba($white, 0.1);
                color: $white;
                border: 2px solid rgba($white, 0.3);

                &:hover {
                    background: rgba($white, 0.2);
                    border-color: rgba($white, 0.5);
                    color: $white;
                    transform: translateY(-3px);
                }
            }
        }
    }


    // Animations
    @keyframes float {

        0%,
        100% {
            transform: translateY(0px) rotate(0deg);
        }

        50% {
            transform: translateY(-20px) rotate(180deg);
        }
    }

    @keyframes bounce {

        0%,
        20%,
        50%,
        80%,
        100% {
            transform: translateY(0);
        }

        40% {
            transform: translateY(-10px);
        }

        60% {
            transform: translateY(-5px);
        }
    }

    // Responsive Design
    @media (max-width: $tablet) {
        .proddisp-content {
            .proddisp-section {
                padding: $spacing-lg;

                .proddisp-layouts-grid {
                    grid-template-columns: repeat(2, 1fr);
                }

                .proddisp-feature-list {
                    grid-template-columns: 1fr;
                }
            }
        }

        .stats-section .stats-container {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: $mobile) {
        .hero-header {
            padding: $spacing-lg;
        }

        .stats-section,
        .proddisp-content {
            padding: 0 $spacing-md;
        }

        .stats-section .stats-container {
            grid-template-columns: 1fr;
        }

        .proddisp-content {
            .proddisp-section {
                padding: $spacing-md;

                h2 {
                    font-size: 24px;
                }

                .proddisp-layouts-grid {
                    grid-template-columns: 1fr;
                }

                .proddisp-button {
                    width: 100%;
                    justify-content: center;
                    margin: $spacing-xs 0;
                }
            }
        }
    }
}