/* =========================================
   NAVBAR
========================================= */
#profile-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

#profile-modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 500px;
    padding: 32px;
    border-radius: 18px;
    background: #14141c;
    color: white;
}

#profile-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    border: none;
    background: transparent;
    color: white;
    font-size: 28px;
    cursor: pointer;
}

#profile-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 24px;
}

#profile-form input {
    padding: 11px 13px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.05);
    color: white;
    margin-bottom: 10px;
}

#athleteSaveBtn {
    margin-top: 10px;
    padding: 11px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}
.second-navbar {
    height: 76px;
    padding: 0;

    background: rgba(7, 11, 26);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}


/* Main navbar container */

.second-navbar > .container-fluid {
    height: 100%;
    display: flex;
    align-items: center;
}


/* =========================================
   LOGO
========================================= */

.second-logo {
    display: inline-flex !important;
    align-items: center;

    margin: 0 !important;
    padding: 0 !important;

    color: #f4f7ff !important;

    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1.8px;

    white-space: nowrap;
    text-decoration: none;
}

.logo-accent {
    margin-left: 5px;

    background: linear-gradient(
        90deg,
        #4f8cff,
        #9b5cff
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* =========================================
   NAVIGATION
========================================= */

.second-navbar .navbar-collapse {
    height: 100%;
    align-items: center;
}

.second-navbar .navbar-nav {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
}

.second-navbar .nav-item {
    height: 100%;
    display: flex;
    align-items: center;
}

.second-navbar .nav-link {
    position: relative;

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

    height: 100%;
    padding: 0 17px !important;

    color: #9aa3bb !important;

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

    letter-spacing: 0.15px;

    transition:
        color 0.3s ease,
        text-shadow 0.3s ease;
}


/* =========================================
   HOVER
========================================= */

.second-navbar .nav-link:hover {
    color: #ffffff !important;

    text-shadow:
        0 0 12px rgba(155, 92, 255, 0.65);
}


/* Purple animated line */

.second-navbar .nav-link::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 9px;

    width: 0;
    height: 2px;

    border-radius: 10px;

    background: linear-gradient(
        90deg,
        #4f8cff,
        #9b5cff,
        #b58cff
    );

    box-shadow:
        0 0 8px rgba(155, 92, 255, 0.7),
        0 0 16px rgba(155, 92, 255, 0.35);

    transform: translateX(-50%);

    transition:
        width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.35s ease;
}


/* Animate on hover */

.second-navbar .nav-link:hover::after {
    width: 65%;
}


/* =========================================
   ACTIVE TAB
========================================= */

.second-navbar .nav-link.active {
    color: #ffffff !important;

    text-shadow:
        0 0 10px rgba(79, 140, 255, 0.35);
}

.second-navbar .nav-link.active::after {
    width: 0;
}


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

@media (max-width: 991px) {

    .second-navbar .navbar-nav {
        height: auto;
        align-items: flex-start;
        gap: 2px;
        padding: 20px 0;
    }

    .second-navbar .nav-item {
        height: auto;
    }

    .second-navbar .nav-link {
        height: auto;
        justify-content: flex-start;

        padding: 10px 0 !important;

        font-size: 14px;
    }

    .second-navbar .nav-link::after,
    .second-navbar .nav-link:hover::after {
        display: none;
    }
}

/* Active indicator */

.second-navbar .nav-link.active::after {
    content: "";

    position: absolute;

    left: 14px;
    right: 14px;
    bottom: 0;

    height: 2px;

    background: linear-gradient(
        90deg,
        #4f8cff,
        #9b5cff
    );

    box-shadow:
        0 0 12px rgba(79, 140, 255, 0.5);
}


/* =========================================
   RIGHT SIDE
========================================= */

.navbar-actions {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-left: auto;
}


/* AI */

.ai-button {
    height: 38px;

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

    padding: 0 16px;

    border: 1px solid rgba(155, 92, 255, 0.3);
    border-radius: 50px;

    background: linear-gradient(
        135deg,
        rgba(79, 140, 255, 0.08),
        rgba(155, 92, 255, 0.08)
    );

    color: #bca9ff;

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

    text-decoration: none;

    white-space: nowrap;

    transition: all 0.25s ease;
}

.ai-button:hover {
    color: #ffffff;

    background: linear-gradient(
        135deg,
        #4f8cff,
        #9b5cff
    );

    border-color: transparent;
}


/* Profile */

.profile-button {
    width: 38px;
    height: 38px;

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

    border-radius: 50%;

    border: 1px solid rgba(255, 255, 255, 0.09);

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

    color: #ffffff;

    text-decoration: none;

    transition: all 0.25s ease;
}

.profile-button:hover {
    border-color: rgba(79, 140, 255, 0.5);

    color: #70a7ff;
}


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

@media (max-width: 991px) {

    .second-navbar {
        height: auto;
        min-height: 70px;
        padding: 15px 0;
    }

    .second-navbar .navbar-collapse {
        height: auto;
    }

    .second-navbar .navbar-nav {
        height: auto;
        align-items: flex-start;

        padding: 20px 0;
    }

    .second-navbar .nav-item {
        height: auto;
    }

    .second-navbar .nav-link {
        height: auto;
        padding: 10px 0 !important;
    }

    .second-navbar .nav-link.active::after {
        display: none;
    }

    .navbar-actions {
        margin-left: 0;
        padding-bottom: 5px;
    }
}
/* =========================================
   SECOND WIND HERO
========================================= */

.sw-hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 75% 40%,
            rgba(79, 140, 255, .14),
            transparent 25%
        ),
        radial-gradient(
            circle at 85% 65%,
            rgba(155, 92, 255, .16),
            transparent 30%
        ),
        #070B1A;
}


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

.sw-grid {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255,255,255,.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.025) 1px,
            transparent 1px
        );

    background-size: 60px 60px;

    mask-image: linear-gradient(
        to bottom,
        black,
        transparent 90%
    );
}


/* =========================================
   GLOWS
========================================= */

.sw-glow {
    position: absolute;

    border-radius: 50%;

    filter: blur(100px);

    pointer-events: none;
}

.sw-glow-blue {
    width: 420px;
    height: 420px;

    top: 20%;
    right: 15%;

    background: rgba(79,140,255,.12);

    animation: glowMove 8s ease-in-out infinite;
}

.sw-glow-purple {
    width: 350px;
    height: 350px;

    bottom: 5%;
    right: 30%;

    background: rgba(155,92,255,.12);

    animation: glowMove 10s ease-in-out infinite reverse;
}

@keyframes glowMove {

    0%,100% {
        transform: translate(0,0) scale(1);
    }

    50% {
        transform: translate(30px,-25px) scale(1.15);
    }

}


/* =========================================
   PARTICLES
========================================= */

.particles span {
    position: absolute;

    width: 3px;
    height: 3px;

    border-radius: 50%;

    background: #7ca9ff;

    box-shadow:
        0 0 10px #4f8cff;

    animation: particleFloat 7s linear infinite;
}

.particles span:nth-child(1) {
    top: 20%;
    left: 15%;
}

.particles span:nth-child(2) {
    top: 40%;
    left: 35%;
    animation-delay: 1s;
}

.particles span:nth-child(3) {
    top: 15%;
    right: 30%;
    animation-delay: 2s;
}

.particles span:nth-child(4) {
    top: 65%;
    right: 15%;
    animation-delay: 3s;
}

.particles span:nth-child(5) {
    bottom: 20%;
    left: 25%;
    animation-delay: 4s;
}

.particles span:nth-child(6) {
    top: 30%;
    right: 5%;
    animation-delay: 1.5s;
}

.particles span:nth-child(7) {
    bottom: 35%;
    right: 40%;
    animation-delay: 2.5s;
}

.particles span:nth-child(8) {
    top: 70%;
    left: 8%;
    animation-delay: 3.5s;
}

.particles span:nth-child(9) {
    top: 10%;
    left: 55%;
    animation-delay: 4.5s;
}

.particles span:nth-child(10) {
    bottom: 15%;
    right: 25%;
    animation-delay: 5s;
}

@keyframes particleFloat {

    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    30% {
        opacity: 1;
    }

    70% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateY(-80px);
    }

}


/* =========================================
   HERO LAYOUT
========================================= */

.sw-hero-row {
    min-height: 680px;
    padding-top: 110px;
}


/* =========================================
   EYEBROW
========================================= */

.sw-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 8px 14px;

    border: 1px solid rgba(79,140,255,.25);
    border-radius: 50px;

    background: rgba(79,140,255,.06);

    color: #9ebdff;

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

    letter-spacing: 1.8px;
}

.pulse-dot {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #7c5cff;

    box-shadow:
        0 0 10px #9b5cff;

    animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {

    0%,100% {
        opacity: .5;
        transform: scale(.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.3);
    }

}


/* =========================================
   HERO TITLE
========================================= */

.sw-hero-title {
    margin-top: 25px;
    margin-bottom: 25px;

    font-size: clamp(3.2rem, 6vw, 6.5rem);

    line-height: .98;

    font-weight: 800;

    letter-spacing: -4px;

    color: #f5f7ff;
}

.sw-hero-title span {
    background:
        linear-gradient(
            90deg,
            #4f8cff,
            #8d6aff,
            #c05cff
        );

    background-size: 200% auto;

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    animation: gradientText 4s ease infinite;
}

@keyframes gradientText {

    0%,100% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }

}


/* =========================================
   DESCRIPTION
========================================= */

.sw-hero-text {
    max-width: 600px;

    color: #929bb3;

    font-size: 15px;

    line-height: 1.8;
}


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

.sw-hero-buttons {
    display: flex;
    gap: 12px;

    margin-top: 32px;
}

.sw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-height: 50px;

    padding: 0 24px;

    border-radius: 12px;

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

    text-decoration: none;

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

.sw-btn-primary {
    color: white;

    background:
        linear-gradient(
            135deg,
            #4f8cff,
            #9b5cff
        );

    box-shadow:
        0 10px 30px rgba(79,140,255,.2);
}

.sw-btn-primary:hover {
    color: white;

    transform: translateY(-4px);

    box-shadow:
        0 15px 40px rgba(79,140,255,.35),
        0 0 30px rgba(155,92,255,.2);
}

.sw-btn-secondary {
    color: #e4e8f5;

    border: 1px solid rgba(155,92,255,.4);

    background: rgba(155,92,255,.04);
}

.sw-btn-secondary:hover {
    color: white;

    border-color: #9b5cff;

    background: rgba(155,92,255,.1);

    transform: translateY(-4px);

    box-shadow:
        0 10px 30px rgba(155,92,255,.15);
}


/* =========================================
   TRUST
========================================= */

.sw-trust {
    display: flex;
    align-items: center;

    gap: 15px;

    margin-top: 40px;
}

.trust-avatars {
    display: flex;
}

.trust-avatars div {
    width: 34px;
    height: 34px;

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

    margin-left: -7px;

    border-radius: 50%;

    background: #121a35;

    border: 2px solid #070b1a;

    font-size: 15px;
}

.trust-avatars div:first-child {
    margin-left: 0;
}

.sw-trust strong {
    display: block;

    color: #e7eaf3;

    font-size: 12px;
}

.sw-trust small {
    color: #667089;

    font-size: 10px;
}


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

.sw-visual {
    position: relative;

    height: 560px;

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


/* =========================================
   ORB
========================================= */

.energy-orb {
    position: relative;

    width: 320px;
    height: 320px;

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

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(79,140,255,.15),
            rgba(155,92,255,.05) 45%,
            transparent 70%
        );

    animation: orbFloat 5s ease-in-out infinite;
}

@keyframes orbFloat {

    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

}

.orb-ring {
    position: absolute;

    border-radius: 50%;

    border: 1px solid rgba(79,140,255,.25);
}

.orb-ring-1 {
    inset: 0;

    animation: spin 15s linear infinite;
}

.orb-ring-2 {
    inset: 25px;

    border-color: rgba(155,92,255,.35);
    border-style: dashed;

    animation: spinReverse 11s linear infinite;
}

.orb-ring-3 {
    inset: 55px;

    border-color: rgba(112,167,255,.18);

    animation: spin 20s linear infinite;
}

@keyframes spin {

    to {
        transform: rotate(360deg);
    }

}

@keyframes spinReverse {

    to {
        transform: rotate(-360deg);
    }

}


/* Core */

.orb-core {
    width: 175px;
    height: 175px;

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

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 30% 20%,
            #19234a,
            #0b1026
        );

    border: 1px solid rgba(155,92,255,.35);

    box-shadow:
        inset 0 0 35px rgba(79,140,255,.08),
        0 0 50px rgba(79,140,255,.12);
}

.orb-core span {
    color: #78839f;

    font-size: 9px;
    letter-spacing: 2px;
}

.orb-core strong {
    margin-top: 3px;

    font-size: 58px;
    line-height: 1;

    background:
        linear-gradient(
            135deg,
            #70a7ff,
            #b58cff
        );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.orb-core small {
    color: #667089;
    font-size: 10px;
}

.orb-core em {
    margin-top: 8px;

    color: #a88cff;

    font-size: 10px;
    font-style: normal;
}


/* =========================================
   ENERGY TRAILS
========================================= */

.energy-trail {
    position: absolute;

    width: 420px;
    height: 90px;

    border-top: 2px solid rgba(79,140,255,.25);

    border-radius: 50%;

    transform: rotate(-18deg);

    filter: blur(1px);

    animation: trailMove 4s ease-in-out infinite;
}

.trail-1 {
    right: 5%;
    top: 42%;
}

.trail-2 {
    right: 0;
    top: 50%;

    border-color: rgba(155,92,255,.3);

    animation-delay: 1s;
}

.trail-3 {
    right: 8%;
    top: 58%;

    border-color: rgba(112,167,255,.2);

    animation-delay: 2s;
}

@keyframes trailMove {

    0%,100% {
        transform: rotate(-18deg) translateX(0);
        opacity: .5;
    }

    50% {
        transform: rotate(-18deg) translateX(20px);
        opacity: 1;
    }

}


/* =========================================
   DATA CARDS
========================================= */

.sw-data-card {
    position: absolute;

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

    padding: 14px 16px;

    min-width: 185px;

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            rgba(17,25,53,.88),
            rgba(11,16,38,.82)
        );

    border: 1px solid rgba(255,255,255,.09);

    backdrop-filter: blur(18px);

    box-shadow:
        0 20px 50px rgba(0,0,0,.3);

    z-index: 3;

    transition:
        transform .3s ease,
        border-color .3s ease;
}

.sw-data-card:hover {
    border-color: rgba(155,92,255,.5);

    transform: translateY(-6px) scale(1.02);
}

.data-icon {
    width: 36px;
    height: 36px;

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

    border-radius: 10px;

    font-size: 17px;
}

.heart-icon {
    color: #ff72a5;
    background: rgba(255,80,140,.1);
}

.sleep-icon {
    color: #a88cff;
    background: rgba(155,92,255,.1);
}

.performance-icon {
    color: #70a7ff;
    background: rgba(79,140,255,.1);
}

.sw-data-card small {
    display: block;

    color: #737e99;

    font-size: 9px;
}

.sw-data-card strong {
    color: #f4f6ff;

    font-size: 15px;
}

.sw-data-card strong span {
    color: #6d7790;
    font-size: 8px;
}


/* Card positions */

.card-heart {
    top: 75px;
    right: 0;

    animation: cardFloat 5s ease-in-out infinite;
}

.card-sleep {
    bottom: 80px;
    right: 5%;

    animation: cardFloat 6s ease-in-out infinite reverse;
}

.card-performance {
    bottom: 145px;
    left: 0;

    animation: cardFloat 4s ease-in-out infinite;
}

@keyframes cardFloat {

    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

}


/* =========================================
   MINI CHART
========================================= */

.mini-chart {
    display: flex;
    align-items: flex-end;

    gap: 3px;

    height: 25px;

    margin-left: auto;
}

.mini-chart i {
    width: 3px;

    border-radius: 3px;

    background: linear-gradient(
        to top,
        #4f8cff,
        #9b5cff
    );

    animation: bars 1.5s ease-in-out infinite alternate;
}

.mini-chart i:nth-child(1) {
    height: 8px;
}

.mini-chart i:nth-child(2) {
    height: 15px;
    animation-delay: .1s;
}

.mini-chart i:nth-child(3) {
    height: 11px;
    animation-delay: .2s;
}

.mini-chart i:nth-child(4) {
    height: 21px;
    animation-delay: .3s;
}

.mini-chart i:nth-child(5) {
    height: 14px;
    animation-delay: .4s;
}

.mini-chart i:nth-child(6) {
    height: 23px;
    animation-delay: .5s;
}

@keyframes bars {

    from {
        opacity: .4;
        transform: scaleY(.7);
    }

    to {
        opacity: 1;
        transform: scaleY(1);
    }

}


/* =========================================
   SLEEP BARS
========================================= */

.sleep-bars {
    display: flex;

    align-items: flex-end;

    gap: 3px;

    height: 22px;

    margin-left: auto;
}

.sleep-bars i {
    width: 3px;

    background: #8f6aff;

    border-radius: 2px;

    animation: sleepBars 1.8s ease-in-out infinite alternate;
}

