/* ==========================
   HARMONYSPHERE DESIGN SYSTEM
========================== */

:root{
    --primary:#2E8B57;
    --secondary:#3CB371;
    --accent:#FFB84D;

    --bg:#F8FFFC;
    --white:#FFFFFF;

    --text:#2C3E50;
    --light-text:#6C757D;

    --border:#E4EFE8;

    --success:#28A745;
    --warning:#FFC107;
    --danger:#DC3545;

    --shadow:0 10px 30px rgba(0,0,0,.08);

    --radius:14px;

    --transition:.3s ease;
}

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

body{
    font-family:Segoe UI, Tahoma, Geneva, Verdana, sans-serif;
    background:var(--bg);
    color:var(--text);
    line-height:1.6;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

img{
    width:100%;
    display:block;
}

section{
    padding:80px 0;
}

.btn{
    display:inline-block;
    padding:14px 28px;
    border-radius:50px;
    cursor:pointer;
    transition:var(--transition);
    font-weight:600;
}

.btn-primary{
    background:var(--primary);
    color:white;
}

.btn-primary:hover{
    background:#246d45;
}

.btn-outline{
    border:2px solid var(--primary);
    color:var(--primary);
}

.btn-outline:hover{
    background:var(--primary);
    color:white;
}

.section-title{
    text-align:center;
    margin-bottom:50px;
}

.section-title h2{
    font-size:2.5rem;
    margin-bottom:15px;
}

.section-title p{
    color:var(--light-text);
}

/* HEADER */

header{
    background:white;
    box-shadow:var(--shadow);
    position:sticky;
    top:0;
    z-index:999;
}

.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 0;
}

.logo{
    font-size:1.8rem;
    font-weight:700;
    color:var(--primary);
}

.nav-links{
    display:flex;
    gap:25px;
}

.nav-links a{
    color:var(--text);
    font-weight:600;
}

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

/* HERO */

.hero{
    min-height:90vh;
    display:flex;
    align-items:center;
    background:
    linear-gradient(
    rgba(46,139,87,.05),
    rgba(46,139,87,.08));
}

.hero-content{
    text-align:center;
}

.hero-content h1{
    font-size:4rem;
    margin-bottom:20px;
}

.hero-content p{
    max-width:700px;
    margin:auto;
    margin-bottom:30px;
    color:var(--light-text);
    font-size:1.2rem;
}

/* QUOTE CARD */

.quote-card{
    background:white;
    padding:30px;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    max-width:800px;
    margin:auto;
    text-align:center;
}

.quote-text{
    font-size:1.6rem;
    margin-bottom:20px;
}

.quote-author{
    color:var(--primary);
    font-weight:700;
}

/* CATEGORY GRID */

.category-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.category-card{
    background:white;
    padding:30px;
    text-align:center;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    transition:.3s;
}

.category-card:hover{
    transform:translateY(-10px);
}

.category-card h3{
    margin-top:15px;
}

/* MEMBERSHIP */

.plan-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
}

.plan-card{
    background:white;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    padding:35px;
    text-align:center;
}

.plan-price{
    font-size:2.5rem;
    color:var(--primary);
    margin:20px 0;
}

.plan-card ul{
    margin:20px 0;
}

.plan-card li{
    margin-bottom:10px;
}

/* FOOTER */

footer{
    background:#143322;
    color:white;
    padding:50px 0;
    text-align:center;
}

footer p{
    margin-top:15px;
}

/* MOBILE */

@media(max-width:768px){

.hero-content h1{
    font-size:2.5rem;
}

.nav-links{
    display:none;
}

}

/* ==========================
   QUOTES PAGE
========================== */

.quote-toolbar{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
    justify-content:center;
    margin-bottom:40px;
}

.search-box{
    padding:14px;
    width:350px;
    border:1px solid var(--border);
    border-radius:50px;
    outline:none;
}

.filter-select{
    padding:14px;
    border:1px solid var(--border);
    border-radius:50px;
}

.quotes-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:25px;
}

