/* =========================================================
   LEARNING LAB
   Visual Direction:
   Minimal / Editorial / Modern Learning Platform
   ========================================================= */


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

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    background: #f4f3ef;
    color: #171717;

    min-height: 100vh;

    overflow-x: hidden;
}


/* =========================
   BACKGROUND ATMOSPHERE
   ========================= */

body::before {
    content: "";

    position: fixed;

    width: 600px;
    height: 600px;

    top: -280px;
    right: -180px;

    background:
        radial-gradient(
            circle,
            rgba(130, 150, 255, 0.14),
            transparent 65%
        );

    filter: blur(30px);

    pointer-events: none;

    z-index: -1;
}


body::after {
    content: "";

    position: fixed;

    width: 500px;
    height: 500px;

    bottom: -250px;
    left: -200px;

    background:
        radial-gradient(
            circle,
            rgba(255, 190, 120, 0.10),
            transparent 65%
        );

    filter: blur(35px);

    pointer-events: none;

    z-index: -1;
}


/* =========================
   NAVBAR
   ========================= */

.navbar {

    height: 76px;

    padding: 0 6%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-bottom:
        1px solid rgba(0, 0, 0, 0.08);

    background:
        rgba(244, 243, 239, 0.72);

    backdrop-filter: blur(14px);

    position: sticky;

    top: 0;

    z-index: 20;
}


.brand {

    display: flex;

    align-items: baseline;

    gap: 10px;
}


.logo {

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 2px;
}


.brand-by {

    font-size: 10px;

    color: #999;
}


.nav-links {

    display: flex;

    align-items: center;

    gap: 28px;
}


.nav-button {

    background: none;

    border: none;

    cursor: pointer;

    font-size: 13px;

    color: #666;

    transition: 0.2s ease;
}


.nav-button:hover {

    color: #111;

    transform: translateY(-1px);
}


/* =========================
   SCREEN
   ========================= */

.screen {

    display: none;

    min-height:
        calc(100vh - 76px);
}


.screen.active {

    display: block;

    animation:
        screenIn 0.45s ease;
}


@keyframes screenIn {

    from {

        opacity: 0;

        transform:
            translateY(12px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }
}


/* =========================
   TYPOGRAPHY
   ========================= */

.eyebrow {

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2.5px;

    color: #8b8b8b;

    margin-bottom: 24px;
}


/* =========================
   HOME / HERO
   ========================= */

.hero {

    max-width: 1100px;

    margin: auto;

    padding:
        125px 30px 90px;

    position: relative;
}


.hero::after {

    content: "";

    position: absolute;

    width: 190px;

    height: 190px;

    right: 4%;

    top: 110px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.8),
            rgba(220,220,220,0.2)
        );

    box-shadow:
        0 25px 70px
        rgba(0,0,0,0.08);

    opacity: 0.8;

    animation:
        floatObject 6s ease-in-out infinite;

    pointer-events: none;
}


@keyframes floatObject {

    0%,
    100% {

        transform:
            translateY(0)
            rotate(0deg);

    }

    50% {

        transform:
            translateY(-15px)
            rotate(6deg);

    }
}


.hero h1 {

    font-size:
        clamp(65px, 10vw, 125px);

    line-height: 0.84;

    letter-spacing:
        -7px;

    font-weight: 700;

    margin-bottom: 40px;

    max-width: 700px;

    position: relative;

    z-index: 2;
}


.hero h1 br:nth-child(2) {

    color: #555;
}


.description {

    max-width: 470px;

    font-size: 18px;

    line-height: 1.7;

    color: #666;

    margin-bottom: 38px;
}


.small-note {

    font-size: 11px;

    color: #999;

    margin-top: 15px;
}


/* =========================
   BUTTONS
   ========================= */

