﻿
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css');
 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins',sans-serif;
    background: #f7f9fc;
    color: #222;
    line-height: 1.8;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1250px;
    margin: auto;
}

/*==========================
                BACKGROUND
                ==========================*/

body::before {
    content: "";
    position: fixed;
    top: -250px;
    right: -220px;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg,#ff6b35,#ff9800);
    opacity: .08;
    border-radius: 50%;
    z-index: -1;
}

body::after {
    content: "";
    position: fixed;
    left: -220px;
    bottom: -220px;
    width: 550px;
    height: 550px;
    background: linear-gradient(135deg,#2962ff,#00bcd4);
    opacity: .08;
    border-radius: 50%;
    z-index: -1;
}

/*==========================
                HERO
                ==========================*/

.hero {
    padding: 90px 0;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 60px;
}

.badge {
    display: inline-block;
    padding: 8px 20px;
    background: #fff4eb;
    color: #ff6b35;
    font-size: 14px;
    font-weight: 600;
    border-radius: 30px;
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #111;
}

    .hero h1 span {
        background: linear-gradient(90deg,#ff6b35,#ff9800);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

.hero p {
    font-size: 18px;
    color: #555;
    margin-bottom: 35px;
    max-width: 650px;
}

.button-group {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 28px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: .4s;
}

.btn-primary {
    background: linear-gradient(90deg,#ff6b35,#ff9800);
    color: #fff;
    box-shadow: 0 15px 35px rgba(255,107,53,.25);
}

    .btn-primary:hover {
        transform: translateY(-5px);
    }

.btn-outline {
    background: #fff;
    border: 2px solid #2962ff;
    color: #2962ff;
}

    .btn-outline:hover {
        background: #2962ff;
        color: #fff;
    }

/*==========================
                HTML CARD
                ==========================*/

.code-card {
    background: #fff;
    border-radius: 25px;
    padding: 35px;
    box-shadow: 0 20px 45px rgba(0,0,0,.08);
    position: relative;
    overflow: hidden;
}

    .code-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 8px;
        background: linear-gradient(90deg,#ff6b35,#ff9800,#2962ff);
    }

.browser {
    background: #1e293b;
    border-radius: 15px;
    overflow: hidden;
}

.browser-top {
    background: #334155;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red {
    background: #ff5f57;
}

.yellow {
    background: #febc2e;
}

.green {
    background: #28c840;
}

.browser-body {
    padding: 30px;
    font-family: Consolas, monospace;
    color: #fff;
    font-size: 18px;
    line-height: 2;
}

.tag {
    color: #ff9800;
}

.attribute {
    color: #4fc3f7;
}

.value {
    color: #7CFC00;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
    margin-top: 35px;
}

.info-box {
    background: #f8fbff;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    transition: .4s;
}

    .info-box:hover {
        transform: translateY(-8px);
    }

    .info-box h3 {
        font-size: 28px;
        color: #2962ff;
        margin-bottom: 8px;
    }

    .info-box p {
        font-size: 14px;
        color: #666;
    }

/*========================*/

.history,
.statistics,
.features,
.advantages {
    padding: 100px 0;
}

.timeline {
    border-left: 4px solid #ff6b35;
    padding-left: 35px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-icon {
    position: absolute;
    left: -58px;
    width: 42px;
    height: 42px;
    background: #ff6b35;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-content {
    background: #fff;
    padding: 28px;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0,0,0,.08);
}

    .timeline-content h3 {
        margin-bottom: 10px;
        font-size: 24px;
    }

.stats-grid,
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}

.stat-card,
.feature-card {
    background: #fff;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,.08);
    transition: .4s;
}

.stat-card {
    text-align: center;
}

    .stat-card i,
    .feature-card i {
        font-size: 42px;
        color: #ff6b35;
        margin-bottom: 20px;
    }

    .stat-card h3 {
        font-size: 34px;
        color: #2962ff;
        margin-bottom: 10px;
    }

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 24px;
}

.stat-card:hover,
.feature-card:hover {
    transform: translateY(-10px);
}

/*========================================
                        RESPONSIVE DESIGN
                        ========================================*/



/*========================================
                        HOVER EFFECTS
                        ========================================*/

.about-card,
.feature-card,
.stat-card,
.info-card,
.info-box,
.timeline-content {
    transition: all .35s ease;
}

    .about-card:hover,
    .feature-card:hover,
    .stat-card:hover,
    .info-card:hover,
    .info-box:hover,
    .timeline-content:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 45px rgba(0,0,0,.12);
    }

        /*========================================
                        ICON ANIMATION
                        ========================================*/

        .about-card:hover i,
        .feature-card:hover i,
        .stat-card:hover i,
        .info-card:hover i {
            transform: rotate(8deg) scale(1.15);
            color: #2962ff;
            transition: .4s;
        }

/*========================================
                        BUTTON SHINE EFFECT
                        ========================================*/

.btn {
    position: relative;
    overflow: hidden;
}

    .btn::before {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: rgba(255,255,255,.25);
        transition: .5s;
    }

    .btn:hover::before {
        left: 100%;
    }

/*========================================
                        SECTION ANIMATION
                        ========================================*/

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero,
.about,
.history,
.statistics,
.features,
.advantages,
.structure,
.working,
.applications,
.career {
    animation: fadeUp .8s ease;
}

/*========================================
                        FLOATING EFFECT
                        ========================================*/

.code-card {
    transition: .4s;
}

    .code-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 25px 60px rgba(0,0,0,.15);
    }