.sleep-bars i:nth-child(1) {
    height: 7px;
}

.sleep-bars i:nth-child(2) {
    height: 13px;
}

.sleep-bars i:nth-child(3) {
    height: 18px;
}

.sleep-bars i:nth-child(4) {
    height: 11px;
}

.sleep-bars i:nth-child(5) {
    height: 20px;
}

.sleep-bars i:nth-child(6) {
    height: 15px;
}

.sleep-bars i:nth-child(7) {
    height: 9px;
}

@keyframes sleepBars {

    from {
        opacity: .35;
    }

    to {
        opacity: 1;
    }

}


/* =========================================
   FEATURE CARDS
========================================= */
/* =========================================
   FEATURE CARDS — PREMIUM VERSION
========================================= */

.sw-feature-row {
    position: relative;
    margin-bottom: 45px;
}


/* CARD */

.sw-feature-card {
    position: relative;

    min-height: 205px;

    padding: 23px;

    overflow: hidden;

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            rgba(17, 27, 58, .92),
            rgba(9, 14, 33, .95)
        );

    border: 1px solid rgba(255, 255, 255, .07);

    backdrop-filter: blur(18px);

    box-shadow:
        0 15px 45px rgba(0, 0, 0, .22);

    transform-style: preserve-3d;

    transition:
        transform .25s ease,
        border-color .35s ease,
        box-shadow .35s ease;
}


/* Animated glow layer */

.sw-feature-card::before {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    top: -120px;
    left: -120px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(79, 140, 255, .16),
            transparent 70%
        );

    transition:
        transform .5s ease,
        opacity .5s ease;

    pointer-events: none;
}


/* Purple gradient border */

.sw-feature-card::after {
    content: "";

    position: absolute;

    inset: 0;

    border-radius: 20px;

    padding: 1px;

    background:
        linear-gradient(
            135deg,
            transparent 25%,
            rgba(79, 140, 255, .5),
            rgba(155, 92, 255, .5),
            transparent 75%
        );

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite: xor;

    mask-composite: exclude;

    opacity: 0;

    transition: opacity .35s ease;

    pointer-events: none;
}


/* Hover */

.sw-feature-card:hover {
    border-color: rgba(155, 92, 255, .3);

    box-shadow:
        0 25px 60px rgba(0, 0, 0, .35),
        0 0 30px rgba(79, 140, 255, .08);
}

.sw-feature-card:hover::before {
    transform: translate(130px, 130px);
}

.sw-feature-card:hover::after {
    opacity: 1;
}


/* =========================================
   TOP
========================================= */

