/* =========================================================
   FUNDAMENTALS OF QUANTUM COMPUTING
   ========================================================= */

:root {
    --bg: #050b16;
    --text: #e8f0fa;
    --muted: #8191a8;
    --accent: #18c8c3;
    --line: #1a3a5c;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(
            circle at 75% 15%,
            rgba(24, 200, 195, 0.07),
            transparent 32%
        ),
        var(--bg);

    color: var(--text);
    font-family: Arial, sans-serif;
}


/* =========================================================
   BACKGROUND GRID
   ========================================================= */

body::before {
    content: "";

    position: fixed;
    inset: 0;

    pointer-events: none;

    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: 128px 128px;
}
/* =========================================================
   FUNDAMENTALS HEADER
   ========================================================= */

.fundamentals-header {
    width: 100%;
    margin-top: 18px;

    border: 1px solid rgba(70, 100, 140, 0.45);
    border-radius: 16px;

    background: rgba(4, 12, 25, 0.72);

    backdrop-filter: blur(10px);
}


/* =========================================================
   HEADER NAV
   ========================================================= */

.fundamentals-nav {
    min-height: 88px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 12px 24px;
}


/* =========================================================
   BRAND
   ========================================================= */

.fundamentals-brand {
    display: flex;
    align-items: center;

    gap: 12px;

    flex-shrink: 0;

    color: var(--text);
    text-decoration: none;
}


.fundamentals-brand-mark {
    width: 58px;
    height: 58px;

    object-fit: contain;

    display: block;
}


.fundamentals-brand-text {
    display: flex;
    flex-direction: column;

    line-height: 1;
}


.fundamentals-brand-name {
    font-size: 25px;
    font-weight: 800;

    letter-spacing: -0.03em;

    color: var(--text);
}


.fundamentals-brand-name span {
    color: var(--accent);
}


.fundamentals-brand-tagline {
    margin-top: 6px;

    font-size: 12px;
    font-weight: 500;

    color: var(--text);

    white-space: nowrap;
}


/* =========================================================
   TAB MENU
   ========================================================= */

.fundamentals-tabs {
    display: flex;
    align-items: center;

    gap: 34px;

    margin-left: auto;
}


.fundamentals-tabs a {
    position: relative;

    padding: 28px 0;

    color: #9baac2;

    font-size: 16px;
    font-weight: 600;

    text-decoration: none;

    white-space: nowrap;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}


.fundamentals-tabs a:hover {
    color: var(--accent);

    transform: translateY(-1px);
}


/* =========================================================
   MOBILE / TABLET
   ========================================================= */