.primary-button,
.secondary-button {

    padding:
        15px 25px;

    border-radius:
        999px;

    font-size: 13px;

    font-weight: 600;

    cursor: pointer;

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


.primary-button {

    background:
        #171717;

    color:
        white;

    border:
        1px solid #171717;

    box-shadow:
        0 8px 20px
        rgba(0,0,0,0.12);
}


.primary-button:hover {

    background:
        #2d2d2d;

    transform:
        translateY(-2px);

    box-shadow:
        0 12px 25px
        rgba(0,0,0,0.17);
}


.secondary-button {

    background:
        rgba(255,255,255,0.45);

    border:
        1px solid #cfcfcf;

    color:
        #222;
}


.secondary-button:hover {

    background:
        white;

    transform:
        translateY(-2px);
}


/* =========================
   CREATOR CREDIT
   ========================= */

.creator-credit {

    max-width:
        1100px;

    margin:
        0 auto;

    padding:
        0 30px 45px;

    display:
        flex;

    align-items:
        center;

    gap:
        8px;

    font-size:
        11px;

    color:
        #999;
}


.creator-credit strong {

    color:
        #555;

    font-weight:
        600;
}


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

.content-container {

    max-width:
        820px;

    margin:
        auto;

    padding:
        80px 30px 100px;
}


.content-container h2 {

    font-size:
        clamp(38px, 6vw, 64px);

    line-height:
        1;

    letter-spacing:
        -3px;

    margin-bottom:
        45px;
}


/* =========================
   TOPIC OPTIONS
   ========================= */

.option-group {

    display:
        grid;

    grid-template-columns:
        1fr 1fr;

    gap:
        15px;

    margin-bottom:
        40px;
}


.topic-mode {

    text-align:
        left;

    padding:
        26px;

    border:
        1px solid #ddd;

    background:
        rgba(255,255,255,0.55);

    border-radius:
        14px;

    cursor:
        pointer;

    transition:
        0.25s ease;

    position:
        relative;

    overflow:
        hidden;
}


.topic-mode::after {

    content:
        "→";

    position:
        absolute;

    right:
        20px;

    bottom:
        18px;

    color:
        #aaa;

    transition:
        0.2s ease;
}


.topic-mode:hover {

    transform:
        translateY(-4px);

    background:
        white;

    box-shadow:
        0 15px 35px
        rgba(0,0,0,0.07);
}


.topic-mode:hover::after {

    transform:
        translateX(5px);

    color:
        #111;
}


.topic-mode.selected {

    border:
        2px solid #171717;

    background:
        white;

    box-shadow:
        0 15px 35px
        rgba(0,0,0,0.06);
}


.topic-mode strong {

    display:
        block;

    margin-bottom:
        9px;

    font-size:
        15px;
}


.topic-mode span {

    color:
        #777;

    font-size:
        12px;

    line-height:
        1.5;
}


/* =========================
   FORM
   ========================= */

label {

    display:
        block;

    font-size:
        11px;

    font-weight:
        700;

    letter-spacing:
        0.5px;

    margin-bottom:
        10px;

    color:
        #555;
}


select,
input {

    width:
        100%;

    padding:
        16px;

    border:
        1px solid #d3d3d3;

    background:
        rgba(255,255,255,0.75);

    border-radius:
        10px;

    font-size:
        14px;

    margin-bottom:
        30px;

    outline:
        none;

    transition:
        0.2s ease;
}


select:focus,
input:focus {

    border-color:
        #777;

    background:
        white;

    box-shadow:
        0 0 0 4px
        rgba(0,0,0,0.04);
}


.hidden {

    display:
        none;
}


/* =========================
   DIFFICULTY
   ========================= */

.difficulty-group {

    display:
        flex;

    gap:
        8px;

    margin-bottom:
        40px;
}


.difficulty {

    padding:
        11px 19px;

    background:
        rgba(255,255,255,0.5);

    border:
        1px solid #ccc;

    border-radius:
        999px;

    cursor:
        pointer;

    font-size:
        12px;

    transition:
        0.2s ease;
}


.difficulty:hover {

    background:
        white;
}


.difficulty.selected {

    background:
        #171717;

    color:
        white;

    border-color:
        #171717;
}


/* =========================
   CHALLENGE
   ========================= */

.challenge-card {

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.95),
            rgba(245,245,242,0.85)
        );

    border:
        1px solid #ddd;

    border-radius:
        18px;

    padding:
        45px;

    margin-bottom:
        30px;

    box-shadow:
        0 20px 60px
        rgba(0,0,0,0.05);

    position:
        relative;

    overflow:
        hidden;
}


