/* ========================================
   MAXIMUS - Dark + Lime Green Theme
   ======================================== */

:root {
    /* Core Colors - Dark & Lime */
    --primary: #c8ff00;
    --primary-dark: #a8d900;
    --primary-glow: rgba(200, 255, 0, 0.3);
    --lime: #c8ff00;

    /* Dark backgrounds */
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --bg-card: #151515;
    --bg-elevated: #1f1f1f;

    /* Text colors */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-tertiary: rgba(255, 255, 255, 0.5);
    --text-on-primary: #0a0a0a;

    /* Stats Ring Colors */
    --ring-volume: #c8ff00;
    --ring-density: #5E5CE6;
    --ring-work-rest: #BF5AF2;
    --ring-effort: #FF9F0A;

    /* Borders & Effects */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-lime: rgba(200, 255, 0, 0.2);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #c8ff00 0%, #9acd32 100%);
    --gradient-dark: linear-gradient(180deg, #0a0a0a 0%, #111111 100%);
    --gradient-glow: radial-gradient(ellipse at center, rgba(200, 255, 0, 0.15) 0%, transparent 70%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(200, 255, 0, 0.2);

    /* Layout */
    --max-width: 1200px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

/* ========================================
   RESET & BASE
   ======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(200, 255, 0, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(200, 255, 0, 0.5);
    }
}

@keyframes float {

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

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

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

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

.fade-in {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.15s;
}

.delay-2 {
    animation-delay: 0.3s;
}

.delay-3 {
    animation-delay: 0.45s;
}

.delay-4 {
    animation-delay: 0.6s;
}

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

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-btn {
    padding: 10px 24px !important;
    background: var(--gradient-primary) !important;
    color: var(--text-on-primary) !important;
    font-weight: 600 !important;
    border-radius: var(--radius-md);
    transition: all 0.3s ease !important;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.nav-btn::after {
    display: none !important;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    min-height: 100vh;
    padding: 160px 0 100px;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Ambient glow effect */
.hero::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 500px;
    background: radial-gradient(ellipse at center, rgba(200, 255, 0, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* Grid pattern overlay */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(200, 255, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 255, 0, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-pill {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(200, 255, 0, 0.1);
    border: 1px solid var(--border-lime);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease forwards;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero>.container>p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto 40px;
}

/* ========================================
   WORKOUT STATS RINGS WIDGET
   ======================================== */

.workout-rings-widget {
    display: inline-block;
    margin: 0 auto 48px;
    padding: 32px 24px;
    background: rgba(21, 21, 21, 0.8);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    width: 600px;
    /* Increased width to fit all content */
}

.rings-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    /* Prevent stacking */
    gap: 0px;
    /* Gap handled by margin-left on SVG */
    align-items: center;
    justify-content: center;
}

.stats-labels {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 340px;
    width: 240px;
    /* Increased width for labels to prevent wrapping */
    text-align: left;
    z-index: 2;
}

.stat-item {
    display: flex;
    align-items: center;
    /* Center items vertically within the row */
    gap: 12px;
}

.stat-icon {
    width: 48px;
    /* Slightly larger icons */
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-icon.volume {
    background: rgba(200, 255, 0, 0.15);
    color: var(--ring-volume);
}

.stat-icon.density {
    background: rgba(94, 92, 230, 0.15);
    color: var(--ring-density);
}

.stat-icon.work-rest {
    background: rgba(191, 90, 242, 0.15);
    color: var(--ring-work-rest);
}

.stat-icon.effort {
    background: rgba(255, 159, 10, 0.15);
    color: var(--ring-effort);
}

.stat-info {
    flex: 1;
    text-align: left;
    /* Ensure text is left-aligned */
}

.stat-title {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    margin-bottom: 2px;
    text-align: left;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.stat-change {
    font-size: 0.85rem;
    font-weight: 600;
}

.stat-change.positive {
    color: var(--primary);
}

.stat-change.negative {
    color: #ff453a;
}

/* Rings SVG Container */
.rings-svg-container {
    position: relative;
    width: 340px;
    height: 340px;
    margin-left: -20px;
    /* Adjusted from -50px to accommodate wider labels */
    z-index: 1;
    overflow: visible;
}

.rings-svg {
    width: 100%;
    height: 100%;
    transform: rotate(90deg);
}

.ring-background {
    fill: none;
    opacity: 0.05;
}

.ring-progress {
    fill: none;
    stroke-linecap: round;
    filter: drop-shadow(0 0 10px currentColor);
    opacity: 0;
    transition: stroke-dashoffset 1.5s cubic-bezier(0.1, 0, 0, 1);
}

.ring-1 {
    stroke: var(--ring-volume);
    stroke-width: 24;
}

.ring-2 {
    stroke: var(--ring-density);
    stroke-width: 24;
}

.ring-3 {
    stroke: var(--ring-work-rest);
    stroke-width: 24;
}

.ring-4 {
    stroke: var(--ring-effort);
    stroke-width: 24;
}

/* App Store Button */
.app-store-btn {
    display: inline-block;
    transition: all 0.3s ease;
}

.app-store-btn img {
    height: 54px;
}

.app-store-btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}

/* Hero Visual / Mockups */
.hero-visual {
    margin-top: 80px;
    position: relative;
}

.mockup-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    perspective: 1000px;
}

.mockup {
    width: 280px;
    height: 580px;
    background: var(--bg-card);
    border-radius: 40px;
    overflow: hidden;
    border: 2px solid var(--border-subtle);
    box-shadow: var(--shadow-lg), 0 0 60px rgba(200, 255, 0, 0.1);
    transition: all 0.4s ease;
}

.mockup:hover {
    transform: translateY(-10px) rotate(0deg) !important;
    box-shadow: var(--shadow-lg), 0 0 80px rgba(200, 255, 0, 0.2);
}

/* ========================================
   FEATURES SECTION
   ======================================== */

.features {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-lime), transparent);
}

.features h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.features>.container>p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-lime);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 40px rgba(200, 255, 0, 0.1);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
    display: inline-block;
    padding: 16px;
    background: rgba(200, 255, 0, 0.1);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-lime);
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========================================
   SPLIT FEATURE SECTION
   ======================================== */

.split-feature {
    padding: 120px 0;
    background: var(--bg-primary);
}

.split-feature h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.split-feature p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.split-visual {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-lg);
}

