/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: white;
    background: #000000;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #000000 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    padding: 8px 12px;
}

.nav-links a:hover {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    transform: translateY(-1px);
}

.cta-button {
    background: rgba(0, 0, 0, 0.6) !important;
    color: white !important;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.cta-button:hover {
    background: rgba(0, 0, 0, 0.8) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Hero Section */
.hero {
    margin-top: 70px;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
    color: white;
    text-align: center;
    position: relative;
    padding: 3rem 0 2rem;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 0.5rem;
    opacity: 0.9;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #3b82f6;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    margin-bottom: 3rem;
}

.app-store-badge {
    height: 60px;
    transition: transform 0.3s ease;
}

.app-store-badge:hover {
    transform: scale(1.05);
}

/* Features Section */
.features {
    padding: 100px 0;
    background: #000000;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.feature-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: white;
}

.feature-icon.teal {
    background: #14b8a6;
}

.feature-icon.blue {
    background: #3b82f6;
}

.feature-icon.purple {
    background: #8b5cf6;
}

.feature-icon.orange {
    background: #f59e0b;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin: 0;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.5;
}

/* Workouts Section */
.workouts {
    padding: 100px 0;
    background: #000000;
}

.workouts h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: white;
}

.workout-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.workout-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
}

.workout-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.workout-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.workout-icon {
    width: 32px;
    height: 32px;
    color: white;
}

.workout-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin: 0;
}

.workout-count {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.workout-duration {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
}

.difficulty-levels {
    display: flex;
    gap: 0.75rem;
}

.difficulty-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 0.5rem 1rem;
    text-align: center;
    flex: 1;
    transition: all 0.3s ease;
}

.difficulty-badge:hover {
    background: rgba(255, 255, 255, 0.15);
}

.difficulty-star {
    width: 16px;
    height: 16px;
    margin-bottom: 0.25rem;
}

.difficulty-star.teal {
    color: #14b8a6;
}

.difficulty-star.blue {
    color: #3b82f6;
}

.difficulty-star.purple {
    color: #8b5cf6;
}

.difficulty-name {
    font-weight: 600;
    color: white;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.difficulty-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

/* Screenshots Section */
.screenshots {
    padding: 100px 0;
    background: #000000;
}

.screenshots h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.screenshots-description {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    justify-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.screenshot {
    max-width: 250px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.screenshot:hover {
    transform: scale(1.05);
}

/* Privacy Section */
.privacy {
    padding: 100px 0;
    background: #000000;
}

.privacy h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: white;
}

.privacy-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.privacy-shield {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.privacy-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.privacy-text p {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.privacy-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: center;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.privacy-features li {
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    display: inline-block;
    text-align: left;
}

.privacy-features li::before {
    content: '✓ ';
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    margin-right: 0.5rem;
}

.privacy-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.privacy-link:hover {
    opacity: 0.8;
}

/* Download Section */
.download {
    padding: 100px 0;
    background: #000000;
    text-align: center;
}

.download h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.download-description {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.download-buttons {
    margin-bottom: 2rem;
}

.app-store-button img {
    height: 60px;
    transition: transform 0.3s ease;
}

.app-store-button:hover img {
    transform: scale(1.05);
}

.download-note {
    color: rgba(255, 255, 255, 0.6);
}

/* Footer */
footer {
    background: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.footer-logo-icon {
    width: 28px;
    height: 28px;
    opacity: 0.9;
}

.footer-left h3 {
    margin: 0;
    color: white;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        background: #000000 !important;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-links a {
        font-size: 0.9rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .difficulty-levels {
        flex-direction: row;
        gap: 0.75rem;
    }
    
    .workout-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    header {
        background: #000000 !important;
    }
    
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .difficulty-badge {
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
    }
    
    .difficulty-name {
        font-size: 0.8rem;
    }
    
    .difficulty-desc {
        font-size: 0.7rem;
    }
    
    .difficulty-levels {
        gap: 0.5rem;
    }
}

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

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.workout-card {
    animation: fadeInUp 0.6s ease forwards;
}