@media (max-width: 900px) {

    .fundamentals-nav {
        gap: 20px;
        padding: 10px 18px;
    }

    .fundamentals-brand-mark {
        width: 50px;
        height: 50px;
    }

    .fundamentals-brand-name {
        font-size: 22px;
    }

    .fundamentals-brand-tagline {
        font-size: 11px;
    }

    .fundamentals-tabs {
        gap: 24px;
    }

    .fundamentals-tabs a {
        font-size: 14px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .fundamentals-header {
        overflow-x: auto;
    }

    .fundamentals-nav {
        width: max-content;
        min-width: 100%;

        justify-content: flex-start;

        gap: 28px;

        padding: 10px 16px;
    }

    .fundamentals-brand-mark {
        width: 46px;
        height: 46px;
    }

    .fundamentals-brand-name {
        font-size: 20px;
    }

    .fundamentals-brand-tagline {
        font-size: 10px;
    }

    .fundamentals-tabs {
        gap: 22px;
        margin-left: 10px;
    }

    .fundamentals-tabs a {
        font-size: 13px;
        padding: 20px 0;
    }
}

/* =========================================================
   PAGE CONTAINER
   ========================================================= */

.site-shell {
    width: min(100% - 64px, 1500px);
    margin: 0 auto;
}


/* =========================================================
   MAIN CONTENT
   ========================================================= */

.site-shell > main {
    padding: 65px 0 120px;
}


/* =========================================================
   PAGE TITLE
   ========================================================= */

.site-shell > main > h1 {
    max-width: 900px;

    margin: 0 0 55px;

    font-size: clamp(3.5rem, 5vw, 5.5rem);
    line-height: 0.98;

    letter-spacing: -0.045em;
    font-weight: 800;

    color: var(--text);
}
.site-shell > main > h1 span {
    color: var(--accent);
}

/* =========================================================
   CONTENT AREA
   ========================================================= */

.fundamentals-section {
    width: min(100%, 820px);
}


/* =========================================================
   SECTION HEADINGS
   ========================================================= */

.fundamentals-content h2,
.fundamentals-section h2 {
    margin: 0 0 24px;

    font-size: 2rem;
    line-height: 1.25;

    letter-spacing: -0.02em;
    font-weight: 700;

    color: var(--text);
}

.fundamentals-content h3,
.fundamentals-section h3 {
    margin: 44px 0 16px;

    font-size: 1.5rem;
    line-height: 1.3;

    letter-spacing: -0.015em;
    font-weight: 700;

    color: var(--text);
}


/* =========================================================
   PARAGRAPHS
   ========================================================= */

.fundamentals-section p {
    margin: 0 0 24px;

    font-size: 1.08rem;
    line-height: 1.75;

    color: var(--text);
}


/* =========================================================
   LISTS
   ========================================================= */

.fundamentals-section ul,
.fundamentals-section ol {
    margin: 20px 0 32px;
    padding-left: 28px;
}

.fundamentals-section li {
    margin-bottom: 14px;

    font-size: 1.08rem;
    line-height: 1.7;

    color: var(--text);
}


/* =========================================================
   EMPHASIS
   ========================================================= */

.fundamentals-section strong {
    font-weight: 700;
    color: var(--text);
}


/* =========================================================
   LINKS
   ========================================================= */

.fundamentals-section a {
    color: var(--accent);
    text-decoration: none;
}

.fundamentals-section a:hover {
    text-decoration: underline;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .site-shell {
        width: min(100% - 40px, 980px);
    }

    .site-shell > main {
        padding-top: 50px;
    }

    .site-shell > main > h1 {
        margin-bottom: 55px;
    }

    .fundamentals-section p,
    .fundamentals-section li {
        font-size: 1rem;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .site-shell {
        width: calc(100% - 28px);
    }

    .site-shell > main {
        padding-top: 35px;
        padding-bottom: 80px;
    }

    .site-shell > main > h1 {
        font-size: clamp(3.2rem, 15vw, 5rem);
        line-height: 0.95;
        margin-bottom: 45px;
    }

    .fundamentals-section h2 {
        font-size: 2rem;
        margin-bottom: 24px;
    }

    .fundamentals-section h3 {
        font-size: 1.5rem;
        margin-top: 42px;
    }

    .fundamentals-section p,
    .fundamentals-section li {
        font-size: 1rem;
        line-height: 1.7;
    }
}


/* =========================================================
   QUANTUM COMPUTER IMAGE
   ========================================================= */

.fundamentals-page {
    position: relative;
}

.fundamentals-hero-image {
    position: absolute;
    top: 320px;
    right: 70px;
    width: 330px;
    margin: 0;
}

.fundamentals-hero-image img {
    display: block;
    width: 100%;
    height: auto;
}


/* =========================================================
   TUNNEL FALLS IMAGE
   ========================================================= */

.tunnel-falls-image {
    position: absolute;
    top: 800px;
    right: 80px;

    width: 250px;
    height: auto;

    object-fit: contain;
}


/* =========================================================
   OMEGA IMAGE
   ========================================================= */

.fundamentals-approach-image {
    position: absolute;
    top: 1050px;
    right: 80px;

    width: 250px;
    height: auto;

    object-fit: contain;
}


/* =========================================================
   WILLOW IMAGE
   ========================================================= */

.willow-image {
    position: absolute;
    top: 1300px;
    right: 80px;

    width: 250px;
    height: auto;

    object-fit: contain;
}


/* =========================================================
   MOBILE IMAGES
   ========================================================= */

@media (max-width: 768px) {

    .fundamentals-hero-image {
        position: relative;
        top: auto;
        right: auto;
        width: min(100%, 270px);
        margin: 0 auto 30px;
    }

    .tunnel-falls-image {
        position: relative;
        top: auto;
        right: auto;
        width: min(100%, 250px);
        height: auto;
        display: block;
        margin: 20px auto 30px;
    }

    .fundamentals-approach-image {
        position: relative;
        top: auto;
        right: auto;
        width: min(100%, 250px);
        height: auto;
        display: block;
        margin: 20px auto 30px;
    }

    .willow-image {
        position: relative;
        top: auto;
        right: auto;
        width: min(100%, 250px);
        height: auto;
        display: block;
        margin: 20px auto 30px;
    }

    .site-shell > main > h1 {
        font-size: clamp(2.7rem, 12vw, 4rem);
        line-height: 1;
        margin-bottom: 40px;
    }
}


/* =========================================================
   CLASSICAL BITS VS QUBITS
   ========================================================= */

.bits-vs-qubits {

    /*
       If this section is inside .site-shell,
       it will naturally use the existing page width.

       If it is outside .site-shell, these rules still
       prevent it from touching the browser edges.
    */

    width: min(calc(100% - 64px), 1500px);

    margin: 10px auto 0;

    padding-bottom: 100px;

    min-width: 0;
}


/*
   When the section is already inside .site-shell,
   don't shrink it again.
*/

.site-shell .bits-vs-qubits {
    width: 100%;
}


/* =========================================================
   SECTION DIVIDER
   ========================================================= */

.section-divider {
    width: 100%;
    height: 1px;

    background: rgba(0, 210, 200, 0.55);
    margin-top: 80px;
    margin-bottom: 30px;

    position: relative;
}

.section-divider::after {
    content: "";

    position: absolute;

    width: 10px;
    height: 10px;

    border-radius: 50%;

    background: #16c7bd;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    box-shadow: 0 0 18px rgba(22, 199, 189, 0.8);
}


/* =========================================================
   CLASSICAL VS QUBITS HEADING
   ========================================================= */

.bits-vs-qubits-heading {
    width: 100%;
    max-width: 1000px;

    margin-bottom: 55px;
}

.bits-vs-qubits h2 {
    margin-top: 15px;
    margin-bottom: 20px;
}


/* =========================================================
   SECTION INTRO
   ========================================================= */

.section-intro {
    width: 100%;
    max-width: 850px;

    font-size: 20px;
    line-height: 1.7;

    color: #9baac2;
}


/* =========================================================
   SMALL LABEL
   ========================================================= */

.fundamentals-label {
    display: flex;
    align-items: center;

    gap: 12px;

    color: #16c7bd;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 3px;
}

.fundamentals-label span {
    width: 8px;
    height: 8px;

    background: #16c7bd;

    border-radius: 50%;

    flex-shrink: 0;
}


/* =========================================================
   DIFFERENCE CARDS
   ========================================================= */

.difference-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 24px;

    width: 100%;

    margin-bottom: 100px;

    min-width: 0;
}

.difference-card {
    position: relative;

    width: 100%;
    min-width: 0;

    padding: 32px;

    border: 1px solid rgba(70, 100, 140, 0.35);

    border-radius: 18px;

    background: rgba(4, 12, 25, 0.45);

    overflow: hidden;
}

.difference-number {
    color: #16c7bd;

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 20px;
}

.difference-card h3 {
    font-size: 25px;

    margin: 0 0 30px;
}

.difference-card h4 {
    font-size: 18px;

    color: #16c7bd;

    margin: 25px 0 10px;
}

.difference-card p {
    font-size: 17px;

    line-height: 1.7;

    color: #d7dfed;

    margin-bottom: 18px;
}

.difference-card strong {
    color: #f0f5ff;
}


/* =========================================================
   SIMPLE EXAMPLES
   ========================================================= */

.simple-example {
    margin: 20px 0;

    padding: 16px 18px;

    border-left: 2px solid #16c7bd;

    background: rgba(22, 199, 189, 0.05);

    color: #aebbd0;

    font-size: 15px;

    line-height: 1.6;
}

.simple-example strong {
    color: #16c7bd;
}


/* =========================================================
   SCALING
   ========================================================= */

.scaling-section {
    width: 100%;

    margin-bottom: 100px;

    min-width: 0;
}

.scaling-section h2 {
    margin-top: 15px;
    margin-bottom: 20px;
}

.scaling-section > p {
    max-width: 900px;

    font-size: 18px;

    line-height: 1.7;

    color: #aebbd0;
}

.scaling-image-wrapper {
    width: 100%;

    margin-top: 45px;

    overflow: hidden;

    border: 1px solid rgba(70, 100, 140, 0.35);

    background: #000;
}

.scaling-image {
    display: block;

    width: 100%;
    height: auto;
}

.scaling-caption {
    font-size: 14px !important;

    color: #71829c !important;

    margin-top: 14px;
}


/* =========================================================
   PRACTICAL UTILITY
   ========================================================= */

.utility-section {
    width: 100%;

    margin-top: 80px;

    min-width: 0;
}

.utility-section h2 {
    margin-top: 15px;
    margin-bottom: 40px;
}

.utility-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 28px;

    width: 100%;
}

