/*
Theme Name: Formation Machine Learning
Theme URI: https://formation-machine-learning.fr
Description: Thème professionnel pour formation-machine-learning.fr - Formation Machine Learning & Deep Learning
Author: Formation ML
Version: 2.0
Text Domain: formation-ml
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --accent: #7c3aed;
    --accent-hover: #6d28d9;
    --accent-light: #a78bfa;
    --accent-soft: #ede9fe;
    --accent-bg: rgba(124,58,237,0.06);
    --teal: #0d9488;
    --teal-soft: #ccfbf1;
    --orange: #ea580c;
    --orange-soft: #fff7ed;
    --green: #059669;
    --green-soft: #d1fae5;
    --text: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-soft: #f1f5f9;
    --bg-footer: #1e293b;
    --border: #e2e8f0;
    --border-hover: #cbd5e1;
    --gradient-accent: linear-gradient(135deg, #7c3aed, #2563eb);
    --gradient-hero: linear-gradient(160deg, #f8fafc 0%, #ede9fe 40%, #dbeafe 100%);
    --gradient-program: linear-gradient(160deg, #faf5ff 0%, #f0f9ff 100%);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
    --shadow-accent: 0 4px 15px rgba(124,58,237,0.2);
    --radius: 12px;
    --radius-lg: 20px;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --max-width: 1200px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    line-height: 1.7;
    color: var(--text);
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

ul { list-style: none; }

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

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--text);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

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

.section-title h2 {
    margin-bottom: 16px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 650px;
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 12px;
    background: var(--accent-soft);
    padding: 6px 16px;
    border-radius: 100px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    font-family: var(--font-main);
}

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

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(124,58,237,0.3);
}

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

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-soft);
}

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

.btn-outline:hover {
    background: var(--accent);
    color: #fff;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
    border-radius: 12px;
}

/* ===== HEADER / NAV ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all var(--transition);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
}

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

.nav-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition);
    position: relative;
}

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

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

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-cta .btn {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 70% 30%, rgba(124,58,237,0.06) 0%, transparent 50%),
        radial-gradient(circle at 30% 70%, rgba(37,99,235,0.04) 0%, transparent 50%);
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(124,58,237,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124,58,237,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero .container {
    position: relative;
    z-index: 1;
}

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

.hero-text {
    color: var(--text);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-soft);
    border: 1px solid rgba(124,58,237,0.2);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 24px;
    font-weight: 500;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-text h1 {
    margin-bottom: 24px;
    line-height: 1.15;
}

.hero-text h1 .gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text .hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 520px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

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

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

.hero-stat .label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.hero-visual {
    position: relative;
}

.hero-code {
    background: #1e1e2e;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.code-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    background: rgba(0,0,0,0.3);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-dot.red { background: #ef4444; }
.code-dot.yellow { background: #eab308; }
.code-dot.green { background: #22c55e; }

.code-title {
    margin-left: 12px;
    color: #94a3b8;
    font-size: 0.85rem;
    font-family: var(--font-mono);
}

.code-body {
    padding: 24px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 1.8;
    color: #cbd5e1;
    overflow-x: auto;
}

.code-body .keyword { color: #c084fc; }
.code-body .function { color: #60a5fa; }
.code-body .string { color: #34d399; }
.code-body .comment { color: #4b5563; }
.code-body .number { color: #fbbf24; }
.code-body .class-name { color: #f472b6; }

/* ===== FEATURES SECTION ===== */
.features {
    padding: 100px 0;
    background: var(--bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 40px 32px;
    border: 1px solid var(--border);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(124,58,237,0.15);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.feature-icon.blue {
    background: #dbeafe;
    color: #2563eb;
}

.feature-icon.purple {
    background: var(--accent-soft);
    color: var(--accent);
}

.feature-icon.orange {
    background: var(--orange-soft);
    color: var(--orange);
}

.feature-icon.green {
    background: var(--green-soft);
    color: var(--green);
}

.feature-card h3 {
    margin-bottom: 12px;
}

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

/* ===== PROGRAM SECTION ===== */
.program {
    padding: 100px 0;
    background: var(--gradient-program);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.program-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0;
    overflow: hidden;
    transition: all var(--transition);
}

.program-card:hover {
    transform: translateY(-4px);
    border-color: rgba(124,58,237,0.2);
    box-shadow: var(--shadow-md);
}

.program-card-header {
    padding: 32px 32px 24px;
    border-bottom: 1px solid var(--border);
    background: var(--accent-bg);
}

.day-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 8px;
}

.program-card-header h3 {
    font-size: 1.3rem;
}

.program-card-body {
    padding: 24px 32px 32px;
}

.program-card-body ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.program-card-body li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.program-card-body li::before {
    content: '▹';
    color: var(--accent);
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 1px;
}

.program-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.tech-tag {
    font-size: 0.75rem;
    padding: 4px 12px;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: 100px;
    border: 1px solid rgba(124,58,237,0.15);
    font-weight: 500;
}

/* ===== OBJECTIVES SECTION ===== */
.objectives {
    padding: 100px 0;
    background: var(--bg-white);
}

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

.objectives-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.objective-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius);
    border: 1px solid transparent;
    transition: all var(--transition);
}

.objective-item:hover {
    border-color: rgba(124,58,237,0.15);
    box-shadow: var(--shadow-sm);
}

.objective-check {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: var(--green-soft);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    font-size: 1rem;
}