.feature-top {
    position: relative;
    z-index: 2;

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


/* =========================================
   ICON
========================================= */

.feature-symbol {
    width: 48px;
    height: 48px;

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

    border-radius: 14px;

    font-size: 21px;

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.feature-symbol.blue {
    color: #70a7ff;

    background:
        linear-gradient(
            135deg,
            rgba(79, 140, 255, .15),
            rgba(79, 140, 255, .04)
        );
}

.feature-symbol.purple {
    color: #b58cff;

    background:
        linear-gradient(
            135deg,
            rgba(155, 92, 255, .16),
            rgba(155, 92, 255, .04)
        );
}

.sw-feature-card:hover .feature-symbol {
    transform:
        translateZ(20px)
        scale(1.1)
        rotate(-4deg);

    box-shadow:
        0 0 25px rgba(155, 92, 255, .15);
}


/* =========================================
   STATUS
========================================= */

.feature-status {
    padding: 5px 9px;

    border-radius: 20px;

    color: #7ea9ff;

    background: rgba(79, 140, 255, .08);

    border: 1px solid rgba(79, 140, 255, .15);

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

    letter-spacing: 1px;
}

.feature-status::before {
    content: "";

    display: inline-block;

    width: 5px;
    height: 5px;

    margin-right: 5px;

    border-radius: 50%;

    background: #4f8cff;

    box-shadow: 0 0 8px #4f8cff;

    animation: statusPulse 1.7s infinite;
}

.ai-status {
    color: #b58cff;

    background: rgba(155, 92, 255, .08);

    border-color: rgba(155, 92, 255, .18);
}

.ai-status::before {
    background: #9b5cff;
    box-shadow: 0 0 8px #9b5cff;
}

@keyframes statusPulse {

    0%, 100% {
        opacity: .4;
        transform: scale(.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.15);
    }

}


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

.feature-content {
    position: relative;
    z-index: 2;

    margin-top: 20px;
}

.sw-feature-card h4 {
    margin: 0 0 9px;

    color: #f1f4ff;

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

    letter-spacing: -.2px;
}

.sw-feature-card p {
    max-width: 250px;

    margin: 0;

    color: #8994ae;

    font-size: 12px;
    line-height: 1.7;
}


/* =========================================
   BOTTOM
========================================= */

.feature-bottom {
    position: absolute;

    left: 23px;
    right: 23px;
    bottom: 19px;

    z-index: 2;

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

    color: #69748e;

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

    transition: color .3s ease;
}

.sw-feature-card:hover .feature-bottom {
    color: #a58cff;
}


/* Arrow */

.feature-arrow {
    font-size: 17px;

    color: #66718b;

    transition:
        transform .3s ease,
        color .3s ease;
}

.sw-feature-card:hover .feature-arrow {
    color: #b58cff;

    transform:
        translateX(6px);
}


/* =========================================
   REVEAL ANIMATION
========================================= */

.reveal {
    opacity: 0;

    transform: translateY(30px);

    animation: revealIn .9s ease forwards;
}

.sw-hero-content {
    animation-delay: .15s;
}

.sw-visual {
    animation-delay: .35s;
}

.sw-feature-row {
    animation-delay: .55s;
}

@keyframes revealIn {

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================
   SCROLL
========================================= */

.sw-scroll {
    position: absolute;

    bottom: 20px;
    left: 50%;

    transform: translateX(-50%);

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

    color: #555f78;

    font-size: 9px;

    letter-spacing: 1px;
}

.sw-scroll span {
    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: #9b5cff;

    box-shadow:
        0 0 10px #9b5cff;

    animation: scrollPulse 1.5s infinite;
}

@keyframes scrollPulse {

    0%,100% {
        opacity: .3;
    }

    50% {
        opacity: 1;
    }

}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 991px) {

    .sw-hero-row {
        padding-top: 130px;
        padding-bottom: 50px;
    }

    .sw-hero-title {
        font-size: clamp(3rem, 10vw, 5rem);
    }

    .sw-visual {
        height: 450px;
        margin-top: 40px;
    }

    .energy-orb {
        width: 270px;
        height: 270px;
    }

    .card-heart {
        right: 5%;
    }

    .card-performance {
        left: 5%;
    }

}


@media (max-width: 575px) {

    .sw-hero-title {
        font-size: 3rem;
        letter-spacing: -2px;
    }

    .sw-hero-buttons {
        flex-direction: column;
    }

    .sw-btn {
        width: 100%;
    }

    .sw-data-card {
        transform: scale(.85);
    }

    .card-heart {
        right: -20px;
    }

    .card-sleep {
        right: -25px;
    }

    .card-performance {
        left: -25px;
    }

}
/* =========================================
   LIVE ACTIVITY TICKER
========================================= */

.sw-activity-wrap {
    position: relative;

    display: flex;
    align-items: center;

    width: 100%;

    margin-top: 5px;
    margin-bottom: 35px;

    min-height: 58px;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, .07);

    border-radius: 15px;

    background:
        linear-gradient(
            90deg,
            rgba(13, 20, 45, .96),
            rgba(11, 16, 37, .92)
        );

    box-shadow:
        0 15px 40px rgba(0, 0, 0, .18);

    backdrop-filter: blur(15px);
}


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

.sw-activity-label {
    position: relative;
    z-index: 5;

    flex-shrink: 0;

    height: 100%;

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

    padding: 0 20px;

    border-right: 1px solid rgba(255,255,255,.07);

    background:
        linear-gradient(
            90deg,
            #0d142d,
            rgba(13,20,45,.8)
        );

    color: #aab4cb;

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

    letter-spacing: 1.5px;
}


/* Dot */

.activity-dot {
    width: 6px;
    height: 6px;

    flex-shrink: 0;

    border-radius: 50%;

    background: #4f8cff;

    box-shadow:
        0 0 8px #4f8cff,
        0 0 16px rgba(155,92,255,.5);

    animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {

    0%,100% {
        opacity: .4;
        transform: scale(.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.15);
    }

}


/* =========================================
   SCROLL WINDOW
========================================= */

.sw-activity-window {
    position: relative;

    flex: 1;

    overflow: hidden;

    height: 58px;

    display: flex;
    align-items: center;
}


/* Fade edges */

.sw-activity-window::before,
.sw-activity-window::after {
    content: "";

    position: absolute;

    top: 0;
    bottom: 0;

    width: 70px;

    z-index: 3;

    pointer-events: none;
}

.sw-activity-window::before {
    left: 0;

    background:
        linear-gradient(
            90deg,
            #0d142d,
            transparent
        );
}

.sw-activity-window::after {
    right: 0;

    background:
        linear-gradient(
            270deg,
            #0b1026,
            transparent
        );
}


/* =========================================
   TRACK
========================================= */

.sw-activity-track {
    display: flex;
    align-items: center;

    width: max-content;

    white-space: nowrap;

    animation:
        activityScroll 28s linear infinite;
}


/* Pause when hovering */

.sw-activity-wrap:hover .sw-activity-track {
    animation-play-state: paused;
}


/* =========================================
   ACTIVITY ITEM
========================================= */

.activity-item {
    display: flex;
    align-items: center;

    gap: 9px;

    padding: 0 22px;

    color: #8791aa;

    font-size: 11px;
}

.activity-item strong {
    color: #d8dded;

    font-size: 11px;
    font-weight: 600;
}


/* =========================================
   ICON
========================================= */

.activity-icon {
    width: 25px;
    height: 25px;

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

    border-radius: 7px;

    font-size: 11px;
}

.activity-icon.blue {
    color: #72a5ff;

    background:
        rgba(79,140,255,.1);
}

.activity-icon.purple {
    color: #b18cff;

    background:
        rgba(155,92,255,.1);
}


/* =========================================
   SEPARATOR
========================================= */

.activity-separator {
    color: #343c55;

    font-size: 6px;

    opacity: .8;
}


/* =========================================
   ANIMATION
========================================= */

@keyframes activityScroll {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}


/* =========================================
   HOVER GLOW
========================================= */

.sw-activity-wrap:hover {
    border-color:
        rgba(155,92,255,.22);

    box-shadow:
        0 15px 45px rgba(0,0,0,.25),
        0 0 30px rgba(155,92,255,.05);
}


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

@media (max-width: 767px) {

    .sw-activity-label {
        padding: 0 13px;

        font-size: 8px;
    }

    .activity-item {
        padding: 0 15px;

        font-size: 10px;
    }

    .activity-item strong {
        font-size: 10px;
    }

}
/* ========================================= 
   SECOND WIND — DASHBOARD 
========================================= */ 
 
.sw-dashboard { 
    position: relative; 
    min-height: 100vh; 
    padding: 100px 0 80px; 
    overflow: hidden; 
 
    background: 
        radial-gradient( 
            circle at 15% 15%, 
            rgba(79, 140, 255, .08), 
            transparent 30% 
        ), 
        radial-gradient( 
            circle at 85% 40%, 
            rgba(155, 92, 255, .08), 
            transparent 32% 
        ), 
        #070b1a; 
 
    color: #edf1ff; 
} 
 
 
/* Subtle dashboard grid */ 
 
.sw-dashboard::before { 
    content: ""; 
 
    position: absolute; 
    inset: 0; 
 
    background-image: 
        linear-gradient( 
            rgba(255,255,255,.018) 1px, 
            transparent 1px 
        ), 
        linear-gradient( 
            90deg, 
            rgba(255,255,255,.018) 1px, 
            transparent 1px 
        ); 
 
    background-size: 55px 55px; 
 
    mask-image: linear-gradient( 
        to bottom, 
        black, 
        transparent 90% 
    ); 
 
    pointer-events: none; 
} 
 
 
/* ========================================= 
   HEADER 
========================================= */ 
 
.dashboard-header { 
    position: relative; 
    z-index: 2; 
 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-end; 
 
    margin-bottom: 32px; 
} 
 
.dashboard-eyebrow { 
    margin-bottom: 10px; 
 
    color: #7082aa; 
 
    font-size: 9px; 
    font-weight: 700; 
 
    letter-spacing: 2px; 
} 
 
.dashboard-header h2 { 
    margin: 0; 
 
    color: #f5f7ff; 
 
    font-size: clamp(2rem, 4vw, 3.5rem); 
    font-weight: 750; 
 
    letter-spacing: -2px; 
} 
 
.dashboard-header h2 span { 
    background: 
        linear-gradient( 
            90deg, 
            #4f8cff, 
            #9b5cff 
        ); 
 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
} 
 
.dashboard-header p { 
    max-width: 600px; 
 
    margin: 12px 0 0; 
 
    color: #77829d; 
 
    font-size: 13px; 
    line-height: 1.7; 
} 
 
.dashboard-date { 
    min-width: 110px; 
 
    padding: 14px 18px; 
 
    text-align: right; 
 
    border: 1px solid rgba(255,255,255,.08); 
    border-radius: 14px; 
 
    background: 
        rgba(17,25,53,.5); 
 
    backdrop-filter: blur(18px); 
} 
 
.dashboard-date span { 
    display: block; 
 
    color: #68738e; 
 
    font-size: 8px; 
    letter-spacing: 1.5px; 
} 
 
.dashboard-date strong { 
    display: block; 
 
    margin-top: 3px; 
 
    color: #dfe5f7; 
 
    font-size: 14px; 
} 
 
 
/* ========================================= 
   METRIC CARDS 
========================================= */ 
 
.dashboard-metrics { 
    position: relative; 
    z-index: 2; 
} 
 
.dashboard-metric { 
    position: relative; 
 
    min-height: 175px; 
 
    padding: 22px; 
 
    overflow: hidden; 
 
    border: 1px solid rgba(255,255,255,.075); 
    border-radius: 20px; 
 
    background: 
        linear-gradient( 
            145deg, 
            rgba(20,30,62,.72), 
            rgba(10,16,37,.68) 
        ); 
 
    backdrop-filter: blur(22px); 
    -webkit-backdrop-filter: blur(22px); 
 
    box-shadow: 
        inset 0 1px 0 rgba(255,255,255,.04), 
        0 20px 50px rgba(0,0,0,.2); 
 
    transition: 
        transform .3s ease, 
        border-color .3s ease, 
        box-shadow .3s ease; 
} 
 
 
/* Glow */ 
 
.dashboard-metric::before { 
    content: ""; 
 
    position: absolute; 
 
    width: 170px; 
    height: 170px; 
 
    top: -110px; 
    right: -80px; 
 
    border-radius: 50%; 
 
    background: 
        radial-gradient( 
            circle, 
            rgba(155,92,255,.16), 
            transparent 70% 
        ); 
 
    transition: transform .5s ease; 
} 
 
.dashboard-metric:hover { 
    transform: translateY(-6px); 
 
    border-color: 
        rgba(155,92,255,.28); 
 
    box-shadow: 
        inset 0 1px 0 rgba(255,255,255,.05), 
        0 25px 60px rgba(0,0,0,.3), 
        0 0 35px rgba(79,140,255,.05); 
} 
 
.dashboard-metric:hover::before { 
    transform: translate(-30px,100px); 
} 
 
 
/* ========================================= 
   METRIC TOP 
========================================= */ 
 
.metric-top { 
    position: relative; 
    z-index: 2; 
 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
 
    color: #8792ad; 
 
    font-size: 11px; 
    font-weight: 600; 
} 
 
.metric-icon { 
    width: 36px; 
    height: 36px; 
 
    display: flex; 
    align-items: center; 
    justify-content: center; 
 
    border-radius: 11px; 
 
    font-size: 15px; 
} 
 
.metric-icon.blue { 
    color: #72a5ff; 
    background: rgba(79,140,255,.1); 
} 
 
.metric-icon.purple { 
    color: #b18cff; 
    background: rgba(155,92,255,.1); 
} 
 
 
/* ========================================= 
   VALUE 
========================================= */ 
 
.metric-value { 
    position: relative; 
    z-index: 2; 
 
    margin-top: 20px; 
 
    color: #f4f6ff; 
 
    font-size: 30px; 
    font-weight: 700; 
 
    letter-spacing: -1px; 
} 
 
.metric-value span { 
    margin-left: 3px; 
 
    color: #68748f; 
 
    font-size: 12px; 
    font-weight: 500; 
} 
 
 
/* ========================================= 
   PROGRESS 
========================================= */ 
 
.metric-progress { 
    position: relative; 
 
    height: 5px; 
 
    margin-top: 17px; 
 
    overflow: hidden; 
 
    border-radius: 10px; 
 
    background: rgba(255,255,255,.06); 
} 
 
.metric-progress div { 
    height: 100%; 
 
    border-radius: inherit; 
 
    background: 
        linear-gradient( 
            90deg, 
            #815dff, 
            #b06aff 
        ); 
 
    box-shadow: 
        0 0 12px rgba(155,92,255,.45); 
} 
 
.blue-progress div { 
    background: 
        linear-gradient( 
            90deg, 
            #4f8cff, 
            #71b4ff 
        ); 
 
    box-shadow: 
        0 0 12px rgba(79,140,255,.4); 
} 
 
.dashboard-metric small { 
    display: block; 
 
    margin-top: 12px; 
 
    color: #606b85; 
 
    font-size: 9px; 
} 
 
 
/* ========================================= 
   SLEEP QUALITY 
========================================= */ 
 
.sleep-quality { 
    display: flex; 
    gap: 5px; 
 
    margin-top: 18px; 
} 
 
.sleep-quality i { 
    width: 28px; 
    height: 5px; 
 
    border-radius: 10px; 
 
    background: 
        linear-gradient( 
            90deg, 
            #6d55e9, 
            #a36dff 
        ); 
 
    box-shadow: 
        0 0 8px rgba(155,92,255,.15); 
} 
 
.sleep-quality i:nth-child(5) { 
    opacity: .25; 
} 
 
 
/* ========================================= 
   HEALTH 
========================================= */ 
 
.health-good { 
    color: #7da9ff !important; 
 
    font-size: 27px; 
} 
 
.health-status { 
    display: flex; 
    align-items: center; 
    gap: 7px; 
 
    margin-top: 17px; 
 
    color: #7c87a1; 
 
    font-size: 9px; 
} 
 
.health-status span { 
    width: 6px; 
    height: 6px; 
 
    border-radius: 50%; 
 
    background: #64d8a0; 
 
    box-shadow: 
        0 0 9px rgba(100,216,160,.7); 
 
    animation: healthPulse 2s infinite; 
} 
 
@keyframes healthPulse { 
 
    0%,100% { 
        opacity: .45; 
    } 
 
    50% { 
        opacity: 1; 
    } 
 
} 
 
 
/* ========================================= 
   PANELS 
========================================= */ 
 
.dashboard-panel { 
    position: relative; 
 
    height: 100%; 
 
    padding: 25px; 
 
    overflow: hidden; 
 
    border: 1px solid rgba(255,255,255,.075); 
    border-radius: 22px; 
 
    background: 
        linear-gradient( 
            145deg, 
            rgba(17,27,57,.74), 
            rgba(9,15,35,.7) 
        ); 
 
    backdrop-filter: blur(24px); 
    -webkit-backdrop-filter: blur(24px); 
 
    box-shadow: 
        inset 0 1px 0 rgba(255,255,255,.035), 
        0 20px 55px rgba(0,0,0,.22); 
} 
 
 
/* Glass shine */ 
 
.dashboard-panel::before { 
    content: ""; 
 
    position: absolute; 
 
    top: 0; 
    left: -100%; 
 
    width: 50%; 
    height: 100%; 
 
    background: 
        linear-gradient( 
            90deg, 
            transparent, 
            rgba(255,255,255,.025), 
            transparent 
        ); 
 
    transform: skewX(-20deg); 
 
    transition: left 1s ease; 
 
    pointer-events: none; 
} 
 
.dashboard-panel:hover::before { 
    left: 150%; 
} 
 
 
/* ========================================= 
   PANEL HEADER 
========================================= */ 
 
.panel-header { 
    position: relative; 
    z-index: 2; 
 
    display: flex; 
    align-items: flex-start; 
    justify-content: space-between; 
 
    margin-bottom: 20px; 
} 
 
.panel-header span:first-child, 
.panel-label { 
    color: #65708a; 
 
    font-size: 8px; 
    font-weight: 700; 
 
    letter-spacing: 1.6px; 
} 
 
.panel-header h3 { 
    margin: 5px 0 0; 
 
    color: #e9edfb; 
 
    font-size: 17px; 
    font-weight: 650; 
} 
 
.panel-header select { 
    padding: 8px 11px; 
 
    color: #8994ae; 
 
    border: 1px solid rgba(255,255,255,.07); 
    border-radius: 9px; 
 
    outline: none; 
 
    background: rgba(255,255,255,.035); 
 
    font-size: 9px; 
} 
 
 
/* ========================================= 
   PERFORMANCE CHART 
========================================= */ 
 
.performance-panel { 
    min-height: 390px; 
} 
 
.performance-chart { 
    position: relative; 
 
    height: 280px; 
 
    margin-top: 25px; 
 
    overflow: hidden; 
 
    border-radius: 15px; 
 
    background: 
        rgba(5,10,25,.25); 
} 
 
.chart-grid { 
    position: absolute; 
    inset: 0; 
 
    background-image: 
        linear-gradient( 
            rgba(255,255,255,.035) 1px, 
            transparent 1px 
        ), 
        linear-gradient( 
            90deg, 
            rgba(255,255,255,.035) 1px, 
            transparent 1px 
        ); 
 
    background-size: 80px 55px; 
} 
 
.performance-chart svg { 
    position: absolute; 
 
    inset: 10px 0 30px; 
 
    width: 100%; 
    height: calc(100% - 30px); 
 
    overflow: visible; 
} 
 
 
/* Animated graph glow */ 
 
.performance-chart polyline { 
    filter: 
        drop-shadow( 
            0 0 8px rgba(79,140,255,.45) 
        ); 
 
    stroke-dasharray: 1200; 
 
    stroke-dashoffset: 1200; 
 
    animation: 
        drawChart 2.5s ease forwards; 
} 
 
@keyframes drawChart { 
 
    to { 
        stroke-dashoffset: 0; 
    } 
 
} 
 
 
/* Chart labels */ 
 
.chart-labels { 
    position: absolute; 
 
    bottom: 8px; 
    left: 0; 
    right: 0; 
 
    display: flex; 
    justify-content: space-around; 
 
    color: #4f5a73; 
 
    font-size: 8px; 
    font-weight: 600; 
} 
 
 
/* ========================================= 
   TRAINING PANEL 
========================================= */ 
 
.today-panel { 
    min-height: 390px; 
} 
 
.ready-badge { 
    padding: 5px 9px; 
 
    border-radius: 20px; 
 
    color: #73d7a5 !important; 
 
    background: rgba(76,210,150,.08); 
 
    border: 1px solid rgba(76,210,150,.15); 
} 
 
.training-main { 
    display: flex; 
    align-items: center; 
 
    gap: 15px; 
 
    margin-top: 35px; 
} 
 
.training-icon { 
    width: 55px; 
    height: 55px; 
 
    display: flex; 
    align-items: center; 
    justify-content: center; 
 
    flex-shrink: 0; 
 
    border-radius: 16px; 
 
    color: #8faeff; 
 
    background: 
        linear-gradient( 
            135deg, 
            rgba(79,140,255,.16), 
            rgba(155,92,255,.1) 
        ); 
 
    box-shadow: 
        0 0 25px rgba(79,140,255,.08); 
 
    font-size: 23px; 
 
    animation: trainingFloat 3s ease-in-out infinite; 
} 
 
@keyframes trainingFloat { 
 
    0%,100% { 
        transform: translateY(0); 
    } 
 
    50% { 
        transform: translateY(-5px); 
    } 
 
} 
 
.training-main small { 
    color: #59647e; 
 
    font-size: 8px; 
    letter-spacing: 1px; 
} 
 
.training-main h4 { 
    margin: 5px 0; 
 
    color: #e8ecfa; 
 
    font-size: 14px; 
} 
 
.training-main p { 
    margin: 0; 
 
    color: #69748d; 
 
    font-size: 10px; 
} 
 
.training-stats { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
 
    gap: 10px; 
 
    margin-top: 35px; 
} 
 
.training-stats div { 
    padding: 15px; 
 
    border-radius: 13px; 
 
    background: rgba(255,255,255,.025); 
 
    border: 1px solid rgba(255,255,255,.05); 
} 
 
.training-stats span { 
    display: block; 
 
    color: #606b84; 
 
    font-size: 8px; 
} 
 
.training-stats strong { 
    display: block; 
 
    margin-top: 6px; 
 
    color: #e5eafa; 
 
    font-size: 14px; 
} 
 
.start-training { 
    width: 100%; 
 
    margin-top: 18px; 
    padding: 12px; 
 
    color: #e9edff; 
 
    border: 1px solid rgba(79,140,255,.2); 
    border-radius: 11px; 
 
    background: 
        linear-gradient( 
            90deg, 
            rgba(79,140,255,.1), 
            rgba(155,92,255,.1) 
        ); 
 
    font-size: 10px; 
 
    transition: 
        background .3s ease, 
        border-color .3s ease, 
        transform .3s ease; 
} 
 
.start-training:hover { 
    border-color: rgba(155,92,255,.45); 
 
    background: 
        linear-gradient( 
            90deg, 
            rgba(79,140,255,.18), 
            rgba(155,92,255,.18) 
        ); 
 
    transform: translateY(-2px); 
} 
 
 
/* ========================================= 
   AI INSIGHT 
========================================= */ 
 
.ai-insight-panel { 
    display: flex; 
    gap: 20px; 
 
    align-items: flex-start; 
 
    min-height: 190px; 
 
    border-color: 
        rgba(155,92,255,.13); 
} 
 
.ai-panel-icon { 
    width: 50px; 
    height: 50px; 
 
    display: flex; 
    align-items: center; 
    justify-content: center; 
 
    flex-shrink: 0; 
 
    border-radius: 15px; 
 
    color: #bd9bff; 
 
    background: 
        linear-gradient( 
            135deg, 
            rgba(155,92,255,.17), 
            rgba(79,140,255,.1) 
        ); 
 
    box-shadow: 
        0 0 30px rgba(155,92,255,.1); 
 
    font-size: 20px; 
 
    animation: aiGlow 3s ease-in-out infinite; 
} 
 
@keyframes aiGlow { 
 
    0%,100% { 
        box-shadow: 
            0 0 20px rgba(155,92,255,.08); 
    } 
 
    50% { 
        box-shadow: 
            0 0 35px rgba(155,92,255,.2); 
    } 
 
} 
 
.ai-insight-panel h3 { 
    margin: 8px 0; 
 
    color: #edf0fc; 
 
    font-size: 17px; 
} 
 
.ai-insight-panel p { 
    max-width: 580px; 
 
    margin: 0; 
 
    color: #78839c; 
 
    font-size: 11px; 
    line-height: 1.7; 
} 
 
.ai-insight-panel a { 
    display: inline-block; 
 
    margin-top: 15px; 
 
    color: #9c7cff; 
 
    font-size: 10px; 
 
    text-decoration: none; 
 
    transition: color .25s ease; 
} 
 
.ai-insight-panel a:hover { 
    color: #c1adff; 
} 
 
 
/* ========================================= 
   HEALTH PANEL 
========================================= */ 
 
.health-panel { 
    min-height: 190px; 
} 
 
.health-ring { 
    width: 48px; 
    height: 48px; 
 
    display: flex; 
    align-items: center; 
    justify-content: center; 
 
    border-radius: 50%; 
 
    color: #7daaff; 
 
    font-size: 12px; 
    font-weight: 700; 
 
    border: 2px solid rgba(79,140,255,.35); 
 
    box-shadow: 
        inset 0 0 15px rgba(79,140,255,.08), 
        0 0 20px rgba(79,140,255,.08); 
} 
 
.health-signals { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
 
    gap: 10px; 
 
    margin-top: 25px; 
} 
 
.health-signals div { 
    padding: 14px; 
 
    border-radius: 12px; 
 
    background: rgba(255,255,255,.025); 
 
    border: 1px solid rgba(255,255,255,.05); 
 
    color: #78839d; 
 
    font-size: 9px; 
} 
 
.health-signals span { 
    display: block; 
 
    margin-bottom: 8px; 
 
    color: #7daaff; 
 
    font-size: 14px; 
} 
 
.health-signals strong { 
    display: block; 
 
    margin-top: 6px; 
 
    color: #8bdcb1; 
 
    font-size: 9px; 
} 
 
 
/* ========================================= 
   RESPONSIVE 
========================================= */ 
 
@media (max-width: 991px) { 
 
    .dashboard-header { 
        align-items: flex-start; 
    } 
 
    .dashboard-date { 
        display: none; 
    } 
 
    .performance-panel, 
    .today-panel { 
        min-height: 350px; 
    } 
 
} 
 
 
@media (max-width: 575px) { 
 
    .sw-dashboard { 
        padding-top: 80px; 
    } 
 
    .dashboard-header h2 { 
        font-size: 2rem; 
    } 
 
    .dashboard-panel { 
        padding: 18px; 
    } 
 
    .health-signals { 
        grid-template-columns: 1fr; 
    } 
 
    .ai-insight-panel { 
        flex-direction: column; 
    } 
 
} 
/* =========================================
   SECOND WIND — 3D RECOVERY CORE
========================================= */

.recovery-3d-panel {
    position: relative;
    min-height: 390px;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(79, 140, 255, .09),
            transparent 45%
        ),
        linear-gradient(
            145deg,
            rgba(18, 29, 63, .88),
            rgba(7, 12, 30, .94)
        ) !important;
}


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

.recovery-3d-header {
    position: relative;
    z-index: 10;

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

    margin-bottom: 0;
}

.recovery-3d-header > div:first-child > span {
    display: block;

    color: #7784a0;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.7px;
}

.recovery-3d-header h3 {
    margin: 5px 0 0;

    color: #eef2ff;
    font-size: 20px;
    font-weight: 650;
}


/* =========================================
   LIVE INDICATOR
========================================= */

.recovery-live {
    display: flex;
    align-items: center;
    gap: 7px;

    padding: 6px 9px;

    border-radius: 20px;

    color: #77dca9;
    background: rgba(76, 210, 150, .07);
    border: 1px solid rgba(76, 210, 150, .13);

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

.recovery-live span {
    display: block;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: #64d8a0;

    box-shadow: 0 0 10px #64d8a0;

    animation: recoveryLivePulse 1.5s infinite;
}

@keyframes recoveryLivePulse {
    0%, 100% {
        opacity: .35;
        transform: scale(.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.15);
    }
}


/* =========================================
   THREE.JS CONTAINER
========================================= */

.recovery-3d {
    position: relative;

    width: 100%;
    height: 260px;

    margin: 5px auto 0;

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

    cursor: grab;

    z-index: 2;
}

.recovery-3d:active {
    cursor: grabbing;
}


/* THREE.JS CANVAS */

.recovery-3d canvas {
    display: block;

    width: 100% !important;
    height: 100% !important;

    max-width: 100%;

    margin: 0 auto;
}


/* =========================================
   SCORE
========================================= */

.recovery-3d-score {
    position: absolute;

    z-index: 8;

    left: 50%;
    top: 53%;

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

    pointer-events: none;

    display: flex;
    align-items: baseline;

    white-space: nowrap;
}

.recovery-3d-score strong {
    color: #f3f6ff;

    font-size: 46px;
    font-weight: 750;

    letter-spacing: -3px;

    text-shadow:
        0 0 25px rgba(79, 140, 255, .35);
}

.recovery-3d-score span {
    margin-left: 5px;

    color: #737f9b;

    font-size: 12px;
}


/* =========================================
   STATUS
========================================= */

.recovery-3d-status {
    position: absolute;

    z-index: 10;

    left: 50%;
    bottom: 18px;

    transform: translateX(-50%);

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

    white-space: nowrap;

    color: #8290aa;

    font-size: 10px;
}

.recovery-3d-status span {
    display: block;

    width: 6px;
    height: 6px;

    flex-shrink: 0;

    border-radius: 50%;

    background: #65d9a1;

    box-shadow:
        0 0 10px rgba(101, 217, 161, .7);
}


/* =========================================
   PANEL GLOW
========================================= */

.recovery-3d-panel::after {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    left: 50%;
    top: 45%;

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

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(79, 140, 255, .08),
            transparent 70%
        );

    pointer-events: none;

    z-index: 1;
}


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

@media (max-width: 575px) {

    .recovery-3d-panel {
        min-height: 370px;
    }

    .recovery-3d {
        height: 240px;
    }

    .recovery-3d-score {
        top: 52%;
    }

    .recovery-3d-score strong {
        font-size: 40px;
    }

}
/* =========================================================
   SECOND WIND — TRACK SECTION
========================================================= */

.sw-track {
    position: relative;
    padding: 120px 0;
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(79, 140, 255, 0.08),
            transparent 35%
        ),
        radial-gradient(
            circle at 85% 75%,
            rgba(155, 92, 255, 0.08),
            transparent 35%
        ),
        #070a12;
    color: #ffffff;
}


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

.sw-track::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: 60px 60px;
    mask-image: linear-gradient(
        to bottom,
        black,
        transparent 90%
    );

    pointer-events: none;
}


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

.track-header {
    position: relative;
    z-index: 2;
    margin-bottom: 55px;
}

.track-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: #7da5ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;

    margin-bottom: 15px;
}

.track-eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #4f8cff;

    box-shadow:
        0 0 12px rgba(79,140,255,0.9);
}

.track-header h2 {
    margin: 0;

    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -2px;
}