.split-content strong {
    color: var(--primary);
    font-weight: 600;
}

/* ========================================
   TRAINING TYPES SECTION
   ======================================== */

.training-types {
    padding: 120px 0;
    background: var(--bg-secondary);
    text-align: center;
    position: relative;
}

.training-types::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-lime), transparent);
}

.training-types h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.training-types>.container>p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 48px;
}

.types-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.type-pill {
    padding: 14px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    cursor: default;
}

.type-pill:hover {
    background: rgba(200, 255, 0, 0.1);
    border-color: var(--border-lime);
    color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 20px rgba(200, 255, 0, 0.15);
}

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

footer {
    background: var(--bg-primary);
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-subtle);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-nav {
    display: flex;
    gap: 80px;
}

.legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--border-subtle);
}

.legal p {
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

.legal-links {
    display: flex;
    gap: 32px;
}

.legal-links a {
    color: var(--text-tertiary);
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: var(--primary);
}

/* ========================================
   CONTENT PAGES (Privacy, Terms)
   ======================================== */

main h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

main h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
    margin-top: 24px;
}

main p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
}

main ul {
    margin-top: 12px;
}

main li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 8px;
}

main strong {
    color: var(--primary);
}

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

@media (max-width: 1024px) {
    .rings-container {
        flex-direction: row;
        gap: 32px;
    }

    .rings-svg-container {
        order: 1;
    }
}

@media (max-width: 900px) {
    .split-feature .container {
        grid-template-columns: 1fr !important;
        gap: 48px !important;
    }

    .split-visual {
        order: -1;
    }

    .footer-content {
        flex-direction: column;
        gap: 48px;
    }

    .footer-nav {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding: 140px 0 80px;
    }

    .workout-rings-widget {
        padding: 16px;
        width: calc(100% - 32px);
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .rings-container {
        gap: 8px;
        flex-direction: row !important;
        justify-content: center;
        align-items: center;
    }

    .stats-labels {
        width: 155px !important;
        height: 280px !important;
    }

    .stat-change {
        font-size: 0.65rem !important;
        white-space: nowrap;
    }

    .stat-icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 14px !important;
    }

    .stat-value {
        font-size: 0.9rem !important;
    }

    .stat-title {
        font-size: 0.65rem !important;
    }

    .rings-svg-container {
        width: 200px !important;
        height: 200px !important;
        margin-left: -30px !important;
        flex-shrink: 0;
    }

    .mockup-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .mockup {
        width: 260px;
        height: 540px;
        transform: none !important;
    }

    .mockup:first-child {
        display: none;
    }

    .features,
    .split-feature,
    .training-types {
        padding: 80px 0;
    }

    .legal {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero>.container>p {
        font-size: 1rem;
    }

    .feature-card {
        padding: 32px 24px;
    }

    .type-pill {
        padding: 12px 20px;
        font-size: 0.85rem;
    }

    .stats-labels {
        min-width: unset;
    }

    .stat-value {
        font-size: 1rem;
    }
}

/* ========================================
   SCROLLBAR STYLING
   ======================================== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(200, 255, 0, 0.3);
}

/* ========================================
   SELECTION STYLING
   ======================================== */

::selection {
    background: rgba(200, 255, 0, 0.3);
    color: var(--text-primary);
}

::-moz-selection {
    background: rgba(200, 255, 0, 0.3);
    color: var(--text-primary);
}

/* Coaching Styles Refinement */
.coaching-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}

@media (min-width: 992px) {
    .coaching-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.coaching-card {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    padding: 32px !important;
    text-align: left;
}

.coaching-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.coaching-header .feature-icon {
    font-size: 2rem;
    margin-bottom: 0;
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coaching-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.coaching-body p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

.coaching-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-lime);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(200, 255, 0, 0.1);
}