.challenge-card::before {

    content:
        "CHALLENGE";

    position:
        absolute;

    top:
        18px;

    right:
        22px;

    font-size:
        9px;

    letter-spacing:
        2px;

    color:
        #aaa;
}


.challenge-card p {

    font-size:
        clamp(18px, 3vw, 24px);

    line-height:
        1.65;
}


.session-info {

    display:
        flex;

    gap:
        70px;

    margin-bottom:
        35px;
}


.session-info span,
.result-stats span {

    display:
        block;

    font-size:
        10px;

    letter-spacing:
        1px;

    text-transform:
        uppercase;

    color:
        #999;

    margin-bottom:
        7px;
}


/* =========================
   PRACTICE TYPE
   ========================= */

.practice-type-section {
    margin-bottom: 35px;
}

.practice-type-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.practice-type {
    text-align: left;
    padding: 20px;
    border: 1px solid #d9d9d9;
    background: rgba(255,255,255,0.55);
    border-radius: 14px;
    cursor: pointer;
    transition: 0.25s ease;
}

.practice-type:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.06);
}

.practice-type.selected {
    border: 2px solid #171717;
    background: white;
    box-shadow: 0 12px 28px rgba(0,0,0,0.06);
}

.practice-type strong {
    display: block;
    font-size: 14px;
    margin-bottom: 7px;
}

.practice-type span {
    display: block;
    color: #777;
    font-size: 11px;
    line-height: 1.5;
}


/* =========================
   TIMER
   ========================= */

.timer-screen {

    min-height:
        calc(100vh - 76px);

    display:
        flex;

    flex-direction:
        column;

    justify-content:
        center;

    align-items:
        center;

    text-align:
        center;

    position:
        relative;
}


.timer-screen::before {

    content:
        "";

    position:
        absolute;

    width:
        500px;

    height:
        500px;

    border-radius:
        50%;

    border:
        1px solid
        rgba(0,0,0,0.05);

    box-shadow:
        0 0 0 60px rgba(0,0,0,0.015),
        0 0 0 120px rgba(0,0,0,0.01);

    pointer-events:
        none;
}


.big-timer {

    font-size:
        clamp(80px, 15vw, 170px);

    font-weight:
        600;

    letter-spacing:
        -8px;

    margin-bottom:
        25px;

    position:
        relative;

    z-index:
        2;
}


.timer-screen p {

    color:
        #888;

    margin-bottom:
        35px;

    position:
        relative;

    z-index:
        2;
}


.countdown-number {

    font-size:
        clamp(130px, 20vw, 220px);

    font-weight:
        700;

    letter-spacing:
        -10px;

    animation:
        countdownPulse 1s ease infinite;
}


@keyframes countdownPulse {

    0% {

        transform:
            scale(0.85);

        opacity:
            0.3;

    }

    50% {

        transform:
            scale(1);

        opacity:
            1;

    }

    100% {

        transform:
            scale(1.05);

        opacity:
            0.7;

    }
}


.recording-label {

    color:
        #b00020;

    animation:
        recordingPulse 1.5s infinite;
}


@keyframes recordingPulse {

    0%,
    100% {

        opacity:
            1;

    }

    50% {

        opacity:
            0.45;

    }
}


/* =========================
   RESULT
   ========================= */