.quote-item{
    background:white;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    padding:25px;
    position:relative;
}

.quote-category{
    display:inline-block;
    background:#eef9f2;
    color:var(--primary);
    padding:6px 12px;
    border-radius:30px;
    font-size:.85rem;
    margin-bottom:15px;
}

.quote-item p{
    margin-bottom:15px;
}

.quote-actions{
    display:flex;
    gap:10px;
    margin-top:20px;
}

.action-btn{
    border:none;
    cursor:pointer;
    background:#f4f6f7;
    padding:10px 15px;
    border-radius:10px;
    transition:.3s;
}

.action-btn:hover{
    background:var(--primary);
    color:white;
}

.premium-badge{
    position:absolute;
    top:15px;
    right:15px;
    background:gold;
    color:black;
    padding:5px 10px;
    border-radius:20px;
    font-size:.75rem;
    font-weight:bold;
}

/* ==========================
   MEMBERSHIP PAGE
========================== */

.billing-toggle{
    display:flex;
    justify-content:center;
    margin-bottom:40px;
}

.toggle-container{
    background:white;
    padding:8px;
    border-radius:50px;
    box-shadow:var(--shadow);
}

.toggle-btn{
    border:none;
    padding:12px 25px;
    border-radius:50px;
    cursor:pointer;
    font-weight:600;
    background:transparent;
}

.toggle-btn.active{
    background:var(--primary);
    color:white;
}

.plan-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.plan-card{
    background:white;
    border-radius:var(--radius);
    padding:35px;
    box-shadow:var(--shadow);
    text-align:center;
    position:relative;
}

.plan-card.featured{
    border:3px solid var(--primary);
    transform:scale(1.03);
}

.plan-badge{
    position:absolute;
    top:-15px;
    left:50%;
    transform:translateX(-50%);
    background:var(--accent);
    color:black;
    padding:8px 18px;
    border-radius:30px;
    font-weight:700;
}

.plan-name{
    font-size:1.8rem;
    margin-bottom:15px;
}

.plan-price{
    font-size:2.8rem;
    color:var(--primary);
    margin-bottom:20px;
}

.plan-duration{
    color:var(--light-text);
    font-size:.9rem;
}

.plan-features{
    margin:25px 0;
    text-align:left;
}

.plan-features li{
    margin-bottom:12px;
}

.plan-features li::before{
    content:"✔ ";
    color:green;
    font-weight:bold;
}

.comparison-table{
    overflow-x:auto;
    margin-top:70px;
}

.comparison-table table{
    width:100%;
    border-collapse:collapse;
    background:white;
    box-shadow:var(--shadow);
}

.comparison-table th{
    background:var(--primary);
    color:white;
}

.comparison-table th,
.comparison-table td{
    padding:15px;
    border:1px solid #eee;
    text-align:center;
}

.membership-benefits{
    margin-top:70px;
}

.benefit-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.benefit-card{
    background:white;
    padding:25px;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    text-align:center;
}

/* ==========================
   REGISTRATION PAGE
========================== */

.form-section{
    padding:80px 0;
}

.form-wrapper{
    max-width:850px;
    margin:auto;
    background:white;
    padding:40px;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
}

.form-title{
    text-align:center;
    margin-bottom:35px;
}

.form-title h2{
    margin-bottom:10px;
}

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

.form-group{
    margin-bottom:20px;
}

.form-group label{
    display:block;
    margin-bottom:8px;
    font-weight:600;
}

.form-control{
    width:100%;
    padding:14px;
    border:1px solid var(--border);
    border-radius:10px;
    outline:none;
}

.form-control:focus{
    border-color:var(--primary);
}

.full-width{
    grid-column:1 / -1;
}

