/* ===== Gym Management System Page Styles ===== */

/* Breadcrumb */
.breadcrumb-section {
    padding: 100px 0 20px;
    background: var(--darker-color);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    color: var(--gray-color);
    opacity: 0.5;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.3s;
}

.breadcrumb a:hover {
    opacity: 0.8;
}

.breadcrumb .active span {
    color: var(--gray-color);
}

/* Gym Hero Section */
.gym-hero {
    padding: 40px 0 100px;
    position: relative;
    overflow: hidden;
    background: var(--darker-color);
}

.gym-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.3);
    padding: 8px 20px;
    border-radius: 30px;
    margin-bottom: 25px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
}

.gym-hero-text h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--light-color);
}

.gym-hero-text h1 .highlight {
    color: var(--primary-color);
    position: relative;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--gray-color);
    line-height: 1.8;
    margin-bottom: 30px;
}

.hero-stats-mini {
    display: flex;
    gap: 30px;
    margin-bottom: 35px;
}

.mini-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mini-stat strong {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.mini-stat span {
    font-size: 0.85rem;
    color: var(--gray-color);
}

.btn-lg {
    padding: 15px 32px;
    font-size: 1.05rem;
}

/* Dashboard Preview */
.dashboard-preview {
    background: var(--dark-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.dashboard-header {
    background: rgba(15, 28, 46, 0.9);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(251, 191, 36, 0.1);
}

.dashboard-header .dots {
    display: flex;
    gap: 8px;
}

.dashboard-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dashboard-title {
    font-size: 0.85rem;
    color: var(--gray-color);
    opacity: 0.7;
}

.dashboard-body {
    padding: 25px;
}

.dash-stat-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.dash-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.15);
    padding: 15px;
    border-radius: 10px;
}

.dash-stat i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.dash-stat div {
    display: flex;
    flex-direction: column;
}

.dash-num {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--light-color);
}

.dash-label {
    font-size: 0.75rem;
    color: var(--gray-color);
}

.dash-chart {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 100px;
    margin-top: 20px;
    padding: 15px;
    background: rgba(251, 191, 36, 0.05);
    border-radius: 10px;
}

.chart-bar {
    flex: 1;
    background: rgba(251, 191, 36, 0.3);
    border-radius: 4px 4px 0 0;
    transition: background 0.3s;
    min-height: 10px;
}

.chart-bar.active {
    background: var(--primary-color);
}

.chart-bar:hover {
    background: var(--primary-color);
}

/* Features Section */
.gym-features {
    padding: 100px 0;
    background: var(--dark-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--darker-color);
    padding: 35px 30px;
    border-radius: 16px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(251, 191, 36, 0.15);
}

.feature-card .feature-icon {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-gold);
    border-radius: 14px;
    margin-bottom: 20px;
}

