* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-image: url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.4);
    z-index: -1;
}

.container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

.header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-content {
    flex: 1;
}

h1 {
    color: transparent;
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
    background: linear-gradient(45deg, #3498db, #2ecc71);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    color: #7f8c8d;
    font-size: 1.1rem;
}

.form-container {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: bold;
}

label i {
    margin-right: 8px;
    color: #3498db;
}

input, select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

input:focus, select:focus {
    outline: none;
    border-color: #3498db;
}

button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(45deg, #3498db, #2ecc71);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
}

.button-text {
    display: block;
}

.loading-text {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
}

.loading-text i {
    margin-right: 8px;
}

button.loading .button-text {
    display: none;
}

button.loading .loading-text {
    display: block;
}

.result-container {
    display: none;
    margin-top: 2rem;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

.result-container h2 {
    color: transparent;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(45deg, #3498db, #2ecc71);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.result-container h2 i {
    color: #3498db;
}

.fitness-plan {
    white-space: pre-line;
    line-height: 1.5;
    color: #34495e;
    padding: 25px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.fitness-plan strong {
    color: #2c3e50;
    font-weight: 600;
    display: block;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.15em;
    background: linear-gradient(45deg, #3498db, #2ecc71);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fitness-plan strong:first-child {
    margin-top: 0;
}

.fitness-plan ul {
    margin: 10px 0;
    padding-left: 20px;
}

.fitness-plan li {
    margin: 5px 0;
}

.plan-heading {
    color: #2c3e50;
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3498db;
}

.plan-heading:first-child {
    margin-top: 0;
}

.fitness-plan em {
    color: #7f8c8d;
    font-style: italic;
}

.fitness-plan p {
    margin-bottom: 1rem;
}

.error-message {
    color: #e74c3c;
    padding: 1rem;
    background-color: #fdf3f2;
    border-radius: 5px;
    border-left: 4px solid #e74c3c;
}

.hero {
    padding: 2rem 0;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.hero-image {
    width: 300px;
    height: 300px;
    position: relative;
    border-radius: 50%;
    padding: 10px;
    background: linear-gradient(45deg, #3498db, #2ecc71);
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background: linear-gradient(45deg, #3498db, #2ecc71);
    z-index: -1;
    animation: gentlePulse 3s ease-in-out infinite;
}

.hero-image img {
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    object-fit: cover;
    object-position: center 20%;
    border-radius: 50%;
    border: 4px solid white;
    position: absolute;
    top: 10px;
    left: 10px;
}

.hero-slogan {
    font-size: 2rem;
    font-weight: bold;
    color: #2c3e50;
    margin-top: 1rem;
    text-align: center;
    background: linear-gradient(45deg, #3498db, #2ecc71);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeIn 1s ease-in;
}

@keyframes gentlePulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.02);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.6;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-title h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin: 0;
    line-height: 1.2;
    background: linear-gradient(45deg, #3498db, #2ecc71);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-banner {
    flex: 0 0 200px;
    position: relative;
}

.banner-content {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    padding: 2rem;
    border-radius: 50%;
    color: white;
    text-align: center;
    transform: rotate(5deg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: float 3s ease-in-out infinite;
    width: 200px;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.banner-text {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.banner-subtext {
    display: block;
    font-size: 1rem;
    opacity: 0.9;
    font-style: italic;
    font-weight: bold;
    line-height: 1.2;
}

@keyframes float {
    0%, 100% {
        transform: rotate(5deg) translateY(0);
    }
    50% {
        transform: rotate(5deg) translateY(-10px);
    }
}

@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        width: 250px;
        height: 250px;
    }

    .hero-title h2 {
        font-size: 2rem;
        margin: 1rem 0;
    }

    .banner-content {
        transform: rotate(0);
    }

    .hero-banner {
        flex: 0 0 auto;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 2rem 0;
    }

    .hero-image {
        width: 200px;
        height: 200px;
    }

    .hero-slogan {
        font-size: 1.5rem;
    }
}

@media (max-width: 600px) {
    .container {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .loading-text {
        font-size: 0.9rem;
    }
}

.fade-in-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin: 0;
    line-height: 1.4;
    text-align: center;
    background: linear-gradient(45deg, #3498db, #2ecc71);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    animation: fadeInTitle 1.5s ease-out forwards;
}

.coach-subtitle {
    font-style: italic;
    font-size: 1.4rem;
    color: #2c3e50;
    margin-top: 1rem;
    opacity: 0;
    animation: fadeInSubtitle 1.5s ease-out forwards;
    animation-delay: 0.5s;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.9);
}

@keyframes fadeInTitle {
    from { 
        opacity: 0;
        transform: translateY(-20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInSubtitle {
    from { 
        opacity: 0;
        transform: translateY(10px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.coach-features {
    margin-top: 1.5rem;
    opacity: 0;
    animation: fadeInFeatures 1.5s ease-out forwards;
    animation-delay: 1s;
}

.coach-features p {
    font-size: 1.1rem;
    color: #34495e;
    margin: 0.5rem 0;
    text-align: center;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.9);
}

@keyframes fadeInFeatures {
    from { 
        opacity: 0;
        transform: translateY(10px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-header {
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(52, 152, 219, 0.2);
}

.contact-info {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 2rem;
    font-size: 0.9rem;
    color: #2c3e50;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info i {
    color: #3498db;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #2ecc71;
}

@media (max-width: 768px) {
    .contact-info {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
        padding: 0.5rem 2rem;
    }
} 