@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #071D10;
    --white-color: #FFFFFF;
    --black-color: #000000;
    --gray-color: #A3A2AB;
    --bg-color: #FAFAFA;
    --blue-color: #D3EAE2;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-color);
    color: var(--black-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Main wrapper for better spacing */
body>section:not(.hero) {
    margin-top: 0;
}

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

/* Header */
.header {
    background-color: var(--white-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.logo {
    font-size: 19px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: var(--black-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    padding: 100px 20px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0a2d1a 100%);
    color: var(--white-color);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.app-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 30px;
    position: relative;
    z-index: 1;
    object-fit: contain;
    display: block;
}

.hero h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--white-color);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.hero .version {
    font-size: 18px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

/* Content Section */
.content-section {
    padding: 60px 40px;
    max-width: 900px;
    margin: 40px auto;
    background-color: var(--white-color);
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.section-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--black-color);
    margin-bottom: 20px;
}

.section-title-center {
    font-size: 28px;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 15px;
}

.section-subtitle-center {
    font-size: 16px;
    font-weight: 500;
    color: var(--gray-color);
    text-align: center;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--black-color);
    text-align: justify;
    margin-bottom: 20px;
    line-height: 1.8;
}

.features-list {
    list-style: none;
    padding-left: 0;
}

.features-list li {
    font-size: 14px;
    font-weight: 500;
    color: var(--black-color);
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.features-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.divider {
    height: 1px;
    background-color: var(--gray-color);
    margin: 40px 0;
}

/* Policy and Terms Pages */
.policy-header,
.terms-header {
    padding: 40px 20px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.policy-header h1,
.terms-header h1 {
    font-size: 24px;
    font-weight: 600;
    color: var(--black-color);
    margin-bottom: 10px;
}

.last-updated {
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-color);
    margin-bottom: 30px;
}

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

.section-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: var(--black-color);
    margin-top: 30px;
    margin-bottom: 10px;
}

.section-subtitle:first-of-type {
    margin-top: 0;
}

.policy-content p,
.terms-content p {
    font-size: 14px;
    font-weight: 500;
    color: var(--black-color);
    text-align: justify;
    margin-bottom: 15px;
    line-height: 1.8;
}

.policy-content ul,
.terms-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.policy-content ul li,
.terms-content ul li {
    font-size: 14px;
    font-weight: 500;
    color: var(--black-color);
    margin-bottom: 5px;
    line-height: 1.8;
}

/* Footer */
.footer {
    background-color: var(--white-color);
    padding: 40px 20px;
    text-align: center;
    margin-top: 60px;
    border-top: 1px solid #E5E5E5;
}

.footer-text {
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-color);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 0.7;
}

/* Trainers Section */
.trainers-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--blue-color) 0%, var(--white-color) 100%);
}

.trainers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.trainer-card-hidden {
    display: none;
}

.trainer-card-hidden.show {
    display: block;
    animation: fadeInUp 0.5s ease;
}

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

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

.show-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 40px auto 0;
    padding: 15px 30px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.show-more-btn:hover {
    background-color: #0a2d1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(7, 29, 16, 0.3);
}

.show-more-icon {
    transition: transform 0.3s;
}

.show-more-btn.expanded .show-more-icon {
    transform: rotate(180deg);
}


.trainer-card {
    background-color: var(--white-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.trainer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.trainer-image-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: var(--bg-color);
}

.trainer-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trainer-info {
    padding: 20px;
}

.trainer-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--black-color);
    margin-bottom: 8px;
}

.trainer-specialty {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.trainer-followers {
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-color);
    margin-bottom: 12px;
}

.trainer-description {
    font-size: 13px;
    font-weight: 500;
    color: var(--black-color);
    line-height: 1.6;
}

/* Workouts Section */
.workouts-section {
    padding: 80px 20px;
    background-color: var(--white-color);
}

.workouts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.workout-card {
    background-color: var(--white-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #E5E5E5;
    transition: transform 0.3s, box-shadow 0.3s;
}

.workout-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.workout-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background-color: var(--bg-color);
}

.workout-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.workout-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(7, 29, 16, 0.85);
    padding: 8px 15px;
    border-radius: 20px;
}

.workout-time {
    font-size: 12px;
    font-weight: 600;
    color: var(--white-color);
}

.workout-info {
    padding: 20px;
}

.workout-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--black-color);
    margin-bottom: 8px;
}

.workout-type {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-color);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }

    .nav {
        gap: 15px;
    }

    .nav a {
        font-size: 13px;
    }

    .content-section {
        padding: 40px 20px;
    }

    .policy-content,
    .terms-content {
        padding: 15px;
    }

    .trainers-section,
    .workouts-section {
        padding: 50px 20px;
    }

    .trainers-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .workouts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-title-center {
        font-size: 24px;
    }
}

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

@media (max-width: 768px) {
    .trainers-grid {
        grid-template-columns: 1fr;
    }
}