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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0a0a 100%);
    color: #fff;
    line-height: 1.6;
}

/* Header */
.header {
    background: rgba(45, 10, 20, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(128, 0, 32, 0.3);
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo i {
    color: #8B0000;
    margin-right: 0.5rem;
}

.logo span {
    color: #fff;
}

.logo .highlight {
    color: #8B0000;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    margin-left: 2rem;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-links a:hover {
    color: #8B0000;
}

/* Main Container */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Hero Section */
.hero-section {
    text-align: center;
    margin-bottom: 3rem;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.gradient-text {
    background: linear-gradient(135deg, #8B0000, #cc3333);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-section p {
    font-size: 1.2rem;
    color: #ccc;
}

/* Form Container */
.form-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(139, 0, 0, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.form-container h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #8B0000;
}

.form-container h2 i {
    margin-right: 0.5rem;
}

.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-group i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #8B0000;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(139, 0, 0, 0.3);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.input-group select option {
    background: #1a0a0a;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: #8B0000;
    background: rgba(139, 0, 0, 0.1);
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.1);
}

.btn-primary {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #8B0000, #cc3333);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: 'Inter', sans-serif;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 0, 0, 0.4);
}

.btn-secondary {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 2px solid #8B0000;
    border-radius: 10px;
    color: #8B0000;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.btn-secondary:hover {
    background: #8B0000;
    color: white;
}

/* Workout Plan */
.workout-plan {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(139, 0, 0, 0.3);
    animation: fadeInUp 0.6s ease-out;
}

.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(139, 0, 0, 0.5);
}

.plan-header h2 {
    font-size: 1.8rem;
    color: #8B0000;
}

.plan-header h2 i {
    margin-right: 0.5rem;
}

/* Workout Cards */
.day-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid #8B0000;
    transition: transform 0.2s;
}

.day-card:hover {
    transform: translateX(5px);
}

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

.day-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #8B0000;
}

.day-focus {
    background: rgba(139, 0, 0, 0.3);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.exercise-list {
    list-style: none;
    margin-top: 1rem;
}

.exercise-item {
    display: flex;
    align-items: center;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 0.5rem;
    border-radius: 10px;
    transition: background 0.2s;
}

.exercise-item:hover {
    background: rgba(139, 0, 0, 0.2);
}

.exercise-icon {
    width: 40px;
    color: #8B0000;
    font-size: 1.2rem;
}

.exercise-details {
    flex: 1;
}

.exercise-name {
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.exercise-sets {
    font-size: 0.85rem;
    color: #ccc;
}

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

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links a {
        margin: 0 1rem;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .plan-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .main-container {
        padding: 1rem;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #8B0000;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #cc3333;
}
