/* Base Styles */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --dark-bg: #000000;
    --light-text: #ffffff;
    --gray-text: #cccccc;
    --accent-blue: #0066cc;
}

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

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Navigation */
.navbar {
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 1.8rem 0 1.2rem 0;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--light-text) !important;
}

.logo-img {
    height: 67px;
    width: auto;
    transition: transform 0.3s ease;
    background: transparent;
}

.logo-img:hover {
    transform: scale(1.05);
}

.navbar-brand i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.navbar-nav .nav-link {
    color: var(--gray-text) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.back-to-top {
    background: var(--primary-color) !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: 1rem !important;
    transition: all 0.3s ease !important;
    color: white !important;
    opacity: 0;
}

.back-to-top:hover {
    background: var(--accent-blue) !important;
    transform: translateY(-2px) !important;
    color: white !important;
}

.back-to-top i {
    font-size: 14px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
    margin-top: 120px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/fitness-silhouettes.svg');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
    opacity: 0.3;
    z-index: 1;
}

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

.hero-content {
    padding: 2rem 0;
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: var(--gray-text);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--gray-text);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-text);
    margin-top: 0.5rem;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    position: relative;
}

.hero-visual::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    height: 450px;
    background-image: url('../images/heart-anatomy.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.4;
    z-index: 1;
    filter: brightness(0.8) contrast(1.2);
}