.checkbox-group{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.checkbox-item{
    background:#f7faf8;
    padding:10px 15px;
    border-radius:25px;
}

.form-footer{
    margin-top:25px;
    text-align:center;
}

.error-text{
    color:red;
    font-size:.85rem;
    margin-top:5px;
}

.success-box{
    background:#d4edda;
    color:#155724;
    padding:15px;
    border-radius:10px;
    margin-bottom:20px;
}

@media(max-width:768px){

.form-grid{
    grid-template-columns:1fr;
}

.form-wrapper{
    padding:25px;
}

}

/* ==========================
   LOGIN PAGE
========================== */

.login-wrapper{
    max-width:550px;
    margin:auto;
    background:white;
    padding:40px;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
}

.login-options{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:15px;
    margin-bottom:25px;
    flex-wrap:wrap;
    gap:10px;
}

.role-selector{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
    margin-bottom:25px;
}

.role-card{
    padding:15px;
    text-align:center;
    border:2px solid var(--border);
    border-radius:10px;
    cursor:pointer;
    transition:.3s;
}

.role-card.active{
    background:var(--primary);
    color:white;
    border-color:var(--primary);
}

.login-links{
    text-align:center;
    margin-top:20px;
}

.login-links a{
    color:var(--primary);
    font-weight:600;
}

.demo-box{
    margin-top:25px;
    padding:15px;
    background:#eef9f2;
    border-radius:10px;
    font-size:.9rem;
}

/* ==========================
   USER DASHBOARD
========================== */

.dashboard{
    display:flex;
    min-height:100vh;
}

.sidebar{
    width:280px;
    background:#143322;
    color:white;
    padding:30px 20px;
}

.sidebar-logo{
    font-size:1.8rem;
    font-weight:700;
    margin-bottom:40px;
}

.sidebar-menu{
    list-style:none;
}

.sidebar-menu li{
    margin-bottom:10px;
}

.sidebar-menu a{
    display:block;
    padding:14px;
    color:white;
    border-radius:10px;
    transition:.3s;
}

.sidebar-menu a:hover{
    background:rgba(255,255,255,.1);
}

.dashboard-content{
    flex:1;
    padding:30px;
    background:#f7fbf8;
}

.dashboard-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:30px;
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
    margin-bottom:30px;
}

.stat-card{
    background:white;
    padding:25px;
    border-radius:14px;
    box-shadow:var(--shadow);
}

.stat-number{
    font-size:2rem;
    color:var(--primary);
    font-weight:700;
}

.dashboard-grid{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:25px;
}

.dashboard-card{
    background:white;
    border-radius:14px;
    padding:25px;
    box-shadow:var(--shadow);
    margin-bottom:20px;
}

.dashboard-card h3{
    margin-bottom:15px;
}

.notification-item{
    padding:12px;
    border-bottom:1px solid #eee;
}

.challenge-item{
    display:flex;
    justify-content:space-between;
    padding:12px 0;
    border-bottom:1px solid #eee;
}

.progress-bar{
    width:100%;
    height:12px;
    background:#e9ecef;
    border-radius:20px;
    overflow:hidden;
}

.progress-fill{
    height:100%;
    background:var(--primary);
}

@media(max-width:992px){

.dashboard{
    flex-direction:column;
}

.sidebar{
    width:100%;
}

.dashboard-grid{
    grid-template-columns:1fr;
}

}

/* ==========================
   TRAINER DASHBOARD
========================== */

.trainer-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
    margin-bottom:30px;
}

.trainer-stat{
    background:white;
    padding:25px;
    border-radius:14px;
    box-shadow:var(--shadow);
}

.trainer-stat h4{
    color:var(--light-text);
    margin-bottom:10px;
}

.trainer-stat-number{
    font-size:2rem;
    font-weight:700;
    color:var(--primary);
}

.content-form{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}

.content-form .full{
    grid-column:1/-1;
}

.schedule-box{
    background:#eef9f2;
    padding:20px;
    border-radius:12px;
    margin-top:20px;
}

.analytics-list{
    list-style:none;
}

.analytics-list li{
    padding:12px 0;
    border-bottom:1px solid #eee;
}

@media(max-width:768px){

.content-form{
    grid-template-columns:1fr;
}

}

/* ==========================
   ADMIN DASHBOARD
========================== */