.track-header h2 span {
    background: linear-gradient(
        90deg,
        #4f8cff,
        #9b5cff
    );

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.track-header p {
    max-width: 650px;

    margin-top: 18px;
    margin-bottom: 0;

    color: #8f9bb3;
    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   TRACK GRID
========================================================= */

.track-grid {
    position: relative;
    z-index: 2;
}


/* =========================================================
   TRACK CARD
========================================================= */

.track-card {
    position: relative;

    height: 100%;

    padding: 28px;

    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.055),
            rgba(255,255,255,0.018)
        );

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

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

    overflow: hidden;

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

.track-card::before {
    content: "";

    position: absolute;
    width: 180px;
    height: 180px;

    top: -100px;
    right: -80px;

    border-radius: 50%;

    background: rgba(79,140,255,0.10);

    filter: blur(30px);

    pointer-events: none;
}

.track-card:hover {
    transform: translateY(-7px);

    border-color: rgba(79,140,255,0.25);

    box-shadow:
        0 25px 70px rgba(0,0,0,0.4),
        0 0 40px rgba(79,140,255,0.06);
}


/* =========================================================
   CARD TOP
========================================================= */

.track-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 28px;
}

.track-icon {
    width: 48px;
    height: 48px;

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

    border-radius: 14px;

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

    color: #fff;

    background:
        linear-gradient(
            135deg,
            rgba(79,140,255,0.22),
            rgba(155,92,255,0.18)
        );

    border: 1px solid rgba(255,255,255,0.08);

    box-shadow:
        inset 0 0 20px rgba(79,140,255,0.08);
}

.track-icon.purple {
    background:
        linear-gradient(
            135deg,
            rgba(155,92,255,0.25),
            rgba(79,140,255,0.12)
        );
}

.track-status {
    padding: 6px 10px;

    border-radius: 30px;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.3px;

    color: #72dca8;

    background: rgba(76,210,150,0.08);
    border: 1px solid rgba(76,210,150,0.18);
}


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

.track-card h3 {
    margin: 0 0 8px;

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

    color: #ffffff;
}

.track-card p {
    margin: 0;

    color: #818ca3;

    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   LARGE TRACKING VALUE
========================================================= */

.track-value {
    display: flex;
    align-items: baseline;
    gap: 5px;

    margin-top: 25px;
}

.track-value strong {
    font-size: 42px;
    line-height: 1;

    font-weight: 700;

    letter-spacing: -1px;

    background: linear-gradient(
        90deg,
        #ffffff,
        #9db9ff
    );

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.track-value span {
    color: #71809b;
    font-size: 13px;
}


/* =========================================================
   MINI GRAPH
========================================================= */

.track-mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 7px;

    height: 65px;

    margin-top: 25px;

    padding-top: 5px;
}

.track-mini-chart i {
    flex: 1;

    display: block;

    min-width: 5px;

    height: var(--height, 30px);

    border-radius: 5px 5px 2px 2px;

    background:
        linear-gradient(
            to top,
            #4f8cff,
            #9b5cff
        );

    opacity: 0.75;

    transform-origin: bottom;

    animation: trackBarPulse 3s ease-in-out infinite;
}

.track-mini-chart i:nth-child(2) {
    animation-delay: 0.1s;
}

.track-mini-chart i:nth-child(3) {
    animation-delay: 0.2s;
}

.track-mini-chart i:nth-child(4) {
    animation-delay: 0.3s;
}

.track-mini-chart i:nth-child(5) {
    animation-delay: 0.4s;
}

.track-mini-chart i:nth-child(6) {
    animation-delay: 0.5s;
}

.track-mini-chart i:nth-child(7) {
    animation-delay: 0.6s;
}

@keyframes trackBarPulse {
    0%,
    100% {
        opacity: 0.55;
        transform: scaleY(0.92);
    }

    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}


/* =========================================================
   PROGRESS TRACK
========================================================= */

.track-progress {
    margin-top: 25px;
}

.track-progress-header {
    display: flex;
    justify-content: space-between;

    margin-bottom: 9px;

    font-size: 11px;
    color: #77839a;
}

.track-progress-header strong {
    color: #c4d2ee;
}

.track-progress-bar {
    width: 100%;
    height: 6px;

    overflow: hidden;

    border-radius: 20px;

    background: rgba(255,255,255,0.06);
}

.track-progress-bar span {
    display: block;

    width: var(--progress, 75%);
    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            #4f8cff,
            #9b5cff
        );

    box-shadow:
        0 0 14px rgba(79,140,255,0.35);
}


/* =========================================================
   ACTIVITY LIST
========================================================= */

.track-activity {
    margin-top: 25px;
}

.track-activity-item {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 12px 0;

    border-bottom: 1px solid rgba(255,255,255,0.05);

    color: #8995ab;

    font-size: 12px;
}

.track-activity-item:last-child {
    border-bottom: none;
}

.track-activity-item > span:first-child {
    width: 8px;
    height: 8px;

    flex: 0 0 8px;

    border-radius: 50%;

    background: #4f8cff;

    box-shadow:
        0 0 10px rgba(79,140,255,0.7);
}

.track-activity-item strong {
    margin-left: auto;

    color: #cbd5e9;

    font-weight: 500;
}


/* =========================================================
   BOTTOM TRACKING PANEL
========================================================= */

.track-overview {
    position: relative;
    z-index: 2;

    margin-top: 18px;

    padding: 30px;

    border-radius: 22px;

    border: 1px solid rgba(255,255,255,0.07);

    background:
        linear-gradient(
            120deg,
            rgba(79,140,255,0.08),
            rgba(155,92,255,0.05),
            rgba(255,255,255,0.015)
        );

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.track-overview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 28px;
}

.track-overview-header span {
    color: #71809b;

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

    letter-spacing: 1.5px;
}

.track-overview-header h3 {
    margin: 5px 0 0;

    font-size: 22px;
    font-weight: 600;
}


/* =========================================================
   OVERVIEW STAT
========================================================= */

.track-stat {
    padding: 20px;

    border-radius: 16px;

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

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

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.track-stat:hover {
    transform: translateY(-4px);

    background: rgba(255,255,255,0.045);
}

.track-stat-label {
    display: block;

    margin-bottom: 8px;

    color: #71809b;

    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.track-stat-value {
    font-size: 25px;
    font-weight: 600;

    color: #ffffff;
}

.track-stat-change {
    display: block;

    margin-top: 5px;

    font-size: 11px;
    color: #64d8a0;
}


/* =========================================================
   TRACK BUTTON
========================================================= */

.track-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    margin-top: 25px;
    padding: 12px 18px;

    border-radius: 12px;

    color: #ffffff;
    text-decoration: none;

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

    background:
        linear-gradient(
            135deg,
            #4f8cff,
            #735cff
        );

    border: 1px solid rgba(255,255,255,0.1);

    box-shadow:
        0 8px 25px rgba(79,140,255,0.18);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.track-action:hover {
    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 12px 35px rgba(79,140,255,0.3);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .sw-track {
        padding: 90px 0;
    }

    .track-header {
        margin-bottom: 40px;
    }

    .track-header h2 {
        letter-spacing: -1px;
    }

}


@media (max-width: 767px) {

    .sw-track {
        padding: 75px 0;
    }

    .track-header h2 {
        font-size: 38px;
    }

    .track-card {
        padding: 22px;
        border-radius: 18px;
    }

    .track-overview {
        padding: 22px;
    }

    .track-overview-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .track-value strong {
        font-size: 36px;
    }

}


@media (prefers-reduced-motion: reduce) {

    .track-card,
    .track-stat,
    .track-action {
        transition: none;
    }

    .track-mini-chart i {
        animation: none;
    }

}
/* =========================================================
   TRACK — ADVANCED FEATURES
========================================================= */

.track-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.track-header-status {
    display: flex;
    align-items: center;
    gap: 9px;

    padding: 9px 14px;

    border-radius: 30px;

    color: #64d8a0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;

    background: rgba(76,210,150,.06);
    border: 1px solid rgba(76,210,150,.15);
}

.track-header-status span,
.track-live-indicator span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #64d8a0;
    box-shadow: 0 0 12px rgba(100,216,160,.8);
}


/* =========================================================
   LIVE WORKOUT
========================================================= */

.track-live-panel {
    position: relative;
    z-index: 2;

    padding: 35px;

    margin-bottom: 65px;

    border-radius: 26px;

    border: 1px solid rgba(79,140,255,.14);

    background:
        radial-gradient(
            circle at 15% 50%,
            rgba(79,140,255,.10),
            transparent 35%
        ),
        radial-gradient(
            circle at 85% 10%,
            rgba(155,92,255,.08),
            transparent 30%
        ),
        rgba(255,255,255,.025);

    box-shadow:
        0 30px 80px rgba(0,0,0,.3);

    backdrop-filter: blur(20px);
}

.track-live-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    margin-bottom: 35px;
}

.track-section-label,
.track-panel-heading > div > span {
    display: block;

    margin-bottom: 7px;

    color: #71809b;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.7px;
}

.track-live-top h3,
.track-panel-heading h3 {
    margin: 0;

    color: #fff;

    font-size: 24px;
    font-weight: 600;
}

.track-live-top p {
    margin: 7px 0 0;

    color: #7e899e;

    font-size: 12px;
}

.track-live-indicator {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 7px 12px;

    color: #8995ab;

    border: 1px solid rgba(255,255,255,.07);
    border-radius: 30px;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
}

.track-live-indicator.active {
    color: #64d8a0;

    border-color: rgba(100,216,160,.2);
    background: rgba(100,216,160,.05);
}


/* =========================================================
   LIVE VISUAL
========================================================= */

.track-live-visual {
    position: relative;

    width: min(100%, 350px);
    aspect-ratio: 1;

    margin: auto;

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

.track-energy-ring {
    position: absolute;

    border: 1px solid rgba(79,140,255,.2);

    border-radius: 50%;
}

.ring-one {
    width: 70%;
    height: 70%;

    animation: trackRingSpin 12s linear infinite;
}

.ring-two {
    width: 82%;
    height: 82%;

    border-color: rgba(155,92,255,.18);

    animation: trackRingSpin 17s linear infinite reverse;
}

.ring-three {
    width: 94%;
    height: 94%;

    border-style: dashed;
    border-color: rgba(79,140,255,.12);

    animation: trackRingSpin 25s linear infinite;
}

@keyframes trackRingSpin {
    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(360deg);
    }
}

.track-runner-core {
    position: relative;
    z-index: 2;

    width: 54%;
    height: 54%;

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

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(79,140,255,.18),
            rgba(9,13,24,.95) 70%
        );

    border: 1px solid rgba(255,255,255,.08);

    box-shadow:
        0 0 60px rgba(79,140,255,.12);
}

.track-runner-icon {
    font-size: 28px;

    margin-bottom: 5px;
}

.track-runner-core > span {
    color: #68758c;

    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.3px;
}

.track-runner-core strong {
    margin-top: 4px;

    color: #fff;

    font-size: 40px;
    line-height: 1;

    font-weight: 600;
}

.track-runner-core small {
    margin-top: 3px;

    color: #6f7d94;

    font-size: 9px;
}


/* =========================================================
   LIVE STATS
========================================================= */

.track-live-stat {
    padding: 18px;

    min-height: 105px;

    border-radius: 15px;

    background: rgba(255,255,255,.025);
    border: 1px solid rgba(255,255,255,.05);
}

.track-live-stat > span {
    display: block;

    margin-bottom: 12px;

    color: #69768e;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
}

.track-live-stat strong {
    color: #fff;

    font-size: 23px;
    font-weight: 600;
}

.track-live-stat small {
    color: #66748b;

    font-size: 9px;
}


/* =========================================================
   CONTROLS
========================================================= */

.track-controls {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;

    margin-top: 22px;
}

.track-control-btn {
    border: 1px solid rgba(255,255,255,.08);

    border-radius: 11px;

    padding: 11px 16px;

    color: #d8e0f1;

    background: rgba(255,255,255,.035);

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

    cursor: pointer;

    transition:
        .25s ease;
}

.track-control-btn:hover:not(:disabled) {
    transform: translateY(-2px);

    border-color: rgba(79,140,255,.3);

    background: rgba(79,140,255,.08);
}

.track-control-btn:disabled {
    opacity: .35;
    cursor: not-allowed;
}

.track-start-btn {
    color: #fff;

    border-color: rgba(79,140,255,.3);

    background:
        linear-gradient(
            135deg,
            #4f8cff,
            #735cff
        );

    box-shadow:
        0 8px 25px rgba(79,140,255,.2);
}

.track-end-btn:hover:not(:disabled) {
    color: #ff8585;

    border-color: rgba(255,90,90,.25);

    background: rgba(255,70,70,.05);
}


/* =========================================================
   WORKOUT PROGRESS
========================================================= */

.track-workout-progress {
    margin-top: 24px;
}

.track-progress-heading {
    display: flex;
    justify-content: space-between;

    margin-bottom: 8px;

    color: #66748b;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
}

.track-progress-heading strong {
    color: #b8c7e2;
}

.track-progress-track {
    height: 5px;

    overflow: hidden;

    border-radius: 10px;

    background: rgba(255,255,255,.05);
}

.track-progress-track span {
    display: block;

    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            #4f8cff,
            #9b5cff
        );

    transition: width .5s ease;
}


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

.track-section-heading {
    position: relative;
    z-index: 2;

    margin-bottom: 20px;
}

.track-section-heading > div > span {
    color: #68758c;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.track-section-heading h3 {
    margin: 5px 0 0;

    color: #fff;

    font-size: 24px;
    font-weight: 600;
}


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

.track-panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    margin-bottom: 25px;
}

.track-panel-heading > div > span {
    margin-bottom: 6px;
}


/* =========================================================
   INTENSITY
========================================================= */

.intensity-scale {
    position: relative;

    height: 100px;

    margin-top: 30px;
}

.intensity-line {
    position: absolute;

    left: 7%;
    right: 7%;
    top: 32px;

    height: 5px;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            #4fc3f7,
            #64d8a0,
            #ffcf5a,
            #ff6b7a
        );
}

.intensity-point {
    position: absolute;
    top: 23px;

    transform: translateX(-50%);
}

.intensity-point span {
    display: block;

    width: 19px;
    height: 19px;

    border-radius: 50%;

    border: 4px solid #0a0d16;

    background: #566177;
}

.intensity-point small {
    display: block;

    margin-top: 13px;

    color: #69768d;

    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1px;
}

.intensity-point.low {
    left: 7%;
}

.intensity-point.moderate {
    left: 37%;
}

.intensity-point.high {
    left: 68%;
}

.intensity-point.peak {
    left: 93%;
}

.intensity-point.active span {
    background: #ffcf5a;

    box-shadow:
        0 0 15px rgba(255,207,90,.7);
}

.intensity-point.active small {
    color: #ffcf5a;
}

.intensity-indicator {
    position: absolute;

    top: 0;
    left: 37%;

    transform: translateX(-50%);

    color: #ffcf5a;

    font-size: 12px;

    transition: left .5s ease;
}

.intensity-indicator span {
    display: block;

    margin-top: -1px;

    color: #6f7d94;

    font-size: 7px;
    font-weight: 700;
    letter-spacing: 1px;
}

.intensity-footer {
    display: flex;
    justify-content: space-between;

    padding-top: 8px;

    color: #69768d;

    font-size: 10px;
}

.intensity-footer strong {
    color: #c6d1e6;
}


/* =========================================================
   TRAINING LOAD
========================================================= */

.load-score {
    display: flex;
    align-items: baseline;
    gap: 3px;
}

.load-score strong {
    color: #fff;

    font-size: 34px;
}

.load-score small {
    color: #66748b;
}

.load-progress {
    width: 100%;
    height: 9px;

    margin: 28px 0;

    overflow: hidden;

    border-radius: 20px;

    background: rgba(255,255,255,.05);
}

.load-progress > div {
    width: 78%;
    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            #4f8cff,
            #9b5cff
        );
}

.load-breakdown {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.load-breakdown div {
    padding: 13px;

    border-radius: 11px;

    background: rgba(255,255,255,.025);
}

.load-breakdown span {
    display: block;

    margin-bottom: 5px;

    color: #68758c;

    font-size: 9px;
}

.load-breakdown strong {
    color: #dbe4f5;

    font-size: 16px;
}


/* =========================================================
   ROUTE MAP
========================================================= */

.route-map {
    position: relative;

    height: 300px;

    overflow: hidden;

    border-radius: 16px;

    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(79,140,255,.07),
            transparent 60%
        ),
        #090d17;

    border: 1px solid rgba(255,255,255,.05);
}

.route-grid {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255,255,255,.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.025) 1px,
            transparent 1px
        );

    background-size: 40px 40px;
}

.route-map svg {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
}

.route-start,
.route-finish {
    position: absolute;

    padding: 5px 8px;

    border-radius: 6px;

    font-size: 7px;
    font-weight: 700;
    letter-spacing: 1px;

    background: rgba(5,8,15,.8);

    border: 1px solid rgba(255,255,255,.08);
}

.route-start {
    left: 8%;
    bottom: 17%;

    color: #4f8cff;
}

.route-finish {
    right: 10%;
    top: 20%;

    color: #b18aff;
}