.utility-card {
    width: 100%;
    min-width: 0;

    padding: 35px;

    border: 1px solid rgba(70, 100, 140, 0.35);

    border-radius: 18px;

    background: rgba(4, 12, 25, 0.45);
}

.utility-card h3 {
    font-size: 25px;

    margin-top: 0;
    margin-bottom: 20px;
}

.utility-card p {
    color: #aebbd0;

    font-size: 17px;

    line-height: 1.7;
}

.utility-card ul {
    padding-left: 20px;

    margin-top: 25px;
}

.utility-card li {
    color: #d7dfed;

    margin-bottom: 12px;

    line-height: 1.5;
}

.important-note {
    margin-top: 30px;

    padding: 18px;

    border-left: 2px solid #16c7bd;

    background: rgba(22, 199, 189, 0.05);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .bits-vs-qubits {
        width: calc(100% - 40px);
    }

    .site-shell .bits-vs-qubits {
        width: 100%;
    }

    .difference-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    /* =====================================================
       CLASSICAL BITS VS QUBITS
       ===================================================== */

    .bits-vs-qubits {
        width: 100%;
        max-width: none;

        /*
         * Keep the section content away from the screen edges.
         * This fixes the heading/paragraph touching the left edge.
         */
        padding-left: 20px;
        padding-right: 20px;

        /*
         * Reduce the gap between the previous content
         * and this section.
         */
        margin-top: 20px;

        padding-bottom: 60px;

        box-sizing: border-box;
    }

    /*
     * Make sure the section does not override the
     * horizontal spacing above.
     */
    .site-shell .bits-vs-qubits {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }


    /* =====================================================
       DIVIDER
       ===================================================== */

    .section-divider {

        /*
         * IMPORTANT:
         * The previous CSS only changed margin-bottom.
         * The large empty space above the line was still
         * controlled by the top margin.
         *
         * This makes the divider much closer to the
         * preceding superconducting-qubit section.
         */
        margin-top: 25px;
        margin-bottom: 30px;
    }


    /* =====================================================
       HEADING
       ===================================================== */

    .bits-vs-qubits-heading {
        margin-bottom: 35px;
    }


    /* =====================================================
       INTRO
       ===================================================== */

    .section-intro {
        font-size: 17px;
        line-height: 1.65;

        margin-left: 0;
        margin-right: 0;
    }


    /* =====================================================
       LABEL
       ===================================================== */

    .fundamentals-label {
        font-size: 11px;

        letter-spacing: 2px;

        line-height: 1.4;
    }


    /* =====================================================
       DIFFERENCE CARDS
       ===================================================== */

    .difference-grid {
        grid-template-columns: 1fr;

        gap: 18px;

        margin-bottom: 65px;

        width: 100%;
    }

    .difference-card {
        width: 100%;

        padding: 25px;

        border-radius: 15px;

        box-sizing: border-box;
    }

    .difference-card h3 {
        font-size: 22px;

        margin-bottom: 25px;
    }

    .difference-card h4 {
        font-size: 17px;
    }

    .difference-card p {
        font-size: 16px;

        line-height: 1.65;
    }

    .simple-example {
        font-size: 14px;
    }


    /* =====================================================
       SCALING
       ===================================================== */

    .scaling-section {
        margin-bottom: 65px;
    }

    .scaling-section > p {
        font-size: 16px;

        line-height: 1.65;
    }

    .scaling-image-wrapper {
        margin-top: 30px;

        overflow-x: auto;

        width: 100%;
    }

    .scaling-image {
        width: 100%;

        /*
         * Keep the infographic readable on mobile.
         * User can scroll horizontally.
         */
        min-width: 650px;

        max-width: none;
    }


    /* =====================================================
       PRACTICAL UTILITY
       ===================================================== */

    .utility-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .utility-card {
        padding: 25px;

        box-sizing: border-box;
    }

    .utility-card p,
    .utility-card li {
        font-size: 16px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .bits-vs-qubits {
        width: 100%;

        /*
         * Maintain a clean 20px boundary on very small
         * screens as well.
         */
        padding-left: 20px;
        padding-right: 20px;

        box-sizing: border-box;
    }

    .site-shell .bits-vs-qubits {
        width: 100%;

        padding-left: 20px;
        padding-right: 20px;

        box-sizing: border-box;
    }

    .bits-vs-qubits-heading {
        width: 100%;
    }


    /* Slightly tighter divider on small phones */
    .section-divider {
        margin-top: 20px;
        margin-bottom: 28px;
    }


    .difference-card {
        padding: 22px;
    }

    .section-intro {
        font-size: 16px;
    }

    .fundamentals-label {
        gap: 9px;
        letter-spacing: 1.7px;
    }
}
/* =========================================================
   FLOATING HOME BUTTON
   ========================================================= */

.floating-home {
    position: fixed;
    right: 24px;
    bottom: 24px;

    display: flex;
    align-items: center;
    gap: 9px;

    padding: 10px 16px 10px 11px;

    color: #ffffff;
    text-decoration: none;

    background: rgba(5, 18, 29, 0.94);
    border: 1px solid rgba(0, 220, 220, 0.55);
    border-radius: 999px;

    font-size: 14px;
    font-weight: 600;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);

    backdrop-filter: blur(10px);

    z-index: 1000;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.floating-home img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
}