.admin-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
    margin-bottom:30px;
}

.admin-card{
    background:white;
    padding:25px;
    border-radius:14px;
    box-shadow:var(--shadow);
}

.admin-card h4{
    margin-bottom:10px;
    color:var(--light-text);
}

.admin-value{
    font-size:2rem;
    color:var(--primary);
    font-weight:700;
}

.admin-table{
    width:100%;
    border-collapse:collapse;
}

.admin-table th,
.admin-table td{
    border:1px solid #eee;
    padding:12px;
    text-align:left;
}

.admin-table th{
    background:#eef9f2;
}

.table-wrapper{
    overflow-x:auto;
}

.status-active{
    color:green;
    font-weight:600;
}

.status-pending{
    color:orange;
    font-weight:600;
}

.status-suspended{
    color:red;
    font-weight:600;
}

.admin-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.small-btn{
    border:none;
    padding:8px 12px;
    border-radius:8px;
    cursor:pointer;
    color:white;
}

.btn-green{
    background:#28a745;
}

.btn-red{
    background:#dc3545;
}

.btn-blue{
    background:#007bff;
}

/* ==========================
   WORKSHOPS & EVENTS
========================== */

.workshop-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:25px;
}

.workshop-card{
    background:white;
    border-radius:14px;
    overflow:hidden;
    box-shadow:var(--shadow);
}

.workshop-image{
    height:220px;
    background:linear-gradient(
        135deg,
        #2E8B57,
        #3CB371
    );
    display:flex;
    justify-content:center;
    align-items:center;
    color:white;
    font-size:3rem;
}

.workshop-body{
    padding:25px;
}

.workshop-meta{
    margin:15px 0;
    color:var(--light-text);
}

.workshop-price{
    font-size:1.8rem;
    color:var(--primary);
    font-weight:700;
    margin:15px 0;
}

.seat-badge{
    background:#eef9f2;
    color:var(--primary);
    padding:8px 12px;
    border-radius:30px;
    display:inline-block;
}

.booking-summary{
    background:white;
    padding:25px;
    border-radius:14px;
    box-shadow:var(--shadow);
}

/* ==========================
   NOTIFICATIONS
========================== */

.notification-grid{
    display:grid;
    gap:20px;
}

.notification-card{
    background:white;
    padding:20px;
    border-radius:14px;
    box-shadow:var(--shadow);
}

.notification-title{
    font-weight:700;
    margin-bottom:10px;
}

.notification-time{
    color:var(--light-text);
    font-size:.9rem;
}

.badge{
    display:inline-block;
    padding:6px 12px;
    border-radius:30px;
    font-size:.8rem;
    margin-top:10px;
}

.badge-email{
    background:#e3f2fd;
    color:#1565c0;
}

.badge-whatsapp{
    background:#e8f5e9;
    color:#2e7d32;
}

.badge-sms{
    background:#fff8e1;
    color:#ff8f00;
}

.calendar-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:20px;
}

/* ==========================
   COMMUNITY PLATFORM
========================== */

.community-feed{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.post-card{
    background:white;
    padding:25px;
    border-radius:14px;
    box-shadow:var(--shadow);
}

.post-header{
    display:flex;
    justify-content:space-between;
    margin-bottom:15px;
}

.post-author{
    font-weight:700;
}

.post-content{
    margin:15px 0;
    line-height:1.7;
}

.post-actions{
    display:flex;
    gap:20px;
    margin-top:15px;
}

.action-btn{
    cursor:pointer;
    color:var(--primary);
    font-weight:600;
}

.group-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:20px;
}

.group-card{
    background:white;
    padding:25px;
    border-radius:14px;
    box-shadow:var(--shadow);
}

.leaderboard-table{
    width:100%;
    border-collapse:collapse;
}

.leaderboard-table th,
.leaderboard-table td{
    border:1px solid #eee;
    padding:12px;
}

.rank-badge{
    font-size:1.2rem;
    font-weight:bold;
    color:gold;
}

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

