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

:root {
    --primary: #a435f0;
    --primary-dark: #8710d8;
    --primary-light: #f5eaff;
    --primary-bg: #f8f0ff;
    --secondary: #3d5a80;
    --accent: #ff6633;
    --success: #1e8e3e;
    --bg: #ffffff;
    --bg-alt: #f7f9fc;
    --bg-card: #ffffff;
    --text: #1c1d1f;
    --text-secondary: #3e4147;
    --text-muted: #6a6f73;
    --border: #d1d7dc;
    --radius: 4px;
    --radius-lg: 8px;
    --shadow: 0 2px 4px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.12);
    --max-width: 1260px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

main { flex: 1; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.navbar {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text);
    letter-spacing: -0.02em;
}

.logo-accent { color: var(--primary); }

.nav-links {
    display: flex;
    list-style: none;
    gap: 24px;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-cta {
    background: var(--primary) !important;
    color: #fff !important;
    padding: 8px 16px;
    border-radius: var(--radius);
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    transition: background 0.2s !important;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-lg { padding: 13px 28px; font-size: 0.95rem; }

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

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--text);
}

.btn-outline:hover {
    background: rgba(28, 29, 31, 0.04);
}

.hero {
    padding: 64px 0 48px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f8f0ff 0%, #ffffff 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
    color: var(--text);
}

.gradient-text {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-illustration {
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-hover);
}

.hero-strip {
    display: flex;
    justify-content: center;
    gap: 48px;
    padding: 18px 0;
    background: #fff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.hero-strip span {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.hero-strip strong {
    color: var(--text);
    font-weight: 700;
}

.section { padding: 56px 0; }

.section-alt { background: var(--bg-alt); }

.section-header {
    text-align: center;
    margin-bottom: 32px;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 520px;
    margin: 0 auto;
}

.workshop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.workshop-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.workshop-card:hover {
    box-shadow: var(--shadow-hover);
}

.card-image {
    height: 156px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.card-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #eceb98;
    color: #3d3c0a;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.card-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.card-body h3 {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-subtitle {
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.4;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-instructor {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-top: 2px;
}

.card-meta {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.card-meta .live-badge {
    background: #f4f8f4;
    color: var(--success);
    font-weight: 600;
    font-size: 0.65rem;
    padding: 1px 6px;
    border-radius: 3px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    margin-top: 4px;
    border-top: 1px solid var(--border);
}

.card-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
}

.card-spots {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.spots-low { color: #b32d0e; font-weight: 600; }

.stars {
    color: #e59819;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trusted-logos span {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.5;
    letter-spacing: 0.02em;
    transition: opacity 0.2s;
}

.trusted-logos span:hover { opacity: 0.8; }

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

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.testimonial-card:hover { box-shadow: var(--shadow-hover); }

.testimonial-stars {
    color: #e59819;
    font-size: 1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    font-style: italic;
}

.testimonial-author {
    border-top: 1px solid var(--border);
    padding-top: 12px;
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
}

.testimonial-author span {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.schools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
}

.school-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px 20px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 14px;
}

.school-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.school-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.school-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1px;
}

.school-card p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.cta-section {
    background: var(--primary-bg);
    border-top: 1px solid var(--border);
    text-align: center;
}

.cta-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.cta-content p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 24px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.page-header {
    padding: 40px 0 0;
    text-align: center;
}

.page-header h1 { font-size: 1.75rem; font-weight: 700; }

.page-header p { color: var(--text-muted); margin-top: 4px; font-size: 0.9rem; }

.empty-state {
    text-align: center;
    padding: 64px 24px;
}

.empty-state h3 { font-size: 1.2rem; margin-bottom: 6px; }

.empty-state p { color: var(--text-muted); margin-bottom: 20px; }

.back-link {
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    transition: color 0.2s;
}

.back-link:hover { color: var(--primary-dark); }

.workshop-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.workshop-detail-image {
    height: 340px;
    border-radius: var(--radius-lg);
    background-size: cover;
    background-position: center;
    position: sticky;
    top: 88px;
}

.workshop-detail-content h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 10px 0 4px;
    line-height: 1.3;
}

.workshop-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 18px;
}

.detail-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
    padding: 14px;
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.meta-item strong {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.meta-item span { font-weight: 600; font-size: 0.85rem; }

.detail-description, .instructor-bio {
    margin-bottom: 18px;
}

.detail-description h2, .instructor-bio h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.detail-description p, .instructor-bio p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.9rem;
}

