/* =========================================
   FUTUREVERSE — QUANTUM COMPUTING
   quantum.css
========================================= */


/* =========================================
   01. RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f7ff;
    color: #18213f;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font: inherit;
}

button:disabled {
    cursor: not-allowed;
}


/* =========================================
   02. MAIN PAGE
========================================= */

.quantum-page {
    min-height: 100vh;
    overflow: hidden;
}


/* =========================================
   03. HEADER
========================================= */

.quantum-header {
    width: min(1180px, 92%);
    margin: 0 auto;
    padding: 22px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.quantum-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: linear-gradient(
        135deg,
        #673cff,
        #00b8ff
    );

    color: #fff;
    font-size: 21px;

    box-shadow:
        0 10px 25px rgba(86, 70, 255, 0.25);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-text strong {
    font-size: 17px;
    letter-spacing: 0.3px;
}

.brand-text span {
    font-size: 11px;
    color: #697394;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.back-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 10px 16px;

    border: 1px solid #dce2f4;
    border-radius: 12px;

    background: #fff;

    color: #344064;
    font-size: 13px;
    font-weight: 600;

    transition: 0.25s ease;
}

.back-home-btn:hover {
    transform: translateY(-2px);
    border-color: #9c91ff;
    box-shadow: 0 10px 25px rgba(50, 60, 120, 0.1);
}


/* =========================================
   04. HERO
========================================= */

.quantum-hero {
    width: min(1180px, 92%);
    min-height: 500px;

    margin: 15px auto 0;
    padding: 70px 65px;

    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;

    border-radius: 34px;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(0, 191, 255, 0.16),
            transparent 28%
        ),
        radial-gradient(
            circle at 15% 80%,
            rgba(113, 69, 255, 0.16),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #11183b,
            #1b1450 52%,
            #102d59
        );

    color: #fff;

    box-shadow:
        0 30px 70px rgba(29, 32, 88, 0.22);
}

.quantum-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.025) 1px,
            transparent 1px
        );

    background-size: 42px 42px;

    pointer-events: none;
}

.quantum-hero-content {
    position: relative;
    z-index: 2;

    max-width: 610px;
}

.hero-label {
    display: inline-block;

    margin-bottom: 16px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;

    color: #83dcff;
}

.quantum-hero h1 {
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.02;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.quantum-hero h1 span {
    display: block;

    background: linear-gradient(
        90deg,
        #8e78ff,
        #55dcff
    );

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.quantum-hero p {
    max-width: 570px;

    color: #cbd3f1;
    font-size: 16px;
    line-height: 1.8;
}

.quantum-hero p strong {
    color: #fff;
}

.quantum-hero-actions {
    margin-top: 30px;
}

.start-learning-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 13px 20px;

    border-radius: 13px;

    background: linear-gradient(
        135deg,
        #755cff,
        #20c8ff
    );

    color: #fff;

    font-size: 13px;
    font-weight: 700;

    box-shadow:
        0 12px 30px rgba(53, 122, 255, 0.3);

    transition: 0.25s ease;
}

.start-learning-btn:hover {
    transform: translateY(-3px);
    box-shadow:
        0 17px 35px rgba(53, 122, 255, 0.4);
}


/* =========================================
   05. QUANTUM VISUAL
========================================= */

.quantum-visual {
    width: 330px;
    height: 330px;

    position: relative;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;
}

.quantum-core {
    width: 100px;
    height: 100px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            #ffffff 0%,
            #9deeff 20%,
            #6e6bff 50%,
            #29245f 75%
        );

    color: #fff;

    font-size: 40px;

    box-shadow:
        0 0 25px rgba(93, 220, 255, 0.7),
        0 0 70px rgba(113, 92, 255, 0.45);

    z-index: 3;
}

.quantum-orbit {
    position: absolute;

    border: 1px solid rgba(111, 220, 255, 0.55);

    border-radius: 50%;

    transform: rotate(-25deg);
}

.orbit-one {
    width: 220px;
    height: 95px;
}

.orbit-two {
    width: 250px;
    height: 130px;

    transform: rotate(55deg);
}

.orbit-three {
    width: 285px;
    height: 175px;

    transform: rotate(110deg);
}

.quantum-particle {
    position: absolute;

    width: 10px;
    height: 10px;

    border-radius: 50%;

    background: #8eeaff;

    box-shadow:
        0 0 14px #8eeaff;
}