.route-distance {
    color: #9db7f4;

    font-size: 13px;
    font-weight: 600;
}


/* =========================================================
   RECOVERY IMPACT
========================================================= */

.recovery-impact-icon {
    width: 38px;
    height: 38px;

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

    border-radius: 11px;

    color: #9b7cff;

    background: rgba(155,92,255,.1);

    border: 1px solid rgba(155,92,255,.15);
}

.recovery-impact-main {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 18px;

    border-radius: 14px;

    background: rgba(255,255,255,.025);
}

.recovery-impact-main span {
    display: block;

    margin-bottom: 5px;

    color: #6f7d94;

    font-size: 9px;
}

.recovery-impact-main strong {
    color: #fff;

    font-size: 32px;
}

.recovery-impact-status {
    padding: 7px 10px;

    color: #ffcf5a;

    border: 1px solid rgba(255,207,90,.15);

    background: rgba(255,207,90,.05);

    border-radius: 20px;

    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1px;
}

.recovery-impact-list {
    margin-top: 12px;
}

.recovery-impact-list div {
    display: flex;
    justify-content: space-between;

    padding: 10px 0;

    border-bottom: 1px solid rgba(255,255,255,.04);

    color: #71809b;

    font-size: 10px;
}

.recovery-impact-list strong {
    color: #cbd5e8;

    font-weight: 500;
}

.track-disclaimer {
    margin: 15px 0 0;

    color: #515d72;

    font-size: 8px;
    line-height: 1.5;
}


/* =========================================================
   WHAT IF
========================================================= */

.what-if-card {
    overflow: hidden;

    background:
        radial-gradient(
            circle at 90% 0%,
            rgba(155,92,255,.09),
            transparent 30%
        ),
        rgba(255,255,255,.025);
}

.what-if-header {
    display: flex;
    justify-content: space-between;

    margin-bottom: 30px;
}

.what-if-header > div:first-child > span {
    color: #71809b;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.what-if-header h3 {
    margin: 7px 0 8px;

    color: #fff;

    font-size: 23px;
}

.what-if-header p {
    max-width: 600px;

    margin: 0;

    color: #748096;

    font-size: 11px;
    line-height: 1.7;
}

.what-if-icon {
    width: 45px;
    height: 45px;

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

    flex-shrink: 0;

    border-radius: 13px;

    color: #b18aff;

    background: rgba(155,92,255,.1);

    border: 1px solid rgba(155,92,255,.15);
}

.what-if-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.what-if-option {
    padding: 16px;

    text-align: left;

    border-radius: 13px;

    border: 1px solid rgba(255,255,255,.06);

    background: rgba(255,255,255,.025);

    color: #fff;

    cursor: pointer;

    transition: .25s ease;
}

.what-if-option:hover {
    border-color: rgba(79,140,255,.25);
}

.what-if-option.active {
    border-color: rgba(79,140,255,.35);

    background:
        linear-gradient(
            135deg,
            rgba(79,140,255,.11),
            rgba(155,92,255,.08)
        );
}

.what-if-option strong {
    display: block;

    font-size: 10px;
    letter-spacing: 1px;
}

.what-if-option span {
    display: block;

    margin-top: 5px;

    color: #6d7990;

    font-size: 9px;
}

.what-if-results {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;

    margin-top: 25px;
}

.what-if-results > div {
    padding: 18px;

    border-radius: 13px;

    background: rgba(255,255,255,.025);

    border: 1px solid rgba(255,255,255,.04);
}

.what-if-results span {
    display: block;

    margin-bottom: 7px;

    color: #6c7990;

    font-size: 9px;
}

.what-if-results strong {
    display: block;

    margin-bottom: 12px;

    color: #fff;

    font-size: 22px;
}

.what-if-results small {
    display: block;

    color: #67748b;

    font-size: 8px;
    line-height: 1.5;
}

.what-if-bar {
    height: 4px;

    overflow: hidden;

    border-radius: 10px;

    background: rgba(255,255,255,.05);
}

.what-if-bar span {
    width: 0;
    height: 100%;

    margin: 0;

    background: #4f8cff;

    border-radius: inherit;

    transition: width .5s ease;
}

.what-if-bar.purple-bar span {
    background: #9b5cff;
}


/* =========================================================
   HISTORY
========================================================= */

.records-heading {
    margin-top: 65px;
}

.track-history-filter {
    padding: 8px 12px;

    color: #8ca9e8;

    border: 1px solid rgba(79,140,255,.15);
    border-radius: 8px;

    background: rgba(79,140,255,.05);

    font-size: 9px;

    cursor: pointer;
}

.track-history-list {
    border-top: 1px solid rgba(255,255,255,.04);
}

.track-history-item {
    display: flex;
    align-items: center;
    gap: 15px;

    padding: 17px 0;

    border-bottom: 1px solid rgba(255,255,255,.04);
}

.history-icon {
    width: 42px;
    height: 42px;

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

    border-radius: 12px;

    background: rgba(79,140,255,.08);

    border: 1px solid rgba(79,140,255,.12);
}

.history-icon.purple {
    background: rgba(155,92,255,.08);

    border-color: rgba(155,92,255,.12);
}

.history-info {
    flex: 1;
}

.history-info strong {
    display: block;

    color: #dce5f6;

    font-size: 12px;
}

.history-info span {
    display: block;

    margin-top: 4px;

    color: #69768c;

    font-size: 9px;
}

.history-score {
    text-align: right;
}

.history-score strong {
    display: block;

    color: #fff;

    font-size: 18px;
}

.history-score span {
    color: #657289;

    font-size: 8px;
}


/* =========================================================
   AI PANEL
========================================================= */

.track-ai-panel {
    position: relative;
    z-index: 2;

    display: flex;
    gap: 20px;

    padding: 30px;

    border-radius: 22px;

    border: 1px solid rgba(155,92,255,.12);

    background:
        linear-gradient(
            120deg,
            rgba(79,140,255,.07),
            rgba(155,92,255,.07)
        );

    backdrop-filter: blur(18px);
}

.track-ai-icon {
    width: 48px;
    height: 48px;

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

    flex-shrink: 0;

    border-radius: 14px;

    color: #b18aff;

    background: rgba(155,92,255,.1);

    border: 1px solid rgba(155,92,255,.15);

    font-size: 20px;
}

.track-ai-content > span {
    color: #7e91b3;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.track-ai-content h3 {
    max-width: 800px;

    margin: 7px 0 8px;

    color: #fff;

    font-size: 21px;
    font-weight: 600;
}

.track-ai-content p {
    max-width: 850px;

    margin: 0;

    color: #78859b;

    font-size: 11px;
    line-height: 1.7;
}

.track-ai-btn {
    margin-top: 18px;

    padding: 10px 14px;

    border-radius: 10px;

    color: #fff;

    background: rgba(79,140,255,.08);

    border: 1px solid rgba(79,140,255,.18);

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

    cursor: pointer;

    transition: .25s ease;
}

.track-ai-btn:hover {
    transform: translateY(-2px);

    background: rgba(79,140,255,.15);
}


/* =========================================================
   WORKOUT MODAL
========================================================= */

.workout-modal {
    position: fixed;
    inset: 0;

    z-index: 9999;

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

    padding: 20px;
}

.workout-modal.show {
    display: flex;
}

.workout-modal-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(2,4,10,.78);

    backdrop-filter: blur(10px);
}

.workout-modal-content {
    position: relative;
    z-index: 2;

    width: min(100%, 500px);

    padding: 35px;

    border-radius: 25px;

    border: 1px solid rgba(255,255,255,.1);

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(79,140,255,.1),
            transparent 40%
        ),
        #0b0f1a;

    box-shadow:
        0 35px 100px rgba(0,0,0,.55);

    animation: modalIn .3s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.workout-modal-close {
    position: absolute;

    top: 15px;
    right: 15px;

    width: 30px;
    height: 30px;

    border-radius: 50%;

    color: #71809b;

    background: rgba(255,255,255,.04);

    border: 1px solid rgba(255,255,255,.06);

    cursor: pointer;

    font-size: 18px;
}

.workout-modal-icon {
    width: 55px;
    height: 55px;

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

    margin-bottom: 15px;

    border-radius: 16px;

    background: rgba(79,140,255,.1);

    border: 1px solid rgba(79,140,255,.16);

    font-size: 25px;
}

.workout-modal-label {
    color: #6f82a4;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.workout-modal-content h2 {
    margin: 7px 0;

    color: #fff;

    font-size: 28px;
}

.workout-modal-content > p {
    margin: 0 0 25px;

    color: #738097;

    font-size: 11px;
}

.workout-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;

    margin-bottom: 20px;
}

.workout-summary-grid > div {
    padding: 15px;

    border-radius: 12px;

    background: rgba(255,255,255,.025);

    border: 1px solid rgba(255,255,255,.05);
}

.workout-summary-grid span {
    display: block;

    margin-bottom: 6px;

    color: #657289;

    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1px;
}

.workout-summary-grid strong {
    color: #fff;

    font-size: 17px;
}

.summary-progress {
    margin-bottom: 15px;
}

.summary-progress > div:first-child {
    display: flex;
    justify-content: space-between;

    margin-bottom: 7px;

    color: #71809b;

    font-size: 9px;
}

.summary-progress strong {
    color: #cdd8ec;
}

.summary-progress-bar {
    height: 5px;

    overflow: hidden;

    border-radius: 10px;

    background: rgba(255,255,255,.05);
}

.summary-progress-bar span {
    display: block;

    height: 100%;

    border-radius: inherit;

    background: #4f8cff;
}

.summary-progress-bar.purple span {
    background: #9b5cff;
}

.workout-summary-note {
    display: flex;
    gap: 10px;

    margin-top: 20px;
    padding: 13px;

    border-radius: 11px;

    background: rgba(100,216,160,.04);

    border: 1px solid rgba(100,216,160,.1);
}

.workout-summary-note > span {
    color: #64d8a0;
}

.workout-summary-note p {
    margin: 0;

    color: #77849b;

    font-size: 9px;
    line-height: 1.6;
}

.workout-summary-note strong {
    color: #a6d9bf;
}

.workout-modal-actions {
    display: flex;
    gap: 10px;

    margin-top: 22px;
}

.workout-save-btn,
.workout-discard-btn {
    flex: 1;

    padding: 12px;

    border-radius: 11px;

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

    cursor: pointer;
}

.workout-save-btn {
    color: #fff;

    border: 1px solid rgba(79,140,255,.25);

    background:
        linear-gradient(
            135deg,
            #4f8cff,
            #735cff
        );
}

.workout-discard-btn {
    color: #7c889d;

    border: 1px solid rgba(255,255,255,.06);

    background: rgba(255,255,255,.03);
}


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

@media (max-width: 991px) {

    .track-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .track-live-panel {
        padding: 25px;
    }

    .what-if-results {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 767px) {

    .track-live-top {
        flex-direction: column;
        gap: 15px;
    }

    .track-live-visual {
        width: min(100%, 280px);
    }

    .track-controls {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .track-start-btn {
        grid-column: 1 / -1;
    }

    .track-header-status {
        display: none;
    }

    .what-if-options,
    .what-if-results {
        grid-template-columns: 1fr;
    }

    .track-ai-panel {
        flex-direction: column;
    }

    .workout-modal-content {
        padding: 25px;
    }

}

@media (prefers-reduced-motion: reduce) {

    .track-energy-ring,
    .track-runner-core,
    .workout-modal-content {
        animation: none !important;
    }

}
/* =========================================================
   SECOND WIND — INSIGHTS
========================================================= */

.sw-insights {
    position: relative;
    padding: 120px 0;
    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(79,140,255,.08),
            transparent 35%
        ),
        radial-gradient(
            circle at 90% 30%,
            rgba(155,92,255,.07),
            transparent 35%
        ),
        #070a12;
    color: #fff;
}


/* HEADER */

.insights-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 45px;
}

.insights-eyebrow {
    color: #79a7ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.insights-header h2 {
    margin: 0;
    font-size: clamp(34px, 4vw, 56px);
    font-weight: 800;
    letter-spacing: -2px;
}

.insights-header h2 span {
    color: #79a7ff;
}

.insights-header p {
    max-width: 650px;
    margin: 14px 0 0;
    color: rgba(255,255,255,.55);
    line-height: 1.7;
}

.insights-period {
    min-width: 150px;
    padding: 16px 20px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    background: rgba(255,255,255,.025);
    text-align: right;
}

.insights-period span {
    display: block;
    color: rgba(255,255,255,.4);
    font-size: 9px;
    letter-spacing: 1.5px;
}

.insights-period strong {
    display: block;
    margin-top: 5px;
    color: #fff;
    font-size: 13px;
}


/* PANELS */

.insight-panel {
    height: 100%;
    padding: 26px;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 20px;
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.045),
            rgba(255,255,255,.018)
        );
    box-shadow:
        0 20px 60px rgba(0,0,0,.2);
    backdrop-filter: blur(15px);
}

.insight-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.insight-panel-header > div > span,
.ai-insights-summary > span,
.insight-card > span {
    color: rgba(255,255,255,.4);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.insight-panel-header h3 {
    margin: 6px 0 0;
    font-size: 20px;
    font-weight: 700;
}

.insight-status {
    font-size: 11px;
    font-weight: 700;
}

.positive {
    color: #64d8a0;
}


/* PERFORMANCE SCORE */

.performance-score-wrap {
    display: flex;
    align-items: center;
    gap: 25px;
}

.performance-score-ring {
    position: relative;
    width: 170px;
    height: 170px;
    flex: 0 0 170px;
}

.performance-score-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.score-ring-bg,
.score-ring-progress {
    fill: none;
    stroke-width: 10;
}

.score-ring-bg {
    stroke: rgba(255,255,255,.07);
}

.score-ring-progress {
    stroke: url(#scoreGradient);
    stroke: #668fff;
    stroke-linecap: round;
    stroke-dasharray: 452;
    stroke-dashoffset: 452;
    transition: stroke-dashoffset 1.8s ease;
}

.score-ring-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.score-ring-content strong {
    font-size: 43px;
    line-height: 1;
    font-weight: 800;
}

.score-ring-content span {
    color: rgba(255,255,255,.4);
    font-size: 12px;
}

.score-description strong {
    display: block;
    margin-bottom: 7px;
    font-size: 15px;
}

.score-description p {
    max-width: 180px;
    margin: 0;
    color: rgba(255,255,255,.45);
    font-size: 12px;
    line-height: 1.6;
}

.score-good-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 6px;
    border-radius: 50%;
    background: #64d8a0;
    box-shadow: 0 0 12px #64d8a0;
}

.score-stats {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 8px;
    margin-top: 25px;
}

.score-stats div {
    padding: 12px;
    border-radius: 12px;
    background: rgba(255,255,255,.035);
}

.score-stats span {
    display: block;
    color: rgba(255,255,255,.4);
    font-size: 10px;
}

.score-stats strong {
    display: block;
    margin-top: 4px;
    font-size: 17px;
}


/* FATIGUE */

.fatigue-live {
    color: #64d8a0;
    font-size: 9px;
    font-weight: 700;
}

.fatigue-live span {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 5px;
    border-radius: 50%;
    background: #64d8a0;
    box-shadow: 0 0 10px #64d8a0;
}

.fatigue-status {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    margin-bottom: 22px;
    border: 1px solid rgba(100,216,160,.12);
    border-radius: 14px;
    background: rgba(100,216,160,.04);
}

.fatigue-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(100,216,160,.1);
    color: #64d8a0;
    font-weight: 700;
}

.fatigue-status strong {
    display: block;
    font-size: 13px;
}

.fatigue-status span {
    color: #64d8a0;
    font-size: 10px;
}

.fatigue-row {
    margin-bottom: 15px;
}

.fatigue-row > div:first-child {
    display: flex;
    justify-content: space-between;
    margin-bottom: 7px;
}

.fatigue-row span {
    color: rgba(255,255,255,.5);
    font-size: 11px;
}

.fatigue-row strong {
    font-size: 11px;
}

.green-text {
    color: #64d8a0;
}

.fatigue-bar {
    height: 5px;
    overflow: hidden;
    border-radius: 10px;
    background: rgba(255,255,255,.06);
}

.fatigue-bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg,#4f8cff,#79a7ff);
    transform-origin: left;
    animation: insightBarIn 1.2s ease forwards;
}

.fatigue-bar i {
    transform: scaleX(0);
}

.purple-bar i {
    background: linear-gradient(90deg,#7957ff,#b477ff);
}

.blue-bar i {
    background: linear-gradient(90deg,#4f8cff,#63c4ff);
}

.fatigue-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,.06);
    color: rgba(255,255,255,.42);
    font-size: 10px;
}

.risk-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #64d8a0;
}


/* AI */

.ai-insights-summary {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(155,92,255,.22),
            transparent 45%
        ),
        rgba(255,255,255,.025);
}

.ai-summary-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 13px;
    background: rgba(155,92,255,.12);
    color: #ad7aff;
    font-size: 20px;
}

.ai-insights-summary h3 {
    max-width: 320px;
    margin: 9px 0 12px;
    font-size: 20px;
    line-height: 1.4;
}