.detail-purchase {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
    border-top: 1px solid var(--border);
}

.detail-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
}

.about-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.about-text {
    max-width: 640px;
    margin: 0 auto 40px;
    text-align: center;
}

.about-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.value-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    transition: box-shadow 0.2s;
}

.value-card:hover {
    box-shadow: var(--shadow-hover);
}

.value-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--primary);
}

.value-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
}

.contact-info h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 18px;
}

.contact-details p { margin-bottom: 6px; font-size: 0.875rem; }

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-group label {
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 14px;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--text);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(164, 53, 240, 0.12);
}

.form-group textarea { resize: vertical; }

.form-group select { cursor: pointer; }

.flash-container {
    max-width: var(--max-width);
    margin: 12px auto 0;
    padding: 0 24px;
}

.flash {
    padding: 10px 16px;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 500;
}

.flash-success {
    background: #ecfdf3;
    border: 1px solid #abf0d0;
    color: var(--success);
}

.flash-error {
    background: #fde8e8;
    border: 1px solid #f8b4b4;
    color: #c81e1e;
    padding: 10px 16px;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.footer {
    border-top: 1px solid var(--border);
    padding: 48px 0 0;
    margin-top: 40px;
    background: var(--bg-alt);
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 32px;
}

.footer-brand .logo { font-size: 1.15rem; }

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.825rem;
    margin-top: 6px;
}

.footer-links h4 {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.825rem;
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 16px 0;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.partners-hero {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #1c1d1f 0%, #2d2d2f 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.partners-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(164,53,240,0.15) 0%, transparent 70%);
    transform: translate(-50%, -30%);
    pointer-events: none;
}

.partners-hero h1 {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    position: relative;
}

.partners-hero .gradient-text {
    background: linear-gradient(135deg, #a435f0, #ff6633);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.partners-hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    max-width: 580px;
    margin: 0 auto 32px;
    position: relative;
}

.partners-hero .btn-primary {
    background: #fff;
    color: #1c1d1f;
}

.partners-hero .btn-primary:hover {
    background: #e8e8e8;
    box-shadow: 0 8px 24px rgba(255,255,255,0.15);
}

.partners-strip {
    display: flex;
    justify-content: center;
    gap: 48px;
    padding: 24px 0;
    background: #1c1d1f;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.partners-strip span {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    font-weight: 500;
}

.partners-strip strong {
    color: #fff;
    font-weight: 700;
}

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

.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: box-shadow 0.2s;
}

.benefit-card:hover { box-shadow: var(--shadow-hover); }

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.benefit-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.benefit-card p {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    position: relative;
}

.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-light);
    line-height: 1;
    margin-bottom: 8px;
}

.step-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

.instructor-testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
}

.faq-grid {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
}

.faq-item h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.faq-item p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

.partner-form-section {
    background: linear-gradient(135deg, var(--primary-bg), #ffffff);
    border-top: 1px solid var(--border);
}

.partner-form-card {
    max-width: 560px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: var(--shadow);
}

.partner-form-card h2 {
    text-align: center;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.partner-form-card > p {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text);
    cursor: pointer;
    padding: 4px 8px;
}

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

@media (max-width: 900px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-subtitle { margin: 0 auto 24px; }
    .hero-actions { justify-content: center; }
    .hero-visual { display: none; }
    .workshop-detail { grid-template-columns: 1fr; }
    .workshop-detail-image { height: 200px; position: static; }
    .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 16px 24px;
        gap: 12px;
        box-shadow: var(--shadow-hover);
    }
    .nav-links.nav-open { display: flex; }
    .nav-links li:last-child { display: list-item; }
    .nav-cta { text-align: center; }
    .hero-content h1 { font-size: 1.75rem; }
    .hero-strip { flex-direction: column; gap: 10px; align-items: center; padding: 14px 0; }
    .hero-strip span { width: 100%; text-align: center; }
    .section { padding: 40px 0; }
    .workshop-grid { grid-template-columns: 1fr; }
    .schools-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .detail-meta { grid-template-columns: 1fr 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 28px; }
    .admin-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 1.35rem; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { justify-content: center; }
    .btn-lg { padding: 12px 20px; font-size: 0.9rem; }
    .detail-purchase { flex-direction: column; text-align: center; }
    .detail-price { font-size: 1.35rem; }
    .detail-meta { grid-template-columns: 1fr; }
}