.floating-home:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 220, 220, 0.95);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .floating-home {
        right: 14px;
        bottom: 14px;
        padding: 8px 13px 8px 9px;
        font-size: 13px;
    }

    .floating-home img {
        width: 25px;
        height: 25px;
    }

}
/* =========================================================
   QUANTUM PROPERTIES
   ========================================================= */

.quantum-properties {
    width: 100%;
    margin-top: 40px;
    padding-bottom: 120px;
}


/* =========================================================
   INTRO
   ========================================================= */

.quantum-properties-heading {
    max-width: 1000px;
    margin-bottom: 65px;
}


.quantum-properties-heading h2 {
    margin: 18px 0 24px;

    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.05;

    letter-spacing: -0.04em;

    color: var(--text);
}


.quantum-properties-heading h2 span {
    display: block;
    color: var(--accent);
}


.quantum-properties-heading p {
    max-width: 850px;

    margin: 0 0 18px;

    font-size: 1.15rem;
    line-height: 1.75;

    color: #b8c5d8;
}


.quantum-properties-heading strong {
    color: var(--text);
}


/* =========================================================
   PROPERTY CARD
   ========================================================= */

.quantum-property-card {
    display: grid;
    grid-template-columns: 1fr 1fr;

    min-height: 390px;

    margin-bottom: 24px;

    border: 1px solid rgba(70, 100, 140, 0.38);
    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            rgba(5, 18, 32, 0.72),
            rgba(4, 12, 25, 0.48)
        );

    overflow: hidden;

    transition:
        border-color 0.25s ease,
        transform 0.25s ease;
}