.particle-one {
    top: 54px;
    right: 64px;
}

.particle-two {
    bottom: 60px;
    left: 55px;
}

.particle-three {
    top: 105px;
    left: 30px;
}

.particle-four {
    right: 25px;
    bottom: 105px;
}


/* =========================================
   06. SECTION HEADING
========================================= */

.section-heading {
    max-width: 720px;
    margin: 0 auto 45px;
    text-align: center;
}

.section-heading > span {
    display: inline-block;

    margin-bottom: 10px;

    color: #6956e8;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.section-heading h2 {
    margin-bottom: 12px;

    color: #17203d;

    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
}

.section-heading p {
    color: #697394;
    font-size: 15px;
    line-height: 1.75;
}


/* =========================================
   07. LEARNING JOURNEY
========================================= */

.quantum-journey-section {
    width: min(1100px, 92%);
    margin: 100px auto 0;
}

.learning-journey {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.journey-step {
    width: 190px;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}

.journey-icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 12px;

    border-radius: 17px;

    background: #eeeaff;

    color: #6956e8;

    font-size: 20px;
}

.journey-step strong {
    color: #1d2747;
    font-size: 14px;
}

.journey-step span {
    margin-top: 3px;

    color: #7a839e;

    font-size: 11px;
}

.journey-line {
    width: 45px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            #b9b1ff,
            #8de3ff
        );
}


/* =========================================
   08. INTRO
========================================= */

.quantum-intro {
    width: min(1100px, 92%);
    margin: 105px auto 0;
}

.quantum-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.quantum-stat-card {
    padding: 28px 25px;

    border: 1px solid #e0e5f5;
    border-radius: 22px;

    background: #fff;

    box-shadow:
        0 12px 35px rgba(31, 44, 100, 0.06);

    text-align: center;
}

.stat-icon {
    width: 58px;
    height: 58px;

    margin: 0 auto 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 18px;

    background: #f0edff;

    color: #6956e8;

    font-size: 21px;
}

.quantum-stat-card strong {
    display: block;

    color: #202a4b;

    font-size: 17px;
}

.quantum-stat-card span {
    display: block;

    margin-top: 6px;

    color: #78819c;

    font-size: 12px;
}


/* =========================================
   09. MODULES
========================================= */

.quantum-modules {
    width: min(1100px, 92%);
    margin: 110px auto 0;
}

.quantum-module-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.quantum-module {
    position: relative;

    padding: 30px 27px 27px;

    border: 1px solid #e0e5f5;
    border-radius: 24px;

    background: #fff;

    box-shadow:
        0 12px 35px rgba(31, 44, 100, 0.055);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.quantum-module:hover {
    transform: translateY(-5px);

    border-color: #b6adff;

    box-shadow:
        0 20px 45px rgba(54, 55, 125, 0.12);
}

.module-number {
    position: absolute;

    top: 20px;
    right: 22px;

    color: #a2a9bf;

    font-size: 11px;
    font-weight: 700;
}

.module-icon {
    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            #eeeaff,
            #e4f8ff
        );

    color: #6352df;

    font-size: 20px;
}

.module-label {
    color: #7568d7;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.quantum-module h3 {
    margin: 7px 0 10px;

    color: #1d2747;

    font-size: 20px;
    line-height: 1.3;
}

.quantum-module p {
    min-height: 76px;

    color: #707a96;

    font-size: 13px;
    line-height: 1.7;
}

.module-btn {
    width: 100%;

    margin-top: 20px;
    padding: 11px 14px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    border: 1px solid #dcd8ff;
    border-radius: 12px;

    background: #f7f5ff;

    color: #5e50cf;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    transition: 0.25s ease;
}

.module-btn:hover {
    background: #ece9ff;
    border-color: #bcb4ff;
}


/* =========================================
   10. MISSIONS
========================================= */

.quantum-missions {
    width: min(1100px, 92%);
    min-height: 300px;

    margin: 110px auto 0;
    padding: 45px 55px;

    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;

    border-radius: 28px;

    background:
        linear-gradient(
            135deg,
            #161b42,
            #302064
        );

    color: #fff;
}

.mission-content {
    max-width: 600px;
}

