:root {
    --primary: #F2802F; --primary-light: #FF9A52; --accent: #FF6B35;
    --dark: #1A1A2E; --text: #4b5563; --text-light: #9ca3af;
    --border: #e5e7eb; --bg: #f9fafb; --light-orange: #FFF5EE;
    --font-heading: 'Poppins', sans-serif; --font-body: 'Inter', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); }

.page-container { max-width: 900px; margin: 0 auto; padding: 0 24px; }

.breadcrumb { margin-top: 24px; font-size: 0.8rem; color: var(--text-light); }
.breadcrumb a { color: var(--primary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* HERO */
.group-hero {
    margin-top: 24px; background: linear-gradient(135deg, #1A1A2E 0%, #16213E 50%, #0F3460 100%);
    border-radius: 20px; padding: 48px; color: white;
}
.group-hero-icon { font-size: 3rem; margin-bottom: 16px; }
.group-hero h1 { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; margin-bottom: 12px; }
.group-hero p { color: rgba(255,255,255,0.65); font-size: 0.95rem; line-height: 1.6; max-width: 600px; }
.group-hero-meta {
    display: flex; gap: 16px; margin-top: 20px; flex-wrap: wrap;
    font-size: 0.85rem; color: rgba(255,255,255,0.5);
}
.group-hero-levels { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }

/* LEVEL BADGES */
.level-badge {
    display: inline-block; padding: 5px 12px; border-radius: 12px;
    font-size: 0.72rem; font-weight: 600; text-transform: uppercase;
}
.level-beginner { background: rgba(5,150,105,0.15); color: #34d399; }
.level-intermediate { background: rgba(242,128,47,0.15); color: var(--primary-light); }
.level-advanced { background: rgba(220,38,38,0.15); color: #f87171; }

/* TEMPLATES */
.templates-section { margin-top: 40px; }
.templates-section h2 {
    font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700;
    color: var(--dark); margin-bottom: 24px;
}

.template-card {
    background: white; border: 1px solid var(--border); border-radius: 16px;
    padding: 28px; margin-bottom: 28px;
}
.template-header { margin-bottom: 14px; }
.template-name {
    font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700;
    color: var(--dark); margin-bottom: 10px;
}
.template-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.template-badge {
    display: inline-block; padding: 4px 10px; border-radius: 6px;
    font-size: 0.68rem; font-weight: 600; text-transform: uppercase;
}
.badge-weeks { background: #ecfdf5; color: #059669; }
.badge-level { background: var(--light-orange); color: var(--primary); }
.template-audience { font-size: 0.82rem; color: var(--text-light); margin-bottom: 10px; }
.template-description { font-size: 0.88rem; color: var(--text); line-height: 1.5; margin-bottom: 16px; }

/* DAY TABS */
.day-tabs {
    display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px;
    border-bottom: 2px solid var(--border); padding-bottom: 0;
}
.day-tab {
    padding: 10px 18px; border: none; background: none;
    font-family: var(--font-heading); font-size: 0.8rem; font-weight: 600;
    color: var(--text-light); cursor: pointer; transition: all 0.2s;
    border-bottom: 3px solid transparent; margin-bottom: -2px;
}
.day-tab:hover { color: var(--primary); }
.day-tab.active {
    color: var(--primary); border-bottom-color: var(--primary);
}

.day-panel { display: none; }
.day-panel.active { display: block; }

/* EXERCISE TABLE */
.exercise-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.exercise-table thead th {
    text-align: left; padding: 8px 12px; background: var(--bg);
    color: var(--text-light); font-weight: 600; font-size: 0.72rem;
    text-transform: uppercase; letter-spacing: 0.3px; border-bottom: 1px solid var(--border);
}
.exercise-table thead th:first-child { width: 36px; }
.exercise-table tbody td { padding: 10px 12px; border-bottom: 1px solid #f3f4f6; color: var(--dark); }
.exercise-table tbody tr:last-child td { border-bottom: none; }
.exercise-table tbody tr:hover { background: #fafafa; }
.exercise-table tbody td:nth-child(3) { font-weight: 600; color: var(--primary); white-space: nowrap; }
.exercise-table tbody td:nth-child(4) { font-size: 0.75rem; color: var(--text-light); }

/* APP CTA */
.app-cta {
    margin-top: 48px; background: linear-gradient(135deg, var(--dark) 0%, #16213E 50%, #0F3460 100%);
    border-radius: 20px; padding: 48px; text-align: center; color: white;
}
.app-cta h3 { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; margin-bottom: 10px; }
.app-cta p { color: rgba(255,255,255,0.65); font-size: 0.92rem; max-width: 480px; margin: 0 auto 24px; line-height: 1.6; }
.app-cta-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.app-cta-links a {
    display: inline-flex; padding: 14px 32px; border-radius: 12px;
    text-decoration: none; font-weight: 600; font-size: 0.92rem;
}
.app-cta-links .btn-primary { background: var(--primary); color: white; }
.app-cta-links .btn-secondary { background: rgba(255,255,255,0.12); color: white; border: 1px solid rgba(255,255,255,0.2); }

/* FOOTER */
.blog-footer {
    text-align: center; padding: 24px; color: var(--text-light); font-size: 0.82rem;
    border-top: 1px solid var(--border); margin-top: 48px;
}
.blog-footer a { color: var(--primary); text-decoration: none; }

/* RESPONSIVE */
@media (max-width: 600px) {
    .group-hero { padding: 32px 24px; }
    .group-hero h1 { font-size: 1.4rem; }
    .template-card { padding: 20px; }
    .exercise-table { font-size: 0.75rem; }
    .exercise-table thead th, .exercise-table tbody td { padding: 6px 8px; }
    .day-tab { padding: 8px 12px; font-size: 0.72rem; }
}