.quantum-property-card:hover {
    border-color: rgba(24, 200, 195, 0.5);

    transform: translateY(-2px);
}


/* =========================================================
   PROPERTY CONTENT
   ========================================================= */

.property-content {
    padding: 42px;
}


.property-number {
    display: inline-block;

    margin-bottom: 20px;

    color: var(--accent);

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 3px;
}


.property-label {
    color: var(--accent);

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 3px;
}


.property-content h3 {
    margin: 15px 0 24px;

    max-width: 560px;

    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.08;

    letter-spacing: -0.035em;

    color: var(--text);
}


.property-content h3 span {
    display: block;
    color: var(--accent);
}


.property-content p {
    max-width: 600px;

    margin: 0 0 18px;

    font-size: 1.05rem;
    line-height: 1.75;

    color: #d7dfed;
}


.property-content strong {
    color: #f0f5ff;
}


/* =========================================================
   EXAMPLE BOX
   ========================================================= */

.property-example {
    margin-top: 28px;

    padding: 18px 20px;

    border-left: 2px solid var(--accent);

    background: rgba(24, 200, 195, 0.045);
}


.example-title {
    margin-bottom: 8px;

    color: var(--accent);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2px;
}


.property-example p {
    margin: 0;

    font-size: 0.95rem;
    line-height: 1.65;

    color: #aebbd0;
}


/* =========================================================
   VISUAL AREA
   ========================================================= */

.property-visual {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 390px;

    padding: 35px;

    border-left: 1px solid rgba(70, 100, 140, 0.25);

    background:
        radial-gradient(
            circle at center,
            rgba(24, 200, 195, 0.08),
            transparent 55%
        );
}