.result-stats {

    display:
        grid;

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

    gap:
        1px;

    background:
        #ddd;

    border:
        1px solid #ddd;

    border-radius:
        14px;

    overflow:
        hidden;

    margin-bottom:
        45px;
}


.result-stats div {

    background:
        rgba(255,255,255,0.7);

    padding:
        25px;
}


.result-stats strong {

    font-size:
        24px;
}


.result-section {

    margin-bottom:
        35px;
}


.result-section h3 {

    font-size:
        13px;

    letter-spacing:
        1px;

    margin-bottom:
        15px;
}


.transcript-box,
.summary-box {

    background:
        rgba(255,255,255,0.7);

    border:
        1px solid #ddd;

    padding:
        28px;

    border-radius:
        14px;

    line-height:
        1.8;

    color:
        #555;
}


.result-actions {

    display:
        flex;

    gap:
        10px;

    margin-top:
        45px;
}


/* =========================
   ABOUT
   ========================= */

.about-container {

    max-width:
        900px;
}


.about-container h2 {

    max-width:
        780px;

    font-size:
        clamp(45px, 7vw, 80px);

    line-height:
        0.95;

    letter-spacing:
        -4px;
}


.about-text {

    max-width:
        650px;

    color:
        #666;

    font-size:
        17px;

    line-height:
        1.8;

    margin-bottom:
        25px;
}


/* =========================
   CREATOR CARD
   ========================= */

.creator-card {

    margin:
        55px 0 35px;

    padding:
        35px;

    background:
        white;

    border:
        1px solid #ddd;

    border-radius:
        18px;

    box-shadow:
        0 20px 50px
        rgba(0,0,0,0.05);
}


.creator-card span {

    display:
        block;

    font-size:
        9px;

    letter-spacing:
        2px;

    color:
        #999;

    margin-bottom:
        12px;
}


.creator-card strong {

    display:
        block;

    font-size:
        26px;

    margin-bottom:
        10px;
}


.creator-card p {

    color:
        #777;

    font-size:
        14px;

    margin-bottom:
        25px;
}


.portfolio-link {

    color:
        #171717;

    font-size:
        13px;

    font-weight:
        700;

    text-decoration:
        none;
}


.portfolio-link:hover {

    text-decoration:
        underline;
}


/* =========================
   FOOTER
   ========================= */

.footer {

    border-top:
        1px solid #ddd;

    padding:
        25px 6%;

    display:
        flex;

    justify-content:
        space-between;

    font-size:
        10px;

    color:
        #999;

    background:
        rgba(244,243,239,0.8);
}


.footer a {

    color:
        #555;

    text-decoration:
        none;
}


.footer a:hover {

    text-decoration:
        underline;
}


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

@media (max-width: 650px) {

    .practice-type-group {
        grid-template-columns: 1fr;
    }



    .navbar {

        padding:
            0 20px;

    }


    .brand-by {

        display:
            none;

    }


    .nav-links {

        gap:
            15px;

    }


    .hero {

        padding:
            90px 25px 70px;

    }


    .hero::after {

        width:
            100px;

        height:
            100px;

        right:
            10px;

        top:
            70px;

    }


    .hero h1 {

        font-size:
            70px;

        letter-spacing:
            -4px;

    }


    .option-group {

        grid-template-columns:
            1fr;

    }


    .content-container {

        padding:
            60px 25px 80px;

    }


    .content-container h2 {

        font-size:
            38px;

    }


    .challenge-card {

        padding:
            30px;

    }


    .session-info {

        gap:
            30px;

    }


    .result-actions {

        flex-direction:
            column;

    }


    .footer {

        flex-direction:
            column;

        gap:
            10px;

    }

}
.recording-label {
    color: #b00020;
    animation: recordingPulse 1.2s infinite;
}

@keyframes recordingPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.35;
    }

}

#recordedAudioPlayer {
    display: block;
}