.section-label {
    color: #8fe4ff;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.mission-content h2 {
    margin: 10px 0 12px;

    font-size: 34px;
}

.mission-content p {
    color: #cbd1ed;

    font-size: 14px;
    line-height: 1.7;
}

.mission-btn,
.simulator-btn {
    margin-top: 22px;

    padding: 11px 17px;

    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;

    background: rgba(255,255,255,0.08);

    color: #dce2ff;

    font-size: 12px;
    font-weight: 700;
}

.mission-visual {
    width: 190px;
    height: 190px;

    position: relative;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-orbit {
    position: absolute;

    width: 175px;
    height: 75px;

    border: 1px solid rgba(116, 220, 255, 0.5);
    border-radius: 50%;

    transform: rotate(35deg);
}

.mission-core {
    width: 62px;
    height: 62px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: linear-gradient(
        135deg,
        #765fff,
        #42d9ff
    );

    box-shadow:
        0 0 35px rgba(82, 206, 255, 0.4);

    font-size: 21px;
}


/* =========================================
   11. SIMULATOR
========================================= */

.quantum-simulator {
    width: min(850px, 92%);

    margin: 90px auto;

    padding: 50px 35px;

    text-align: center;

    border: 1px solid #e0e5f5;
    border-radius: 28px;

    background: #fff;

    box-shadow:
        0 15px 45px rgba(31, 44, 100, 0.07);
}

.simulator-icon {
    width: 62px;
    height: 62px;

    margin: 0 auto 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 19px;

    background: #eeeaff;

    color: #6655df;

    font-size: 22px;
}

.quantum-simulator > span {
    color: #7568d7;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.quantum-simulator h2 {
    margin: 8px 0 12px;

    color: #1d2747;

    font-size: 31px;
}

.quantum-simulator p {
    max-width: 600px;

    margin: 0 auto;

    color: #727c98;

    font-size: 14px;
    line-height: 1.75;
}

.simulator-btn {
    border-color: #ddd9f5;

    background: #f5f3ff;

    color: #6658c9;
}


/* =========================================
   12. FOOTER
========================================= */

.quantum-footer {
    width: min(1100px, 92%);

    margin: 0 auto;

    padding: 35px 0 28px;

    border-top: 1px solid #e2e6f2;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;

    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand-icon {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #eeeaff;

    color: #6655df;
}

.footer-brand strong,
.footer-brand span {
    display: block;
}

.footer-brand strong {
    color: #202a4b;
    font-size: 14px;
}

.footer-brand span {
    color: #8991a9;
    font-size: 10px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 20px;

    color: #68718e;

    font-size: 11px;
    font-weight: 600;
}

.footer-links a:hover {
    color: #5d50d0;
}

.footer-copy {
    width: 100%;

    padding-top: 5px;

    color: #9aa1b5;

    font-size: 10px;
}


/* =========================================
   13. DARK MODE
========================================= */

body[data-theme="dark"] {
    background: #0b1025;
    color: #e7ebff;
}

body[data-theme="dark"] .quantum-header {
    color: #eef1ff;
}

body[data-theme="dark"] .brand-text span {
    color: #8f98b9;
}

body[data-theme="dark"] .back-home-btn {
    background: #151b38;
    border-color: #2c355b;
    color: #dbe1ff;
}

body[data-theme="dark"] .section-heading h2 {
    color: #edf0ff;
}

body[data-theme="dark"] .section-heading p {
    color: #9da6c7;
}

body[data-theme="dark"] .section-heading > span {
    color: #8c7cff;
}

body[data-theme="dark"] .journey-step strong {
    color: #e7ebff;
}

body[data-theme="dark"] .journey-step span {
    color: #8e97b8;
}

body[data-theme="dark"] .journey-icon {
    background: #20254b;
    color: #9b8cff;
}

body[data-theme="dark"] .quantum-stat-card,
body[data-theme="dark"] .quantum-module,
body[data-theme="dark"] .quantum-simulator {
    background: #131936;
    border-color: #29325a;
    box-shadow:
        0 15px 40px rgba(0,0,0,0.2);
}

body[data-theme="dark"] .stat-icon,
body[data-theme="dark"] .module-icon,
body[data-theme="dark"] .simulator-icon {
    background: #20254b;
    color: #9b8cff;
}

body[data-theme="dark"] .quantum-stat-card strong,
body[data-theme="dark"] .quantum-module h3,
body[data-theme="dark"] .quantum-simulator h2 {
    color: #e9edff;
}

body[data-theme="dark"] .quantum-stat-card span,
body[data-theme="dark"] .quantum-module p,
body[data-theme="dark"] .quantum-simulator p {
    color: #9da6c7;
}

body[data-theme="dark"] .module-number {
    color: #737c9f;
}

body[data-theme="dark"] .module-btn {
    background: #1b2142;
    border-color: #353c68;
    color: #a59aff;
}

body[data-theme="dark"] .module-btn:hover {
    background: #252b50;
}

body[data-theme="dark"] .quantum-footer {
    border-color: #29325a;
}

body[data-theme="dark"] .footer-brand strong {
    color: #e9edff;
}

body[data-theme="dark"] .footer-brand span,
body[data-theme="dark"] .footer-links,
body[data-theme="dark"] .footer-copy {
    color: #858eaf;
}

body[data-theme="dark"] .footer-brand-icon {
    background: #20254b;
    color: #9b8cff;
}


/* =========================================
   14. MOBILE
========================================= */

@media (max-width: 850px) {

    .quantum-hero {
        padding: 55px 40px;
    }

    .quantum-visual {
        width: 260px;
        height: 260px;
    }

    .quantum-module-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quantum-missions {
        padding: 40px;
    }

}


@media (max-width: 700px) {

    .quantum-header {
        padding: 16px 0;
    }

    .brand-icon {
        width: 42px;
        height: 42px;
    }

    .brand-text strong {
        font-size: 15px;
    }

    .brand-text span {
        font-size: 9px;
    }

    .back-home-btn {
        padding: 9px 11px;
        font-size: 10px;
    }


    /* HERO */

    .quantum-hero {
        width: 94%;
        min-height: auto;

        padding: 42px 24px 35px;

        flex-direction: column;

        text-align: center;

        border-radius: 27px;
    }

    .quantum-hero-content {
        max-width: 100%;
    }

    .quantum-hero h1 {
        font-size: 45px;
        letter-spacing: -1.5px;
    }

    .quantum-hero p {
        font-size: 13px;
        line-height: 1.75;
    }

    .quantum-hero-actions {
        display: flex;
        justify-content: center;
    }

    .quantum-visual {
        width: 245px;
        height: 245px;

        margin-top: 5px;
    }

    .quantum-core {
        width: 78px;
        height: 78px;
        font-size: 30px;
    }

    .orbit-one {
        width: 165px;
        height: 70px;
    }

    .orbit-two {
        width: 190px;
        height: 95px;
    }

    .orbit-three {
        width: 215px;
        height: 125px;
    }


    /* JOURNEY */

    .quantum-journey-section,
    .quantum-intro,
    .quantum-modules {
        width: 92%;
        margin-top: 75px;
    }

    .section-heading {
        margin-bottom: 32px;
    }

    .section-heading h2 {
        font-size: 29px;
    }

    .section-heading p {
        font-size: 13px;
    }

    .learning-journey {
        flex-direction: column;
        gap: 12px;
    }

    .journey-step {
        width: 100%;
    }

    .journey-line {
        width: 1px;
        height: 25px;
    }


    /* STATS */

    .quantum-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }


    /* MODULES */

    .quantum-module-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .quantum-module {
        padding: 25px 21px 22px;
    }

    .quantum-module p {
        min-height: auto;
    }


    /* MISSIONS */

    .quantum-missions {
        width: 92%;
        min-height: auto;

        margin-top: 75px;
        padding: 35px 25px;

        flex-direction: column;

        text-align: center;
    }

    .mission-content h2 {
        font-size: 29px;
    }

    .mission-content p {
        font-size: 13px;
    }

    .mission-visual {
        width: 150px;
        height: 150px;
    }

    .mission-orbit {
        width: 140px;
        height: 60px;
    }


    /* SIMULATOR */

    .quantum-simulator {
        width: 92%;

        margin: 70px auto;

        padding: 38px 22px;
    }

    .quantum-simulator h2 {
        font-size: 27px;
    }


    /* FOOTER */

    .quantum-footer {
        width: 92%;

        flex-direction: column;
        align-items: center;

        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-copy {
        text-align: center;
    }

}