.ai-insights-summary p {
    color: rgba(255,255,255,.48);
    font-size: 12px;
    line-height: 1.7;
}

.insight-ai-btn {
    margin-top: 10px;
    padding: 11px 16px;
    border: 1px solid rgba(155,92,255,.25);
    border-radius: 10px;
    background: rgba(155,92,255,.08);
    color: #c5a5ff;
    font-size: 11px;
    cursor: pointer;
    transition: .25s ease;
}

.insight-ai-btn span {
    margin-left: 8px;
}

.insight-ai-btn:hover {
    background: rgba(155,92,255,.18);
    transform: translateY(-2px);
}


/* BALANCE */

.balance-panel {
    margin-top: 15px;
}

.balance-status {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    border-radius: 20px;
    background: rgba(100,216,160,.07);
    color: #64d8a0;
    font-size: 9px;
    font-weight: 700;
}

.balance-status span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #64d8a0;
    box-shadow: 0 0 10px #64d8a0;
}

.balance-content {
    display: grid;
    grid-template-columns: 180px 1fr 180px;
    align-items: center;
    gap: 30px;
}

.balance-side span {
    display: block;
    color: rgba(255,255,255,.38);
    font-size: 9px;
    letter-spacing: 1px;
}

.balance-side strong {
    display: block;
    margin: 7px 0;
    font-size: 38px;
}

.balance-side small {
    color: rgba(255,255,255,.42);
    font-size: 10px;
}

.balance-scale {
    width: 100%;
}

.balance-track {
    position: relative;
    height: 12px;
    border-radius: 20px;
}

.balance-gradient {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background:
        linear-gradient(
            90deg,
            #4f8cff 0%,
            #64d8a0 50%,
            #ffb45c 75%,
            #ff5c73 100%
        );
    opacity: .8;
}

.balance-marker {
    position: absolute;
    top: 50%;
    width: 3px;
    height: 32px;
    transform: translate(-50%,-50%);
}

.balance-marker span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 13px;
    height: 13px;
    transform: translate(-50%,-50%);
    border: 3px solid #080b12;
    border-radius: 50%;
}

.balance-marker small {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
}

.recovery-marker {
    background: #9b5cff;
}

.recovery-marker span {
    background: #9b5cff;
}

.training-marker {
    background: #4f8cff;
}

.training-marker span {
    background: #4f8cff;
}

.balance-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 22px;
    color: rgba(255,255,255,.25);
    font-size: 8px;
    letter-spacing: 1px;
}

.balance-recommendation {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 35px;
    padding: 18px;
    border-radius: 14px;
    background: rgba(100,216,160,.035);
    border: 1px solid rgba(100,216,160,.08);
}

.recommendation-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(100,216,160,.1);
    color: #64d8a0;
}

.balance-recommendation span {
    display: block;
    color: #64d8a0;
    font-size: 8px;
    letter-spacing: 1px;
}

.balance-recommendation strong {
    display: block;
    margin-top: 4px;
    font-size: 14px;
}

.balance-recommendation p {
    margin: 6px 0 0;
    color: rgba(255,255,255,.43);
    font-size: 11px;
}


/* READINESS */

.readiness-panel,
.systems-panel {
    margin-top: 0;
}

.forecast-label,
.comparison-period {
    color: rgba(255,255,255,.3);
    font-size: 9px;
    letter-spacing: 1px;
}

.readiness-timeline {
    display: grid;
    grid-template-columns: repeat(7,1fr);
    gap: 8px;
}

.readiness-day {
    padding: 15px 5px;
    border: 1px solid transparent;
    border-radius: 14px;
    text-align: center;
    transition: .25s ease;
}

.readiness-day:hover,
.readiness-day.active {
    border-color: rgba(79,140,255,.2);
    background: rgba(79,140,255,.05);
}

.readiness-day > span {
    display: block;
    color: rgba(255,255,255,.35);
    font-size: 9px;
    font-weight: 700;
}

.readiness-circle {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin: 12px auto;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
}

.readiness-circle.rest {
    color: #64d8a0;
    background: rgba(100,216,160,.1);
}

.readiness-circle.light {
    color: #79a7ff;
    background: rgba(79,140,255,.1);
}

.readiness-circle.moderate {
    color: #c09aff;
    background: rgba(155,92,255,.12);
}

.readiness-circle.hard {
    color: #ffad65;
    background: rgba(255,173,101,.1);
}

.readiness-day strong {
    display: block;
    font-size: 13px;
}

.readiness-day small {
    display: block;
    margin-top: 3px;
    color: rgba(255,255,255,.3);
    font-size: 7px;
    letter-spacing: .7px;
}


/* SYSTEMS */

.system-row {
    margin-bottom: 17px;
}

.system-row > div:first-child {
    display: flex;
    justify-content: space-between;
    margin-bottom: 7px;
}

.system-row span {
    color: rgba(255,255,255,.48);
    font-size: 11px;
}

.system-row strong {
    font-size: 11px;
}

.system-progress {
    height: 5px;
    overflow: hidden;
    border-radius: 10px;
    background: rgba(255,255,255,.06);
}

.system-progress i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg,#4f8cff,#70a7ff);
    transform: scaleX(0);
    transform-origin: left;
    animation: insightBarIn 1.2s ease forwards;
}

.system-progress.purple i {
    background: linear-gradient(90deg,#7957ff,#b477ff);
}


/* COMPARISON */

.comparison-panel {
    margin-top: 15px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 12px;
}

.comparison-item {
    padding: 20px;
    border-radius: 14px;
    background: rgba(255,255,255,.025);
}

.comparison-item > span {
    color: rgba(255,255,255,.4);
    font-size: 10px;
}

.comparison-item strong {
    display: block;
    margin-top: 8px;
    font-size: 24px;
}

.comparison-change {
    margin-top: 5px;
    font-size: 10px;
    font-weight: 700;
}

.comparison-item small {
    display: block;
    margin-top: 5px;
    color: rgba(255,255,255,.25);
    font-size: 9px;
}


/* INSIGHT CARDS */

.insight-card {
    height: 100%;
    padding: 24px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 18px;
    background: rgba(255,255,255,.025);
    transition: .3s ease;
}

.insight-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,.14);
}

.insight-card-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 11px;
    font-size: 18px;
}

.insight-card h4 {
    margin: 8px 0;
    font-size: 17px;
}

.insight-card p {
    margin: 0;
    color: rgba(255,255,255,.43);
    font-size: 11px;
    line-height: 1.7;
}

.insight-positive .insight-card-icon {
    background: rgba(100,216,160,.1);
    color: #64d8a0;
}

.insight-warning .insight-card-icon {
    background: rgba(255,180,92,.1);
    color: #ffb45c;
}

.insight-ai .insight-card-icon {
    background: rgba(155,92,255,.1);
    color: #b477ff;
}


/* ANIMATIONS */

@keyframes insightBarIn {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}


/* RESPONSIVE */

@media (max-width: 991px) {

    .insights-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .insights-period {
        text-align: left;
    }

    .balance-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .balance-side {
        text-align: center;
    }

    .balance-side strong {
        font-size: 32px;
    }

    .comparison-grid {
        grid-template-columns: repeat(2,1fr);
    }

}

@media (max-width: 767px) {

    .sw-insights {
        padding: 80px 0;
    }

    .performance-score-wrap {
        flex-direction: column;
        text-align: center;
    }

    .score-description p {
        max-width: 280px;
    }

    .readiness-timeline {
        overflow-x: auto;
        grid-template-columns: repeat(7,85px);
        padding-bottom: 8px;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .score-stats {
        grid-template-columns: 1fr;
    }

    .insight-panel {
        padding: 20px;
    }

}
/* =========================================================
   WHAT IF? — SCENARIO LAB
========================================================= */

.sw-whatif-section {
    position: relative;
    padding: 120px 0;
    background:
        radial-gradient(
            circle at 20% 10%,
            rgba(79,140,255,.08),
            transparent 35%
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(155,92,255,.08),
            transparent 35%
        ),
        #060913;
    color: #fff;
    overflow: hidden;
}

.sw-whatif-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(255,255,255,.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.025) 1px,
            transparent 1px
        );

    background-size: 60px 60px;

    mask-image: linear-gradient(
        to bottom,
        black,
        transparent 90%
    );
}


/* HEADER */

.whatif-header {
    position: relative;
    z-index: 2;

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

    gap: 30px;
    margin-bottom: 40px;
}

.whatif-eyebrow {
    color: #6f8fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.whatif-header h2 {
    margin: 0;
    font-size: clamp(32px, 4vw, 54px);
    font-weight: 800;
    letter-spacing: -2px;
}

.whatif-header h2 span {
    color: #7e91ff;
}

.whatif-header p {
    max-width: 650px;
    margin: 14px 0 0;

    color: rgba(255,255,255,.55);
    font-size: 15px;
    line-height: 1.8;
}

.whatif-live {
    display: flex;
    align-items: center;
    gap: 9px;

    padding: 10px 15px;

    border: 1px solid rgba(111,143,255,.22);
    border-radius: 999px;

    background: rgba(79,140,255,.06);

    color: #91a7ff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    white-space: nowrap;
}

.whatif-live span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #64d8a0;
    box-shadow: 0 0 12px #64d8a0;
}


/* MODE SWITCH */

.whatif-mode-wrap {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 12px;
    margin-bottom: 18px;
}

.whatif-mode {
    display: flex;
    align-items: center;
    gap: 15px;

    padding: 18px 20px;

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;

    background: rgba(255,255,255,.025);

    color: #fff;
    text-align: left;

    cursor: pointer;

    transition:
        .3s ease;
}

.whatif-mode:hover {
    border-color: rgba(111,143,255,.35);
    transform: translateY(-2px);
}

.whatif-mode.active {
    border-color: rgba(111,143,255,.55);

    background:
        linear-gradient(
            135deg,
            rgba(79,140,255,.12),
            rgba(155,92,255,.08)
        );

    box-shadow:
        0 15px 40px rgba(0,0,0,.18),
        inset 0 0 30px rgba(79,140,255,.03);
}

.mode-icon {
    width: 43px;
    height: 43px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    background: rgba(79,140,255,.12);

    color: #83a2ff;
    font-size: 20px;
}

.whatif-mode strong {
    display: block;
    font-size: 14px;
}

.whatif-mode small {
    display: block;
    margin-top: 3px;

    color: rgba(255,255,255,.42);
    font-size: 11px;
}


/* PANELS */

.whatif-panel {
    position: relative;
    height: 100%;

    padding: 28px;

    border: 1px solid rgba(255,255,255,.07);
    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.045),
            rgba(255,255,255,.015)
        );

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

    backdrop-filter: blur(20px);
}

.scenario-panel-top,
.results-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    gap: 20px;
    margin-bottom: 25px;
}

.panel-label {
    color: #7189ff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.7px;
}

.scenario-panel h3,
.results-panel h3 {
    margin: 7px 0 0;

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

.scenario-number {
    color: rgba(255,255,255,.18);
    font-size: 32px;
    font-weight: 800;
}


/* OPTIONS */

.scenario-options {
    display: grid;
    gap: 10px;
}

.scenario-option {
    width: 100%;

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

    padding: 15px;

    border: 1px solid rgba(255,255,255,.065);
    border-radius: 14px;

    background: rgba(255,255,255,.025);

    color: #fff;
    text-align: left;

    cursor: pointer;

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

.scenario-option:hover {
    border-color: rgba(111,143,255,.3);
    transform: translateX(3px);
}

.scenario-option.active {
    border-color: rgba(111,143,255,.5);

    background:
        linear-gradient(
            90deg,
            rgba(79,140,255,.11),
            rgba(155,92,255,.06)
        );
}

.scenario-option-icon {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    flex: 0 0 auto;

    border-radius: 10px;

    background: rgba(111,143,255,.1);

    color: #8ba2ff;
}

.scenario-option span:nth-child(2) {
    flex: 1;
}

.scenario-option strong {
    display: block;
    font-size: 13px;
}

.scenario-option small {
    display: block;
    margin-top: 3px;

    color: rgba(255,255,255,.4);
    font-size: 10px;
}

.scenario-option b {
    color: rgba(255,255,255,.3);
    font-size: 17px;
}


/* NOTE */

.scenario-note {
    display: flex;
    gap: 10px;

    margin-top: 22px;
    padding-top: 18px;

    border-top: 1px solid rgba(255,255,255,.06);
}

.scenario-note span {
    color: #9b5cff;
}

.scenario-note p {
    margin: 0;

    color: rgba(255,255,255,.35);
    font-size: 10px;
    line-height: 1.6;
}


/* RESULT */

.result-direction {
    padding: 7px 11px;

    border-radius: 999px;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
}

.result-direction.positive {
    color: #6fe1ac;
    background: rgba(76,210,150,.08);
    border: 1px solid rgba(76,210,150,.15);
}

.result-direction.warning {
    color: #ffb96b;
    background: rgba(255,175,91,.08);
    border: 1px solid rgba(255,175,91,.15);
}


/* METRICS */

.scenario-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.scenario-metric {
    padding-bottom: 15px;
}

.scenario-metric-top {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 10px;
}

.scenario-metric-top span {
    color: rgba(255,255,255,.58);
    font-size: 11px;
}

.scenario-metric-top strong {
    color: #fff;
    font-size: 14px;
}

.scenario-bar {
    height: 5px;

    overflow: hidden;

    border-radius: 99px;

    background: rgba(255,255,255,.06);
}

.scenario-bar div {
    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            #4f8cff,
            #70a7ff
        );

    transition:
        width .7s cubic-bezier(.4,0,.2,1);
}

.scenario-bar.purple div {
    background:
        linear-gradient(
            90deg,
            #8a62ff,
            #b06cff
        );
}

.scenario-bar.blue div {
    background:
        linear-gradient(
            90deg,
            #4f8cff,
            #65d5ff
        );
}

.scenario-bar.danger div {
    background:
        linear-gradient(
            90deg,
            #ff8d71,
            #ff5577
        );
}

.scenario-metric small {
    display: block;
    margin-top: 8px;

    color: rgba(255,255,255,.28);
    font-size: 9px;
}


/* COMPARISON */

.whatif-comparison {
    margin-top: 10px;
    padding: 17px;

    border: 1px solid rgba(255,255,255,.06);
    border-radius: 15px;

    background: rgba(0,0,0,.13);
}

.comparison-header {
    display: flex;
    justify-content: space-between;

    padding-bottom: 11px;
    margin-bottom: 3px;

    border-bottom: 1px solid rgba(255,255,255,.05);

    color: rgba(255,255,255,.3);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.3px;
}

.comparison-row {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 8px 0;
}

.comparison-row > span {
    color: rgba(255,255,255,.48);
    font-size: 11px;
}

.comparison-row strong {
    display: flex;
    align-items: center;
    gap: 9px;

    color: rgba(255,255,255,.5);
    font-size: 11px;
}

.comparison-row b {
    color: #728cff;
}

.comparison-row em {
    color: #fff;
    font-style: normal;
}


/* RECOMMENDATION */

.whatif-recommendation {
    display: flex;
    gap: 14px;

    margin-top: 16px;
    padding: 17px;

    border: 1px solid rgba(111,143,255,.13);
    border-radius: 15px;

    background:
        linear-gradient(
            135deg,
            rgba(79,140,255,.07),
            rgba(155,92,255,.04)
        );
}

.recommendation-icon {
    width: 35px;
    height: 35px;

    display: grid;
    place-items: center;

    flex: 0 0 auto;

    border-radius: 10px;

    background: rgba(155,92,255,.12);

    color: #ae87ff;
}

.whatif-recommendation span {
    color: #8397ff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.whatif-recommendation h4 {
    margin: 5px 0;

    font-size: 13px;
    font-weight: 600;
}

.whatif-recommendation p {
    margin: 0;

    color: rgba(255,255,255,.43);
    font-size: 10px;
    line-height: 1.6;
}


/* ACTIONS */

.whatif-actions {
    display: flex;
    gap: 10px;

    margin-top: 17px;
}

.whatif-actions .sw-btn {
    border: 0;
    font-size: 11px;
}


/* DISCLAIMER */

.whatif-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    max-width: 850px;

    margin: 22px auto 0;

    color: rgba(255,255,255,.28);
}

.whatif-disclaimer span {
    color: #7189ff;
}

.whatif-disclaimer p {
    margin: 0;

    font-size: 10px;
    line-height: 1.6;
}


/* RESPONSIVE */

@media (max-width: 991px) {

    .whatif-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .whatif-live {
        align-self: flex-start;
    }

}

@media (max-width: 767px) {

    .sw-whatif-section {
        padding: 80px 0;
    }

    .whatif-mode-wrap {
        grid-template-columns: 1fr;
    }

    .scenario-metrics {
        grid-template-columns: 1fr;
    }

    .whatif-panel {
        padding: 21px;
    }

    .whatif-header h2 {
        letter-spacing: -1px;
    }

    .whatif-actions {
        flex-direction: column;
    }

    .whatif-actions .sw-btn {
        width: 100%;
    }

}
/* =========================================================
   SECOND WIND — RECOVERY LAB
========================================================= */