.heart-monitor {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.heart-monitor i {
    font-size: 5rem;
    animation: heartbeat 1.5s ease-in-out infinite;
}

.pulse-line {
    position: absolute;
    width: 200px;
    height: 2px;
    background: var(--primary-color);
    left: 100%;
    margin-left: 2rem;
}

.pulse-line::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes pulse {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Sections */
.section {
    padding: 5rem 0;
    position: relative;
}

.section::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 5%;
    width: 200px;
    height: 150px;
    background-image: url('../images/workout-icons.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.05;
    z-index: 1;
    transform: translateY(-50%);
}

.section .container {
    position: relative;
    z-index: 2;
}

.section-highlight {
    background-color: #111111;
}

.section-highlight::after {
    opacity: 0.08;
}

.section-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-number {
    background: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.section-subtitle {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--gray-text);
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* Problem Cards */
.problem-card {
    background: #111111;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.problem-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.problem-card h4 {
    margin-bottom: 1rem;
    color: var(--light-text);
}

/* Solution Highlight */
.solution-highlight {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.solution-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/sprint-background.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0.15;
    z-index: 1;
}

.solution-highlight > * {
    position: relative;
    z-index: 2;
}

.highlight-stat {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 1rem 0;
}

.stat-big {
    font-size: 2.5rem;
    font-weight: bold;
}

/* Charts */
.chart-container {
    background: #111111;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.chart-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--light-text);
}

.bar-chart {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.bar-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bar-label {
    min-width: 60px;
    font-weight: bold;
}

.bar {
    flex: 1;
    height: 30px;
    background: #333;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.bar-fill {
    height: 100%;
    border-radius: 15px;
    transition: width 2s ease;
    position: relative;
}

.hiit-bar {
    background: linear-gradient(90deg, #ff6b6b, #ff5252);
    width: 100%;
}

.sit-bar {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-blue));
    width: 40%;
}

.hiit-burn {
    background: linear-gradient(90deg, #ff9800, #ff5722);
    width: 72%;
}

.sit-burn {
    background: linear-gradient(90deg, #4caf50, #2e7d32);
    width: 100%;
}

.bar-value {
    min-width: 100px;
    text-align: right;
    font-weight: bold;
    color: var(--gray-text);
}

/* Training Evolution */
.training-evolution {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 3rem 0;
}

.evolution-step {
    text-align: center;
    background: #111111;
    border-radius: 15px;
    padding: 2rem;
    min-width: 200px;
    border: 2px solid #333;
    transition: border-color 0.3s ease;
}

.evolution-step:hover {
    border-color: var(--primary-color);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.step-icon i {
    font-size: 2rem;
    color: white;
}

.evolution-arrow {
    font-size: 2rem;
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
    /* Navigation adjustments */
    .navbar {
        padding: 1rem 0;
    }
    
    .logo-img {
        height: 50px;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0;
        margin: 0;
        text-align: center;
    }
    
    .back-to-top {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 1000;
    }
    
    /* Hero section mobile */
    .hero-section {
        margin-top: 80px;
        padding: 2rem 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-content .lead {
        font-size: 1.1rem;
    }
    
    .hero-visual {
        height: 250px;
        margin-top: 2rem;
    }
    
    .hero-visual::before {
        width: 250px;
        height: 250px;
    }
    
    .heart-monitor i {
        font-size: 3rem;
    }
    
    /* Section spacing */
    .section {
        padding: 3rem 0;
    }
    
    .section h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    /* Cards and containers */
    .problem-card, .solution-card, .evolution-step, .market-stat {
        margin-bottom: 2rem;
        padding: 1.5rem;
    }
    
    .solution-card h3 {
        font-size: 1.3rem;
    }
    
    /* Stats grid */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    /* Training evolution mobile */
    .training-evolution {
        flex-direction: column;
        gap: 1rem;
    }
    
    .evolution-step {
        min-width: auto;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .evolution-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }
    
    /* Comparison bars mobile */
    .comparison-item {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .bar-label {
        min-width: auto;
        width: 100%;
    }
    
    .bar {
        width: 100%;
    }
    
    .bar-value {
        min-width: auto;
        text-align: left;
        width: 100%;
    }
    
    /* Typography mobile */
    .display-4 {
        font-size: 2.5rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
    
    /* Button adjustments */
    .btn-lg {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }
    
    /* Container padding */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 480px) {
    /* Extra small screens */
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-visual {
        height: 200px;
    }
    
    .hero-visual::before {
        width: 200px;
        height: 200px;
    }
    
    .heart-monitor i {
        font-size: 2.5rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .section h2 {
        font-size: 1.8rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
    }
    
    .step-icon i {
        font-size: 1.5rem;
    }
}

/* Market Stats */
.market-stat {
    text-align: center;
    background: #111111;
    border-radius: 15px;
    padding: 3rem 2rem;
    border: 2px solid #333;
}

.market-highlight {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
}

.market-breakdown {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.market-segment {
    background: #111111;
    border-radius: 15px;
    padding: 2rem;
    border: 2px solid #333;
}

.sit-segment {
    border-color: var(--primary-color);
}

.market-segment ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.market-segment li {
    padding: 0.5rem 0;
    color: var(--gray-text);
}

.market-segment li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #000000, #1a1a1a);
    text-align: center;
}

.cta-buttons {
    margin-top: 2rem;
}

.cta-buttons .btn {
    margin: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-blue));
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

.btn-outline-light {
    border: 2px solid var(--light-text);
    color: var(--light-text);
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: var(--light-text);
    color: var(--dark-bg);
}

/* Footer */
.footer {
    background: #111111;
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid #333;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 58px;
    width: auto;
    filter: brightness(1.2);
    background: transparent;
}

.footer-brand i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.footer-links {
    margin: 2rem 0;
}

.footer-links a {
    color: var(--gray-text);
    font-size: 1.5rem;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.copyright {
    color: var(--gray-text);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .training-evolution {
        flex-direction: column;
    }
    
    .evolution-arrow {
        transform: rotate(90deg);
    }
    
    .market-breakdown {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons .btn {
        display: block;
        margin: 0.5rem auto;
        max-width: 250px;
    }
    
    .hero-visual {
        height: 200px;
        margin-top: 2rem;
    }
    
    .pulse-line {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .problem-card,
    .evolution-step,
    .market-stat {
        margin-bottom: 1rem;
    }
}

/* Animation delays for staggered effects */
.problem-card:nth-child(1) { animation-delay: 0.1s; }
.problem-card:nth-child(2) { animation-delay: 0.2s; }
.problem-card:nth-child(3) { animation-delay: 0.3s; }

/* Scroll animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeInUp 0.6s ease-out;
}