/*========================================
                        SCROLLBAR
                        ========================================*/

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #eef2f7;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(#ff6b35,#ff9800);
    border-radius: 30px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #ff6b35;
    }

/*========================================
                        TEXT SELECTION
                        ========================================*/

::selection {
    background: #ff6b35;
    color: #fff;
}

/*========================================
                        SMOOTH TRANSITION
                        ========================================*/

* {
    transition: background-color .3s, color .3s, border-color .3s, box-shadow .3s;
}


/*=========================
        HERO
        =========================*/

.hero {
    padding: 90px 0;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 60px;
}

.badge {
    display: inline-block;
    padding: 8px 22px;
    background: #eef4ff;
    color: #512bd4;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 62px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
}

    .hero h1 span {
        background: linear-gradient(90deg,#512bd4,#0078d4);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

.hero p {
    font-size: 18px;
    color: #555;
    margin-bottom: 35px;
    max-width: 650px;
}

.button-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: .4s;
}

.btn-primary {
    background: linear-gradient(90deg,#512bd4,#0078d4);
    color: #fff;
    box-shadow: 0 15px 35px rgba(81,43,212,0.25);
}

    .btn-primary:hover {
        transform: translateY(-5px);
    }

.btn-outline {
    border: 2px solid #0078d4;
    color: #0078d4;
    background: #fff;
}

    .btn-outline:hover {
        background: #0078d4;
        color: #fff;
    }

/*=========================
        VISUAL CARD
        =========================*/

.visual-card {
    background: #fff;
    padding: 35px;
    border-radius: 25px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

    .visual-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 8px;
        background: linear-gradient(90deg,#512bd4,#0078d4,#00b7ff);
    }

.visual {
    width: 180px;
    height: 180px;
    margin: auto;
    border-radius: 50%;
    background: linear-gradient(135deg,#512bd4,#0078d4);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 75px;
    color: #fff;
    box-shadow: 0 20px 40px rgba(81,43,212,.30);
    animation: float 4s infinite ease-in-out;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0);
    }
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 18px;
    margin-top: 35px;
}

.tech-box {
    background: #f7fbff;
    padding: 20px;
    text-align: center;
    border-radius: 16px;
    transition: .4s;
}

    .tech-box:hover {
        transform: translateY(-8px);
    }

    .tech-box h3 {
        font-size: 26px;
        color: #0078d4;
        margin-bottom: 8px;
    }

    .tech-box p {
        font-size: 14px;
        color: #666;
    }

/*=========================================
                        CARD HOVER EFFECTS
                        =========================================*/
.feature-card,
.compare-card,
.tech-box,
.mvc-card,
.timeline-content {
    transition: all .35s ease;
}

    .feature-card:hover,
    .compare-card:hover,
    .tech-box:hover,
    .mvc-card:hover,
    .timeline-content:hover {
        transform: translateY(-10px);
        box-shadow: 0 25px 45px rgba(0,0,0,0.12);
    }

        /*=========================================
                        ICON ANIMATION
                        =========================================*/

        .feature-card:hover i,
        .compare-card:hover i,
        .tech-box:hover h3,
        .mvc-card:hover i {
            transform: scale(1.15) rotate(8deg);
            transition: .4s;
            color: #00b7ff;
        }

/*=========================================
                        BUTTON EFFECT
        =========================================*/

.btn {
    position: relative;
    overflow: hidden;
}

    .btn::before {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: rgba(255,255,255,.25);
        transition: .5s;
    }

    .btn:hover::before {
        left: 100%;
    }

/*=========================================
                        SECTION ANIMATION
                        =========================================*/

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero,
.history,
.comparison,
.features,
.mvc-architecture,
.project-structure,
.applications,
.career {
    animation: fadeUp .8s ease;
}

/*=========================================
                        FLOATING CARD
                        =========================================*/

.visual-card {
    transition: .4s;
}

    .visual-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 25px 60px rgba(0,0,0,0.15);
    }

/*=========================================
                        CUSTOM SCROLLBAR
                        =========================================*/

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #edf2f7;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(#512bd4,#0078d4);
    border-radius: 20px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #0078d4;
    }