.sw-recovery-section {
    position: relative;
    padding: 120px 0;

    background:
        radial-gradient(
            circle at 15% 5%,
            rgba(100,216,160,.08),
            transparent 34%
        ),
        radial-gradient(
            circle at 90% 70%,
            rgba(155,92,255,.08),
            transparent 35%
        ),
        #060913;

    color: #fff;
    overflow: hidden;
}


/* GRID */

.sw-recovery-section::before {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(255,255,255,.022) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.022) 1px,
            transparent 1px
        );

    background-size: 60px 60px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 90%
        );
}


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

.recovery-header {
    position: relative;
    z-index: 2;

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

    gap: 30px;

    margin-bottom: 40px;
}

.recovery-eyebrow {
    margin-bottom: 12px;

    color: #64d8a0;

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

    letter-spacing: 2px;
}

.recovery-header h2 {
    margin: 0;

    font-size: clamp(32px,4vw,54px);
    font-weight: 800;

    letter-spacing: -2px;
}

.recovery-header h2 span {
    color: #64d8a0;
}

.recovery-header p {
    max-width: 650px;

    margin: 14px 0 0;

    color: rgba(255,255,255,.52);

    font-size: 15px;
    line-height: 1.8;
}

.recovery-live {
    display: flex;
    align-items: center;
    gap: 9px;

    padding: 10px 15px;

    border: 1px solid rgba(100,216,160,.2);
    border-radius: 999px;

    background: rgba(100,216,160,.05);

    color: #82e4b2;

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

    letter-spacing: 1.5px;
    white-space: nowrap;
}

.recovery-live span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #64d8a0;

    box-shadow:
        0 0 12px #64d8a0;
}


/* =========================================================
   PANELS
========================================================= */

.recovery-panel {
    position: relative;

    height: 100%;

    padding: 28px;

    border: 1px solid rgba(255,255,255,.07);
    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.045),
            rgba(255,255,255,.015)
        );

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

    backdrop-filter: blur(20px);
}

.recovery-panel-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    gap: 20px;

    margin-bottom: 25px;
}

.recovery-label {
    color: #71dba3;

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

    letter-spacing: 1.7px;
}

.recovery-panel h3 {
    margin: 7px 0 0;

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

.recovery-number {
    color: rgba(255,255,255,.16);

    font-size: 32px;
    font-weight: 800;
}

.recovery-period {
    color: rgba(255,255,255,.28);

    font-size: 9px;

    letter-spacing: 1.3px;
}


/* =========================================================
   SCORE
========================================================= */

.recovery-score-main {
    display: flex;
    align-items: center;

    gap: 25px;
}

.recovery-score-ring {
    position: relative;

    width: 180px;
    height: 180px;

    flex: 0 0 180px;
}

.recovery-score-ring svg {
    width: 100%;
    height: 100%;

    transform: rotate(-90deg);
}

.recovery-ring-bg,
.recovery-ring-progress {
    fill: none;

    stroke-width: 10;
}

.recovery-ring-bg {
    stroke: rgba(255,255,255,.07);
}

.recovery-ring-progress {
    stroke: #64d8a0;

    stroke-linecap: round;

    stroke-dasharray: 452;
    stroke-dashoffset: 452;

    transition:
        stroke-dashoffset 1.5s ease;
}

.recovery-score-value {
    position: absolute;
    inset: 0;

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

    flex-direction: column;
}

.recovery-score-value strong {
    font-size: 44px;
    line-height: 1;

    font-weight: 800;
}

.recovery-score-value span {
    margin-top: 5px;

    color: rgba(255,255,255,.35);

    font-size: 11px;
}

.recovery-score-copy {
    flex: 1;
}

.recovery-mini-label {
    color: rgba(255,255,255,.32);

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

    letter-spacing: 1.2px;
}

.recovery-score-copy h4 {
    margin: 8px 0;

    font-size: 18px;
}

.recovery-score-copy p {
    margin: 0;

    color: rgba(255,255,255,.42);

    font-size: 11px;
    line-height: 1.7;
}

.recovery-status {
    padding: 7px 11px;

    border-radius: 999px;

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

    letter-spacing: 1px;
}

.recovery-status.good {
    color: #6fe1ac;

    background: rgba(76,210,150,.08);

    border: 1px solid rgba(76,210,150,.15);
}


/* =========================================================
   FACTORS
========================================================= */

.recovery-factors {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 16px;

    margin-top: 28px;

    padding-top: 22px;

    border-top: 1px solid rgba(255,255,255,.06);
}

.recovery-factor > div:first-child {
    display: flex;
    justify-content: space-between;

    margin-bottom: 7px;
}

.recovery-factor span {
    color: rgba(255,255,255,.42);

    font-size: 10px;
}

.recovery-factor strong {
    font-size: 10px;
}

.recovery-progress {
    height: 5px;

    overflow: hidden;

    border-radius: 10px;

    background: rgba(255,255,255,.06);
}

.recovery-progress i {
    display: block;

    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            #4fcf94,
            #7ce7b2
        );

    transition: width .8s ease;
}

.recovery-progress.purple i {
    background:
        linear-gradient(
            90deg,
            #7957ff,
            #b477ff
        );
}

.recovery-progress.blue i {
    background:
        linear-gradient(
            90deg,
            #4f8cff,
            #63c4ff
        );
}

.recovery-progress.orange i {
    background:
        linear-gradient(
            90deg,
            #ffb45c,
            #ff8d71
        );
}


/* =========================================================
   INPUT SIGNALS
========================================================= */

.recovery-input-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10px;
}

.recovery-input-card {
    display: flex;
    align-items: center;

    gap: 12px;

    padding: 15px;

    border: 1px solid rgba(255,255,255,.06);
    border-radius: 14px;

    background: rgba(255,255,255,.025);

    transition: .25s ease;
}

.recovery-input-card:hover {
    transform: translateY(-2px);

    border-color: rgba(100,216,160,.2);

    background: rgba(100,216,160,.035);
}

.recovery-input-icon {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    flex: 0 0 auto;

    border-radius: 11px;

    color: #64d8a0;

    background: rgba(100,216,160,.09);
}

.recovery-input-icon.hrv {
    color: #b477ff;

    background: rgba(155,92,255,.1);
}

.recovery-input-icon.heart {
    color: #70a7ff;

    background: rgba(79,140,255,.1);
}

.recovery-input-icon.stress {
    color: #ffb45c;

    background: rgba(255,180,92,.1);
}

.recovery-input-info {
    flex: 1;
}

.recovery-input-info > span {
    display: block;

    color: rgba(255,255,255,.3);

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

    letter-spacing: 1px;
}

.recovery-input-info strong {
    display: block;

    margin-top: 4px;

    font-size: 15px;
}

.recovery-input-info small {
    display: block;

    margin-top: 2px;

    color: rgba(255,255,255,.28);

    font-size: 8px;
}

.recovery-input-score {
    color: #64d8a0;

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


/* =========================================================
   SIGNAL SUMMARY
========================================================= */

.recovery-signal-summary {
    display: flex;

    gap: 12px;

    margin-top: 20px;
    padding: 15px;

    border: 1px solid rgba(100,216,160,.1);
    border-radius: 14px;

    background: rgba(100,216,160,.035);
}

.signal-summary-icon {
    width: 32px;
    height: 32px;

    display: grid;
    place-items: center;

    flex: 0 0 auto;

    border-radius: 9px;

    color: #64d8a0;

    background: rgba(100,216,160,.1);
}

.recovery-signal-summary span {
    color: #64d8a0;

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

    letter-spacing: 1px;
}

.recovery-signal-summary p {
    margin: 5px 0 0;

    color: rgba(255,255,255,.4);

    font-size: 10px;
    line-height: 1.6;
}


/* =========================================================
   RECOVERY ZONES
========================================================= */

.recovery-zone-panel {
    height: auto;

    margin-top: 15px;
}

.recovery-zones {
    display: grid;

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

    gap: 10px;
}

.recovery-zone {
    display: flex;
    align-items: center;

    gap: 12px;

    padding: 16px;

    border: 1px solid rgba(255,255,255,.06);
    border-radius: 14px;

    background: rgba(255,255,255,.025);

    color: #fff;

    text-align: left;

    cursor: pointer;

    transition: .25s ease;
}

.recovery-zone:hover,
.recovery-zone.active {
    transform: translateY(-2px);

    border-color: rgba(100,216,160,.25);

    background:
        linear-gradient(
            135deg,
            rgba(100,216,160,.08),
            rgba(79,140,255,.04)
        );
}

.zone-icon {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    flex: 0 0 auto;

    border-radius: 10px;

    color: #64d8a0;

    background: rgba(100,216,160,.09);
}

.zone-icon.purple {
    color: #b477ff;

    background: rgba(155,92,255,.1);
}

.zone-icon.blue {
    color: #70a7ff;

    background: rgba(79,140,255,.1);
}

.zone-icon.green {
    color: #64d8a0;

    background: rgba(100,216,160,.1);
}

.recovery-zone div:nth-child(2) {
    flex: 1;
}

.recovery-zone strong {
    display: block;

    font-size: 12px;
}

.recovery-zone span {
    display: block;

    margin-top: 3px;

    color: rgba(255,255,255,.32);

    font-size: 8px;
}

.recovery-zone > b {
    color: rgba(255,255,255,.65);

    font-size: 12px;
}


/* =========================================================
   TIMELINE
========================================================= */

.recovery-timeline-panel {
    min-height: 100%;
}

.recovery-timeline {
    position: relative;

    padding-left: 18px;
}

.timeline-line {
    position: absolute;

    top: 10px;
    bottom: 15px;
    left: 5px;

    width: 1px;

    background:
        linear-gradient(
            to bottom,
            rgba(100,216,160,.5),
            rgba(155,92,255,.15),
            transparent
        );
}

.timeline-item {
    position: relative;

    display: flex;
    align-items: flex-start;

    gap: 15px;

    padding-bottom: 25px;
}

.timeline-dot {
    position: relative;
    z-index: 2;

    width: 11px;
    height: 11px;

    margin-left: -18px;
    margin-top: 4px;

    flex: 0 0 11px;

    border: 3px solid #080b12;

    border-radius: 50%;

    background: #64d8a0;

    box-shadow:
        0 0 12px rgba(100,216,160,.6);
}

.blue-dot {
    background: #4f8cff;
}

.purple-dot {
    background: #9b5cff;
}

.green-dot {
    background: #64d8a0;
}

.timeline-content {
    flex: 1;
}

.timeline-content > span {
    color: rgba(255,255,255,.3);

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

    letter-spacing: 1px;
}

.timeline-content strong {
    display: block;

    margin-top: 4px;

    font-size: 12px;
}

.timeline-content p {
    margin: 5px 0 0;

    color: rgba(255,255,255,.35);

    font-size: 9px;
    line-height: 1.6;
}

.timeline-item > b {
    color: #64d8a0;

    font-size: 13px;
}


/* =========================================================
   AI PANEL
========================================================= */

.recovery-ai-panel {
    overflow: hidden;

    border-color:
        rgba(155,92,255,.14);

    background:
        radial-gradient(
            circle at 90% 5%,
            rgba(155,92,255,.18),
            transparent 45%
        ),
        linear-gradient(
            145deg,
            rgba(79,140,255,.055),
            rgba(155,92,255,.055)
        );
}

.recovery-ai-glow {
    position: absolute;

    width: 220px;
    height: 220px;

    top: -130px;
    right: -100px;

    border-radius: 50%;

    background: #9b5cff;

    filter: blur(100px);

    opacity: .12;

    pointer-events: none;
}

.recovery-ai-icon {
    position: relative;

    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    margin-bottom: 18px;

    border-radius: 13px;

    color: #b477ff;

    background: rgba(155,92,255,.11);

    font-size: 20px;
}

.recovery-ai-panel h3 {
    position: relative;

    max-width: 400px;

    margin: 9px 0 12px;

    font-size: 22px;
    line-height: 1.35;
}

.recovery-ai-panel > p {
    position: relative;

    margin: 0;

    color: rgba(255,255,255,.43);

    font-size: 11px;
    line-height: 1.75;
}

.recovery-ai-stats {
    display: grid;

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

    gap: 8px;

    margin-top: 25px;
}

.recovery-ai-stats div {
    padding: 12px;

    border-radius: 11px;

    background: rgba(255,255,255,.035);
}

.recovery-ai-stats span {
    display: block;

    color: rgba(255,255,255,.3);

    font-size: 7px;
    letter-spacing: 1px;
}

.recovery-ai-stats strong {
    display: block;

    margin-top: 5px;

    font-size: 19px;
}

.recovery-action-btn {
    position: relative;

    width: 100%;

    margin-top: 20px;

    padding: 12px 15px;

    border: 1px solid rgba(155,92,255,.2);
    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            rgba(79,140,255,.1),
            rgba(155,92,255,.1)
        );

    color: #fff;

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

    cursor: pointer;

    transition: .25s ease;
}

.recovery-action-btn span {
    margin-left: 8px;
}

.recovery-action-btn:hover {
    transform: translateY(-2px);

    border-color: rgba(155,92,255,.4);

    background:
        linear-gradient(
            135deg,
            rgba(79,140,255,.16),
            rgba(155,92,255,.16)
        );
}


/* =========================================================
   ACTIONS
========================================================= */

.recovery-action-section {
    position: relative;

    margin-top: 45px;
}

.recovery-action-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    margin-bottom: 18px;
}

.recovery-action-heading h3 {
    margin: 7px 0 0;

    font-size: 20px;
}

.recovery-action-heading > span {
    color: rgba(255,255,255,.25);

    font-size: 8px;

    letter-spacing: 1.3px;
}

.recovery-action-grid {
    display: grid;

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

    gap: 10px;
}

.recovery-action-card {
    display: flex;
    align-items: center;

    gap: 12px;

    padding: 16px;

    border: 1px solid rgba(255,255,255,.06);
    border-radius: 15px;

    background: rgba(255,255,255,.025);

    color: #fff;

    text-align: left;

    cursor: pointer;

    transition: .25s ease;
}

.recovery-action-card:hover {
    transform: translateY(-3px);

    border-color: rgba(100,216,160,.22);

    background: rgba(100,216,160,.035);
}

.action-card-icon {
    width: 37px;
    height: 37px;

    display: grid;
    place-items: center;

    flex: 0 0 auto;

    border-radius: 10px;

    color: #64d8a0;

    background: rgba(100,216,160,.1);
}

.action-card-icon.purple {
    color: #b477ff;
    background: rgba(155,92,255,.1);
}

.action-card-icon.blue {
    color: #70a7ff;
    background: rgba(79,140,255,.1);
}

.action-card-icon.green {
    color: #64d8a0;
    background: rgba(100,216,160,.1);
}

.recovery-action-card div {
    flex: 1;
}

.recovery-action-card strong {
    display: block;

    font-size: 11px;
}

.recovery-action-card small {
    display: block;

    margin-top: 3px;

    color: rgba(255,255,255,.3);

    font-size: 8px;
    line-height: 1.4;
}

.recovery-action-card > b {
    color: #64d8a0;

    font-size: 11px;
}


/* =========================================================
   DISCLAIMER
========================================================= */

.recovery-disclaimer {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    max-width: 850px;

    margin: 22px auto 0;

    color: rgba(255,255,255,.27);
}

.recovery-disclaimer > span {
    color: #64d8a0;
}

.recovery-disclaimer p {
    margin: 0;

    font-size: 9px;
    line-height: 1.6;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1199px) {

    .recovery-zones {
        grid-template-columns: repeat(2,1fr);
    }

    .recovery-action-grid {
        grid-template-columns: repeat(2,1fr);
    }

}


@media (max-width: 991px) {

    .recovery-header {
        align-items: flex-start;

        flex-direction: column;
    }

    .recovery-live {
        align-self: flex-start;
    }

}


@media (max-width: 767px) {

    .sw-recovery-section {
        padding: 80px 0;
    }

    .recovery-panel {
        padding: 21px;
    }

    .recovery-score-main {
        flex-direction: column;

        text-align: center;
    }

    .recovery-score-copy {
        width: 100%;
    }

    .recovery-score-copy p {
        max-width: 300px;

        margin-left: auto;
        margin-right: auto;
    }

    .recovery-factors {
        grid-template-columns: 1fr;
    }

    .recovery-input-grid {
        grid-template-columns: 1fr;
    }

    .recovery-zones {
        grid-template-columns: 1fr;
    }

    .recovery-action-grid {
        grid-template-columns: 1fr;
    }

    .recovery-action-heading {
        align-items: flex-start;

        flex-direction: column;

        gap: 10px;
    }

    .recovery-ai-panel h3 {
        font-size: 20px;
    }

    .recovery-header h2 {
        letter-spacing: -1px;
    }

}


@media (prefers-reduced-motion: reduce) {

    .recovery-ring-progress,
    .recovery-panel,
    .recovery-action-card,
    .recovery-zone {
        transition: none !important;
    }

}
/* =========================================================
   SECOND WIND — ATHLETE PROFILE
========================================================= */