.coaching-card.active {
    border-color: var(--primary);
    background: linear-gradient(145deg, var(--bg-card) 0%, rgba(200, 255, 0, 0.05) 100%);
    box-shadow: 0 0 0 1px var(--primary), 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(200, 255, 0, 0.15);
    transform: scale(1.02);
}

.coaching-card.active::before {
    opacity: 1;
}

.coaching-card.active .feature-icon {
    background: var(--primary);
    color: var(--text-on-primary);
    box-shadow: 0 0 20px rgba(200, 255, 0, 0.4);
    border-color: var(--primary);
    animation: pulse-glow 2s infinite;
}

/* Audio Playing Indicator */
.playing-indicator {
    display: flex;
    gap: 4px;
    align-items: flex-end;
    height: 16px;
    margin-top: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.coaching-card.active .playing-indicator {
    opacity: 1;
}

.playing-indicator .bar {
    width: 4px;
    background: var(--primary);
    border-radius: 2px;
    animation: sound-bars 0.8s ease-in-out infinite alternate;
}

.playing-indicator .bar:nth-child(1) {
    height: 60%;
    animation-delay: 0s;
}

.playing-indicator .bar:nth-child(2) {
    height: 100%;
    animation-delay: 0.2s;
}

.playing-indicator .bar:nth-child(3) {
    height: 80%;
    animation-delay: 0.4s;
}

@keyframes sound-bars {
    0% {
        height: 20%;
        opacity: 0.5;
    }

    100% {
        height: 100%;
        opacity: 1;
    }
}

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

.section-separator {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-lime), transparent);
    margin: 0;
    opacity: 0.3;
}

/* ========================================
   MUSCLE PROGRESS SECTION
   ======================================== */

.muscle-progress {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
}

.muscle-progress .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.muscle-progress .section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.muscle-progress .section-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.muscle-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.muscle-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 32px 24px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.muscle-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(204, 255, 0, 0.3);
    transform: translateY(-4px);
}

.muscle-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: var(--text-primary);
}

.muscle-visual {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
}

.muscle-visual .body-svg,
.muscle-visual svg {
    width: auto;
    height: 100%;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    pointer-events: none;
}

/* Default muscle fill */
.muscle-visual svg g[class^="muscle-"] {
    fill: #424242;
    transition: all 0.3s ease;
}

.muscle-visual svg g[class^="muscle-"] path {
    transition: all 0.3s ease;
}

/* Highlight specific muscles per card - matching app design */
.card-chest .muscle-chest,
.card-chest .muscle-chest path {
    fill: #769D2E !important;
    stroke: #C1FD50 !important;
    stroke-width: 50 !important;
    stroke-opacity: 1 !important;
    fill-opacity: 0.9 !important;
}

.card-shoulders .muscle-shoulders,
.card-shoulders .muscle-shoulders path {
    fill: #769D2E !important;
    stroke: #C1FD50 !important;
    stroke-width: 50 !important;
    stroke-opacity: 1 !important;
    fill-opacity: 0.9 !important;
}

.card-biceps .muscle-biceps,
.card-biceps .muscle-biceps path {
    fill: #769D2E !important;
    stroke: #C1FD50 !important;
    stroke-width: 50 !important;
    stroke-opacity: 1 !important;
    fill-opacity: 0.9 !important;
}

.card-abs .muscle-abs,
.card-abs .muscle-abs path {
    fill: #769D2E !important;
    stroke: #C1FD50 !important;
    stroke-width: 50 !important;
    stroke-opacity: 1 !important;
    fill-opacity: 0.9 !important;
}

.card-triceps .muscle-triceps,
.card-triceps .muscle-triceps path {
    fill: #769D2E !important;
    stroke: #C1FD50 !important;
    stroke-width: 50 !important;
    stroke-opacity: 1 !important;
    fill-opacity: 0.9 !important;
}

.card-lats .muscle-lats,
.card-lats .muscle-lats path {
    fill: #769D2E !important;
    stroke: #C1FD50 !important;
    stroke-width: 50 !important;
    stroke-opacity: 1 !important;
    fill-opacity: 0.9 !important;
}

.card-glutes .muscle-glutes,
.card-glutes .muscle-glutes path {
    fill: #769D2E !important;
    stroke: #C1FD50 !important;
    stroke-width: 50 !important;
    stroke-opacity: 1 !important;
    fill-opacity: 0.9 !important;
}

.card-quads .muscle-quads,
.card-quads .muscle-quads path {
    fill: #769D2E !important;
    stroke: #C1FD50 !important;
    stroke-width: 50 !important;
    stroke-opacity: 1 !important;
    fill-opacity: 0.9 !important;
}

.muscle-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-bottom: 20px;
    text-align: center;
}

.stat-column {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-label {
    font-size: 8px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-label.current-label {
    color: var(--lime);
}

.stat-value {
    font-size: 14px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.2;
}

.stat-value.current {
    font-size: 18px;
    color: var(--lime);
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--lime), #a3ff00);
    border-radius: 3px;
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Responsive */
@media (max-width: 1200px) {
    .muscle-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .muscle-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .muscle-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .muscle-card {
        padding: 24px 20px;
    }

    .muscle-visual {
        height: 160px;
    }
}