/* =========================================================
   BIT / QUBIT COMPARISON
   ========================================================= */

.bit-comparison {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;

    gap: 18px;
}


.bit-box {
    width: 42%;

    padding: 30px 20px;

    text-align: center;

    border: 1px solid rgba(70, 100, 140, 0.4);
    border-radius: 16px;

    background: rgba(3, 10, 20, 0.7);
}


.bit-box.quantum-bit {
    border-color: rgba(24, 200, 195, 0.45);

    box-shadow:
        0 0 35px rgba(24, 200, 195, 0.08);
}


.bit-title {
    display: block;

    margin-bottom: 20px;

    color: #aebbd0;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1.5px;
}


.quantum-bit .bit-title {
    color: var(--accent);
}


.bit-circle {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 105px;
    height: 105px;

    margin: 0 auto 20px;

    border-radius: 50%;

    border: 1px solid rgba(24, 200, 195, 0.4);

    background:
        radial-gradient(
            circle,
            rgba(24, 200, 195, 0.16),
            rgba(4, 12, 25, 0.9)
        );

    color: var(--text);

    font-size: 1.5rem;
    font-weight: 700;
}


.quantum-bit .bit-circle {
    box-shadow:
        0 0 25px rgba(24, 200, 195, 0.25),
        inset 0 0 25px rgba(24, 200, 195, 0.08);
}


.bit-description {
    color: #8191a8;

    font-size: 0.9rem;
}


.comparison-vs {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 45px;
    height: 45px;

    flex-shrink: 0;

    border: 1px solid rgba(24, 200, 195, 0.4);
    border-radius: 50%;

    background: #071221;

    color: var(--accent);

    font-size: 12px;
    font-weight: 700;
}


/* =========================================================
   ENTANGLEMENT
   ========================================================= */

.entanglement-visual {
    flex-direction: column;
}


.entangled-node {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 90px;
    height: 90px;

    border-radius: 50%;

    border: 1px solid var(--accent);

    background:
        radial-gradient(
            circle,
            rgba(24, 200, 195, 0.18),
            rgba(4, 12, 25, 0.9)
        );

    color: var(--accent);

    font-size: 20px;
    font-weight: 700;

    box-shadow:
        0 0 30px rgba(24, 200, 195, 0.16);
}


.quantum-link {
    display: flex;
    align-items: center;
    justify-content: space-around;

    width: 55%;

    height: 60px;

    position: relative;
}


.quantum-link::before {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    top: 50%;

    height: 2px;

    background: var(--accent);

    opacity: 0.65;

    box-shadow:
        0 0 15px rgba(24, 200, 195, 0.7);
}


.quantum-link span {
    position: relative;
    z-index: 2;

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--accent);

    box-shadow:
        0 0 12px rgba(24, 200, 195, 0.8);
}


.entanglement-caption {
    margin-top: 25px;

    color: #8191a8;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2px;
}


/* =========================================================
   INTERFERENCE
   ========================================================= */

.interference-visual {
    flex-direction: column;

    gap: 40px;
}


.wave-row {
    display: grid;
    grid-template-columns: 120px 1fr 40px;

    align-items: center;

    width: 100%;

    gap: 15px;
}


.wave-label {
    color: var(--accent);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.5px;
}


.wave {
    position: relative;

    height: 70px;

    overflow: hidden;
}


.wave::before {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    top: 50%;

    height: 2px;

    background: rgba(24, 200, 195, 0.2);
}


.constructive-wave::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            transparent 0%,
            transparent 4%,
            var(--accent) 5%,
            transparent 10%,
            var(--accent) 15%,
            transparent 20%,
            var(--accent) 25%,
            transparent 30%,
            var(--accent) 35%,
            transparent 40%,
            var(--accent) 45%,
            transparent 50%,
            var(--accent) 55%,
            transparent 60%,
            var(--accent) 65%,
            transparent 70%,
            var(--accent) 75%,
            transparent 80%,
            var(--accent) 85%,
            transparent 90%
        );

    opacity: 0.7;
}


.destructive-wave::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    top: 50%;

    height: 2px;

    background: var(--accent);

    opacity: 0.7;
}


.wave-result {
    color: var(--accent);

    font-size: 25px;
    font-weight: 700;
}


/* =========================================================
   INTERFERENCE EXPLANATION
   ========================================================= */