.sw-athlete-profile {
    position: relative;
    padding: 120px 0;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 10% 15%,
            rgba(79,140,255,.09),
            transparent 34%
        ),
        radial-gradient(
            circle at 90% 75%,
            rgba(155,92,255,.08),
            transparent 35%
        ),
        #060913;

    color: #fff;
}


/* GRID */

.sw-athlete-profile::before {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    opacity: .35;

    background-image:
        linear-gradient(
            rgba(255,255,255,.02) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.02) 1px,
            transparent 1px
        );

    background-size: 60px 60px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 90%
        );
}


/* HEADER */

.athlete-profile-header {
    position: relative;
    z-index: 2;

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

    gap: 30px;

    margin-bottom: 42px;
}

.athlete-eyebrow {
    margin-bottom: 12px;

    color: #6f8fff;

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

    letter-spacing: 2px;
}

.athlete-profile-header h2 {
    margin: 0;

    font-size: clamp(32px,4vw,54px);
    font-weight: 800;

    letter-spacing: -2px;
}

.athlete-profile-header h2 span {
    color: #7e91ff;
}

.athlete-profile-header p {
    max-width: 650px;

    margin: 14px 0 0;

    color: rgba(255,255,255,.52);

    font-size: 14px;
    line-height: 1.8;
}

.athlete-profile-status {
    display: flex;
    align-items: center;
    gap: 9px;

    padding: 10px 15px;

    border: 1px solid rgba(100,216,160,.16);
    border-radius: 999px;

    background: rgba(100,216,160,.05);

    color: #6fe1ac;

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

    letter-spacing: 1.3px;

    white-space: nowrap;
}

.athlete-profile-status span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #64d8a0;

    box-shadow:
        0 0 12px #64d8a0;

    animation: athletePulse 2s infinite;
}


/* PANELS */

.athlete-panel {
    position: relative;
    z-index: 2;

    height: 100%;

    padding: 27px;

    overflow: hidden;

    border: 1px solid rgba(255,255,255,.07);
    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.045),
            rgba(255,255,255,.015)
        );

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

    backdrop-filter: blur(20px);
}


/* PROFILE CARD */

.athlete-main-card {
    min-height: 560px;

    display: flex;
    flex-direction: column;

    justify-content: flex-start;
}

.athlete-card-glow {
    position: absolute;

    width: 260px;
    height: 260px;

    top: -150px;
    left: 50%;

    transform: translateX(-50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(79,140,255,.2),
            transparent 68%
        );

    pointer-events: none;
}


/* AVATAR */

.athlete-avatar-wrap {
    position: relative;

    width: 105px;
    height: 105px;

    margin: 8px auto 20px;
}

.athlete-avatar {
    width: 105px;
    height: 105px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    border: 2px solid rgba(111,143,255,.35);

    background:
        linear-gradient(
            145deg,
            #1b2b52,
            #11162a
        );

    box-shadow:
        0 0 0 8px rgba(79,140,255,.035),
        0 15px 40px rgba(0,0,0,.3);

    color: #a9bcff;

    font-size: 26px;
    font-weight: 800;

    letter-spacing: -1px;
}

.athlete-avatar::before {
    content: "";

    position: absolute;
    inset: -5px;

    border-radius: 50%;

    border: 1px solid rgba(155,92,255,.18);

    animation: athleteAvatarSpin 10s linear infinite;
}

.athlete-online-dot {
    position: absolute;

    right: 5px;
    bottom: 7px;

    width: 15px;
    height: 15px;

    border: 3px solid #090d17;
    border-radius: 50%;

    background: #64d8a0;

    box-shadow: 0 0 12px rgba(100,216,160,.7);
}


/* IDENTITY */

.athlete-identity {
    text-align: center;
}

.athlete-label {
    color: #7189ff;

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

    letter-spacing: 1.6px;
}

.athlete-identity h3 {
    margin: 7px 0 4px;

    font-size: 25px;
}

.athlete-identity p {
    margin: 0;

    color: rgba(255,255,255,.4);

    font-size: 11px;
}


/* TAGS */

.athlete-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 7px;

    margin-top: 17px;
}

.athlete-tags span {
    padding: 6px 9px;

    border: 1px solid rgba(79,140,255,.13);
    border-radius: 999px;

    background: rgba(79,140,255,.05);

    color: #7f9aff;

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

    letter-spacing: 1px;
}


/* META */

.athlete-profile-meta {
    display: grid;
    grid-template-columns: repeat(3,1fr);

    gap: 8px;

    margin-top: 28px;
}

.athlete-profile-meta > div {
    padding: 12px 8px;

    border-radius: 11px;

    background: rgba(255,255,255,.025);

    text-align: center;
}

.athlete-profile-meta span {
    display: block;

    color: rgba(255,255,255,.3);

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

    letter-spacing: .8px;
}

.athlete-profile-meta strong {
    display: block;

    margin-top: 6px;

    color: #e7ecf8;

    font-size: 11px;
}


/* EDIT */

.athlete-edit-btn {
    width: 100%;

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

    margin-top: auto;
    padding: 12px 14px;

    border: 1px solid rgba(79,140,255,.18);
    border-radius: 11px;

    background: rgba(79,140,255,.06);

    color: #a3b8ff;

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

    cursor: pointer;

    transition: .25s ease;
}

.athlete-edit-btn:hover {
    background: rgba(79,140,255,.13);
    border-color: rgba(79,140,255,.35);

    transform: translateY(-2px);
}

.athlete-edit-btn span {
    font-size: 14px;
}


/* PANEL TOP */

.athlete-panel-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    gap: 20px;
}

.athlete-panel-label {
    color: #7189ff;

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

    letter-spacing: 1.5px;
}

.athlete-panel-top h3 {
    margin: 7px 0 0;

    font-size: 18px;
}


/* COMPLETION */

.athlete-completion-card {
    min-height: 180px;
}

.athlete-completion-number {
    color: #91a7ff;

    font-size: 28px;
}

.athlete-progress {
    height: 7px;

    overflow: hidden;

    margin-top: 28px;

    border-radius: 20px;

    background: rgba(255,255,255,.06);
}

.athlete-progress span {
    display: block;

    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            #4f8cff,
            #9b5cff
        );

    transition: width 1.2s ease;
}

.athlete-completion-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 10px;

    margin-top: 12px;
}

.athlete-completion-bottom span {
    color: rgba(255,255,255,.32);

    font-size: 9px;
}

.athlete-completion-bottom button {
    border: 0;

    background: none;

    color: #809aff;

    font-size: 9px;

    cursor: pointer;
}


/* READINESS */

.athlete-readiness-card {
    min-height: 180px;
}

.athlete-readiness-value {
    display: flex;
    align-items: baseline;

    margin-top: 17px;
}

.athlete-readiness-value strong {
    font-size: 42px;
    line-height: 1;
}

.athlete-readiness-value span {
    margin-left: 4px;

    color: rgba(255,255,255,.25);

    font-size: 12px;
}

.athlete-readiness-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    margin-top: 12px;

    color: #64d8a0;

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

.athlete-readiness-status span {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #64d8a0;
}

.athlete-readiness-card p {
    margin: 12px 0 0;

    color: rgba(255,255,255,.35);

    font-size: 9px;
    line-height: 1.6;
}


/* GOALS */

.athlete-detail-card {
    min-height: 285px;
}

.athlete-mini-icon {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    background: rgba(79,140,255,.08);

    color: #8ba2ff;
}

.athlete-mini-icon.purple {
    background: rgba(155,92,255,.09);
    color: #b18aff;
}

.athlete-goals {
    display: grid;

    gap: 8px;

    margin-top: 20px;
}

.athlete-goal {
    display: flex;
    align-items: center;

    gap: 10px;

    padding: 10px 12px;

    border: 1px solid rgba(255,255,255,.05);
    border-radius: 10px;

    background: rgba(255,255,255,.02);

    cursor: pointer;

    transition: .25s ease;
}

.athlete-goal:hover {
    border-color: rgba(79,140,255,.2);
}

.athlete-goal.active {
    background: rgba(79,140,255,.055);
    border-color: rgba(79,140,255,.15);
}

.athlete-goal > span {
    color: rgba(255,255,255,.25);

    font-size: 8px;
}

.athlete-goal strong {
    flex: 1;

    font-size: 10px;
}

.athlete-goal b {
    color: rgba(255,255,255,.25);

    font-size: 12px;
}

.athlete-goal.active b {
    color: #64d8a0;
}


/* STYLE */

.athlete-style-list {
    margin-top: 22px;
}

.athlete-style-list > div {
    display: flex;
    justify-content: space-between;

    padding: 12px 0;

    border-bottom: 1px solid rgba(255,255,255,.045);
}

.athlete-style-list > div:last-child {
    border-bottom: 0;
}

.athlete-style-list span {
    color: rgba(255,255,255,.36);

    font-size: 9px;
}

.athlete-style-list strong {
    color: #dce5f6;

    font-size: 10px;
}


/* METRICS */

.athlete-metrics-card {
    min-height: 220px;
}

.athlete-updated {
    color: rgba(255,255,255,.25);

    font-size: 8px;
    letter-spacing: 1px;
}

.athlete-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);

    gap: 12px;

    margin-top: 25px;
}

.athlete-metric {
    padding: 16px;

    border-radius: 13px;

    background: rgba(255,255,255,.025);
}

.athlete-metric > span {
    display: block;

    color: rgba(255,255,255,.35);

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

    letter-spacing: 1px;
}

.athlete-metric strong {
    display: block;

    margin-top: 8px;

    font-size: 27px;
}

.athlete-metric small {
    display: block;

    margin-top: 3px;

    color: rgba(255,255,255,.3);

    font-size: 8px;
}

.athlete-metric-bar {
    height: 4px;

    overflow: hidden;

    margin-top: 13px;

    border-radius: 10px;

    background: rgba(255,255,255,.05);
}

.athlete-metric-bar i {
    display: block;

    width: 0;

    height: 100%;

    border-radius: inherit;

    background: #64d8a0;

    transition: width 1.2s ease;
}

.athlete-metric-bar.blue i {
    background: #4f8cff;
}

.athlete-metric-bar.purple i {
    background: #9b5cff;
}

.athlete-metric-bar.orange i {
    background: #ffb45c;
}


/* NOTE */

.athlete-profile-note {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: flex-start;

    gap: 10px;

    max-width: 850px;

    margin: 23px auto 0;

    color: rgba(255,255,255,.27);
}

.athlete-profile-note > span {
    color: #8d72ff;
}

.athlete-profile-note p {
    margin: 0;

    font-size: 10px;
    line-height: 1.6;
}


/* MODAL */

.athlete-edit-modal {
    position: fixed;
    inset: 0;

    z-index: 9999;

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

    padding: 20px;
}

.athlete-edit-modal.show {
    display: flex;
}

.athlete-modal-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(2,4,10,.8);

    backdrop-filter: blur(10px);
}

.athlete-modal {
    position: relative;
    z-index: 2;

    width: min(100%,480px);

    padding: 30px;

    border: 1px solid rgba(255,255,255,.1);
    border-radius: 22px;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(79,140,255,.1),
            transparent 45%
        ),
        #0b0f1a;

    box-shadow:
        0 35px 100px rgba(0,0,0,.55);

    animation: athleteModalIn .3s ease;
}

.athlete-modal-close {
    position: absolute;

    top: 13px;
    right: 13px;

    width: 31px;
    height: 31px;

    border: 1px solid rgba(255,255,255,.06);
    border-radius: 50%;

    background: rgba(255,255,255,.04);

    color: #71809b;

    cursor: pointer;

    font-size: 18px;
}

.athlete-modal h3 {
    margin: 8px 0;

    font-size: 25px;
}

.athlete-modal > p {
    margin: 0 0 22px;

    color: rgba(255,255,255,.4);

    font-size: 10px;
    line-height: 1.6;
}

.athlete-form {
    display: grid;

    gap: 15px;
}

.athlete-form label {
    display: grid;

    gap: 7px;

    color: rgba(255,255,255,.5);

    font-size: 9px;
}

.athlete-form input,
.athlete-form select {
    width: 100%;

    padding: 12px 13px;

    outline: none;

    border: 1px solid rgba(255,255,255,.07);
    border-radius: 10px;

    background: rgba(255,255,255,.035);

    color: #fff;

    font-size: 11px;
}

.athlete-form input:focus,
.athlete-form select:focus {
    border-color: rgba(79,140,255,.4);
}

.athlete-form select option {
    background: #0b0f1a;
    color: #fff;
}

.athlete-save-btn {
    margin-top: 5px;

    padding: 13px;

    border: 0;
    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            #4f8cff,
            #735cff
        );

    color: #fff;

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

    cursor: pointer;

    transition: .25s ease;
}

.athlete-save-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 30px rgba(79,140,255,.2);
}

.athlete-save-btn span {
    margin-left: 8px;
}


/* REVEAL */

.athlete-reveal {
    opacity: 0;

    transform: translateY(25px);

    transition:
        opacity .7s ease,
        transform .7s ease;
}

.athlete-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* ANIMATIONS */

@keyframes athletePulse {
    0%,100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .55;
        transform: scale(.8);
    }
}

@keyframes athleteAvatarSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes athleteModalIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* RESPONSIVE */

@media (max-width: 991px) {

    .athlete-profile-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .athlete-profile-status {
        align-self: flex-start;
    }

    .athlete-main-card {
        min-height: auto;
    }

    .athlete-metrics-grid {
        grid-template-columns: repeat(2,1fr);
    }

}

@media (max-width: 767px) {

    .sw-athlete-profile {
        padding: 80px 0;
    }

    .athlete-profile-header h2 {
        letter-spacing: -1px;
    }

    .athlete-panel {
        padding: 21px;
    }

    .athlete-profile-meta {
        grid-template-columns: 1fr;
    }

    .athlete-metrics-grid {
        grid-template-columns: 1fr;
    }

    .athlete-completion-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .athlete-modal {
        padding: 24px;
    }

}

@media (prefers-reduced-motion: reduce) {

    .athlete-reveal {
        opacity: 1;
        transform: none;

        transition: none;
    }

    .athlete-avatar::before,
    .athlete-profile-status span {
        animation: none;
    }

}
/* =========================================
   SECOND WIND FOOTER
========================================= */

.second-footer {
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 20% 0%,
            rgba(79, 140, 255, 0.08),
            transparent 32%
        ),
        radial-gradient(
            circle at 80% 0%,
            rgba(155, 92, 255, 0.09),
            transparent 35%
        ),
        #070B1A;

    border-top: 1px solid rgba(255, 255, 255, 0.07);

    color: #929BB3;
}


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

.second-footer-inner {
    padding: 70px 0 30px;
}


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

.second-footer-brand {
    display: inline-block;

    margin-bottom: 16px;

    color: #F4F7FF;

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

    letter-spacing: 1.8px;

    text-decoration: none;
}

.second-footer-brand span {
    background:
        linear-gradient(
            90deg,
            #4F8CFF,
            #9B5CFF
        );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.second-footer-description {
    max-width: 360px;

    margin: 0;

    color: #667089;

    font-size: 13px;
    line-height: 1.8;
}


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

.second-footer h6 {
    margin-bottom: 18px;

    color: #F4F7FF;

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

    letter-spacing: 1.4px;
    text-transform: uppercase;
}


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

.second-footer-links {
    display: flex;
    flex-direction: column;

    gap: 10px;

    padding: 0;
    margin: 0;

    list-style: none;
}

.second-footer-links a {
    position: relative;

    display: inline-block;

    width: fit-content;

    color: #929BB3;

    font-size: 12.5px;

    text-decoration: none;

    transition:
        color .25s ease,
        transform .25s ease;
}

.second-footer-links a:hover {
    color: #F4F7FF;

    transform: translateX(4px);
}


/* =========================================
   GRADIENT LINE
========================================= */

.second-footer-line {
    height: 1px;

    margin-top: 55px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(79, 140, 255, .35),
            rgba(155, 92, 255, .4),
            transparent
        );
}


/* =========================================
   BOTTOM
========================================= */

.second-footer-bottom {
    display: flex;

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

    gap: 20px;

    padding-top: 25px;
}

.second-footer-bottom p {
    margin: 0;

    color: #667089;

    font-size: 11px;
}


/* =========================================
   SOCIAL / FOOTER ICONS
========================================= */

.second-footer-social {
    display: flex;

    align-items: center;

    gap: 8px;
}

.second-footer-social a {
    width: 34px;
    height: 34px;

    display: inline-flex;

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

    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 50%;

    background: rgba(255, 255, 255, .025);

    color: #929BB3;

    text-decoration: none;

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

.second-footer-social a:hover {
    color: #FFFFFF;

    border-color: rgba(79, 140, 255, .45);

    background:
        linear-gradient(
            135deg,
            rgba(79, 140, 255, .12),
            rgba(155, 92, 255, .12)
        );

    transform: translateY(-3px);

    box-shadow:
        0 8px 25px rgba(79, 140, 255, .12);
}


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

@media (max-width: 767px) {

    .second-footer-inner {
        padding: 50px 0 25px;
    }

    .second-footer-bottom {
        flex-direction: column;

        align-items: flex-start;

        padding-top: 22px;
    }

    .second-footer-line {
        margin-top: 40px;
    }

}