.footer-links a{
color:white;
opacity:.9;
}

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

/* ==========================
   MEMBERSHIP MANAGEMENT
========================== */

.membership-summary{
    background:white;
    padding:25px;
    border-radius:14px;
    box-shadow:var(--shadow);
    margin-bottom:25px;
}

.plan-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}

.plan-card{
    background:white;
    border-radius:14px;
    padding:25px;
    box-shadow:var(--shadow);
    text-align:center;
    transition:.3s;
}

.plan-card:hover{
    transform:translateY(-5px);
}

.plan-price{
    font-size:2rem;
    font-weight:700;
    color:var(--primary);
    margin:15px 0;
}

.plan-features{
    text-align:left;
    margin:20px 0;
}

.plan-features li{
    margin-bottom:10px;
}

.payment-table{
    width:100%;
    border-collapse:collapse;
}

.payment-table th,
.payment-table td{
    padding:12px;
    border:1px solid #eee;
}

.payment-table th{
    background:#eef9f2;
}

.subscription-status{
    display:inline-block;
    padding:8px 14px;
    border-radius:30px;
    font-weight:600;
}

.status-active{
    background:#e8f5e9;
    color:#2e7d32;
}

.status-expiring{
    background:#fff3cd;
    color:#856404;
}

.status-cancelled{
    background:#fdecea;
    color:#c62828;
}

/* ==========================
   PRODUCTIVITY & RETENTION
========================== */

.quote-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:20px;
}

.saved-quote-card{
    background:white;
    padding:25px;
    border-radius:14px;
    box-shadow:var(--shadow);
    border-left:5px solid var(--primary);
}

.challenge-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:20px;
}

.challenge-card{
    background:white;
    padding:25px;
    border-radius:14px;
    box-shadow:var(--shadow);
}

.challenge-progress{
    height:12px;
    background:#e5e5e5;
    border-radius:50px;
    overflow:hidden;
    margin-top:15px;
}

.challenge-fill{
    height:100%;
    background:var(--primary);
}

.journal-entry{
    background:white;
    padding:25px;
    border-radius:14px;
    box-shadow:var(--shadow);
    margin-bottom:20px;
}

.entry-date{
    color:var(--light-text);
    margin-bottom:10px;
    font-size:.9rem;
}

/* ==========================
   TRAINER OPERATIONS
========================== */

.calendar-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
}

.calendar-card{
    background:white;
    padding:20px;
    border-radius:14px;
    box-shadow:var(--shadow);
}

.earning-card{
    background:white;
    padding:25px;
    border-radius:14px;
    box-shadow:var(--shadow);
    text-align:center;
    margin-bottom:20px;
}

.earning-value{
    font-size:2rem;
    font-weight:700;
    color:var(--primary);
    margin-top:10px;
}

.certification-card{
    background:white;
    padding:25px;
    border-radius:14px;
    box-shadow:var(--shadow);
    margin-bottom:20px;
}

.certification-badge{
    display:inline-block;
    background:#eef9f2;
    color:var(--primary);
    padding:8px 14px;
    border-radius:30px;
    margin-top:10px;
}

/* ==========================
   ADMIN OPERATIONS
========================== */

.report-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
    margin-bottom:30px;
}

.report-card{
    background:white;
    padding:25px;
    border-radius:14px;
    box-shadow:var(--shadow);
    text-align:center;
}

.report-value{
    font-size:2rem;
    font-weight:700;
    color:var(--primary);
    margin-top:10px;
}

.audit-table,
.settings-table{
    width:100%;
    border-collapse:collapse;
}

.audit-table th,
.audit-table td,
.settings-table th,
.settings-table td{
    border:1px solid #eee;
    padding:12px;
}

.audit-table th,
.settings-table th{
    background:#eef9f2;
}

.settings-section{
    background:white;
    padding:25px;
    border-radius:14px;
    box-shadow:var(--shadow);
    margin-bottom:25px;
}

.toggle-switch{
    transform:scale(1.2);
}