.interference-points {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 15px;

    margin-top: 25px;
}


.interference-points div {
    padding: 15px;

    border: 1px solid rgba(70, 100, 140, 0.3);
    border-radius: 10px;

    background: rgba(3, 10, 20, 0.5);

    color: #c5d0df;

    font-size: 0.88rem;
    line-height: 1.5;
}


.interference-points strong {
    display: block;

    margin-bottom: 5px;

    color: var(--accent);

    font-size: 20px;
}


.interference-points span {
    display: block;

    margin-top: 5px;

    color: #8191a8;

    font-size: 12px;
}


/* =========================================================
   DECOHERENCE
   ========================================================= */

.decoherence-card {
    display: grid;
    grid-template-columns: 90px 1fr;

    gap: 25px;

    align-items: center;

    margin: 50px 0 90px;

    padding: 35px 40px;

    border: 1px solid rgba(190, 130, 45, 0.35);
    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            rgba(60, 40, 10, 0.22),
            rgba(4, 12, 25, 0.45)
        );
}


.decoherence-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 65px;
    height: 65px;

    border: 1px solid rgba(220, 160, 55, 0.6);
    border-radius: 50%;

    color: #e0a43b;

    font-size: 30px;
    font-weight: 700;
}


.decoherence-card h3 {
    margin: 8px 0 12px;

    color: #e0a43b;

    font-size: 1.8rem;
}


.decoherence-card p {
    max-width: 900px;

    margin: 0 0 12px;

    color: #c5d0df;

    font-size: 1rem;
    line-height: 1.7;
}


/* =========================================================
   NEXT TOPICS
   ========================================================= */

.quantum-next {
    text-align: center;
}


.quantum-next > h2 {
    margin: 18px 0 45px;

    font-size: clamp(2rem, 4vw, 3.2rem);

    letter-spacing: -0.03em;

    color: var(--text);
}


.quantum-next > h2 span {
    color: var(--accent);
}


.quantum-next-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

    text-align: left;
}


.quantum-next-card {
    display: block;

    padding: 30px;

    border: 1px solid rgba(70, 100, 140, 0.35);
    border-radius: 16px;

    background: rgba(4, 12, 25, 0.45);

    text-decoration: none;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}


.quantum-next-card:hover {
    transform: translateY(-4px);

    border-color: rgba(24, 200, 195, 0.55);

    background: rgba(6, 20, 34, 0.7);
}


.next-number {
    color: var(--accent);

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 2px;
}


.quantum-next-card h3 {
    margin: 18px 0 12px;

    color: var(--text);

    font-size: 1.4rem;
}


.quantum-next-card p {
    margin: 0 0 20px;

    color: #9baac2;

    font-size: 0.95rem;
    line-height: 1.6;
}


.next-link {
    color: var(--accent);

    font-size: 14px;
    font-weight: 700;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .quantum-property-card {
        grid-template-columns: 1fr;
    }

    .property-visual {
        min-height: 300px;

        border-left: none;
        border-top: 1px solid rgba(70, 100, 140, 0.25);
    }

    .quantum-next-grid {
        grid-template-columns: 1fr;
    }

    .decoherence-card {
        grid-template-columns: 70px 1fr;

        padding: 30px;
    }

}


@media (max-width: 600px) {

    .quantum-properties {
        padding-bottom: 80px;
    }

    .quantum-properties-heading {
        margin-bottom: 45px;
    }

    .quantum-properties-heading p {
        font-size: 1rem;
    }

    .property-content {
        padding: 28px 22px;
    }

    .property-content h3 {
        font-size: 2rem;
    }

    .property-visual {
        padding: 22px;

        min-height: 280px;
    }

    .bit-comparison {
        gap: 8px;
    }

    .bit-box {
        width: 44%;

        padding: 22px 10px;
    }

    .bit-circle {
        width: 75px;
        height: 75px;

        font-size: 1.1rem;
    }

    .comparison-vs {
        width: 36px;
        height: 36px;
    }

    .wave-row {
        grid-template-columns: 90px 1fr 25px;

        gap: 8px;
    }

    .wave-label {
        font-size: 9px;
    }

    .interference-points {
        grid-template-columns: 1fr;
    }

    .decoherence-card {
        grid-template-columns: 1fr;

        padding: 25px;
    }

    .decoherence-icon {
        width: 55px;
        height: 55px;
    }

}