.feature-card .feature-icon i {
    font-size: 1.6rem;
    color: var(--darker-color);
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.feature-card > p {
    color: var(--gray-color);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 18px;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    position: relative;
    padding: 6px 0 6px 22px;
    color: var(--gray-color);
    font-size: 0.9rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* RTL fix for feature list */
[dir="rtl"] .feature-list li {
    padding: 6px 22px 6px 0;
}

/* How It Works */
.gym-how-it-works {
    padding: 100px 0;
    background: var(--darker-color);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 60px;
    right: 12.5%;
    left: 12.5%;
    height: 3px;
    background: var(--gradient-gold);
    opacity: 0.3;
    z-index: 0;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    color: var(--darker-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: rgba(251, 191, 36, 0.1);
    border: 2px solid rgba(251, 191, 36, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.step-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.step-card p {
    color: var(--gray-color);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Screenshots Section */
.gym-screenshots {
    padding: 100px 0;
    background: var(--dark-color);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.screenshot-card {
    background: var(--darker-color);
    border-radius: 16px;
    overflow: hidden;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.screenshot-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(251, 191, 36, 0.15);
}

.screenshot-img {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(30, 58, 95, 0.3) 100%);
}

.screenshot-img i {
    font-size: 4rem;
    color: var(--primary-color);
}

.screenshot-card h4 {
    font-size: 1.05rem;
    color: var(--primary-color);
    margin: 20px 20px 10px;
}

.screenshot-card p {
    color: var(--gray-color);
    font-size: 0.85rem;
    padding: 0 20px 25px;
    line-height: 1.6;
}

/* Pricing Section */
.gym-pricing {
    padding: 100px 0;
    background: var(--darker-color);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}

.pricing-card {
    background: var(--dark-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(251, 191, 36, 0.1);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    background: var(--gradient-gold);
    text-align: center;
    padding: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--darker-color);
}

.pricing-header {
    padding: 40px 30px 20px;
    text-align: center;
}

.pricing-card.featured .pricing-header {
    padding-top: 55px;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.pricing-desc {
    color: var(--gray-color);
    font-size: 0.9rem;
}

.pricing-body {
    padding: 20px 30px 35px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--light-color);
    font-size: 0.95rem;
}

.pricing-features li i {
    font-size: 0.8rem;
    min-width: 20px;
    text-align: center;
}

.pricing-features li .fa-check {
    color: var(--primary-color);
}

.pricing-features li.disabled {
    opacity: 0.4;
}

.pricing-features li.disabled .fa-times {
    color: #ef4444;
}

/* Testimonials */
.gym-testimonials {
    padding: 100px 0;
    background: var(--dark-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--darker-color);
    padding: 35px;
    border-radius: 16px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: rgba(251, 191, 36, 0.3);
    transform: translateY(-5px);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-stars i {
    color: var(--primary-color);
    font-size: 1rem;
}

.testimonial-text {
    color: var(--gray-color);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.testimonial-author strong {
    display: block;
    color: var(--light-color);
    font-size: 1rem;
    margin-bottom: 3px;
}

.testimonial-author span {
    color: var(--gray-color);
    font-size: 0.8rem;
}

/* FAQ Section */
.gym-faq {
    padding: 100px 0;
    background: var(--darker-color);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--dark-color);
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid rgba(251, 191, 36, 0.1);
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-item[open] {
    border-color: rgba(251, 191, 36, 0.3);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--light-color);
    font-size: 1.05rem;
    list-style: none;
    transition: color 0.3s;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question span {
    flex: 1;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s;
    font-size: 0.9rem;
}

.faq-item[open] .faq-question i {
    transform: rotate(180deg);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 25px 25px;
}

.faq-answer p {
    color: var(--gray-color);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* CTA Section */
.gym-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--darker-color) 100%);
    position: relative;
    overflow: hidden;
}

.gym-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(251, 191, 36, 0.08) 0%, transparent 60%);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.cta-text p {
    color: var(--gray-color);
    font-size: 1.15rem;
    margin-bottom: 30px;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--light-color);
    font-size: 0.95rem;
}

.cta-feature i {
    color: var(--primary-color);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-cta {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 35px;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 220px;
}

.btn-cta i {
    font-size: 1.8rem;
}

.btn-cta div {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.btn-cta strong {
    font-size: 1.05rem;
}

.btn-cta span {
    font-size: 0.8rem;
    opacity: 0.8;
}

.whatsapp-cta {
    background: #25D366;
    color: white;
}

.whatsapp-cta:hover {
    background: #1da855;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

.phone-cta {
    background: var(--primary-color);
    color: var(--darker-color);
}

.phone-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.4);
}

.email-cta {
    background: rgba(251, 191, 36, 0.15);
    color: var(--primary-color);
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.email-cta:hover {
    background: rgba(251, 191, 36, 0.25);
    transform: translateY(-3px);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .gym-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-grid::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .gym-hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-stats-mini {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-text h2 {
        font-size: 1.8rem;
    }
    
    .cta-features {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-cta {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
    
    .dash-stat-row {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .breadcrumb {
        font-size: 0.8rem;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .gym-hero-text h1 {
        font-size: 1.8rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 15px;
    }
    
    .hero-desc {
        font-size: 1rem;
    }
    
    .feature-card {
        padding: 25px 20px;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
}