/*=========================================
                        TEXT SELECTION
                        =========================================*/

::selection {
    background: #512bd4;
    color: #fff;
}

/*=========================================
                        GLOBAL TRANSITION
                        =========================================*/

* {
    transition: background-color .3s, color .3s, border-color .3s, box-shadow .3s;
}

/*=============================*/

.history,
.comparison,
.features {
    padding: 100px 0;
}

.comparison-grid,
.stats-grid,
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}

.compare-card,
.feature-card {
    background: #fff;
    padding: 35px;
    border-radius: 22px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: .4s;
}

    .compare-card:hover,
    .feature-card:hover {
        transform: translateY(-10px);
    }

    .compare-card i,
    .feature-card i {
        font-size: 42px;
        color: #512bd4;
        margin-bottom: 20px;
    }

    .compare-card h3,
    .feature-card h3 {
        margin-bottom: 18px;
        font-size: 24px;
    }

    .compare-card ul {
        list-style: none;
        padding: 0;
    }

    .compare-card li {
        padding: 10px 0;
        border-bottom: 1px solid #eee;
        color: #555;
    }

        .compare-card li:last-child {
            border: none;
        }



/*=========================================
                        RESPONSIVE DESIGN
                        =========================================*/

@media (max-width:1200px) {
    .hero h1 {
        font-size: 52px;
    }

    .hero-wrapper,
    .structure-wrapper,
    .mvc-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mvc-arrow {
        transform: rotate(90deg);
        font-size: 28px;
    }

    .feature-grid,
    .about-grid,
    .stats-grid,
    .comparison-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .code-window {
        margin-bottom: 20px;
    }
}

@media (max-width:992px) {
    .hero {
        padding: 70px 0;
    }

    .hero-wrapper {
        text-align: center;
    }

    .hero p {
        margin: auto;
        margin-bottom: 30px;
    }

    .button-group {
        justify-content: center;
    }

    .section-title h2 {
        font-size: 36px;
    }
    .about-grid,
    .stats-grid,
    .comparison-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 38px;
    }

    .timeline {
        padding-left: 28px;
        border-left: 3px solid #ff6b35;
    }

    .timeline-icon {
        left: -48px;
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

}

@media(max-width:768px) {
   .container {
        width: 92%;
    }

    .history .timeline {
        margin-top: 40px;
    }

    .history .timeline::before {
        left: 16px;
    }

    .history .timeline-item {
        padding-left: 60px;
    }

    .history .timeline-icon {
        width: 34px;
        height: 34px;
        left: 0;
        font-size: 14px;
    }

    .history .timeline-content {
        padding: 20px;
    }

    .history .timeline-content h3 {
        font-size: 20px;
    }

    .history .timeline-content p {
        font-size: 15px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 16px;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .section-title p {
        font-size: 16px;
    }

    .visual {
        width: 150px;
        height: 150px;
        font-size: 60px;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .career-icon {
        font-size: 55px;
    }

    .career-box h2 {
        font-size: 28px;
    }

    .hero {
        padding: 60px 0;
    }

    .section-title {
        margin-bottom: 50px;
    }

    .section-title h2 {
        font-size: 32px;
    }

    .section-title p {
        font-size: 16px;
    }

    .browser-body {
        font-size: 15px;
        line-height: 1.8;
        padding: 20px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .info-box,
    .about-card,
    .feature-card,
    .stat-card,
    .info-card,
    .timeline-content {
        padding: 22px;
    }

    .timeline-content h3 {
        font-size: 20px;
    }

    .timeline-content p {
        font-size: 15px;
    }
 
}



@media(max-width:576px) {
    .hero {
        padding: 50px 0;
    }

        .hero h1 {
            font-size: 32px;
        }

    .badge {
        font-size: 12px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .visual {
        width: 130px;
        height: 130px;
        font-size: 50px;
    }

    .feature-card,
    .compare-card,
    .tech-box,
    .info-card,
    .mvc-card,
    .timeline-content {
        padding: 22px;
    }

        .feature-card h3,
        .compare-card h3,
        .mvc-card h3 {
            font-size: 22px;
        }

    

    .section-title h2 {
        font-size: 28px;
    }

    .about-card h3,
    .feature-card h3,
    .info-card h3 {
        font-size: 22px;
    }

    .timeline {
        padding-left: 20px;
    }

    .timeline-icon {
        left: -40px;
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .timeline-content {
        padding: 18px;
    }

    .code-window pre {
        font-size: 13px;
        padding: 18px;
    }
}