.objective-item p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== AUDIENCE + PREREQS ===== */
.audience {
    padding: 100px 0;
    background: var(--bg-light);
}

.audience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.audience-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border);
}

.audience-card h3 {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.audience-card h3 .icon {
    font-size: 1.5rem;
}

.audience-card ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.audience-card li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.audience-card li::before {
    content: '→';
    color: var(--accent);
    font-weight: 600;
}

/* ===== PRICING ===== */
.pricing {
    padding: 100px 0;
    background: var(--bg-white);
}

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

.pricing-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    position: relative;
    transition: all var(--transition);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.pricing-card.featured {
    border-color: var(--accent);
    box-shadow: var(--shadow-accent);
}

.pricing-card.featured::before {
    content: 'Populaire';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-accent);
    color: #fff;
    padding: 4px 20px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-type {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 16px;
}

.pricing-card h3 {
    margin-bottom: 8px;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text);
    margin: 16px 0;
}

.pricing-card .price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.pricing-card .price-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.pricing-features li .check {
    color: var(--green);
    font-weight: bold;
}

.pricing-card .btn {
    width: 100%;
    justify-content: center;
}

/* ===== FAQ ===== */
.faq {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
    background: var(--bg-white);
}

.faq-item:hover {
    border-color: rgba(124,58,237,0.2);
}

.faq-question {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text);
    background: var(--bg-white);
    transition: background var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question .arrow {
    transition: transform var(--transition);
    font-size: 1.2rem;
    color: var(--text-muted);
}

.faq-item.active .faq-question .arrow {
    transform: rotate(180deg);
}

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

.faq-answer-inner {
    padding: 0 24px 20px;
    color: var(--text-muted);
    line-height: 1.7;
}

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

/* ===== BLOG SECTION ===== */
.blog-section {
    padding: 100px 0;
    background: var(--gradient-program);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all var(--transition);
}

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

.blog-card-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.blog-card-image .blog-icon {
    font-size: 3rem;
    opacity: 0.3;
}

.blog-card-image .blog-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--accent);
    color: #fff;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

.blog-card-body {
    padding: 28px;
}

.blog-card-body .blog-date {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.blog-card-body h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card-body h3 a:hover {
    color: var(--accent);
}

.blog-card-body p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-card-body .read-more {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition);
}

.blog-card-body .read-more:hover {
    gap: 12px;
}

/* ===== CONTACT ===== */
.contact {
    padding: 100px 0;
    background: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--text-muted);
    margin-bottom: 32px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-detail .icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--accent-soft);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent);
}

.contact-detail-text .detail-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.contact-detail-text .detail-value {
    color: var(--text);
    font-weight: 600;
}

.contact-form-wrapper {
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

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

.contact-form label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    background: var(--bg-white);
    color: var(--text);
    transition: all var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(124,58,237,0.1);
}

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

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

/* ===== FOOTER ===== */
.site-footer {
    background: var(--bg-footer);
    color: #94a3b8;
    padding: 60px 0 30px;
}

.site-footer .logo {
    color: #fff;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 300px;
}

.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    color: #94a3b8;
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--accent-light);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text .hero-desc {
        margin: 0 auto 36px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .program-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

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

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

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

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 24px;
        border-bottom: 1px solid var(--border);
        gap: 20px;
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

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

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

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

    .hero-stats {
        gap: 24px;
    }

    .hero-stat .number {
        font-size: 1.5rem;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* ===== BLOG PAGES ===== */
.blog-hero {
    background: var(--gradient-hero);
    padding: 140px 0 80px;
    text-align: center;
}

.blog-hero h1 {
    margin-bottom: 16px;
}

.blog-hero p {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

.blog-listing {
    padding: 80px 0;
    background: var(--bg-light);
}

.blog-listing .blog-grid {
    margin-bottom: 60px;
}

/* ===== SINGLE ARTICLE ===== */
.article-hero {
    background: var(--gradient-hero);
    padding: 140px 0 60px;
}

.article-hero .container {
    max-width: 800px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.article-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 16px;
}

.article-hero .article-excerpt {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.article-content {
    padding: 60px 0 100px;
    background: var(--bg-white);
}

.article-content .container {
    max-width: 760px;
}

.article-body {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text);
}

.article-body h2 {
    margin: 48px 0 20px;
    font-size: 1.6rem;
}

.article-body h3 {
    margin: 36px 0 16px;
    font-size: 1.3rem;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body ul, .article-body ol {
    margin: 20px 0;
    padding-left: 24px;
    list-style: disc;
}

.article-body ol {
    list-style: decimal;
}

.article-body li {
    margin-bottom: 8px;
}

.article-body code {
    background: var(--accent-soft);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.9em;
    color: var(--accent);
}

.article-body pre {
    background: #1e1e2e;
    color: #e2e8f0;
    padding: 24px;
    border-radius: var(--radius);
    overflow-x: auto;
    margin: 24px 0;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 1.6;
}

.article-body pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.article-body blockquote {
    border-left: 4px solid var(--accent);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--accent-soft);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--text-muted);
}

.article-body strong {
    color: var(--text);
    font-weight: 600;
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.mt-60 { margin-top: 60px; }
.mb-40 { margin-bottom: 40px; }

/* ===== WP OVERRIDES ===== */
.wp-block-post-content { max-width: none; }
body.page .entry-content, body.single .entry-content { max-width: none; padding: 0; }
