/* ========================================
   百变街舞 品牌官网 - 样式表
   ======================================== */

/* CSS Variables */
:root {
    --primary: #FF6B35;
    --primary-dark: #E55A2B;
    --secondary: #1A1A2E;
    --accent: #FFD93D;
    --light: #FFF8F0;
    --dark: #16213E;
    --gray: #666;
    --gray-light: #999;
    --white: #FFFFFF;
    --shadow: 0 10px 40px rgba(0,0,0,0.08);
    --shadow-hover: 0 20px 60px rgba(0,0,0,0.12);
    --radius: 20px;
    --radius-sm: 12px;
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: var(--dark);
    line-height: 1.7;
    background: var(--light);
    font-size: 16px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--secondary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
    color: var(--gray);
    margin-bottom: 1rem;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

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

.logo span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--secondary);
    padding: 8px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

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

.nav-cta {
    background: var(--primary) !important;
    color: var(--white) !important;
    padding: 12px 28px !important;
    border-radius: 50px;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-2px);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
    display: flex;
    align-items: center;
    padding: 120px 5% 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: var(--primary);
    opacity: 0.08;
    border-radius: 50%;
    transform: rotate(-15deg);
}

.hero-content {
    max-width: 650px;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--secondary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn {
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ========================================
   Section Styles
   ======================================== */
.section {
    padding: 100px 5%;
}

.section-light {
    background: var(--white);
}

.section-dark {
    background: var(--secondary);
    color: var(--white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    margin-bottom: 15px;
}

.section-dark .section-title {
    color: var(--white);
}

.section-desc {
    color: var(--gray);
    font-size: 1.1rem;
}

.section-dark .section-desc {
    color: rgba(255,255,255,0.7);
}

/* ========================================
   Stats Bar
   ======================================== */
.stats-bar {
    background: var(--white);
    padding: 40px 5%;
    box-shadow: var(--shadow);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.stat-name {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ========================================
   Pain Points (3大痛点)
   ======================================== */
.pain-points {
    background: var(--light);
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.pain-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pain-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.pain-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), #ff8c5a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.pain-card h4 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.pain-card p {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.pain-solution {
    background: var(--light);
    padding: 15px;
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--primary);
}

.pain-solution strong {
    color: var(--primary);
    display: block;
    margin-bottom: 5px;
}

.pain-solution p {
    margin: 0;
    font-size: 0.9rem;
}

/* ========================================
   Dance Styles (舞种介绍)
   ======================================== */
.styles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.style-card {
    background: var(--secondary);
    border-radius: var(--radius);
    padding: 40px 25px;
    text-align: center;
    color: var(--white);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.style-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), transparent);
    opacity: 0;
    transition: var(--transition);
}

.style-card:hover::before {
    opacity: 0.3;
}

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

.style-icon {
    font-size: 4rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.style-card h4 {
    color: var(--white);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.style-card p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

/* ========================================
   Course Cards (课程卡片)
   ======================================== */
.course-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.course-header {
    background: linear-gradient(135deg, var(--primary), #ff8c5a);
    padding: 30px;
    color: var(--white);
}

.course-age {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.course-header h3 {
    color: var(--white);
    margin-bottom: 10px;
}

.course-header p {
    color: rgba(255,255,255,0.9);
    margin: 0;
    font-size: 0.95rem;
}

.course-body {
    padding: 30px;
}

.course-features {
    margin-bottom: 20px;
}

.course-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray);
    font-size: 0.95rem;
    border-bottom: 1px solid #f0f0f0;
}

.course-features li:last-child {
    border-bottom: none;
}

.course-features li::before {
    content: '✓';
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.course-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.course-price small {
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 400;
}

.btn-outline {
    padding: 12px 25px;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

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

/* ========================================
   Teacher Cards (师资卡片)
   ======================================== */
.teacher-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.teacher-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.teacher-image {
    height: 280px;
    background: linear-gradient(135deg, var(--secondary), var(--dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
}

.teacher-info {
    padding: 25px;
    text-align: center;
}

.teacher-info h4 {
    margin-bottom: 5px;
}

.teacher-title {
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.teacher-desc {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ========================================
   FAQ Accordion
   ======================================== */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 40px;
}

.faq-category h3 {
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--secondary);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.faq-item.active .faq-question::after {
    content: '-';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-content {
    padding: 0 25px 20px;
    color: var(--gray);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* ========================================
   Blog Cards
   ======================================== */
.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.blog-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.blog-content {
    padding: 25px;
}

.blog-category {
    display: inline-block;
    background: var(--light);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.blog-content h4 {
    margin-bottom: 10px;
    font-size: 1.15rem;
}

.blog-content p {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    color: var(--gray-light);
    font-size: 0.85rem;
}

/* ========================================
   Testimonial
   ======================================== */
.testimonial-card {
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius);
    position: relative;
    box-shadow: var(--shadow);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 25px;
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.15;
    font-family: serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--gray);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
}

.testimonial-info strong {
    display: block;
    color: var(--secondary);
}

.testimonial-info span {
    font-size: 0.9rem;
    color: var(--primary);
}

/* ========================================
   Contact Section
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary), #ff8c5a);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-text h4 {
    margin-bottom: 5px;
}

.contact-text p {
    margin: 0;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

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

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

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary), #ff8c5a);
    text-align: center;
    color: var(--white);
    padding: 80px 5%;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.cta-section p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-phone {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--secondary);
    color: var(--white);
    padding: 60px 5% 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}

.footer-links h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: rgba(255,255,255,0.7);
}

.footer-links ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.badge-item {
    background: rgba(255,255,255,0.1);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ========================================
   Page Header
   ======================================== */
.page-header {
    background: linear-gradient(135deg, var(--secondary), var(--dark));
    padding: 150px 5% 80px;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 15px;
}

.page-header p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   Course Detail Page
   ======================================== */
.course-detail {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 5%;
}

.course-detail-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 40px;
}

.course-detail-header {
    background: linear-gradient(135deg, var(--primary), #ff8c5a);
    padding: 40px;
    color: var(--white);
}

.course-detail-header h2 {
    color: var(--white);
    margin-bottom: 10px;
}

.course-detail-body {
    padding: 40px;
}

.course-detail-section {
    margin-bottom: 40px;
}

.course-detail-section:last-child {
    margin-bottom: 0;
}

.course-detail-section h3 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.course-detail-section ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.course-detail-section ul li {
    padding: 15px;
    background: var(--light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ========================================
   Timeline (品牌故事)
   ======================================== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--primary);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-content {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 400px;
    position: relative;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: calc(50% - 10px);
    top: 30px;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    border: 4px solid var(--white);
}

.timeline-year {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 700;
    margin-bottom: 10px;
}

.timeline-content h4 {
    margin-bottom: 10px;
}

.timeline-content p {
    margin: 0;
    font-size: 0.95rem;
}

/* ========================================
   Price Table
   ======================================== */
.price-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

.price-table th {
    background: var(--secondary);
    color: var(--white);
    font-weight: 600;
}

.price-table tr:hover {
    background: var(--light);
}

.price-table td:first-child {
    font-weight: 600;
}

.price-highlight {
    background: var(--primary) !important;
    color: var(--white) !important;
}

/* ========================================
   Admin Dashboard (预留)
   ======================================== */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 250px;
    background: var(--secondary);
    color: var(--white);
    padding: 30px 0;
    position: fixed;
    height: 100vh;
}

.admin-sidebar h2 {
    color: var(--white);
    padding: 0 25px;
    margin-bottom: 30px;
    font-size: 1.3rem;
}

.admin-nav li {
    padding: 15px 25px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-nav li:hover,
.admin-nav li.active {
    background: rgba(255,255,255,0.1);
    color: var(--primary);
}

.admin-main {
    flex: 1;
    margin-left: 250px;
    padding: 30px;
    background: var(--light);
}

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

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

.admin-card h3 {
    margin-bottom: 20px;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .styles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .course-detail-section ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .stat {
        flex: 1 1 100px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pain-grid,
    .course-detail-section ul {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        padding-left: 60px;
        padding-right: 0;
        justify-content: flex-start;
    }
    
    .timeline-item::after {
        left: 10px;
    }
    
    .admin-sidebar {
        display: none;
    }
    
    .admin-main {
        margin-left: 0;
    }
}

/* ========================================
   Utility Classes
   ======================================== */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-white { color: var(--white); }
.bg-light { background: var(--light); }
.bg-white { background: var(--white); }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.py-20 { padding-top: 20px; padding-bottom: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
