/*
Theme Name: Astra Child
Template: astra
Version: 3.1.0
*/

/* ===== CSS VARIABLES ===== */
:root {
    --primary: #2563eb;
    --primary-light: #3b82f6;
    --primary-dark: #1d4ed8;
    --primary-glow: rgba(37, 99, 235, 0.15);
    --secondary: #f97316;
    --secondary-light: #fb923c;
    --accent: #10b981;
    --accent-light: #34d399;
    --purple: #8b5cf6;
    --purple-light: #a78bfa;
    --pink: #ec4899;
    --dark: #0f172a;
    --gray-900: #1e293b;
    --gray-800: #334155;
    --gray-700: #475569;
    --gray-600: #64748b;
    --gray-500: #94a3b8;
    --gray-400: #cbd5e1;
    --gray-300: #e2e8f0;
    --gray-200: #f1f5f9;
    --gray-100: #f8fafc;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --gradient-warm: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
    --gradient-cool: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-hero: linear-gradient(135deg, #4f46e5 0%, #7c3aed 40%, #a855f7 100%);
    --gradient-mesh: radial-gradient(at 40% 20%, #818cf8 0px, transparent 50%), radial-gradient(at 80% 0%, #a78bfa 0px, transparent 50%), radial-gradient(at 0% 50%, #6366f1 0px, transparent 50%), radial-gradient(at 80% 50%, #8b5cf6 0px, transparent 50%), radial-gradient(at 0% 100%, #4f46e5 0px, transparent 50%);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    --shadow-glow: 0 0 40px rgba(99,102,241,0.3);
    --shadow-blue: 0 10px 40px rgba(37,99,235,0.25);
    --shadow-purple: 0 10px 40px rgba(139,92,246,0.25);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== CRITICAL FIXES - Override Astra conflicts ===== */

/* Fix #1: Force ast-container to block, NOT flex/grid */
.site-content .ast-container,
.ast-container {
    display: block !important;
    flex-direction: unset !important;
    grid-template-columns: unset !important;
    flex-wrap: unset !important;
    gap: unset !important;
    max-width: 100% !important;
}

/* Fix #2: All direct children of ast-container must be block */
.ast-container > section,
.ast-container > div:not(.header-container):not(.container):not(.footer-grid):not(.footer-about):not(.footer-column):not(.hero-content):not(.features-grid):not(.trusted-content):not(.hero-form):not(.hero-text) {
    display: block !important;
    width: 100% !important;
}

/* Fix #3: Force each section to full width and block */
.hero-section,
.trusted-section,
.value-section,
.courses-section,
.features-section,
.methodology-section,
.testimonials-section,
.cta-section,
.site-footer {
    display: block !important;
    width: 100% !important;
    overflow-x: hidden !important;
    flex: unset !important;
    flex-shrink: unset !important;
}

/* Fix #4: Reset Astra page builder layout */
.ast-page-builder-template .site-content .entry-content,
.ast-page-builder-template .entry-content {
    padding: 0 !important;
    max-width: none !important;
    display: block !important;
}
.ast-page-builder-template .ast-article-inner {
    padding: 0 !important;
    display: block !important;
}

/* Fix #5: Primary content area */
.site-content #primary {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    display: block !important;
}

.ast-separate-container .ast-article-post,
.ast-separate-container .ast-article-single {
    padding: 0 !important;
    margin: 0 !important;
}
.entry-header { display: none !important; }
.ast-separate-container .ast-article-post {
    padding: 0 !important;
    margin: 0 !important;
}
.ast-page-builder-template .hentry { margin: 0 !important; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-60px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(60px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}
@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; 
    color: var(--gray-700); 
    line-height: 1.6; 
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    background: var(--white);
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-60px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(60px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}
@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ===== HEADER / NAVIGATION ===== */
.site-header {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px) saturate(180%);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--gray-300);
    width: 100%;
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.site-logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}
.site-logo .logo-icon {
    width: 38px;
    height: 38px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-right: 10px;
    box-shadow: var(--shadow-purple);
    flex-shrink: 0;
}
.site-logo .brand-text {
    display: flex;
    align-items: baseline;
}
.site-logo .brand-name {
    color: var(--primary);
    font-weight: 800;
}
.site-logo .brand-accent {
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}
.main-nav { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.main-nav a {
    font-weight: 500;
    color: var(--gray-600);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: var(--transition);
    white-space: nowrap;
}
.main-nav a:hover { 
    color: var(--primary); 
    background: var(--primary-glow);
}
.header-actions { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }

/* ===== BUTTONS ===== */
.btn {
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}
.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}
.btn-outline:hover { 
    background: var(--primary); 
    color: var(--white); 
    transform: translateY(-1px);
    box-shadow: var(--shadow-blue);
}
.btn-primary { 
    background: var(--primary); 
    color: var(--white);
    box-shadow: var(--shadow-blue);
}
.btn-primary:hover { 
    background: var(--primary-dark); 
    transform: translateY(-2px); 
    box-shadow: 0 14px 28px rgba(37,99,235,0.35);
}
.btn-secondary { 
    background: var(--secondary); 
    color: var(--white);
    box-shadow: 0 4px 14px rgba(249,115,22,0.35);
}
.btn-secondary:hover { 
    background: #ea580c; 
    transform: translateY(-2px); 
    box-shadow: 0 14px 28px rgba(249,115,22,0.35);
}
.btn-white {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-lg);
}
.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}
.btn-lg {
    padding: 14px 32px;
    font-size: 15px;
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: var(--gradient-mesh);
    background-size: 200% 200%;
    animation: gradient-shift 15s ease infinite;
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
    width: 100%;
}
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-section .decoration {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    pointer-events: none;
}
.hero-section .decoration-1 {
    width: 400px;
    height: 400px;
    background: var(--purple);
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}
.hero-section .decoration-2 {
    width: 300px;
    height: 300px;
    background: var(--primary-light);
    bottom: -80px;
    left: -80px;
    animation: float 6s ease-in-out infinite reverse;
}
.hero-section .decoration-3 {
    width: 150px;
    height: 150px;
    background: var(--pink);
    top: 50%;
    left: 50%;
    animation: float 10s ease-in-out infinite;
}
.hero-content { 
    position: relative; 
    z-index: 2; 
    display: grid; 
    grid-template-columns: 1fr 420px; 
    gap: 60px; 
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.hero-text { 
    color: var(--white);
    animation: slideInLeft 0.8s ease-out;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.25);
}
.hero-text h1 { 
    font-size: 52px; 
    font-weight: 900; 
    line-height: 1.1; 
    margin-bottom: 20px; 
    letter-spacing: -1.5px;
    text-shadow: 0 2px 40px rgba(0,0,0,0.15);
}
.hero-text h1 .highlight {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-text p { 
    font-size: 18px; 
    opacity: 0.92; 
    margin-bottom: 32px; 
    line-height: 1.7;
    max-width: 520px;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-btn-main {
    padding: 16px 32px;
    background: var(--white);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 15px;
    box-shadow: var(--shadow-xl);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.hero-btn-main:hover { 
    transform: translateY(-3px); 
    box-shadow: var(--shadow-2xl);
}
.hero-btn-secondary {
    padding: 16px 32px;
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}
.hero-btn-secondary:hover { 
    background: rgba(255,255,255,0.25); 
    border-color: var(--white);
    transform: translateY(-2px);
}
.hero-stats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.hero-stat { 
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 16px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    flex: 1;
    min-width: 80px;
    transition: var(--transition);
}
.hero-stat:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}
.hero-stat-number { 
    font-size: 28px; 
    font-weight: 900;
    letter-spacing: -0.5px;
}
.hero-stat-label { 
    font-size: 12px; 
    opacity: 0.85;
    margin-top: 2px;
    font-weight: 500;
}

/* ===== HERO FORM ===== */
.hero-form {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl), 0 0 80px rgba(99,102,241,0.2);
    animation: slideInRight 0.8s ease-out;
    position: relative;
}
.hero-form::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-2xl);
    background: var(--gradient-primary);
    z-index: -1;
    opacity: 0.3;
}
.hero-form h3 { 
    font-size: 22px; 
    margin-bottom: 6px; 
    color: var(--dark); 
    font-weight: 800;
}
.hero-form > p { 
    color: var(--gray-500); 
    margin-bottom: 24px; 
    font-size: 14px; 
}
.form-group { margin-bottom: 12px; }
.form-group input {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 14px;
    transition: var(--transition);
    background: var(--gray-100);
}
.form-group input:focus { 
    outline: none; 
    border-color: var(--primary); 
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(37,99,235,0.1);
}
.hero-form .btn { 
    width: 100%; 
    padding: 14px; 
    font-size: 15px;
    font-weight: 700;
    margin-top: 4px;
}
.hero-form .terms { 
    font-size: 12px; 
    color: var(--gray-500); 
    margin-top: 14px; 
    text-align: center; 
}
.hero-form .terms a { 
    color: var(--primary); 
    font-weight: 600;
}

/* ===== TRUSTED BY SECTION ===== */
.trusted-section {
    padding: 40px 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    width: 100%;
}
.trusted-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.trusted-label {
    font-size: 13px;
    color: var(--gray-500);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}
.trusted-logos {
    display: flex;
    gap: 36px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}
.trusted-item {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-400);
    transition: var(--transition);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    background: var(--gray-100);
}
.trusted-item:hover {
    color: var(--primary);
    background: var(--primary-glow);
}

/* ===== SECTION COMMON ===== */
.section-header { 
    text-align: center; 
    margin-bottom: 56px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}
.section-header .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-glow);
    color: var(--primary);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    border: 1px solid rgba(37,99,235,0.15);
}
.section-header h2 { 
    font-size: 40px; 
    font-weight: 900; 
    color: var(--dark); 
    margin-bottom: 14px; 
    letter-spacing: -1px;
    line-height: 1.15;
}
.section-header p { 
    color: var(--gray-600); 
    font-size: 17px; 
    line-height: 1.6;
}

/* ===== VALUE PROPOSITIONS ===== */
.value-section { 
    padding: 90px 0; 
    background: var(--white);
    position: relative;
    width: 100%;
}
.value-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-300), transparent);
}
.value-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.value-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius-xl);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-200);
}
.value-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}
.value-card:hover { 
    transform: translateY(-8px); 
    box-shadow: var(--shadow-xl); 
    border-color: transparent;
}
.value-card:hover::after {
    transform: scaleX(1);
}
.value-card-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
}
.value-card:nth-child(1) .value-card-icon {
    background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(139,92,246,0.15));
    color: var(--purple);
}
.value-card:nth-child(2) .value-card-icon {
    background: linear-gradient(135deg, rgba(249,115,22,0.15), rgba(239,68,68,0.15));
    color: var(--secondary);
}
.value-card:nth-child(3) .value-card-icon {
    background: linear-gradient(135deg, rgba(6,182,212,0.15), rgba(59,130,246,0.15));
    color: #06b6d4;
}
.value-card:nth-child(4) .value-card-icon {
    background: linear-gradient(135deg, rgba(16,185,129,0.15), rgba(5,150,105,0.15));
    color: var(--accent);
}
.value-card h4 { 
    font-size: 16px; 
    font-weight: 700; 
    margin-bottom: 10px; 
    color: var(--dark);
    letter-spacing: -0.3px;
}
.value-card p { 
    font-size: 14px; 
    color: var(--gray-600); 
    line-height: 1.6;
}

/* ===== COURSES SECTION ===== */
.courses-section { 
    padding: 90px 0; 
    background: var(--gray-100);
    position: relative;
    width: 100%;
}
.courses-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-300), transparent);
}
.courses-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.course-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}
.course-card:hover .course-content h4 {
    color: var(--primary);
}
.course-image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    position: relative;
    overflow: hidden;
}
.course-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.08' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}
.course-image span {
    position: relative;
    z-index: 1;
}
.course-badge-label {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--white);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-md);
    z-index: 2;
}
.course-content { padding: 24px; }
.course-content h4 { 
    font-size: 18px; 
    font-weight: 700; 
    margin-bottom: 10px; 
    color: var(--dark);
    letter-spacing: -0.3px;
}
.course-content p { 
    font-size: 14px; 
    color: var(--gray-600); 
    margin-bottom: 18px; 
    line-height: 1.6;
}
.course-meta { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding-top: 16px; 
    border-top: 1px solid var(--gray-200);
}
.course-lessons { 
    font-size: 13px; 
    color: var(--gray-500);
}
.course-level { 
    font-size: 12px; 
    font-weight: 600; 
    color: var(--accent);
    background: rgba(16,185,129,0.1);
    padding: 4px 12px;
    border-radius: var(--radius-full);
}
.courses-more {
    text-align: center; 
    margin-top: 48px;
}

/* ===== FEATURES HIGHLIGHT ===== */
.features-section {
    padding: 90px 0;
    background: var(--white);
    position: relative;
    width: 100%;
}
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.features-text .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-glow);
    color: var(--primary);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    border: 1px solid rgba(37,99,235,0.15);
}
.features-text h2 {
    font-size: 38px;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 18px;
    letter-spacing: -1px;
    line-height: 1.15;
}
.features-text > p {
    font-size: 16px;
    color: var(--gray-600);
    margin-bottom: 32px;
    line-height: 1.65;
}
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.feature-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}
.feature-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    border-color: transparent;
    transform: translateX(4px);
}
.feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}
.feature-card:nth-child(1) .feature-icon {
    background: linear-gradient(135deg, #818cf8, #6366f1);
    color: white;
}
.feature-card:nth-child(2) .feature-icon {
    background: linear-gradient(135deg, #34d399, #10b981);
    color: white;
}
.feature-card:nth-child(3) .feature-icon {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
}
.feature-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--dark);
}
.feature-card p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
}
.features-image {
    background: var(--gradient-mesh);
    background-size: 200% 200%;
    animation: gradient-shift 10s ease infinite;
    border-radius: var(--radius-2xl);
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
    position: relative;
    overflow: hidden;
}
.features-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.features-image-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}
.features-image-inner .big-number {
    font-size: 72px;
    font-weight: 900;
    letter-spacing: -3px;
    margin-bottom: 8px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.2);
    background: linear-gradient(135deg, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.features-image-inner .big-label {
    font-size: 16px;
    opacity: 0.9;
    font-weight: 500;
    line-height: 1.5;
}

/* ===== METHODOLOGY SECTION ===== */
.methodology-section { 
    padding: 90px 0; 
    background: var(--gray-100);
    position: relative;
    width: 100%;
}
.methodology-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-300), transparent);
}
.method-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.method-card {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 4px 4px 0 0;
}
.method-card:nth-child(1)::before { background: var(--gradient-primary); }
.method-card:nth-child(2)::before { background: var(--gradient-warm); }
.method-card:nth-child(3)::before { background: var(--gradient-cool); }
.method-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}
.method-number {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--white);
}
.method-card:nth-child(1) .method-number { background: var(--gradient-primary); }
.method-card:nth-child(2) .method-number { background: var(--gradient-warm); }
.method-card:nth-child(3) .method-number { background: var(--gradient-cool); }
.method-card h4 { 
    font-size: 18px; 
    font-weight: 700; 
    margin-bottom: 12px; 
    color: var(--dark);
    letter-spacing: -0.3px;
}
.method-card p { 
    font-size: 15px; 
    color: var(--gray-600); 
    line-height: 1.65;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section { 
    padding: 90px 0; 
    background: var(--white);
    position: relative;
    width: 100%;
}
.testimonials-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.testimonial-card {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.testimonial-stars { 
    color: #f59e0b; 
    font-size: 16px; 
    margin-bottom: 14px;
    letter-spacing: 2px;
}
.testimonial-text { 
    font-size: 15px; 
    color: var(--gray-700); 
    line-height: 1.7; 
    margin-bottom: 20px;
}
.testimonial-author { 
    display: flex; 
    align-items: center; 
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
}
.testimonial-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
}
.testimonial-card:nth-child(1) .testimonial-avatar { background: var(--gradient-primary); }
.testimonial-card:nth-child(2) .testimonial-avatar { background: var(--gradient-warm); }
.testimonial-card:nth-child(3) .testimonial-avatar { background: var(--gradient-cool); }
.testimonial-name { 
    font-weight: 700; 
    font-size: 14px; 
    color: var(--dark); 
}
.testimonial-role { 
    font-size: 12px; 
    color: var(--gray-500);
    margin-top: 2px;
}

/* ===== FEATURED ARTICLES SECTION ===== */
.articles-section {
    padding: 90px 0;
    background: var(--white);
    position: relative;
    width: 100%;
}
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.article-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.article-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}
.article-category {
    padding: 16px 24px 0;
}
.article-category a {
    display: inline-block;
    background: var(--primary-glow);
    color: var(--primary);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.article-category a:hover {
    background: var(--primary);
    color: var(--white);
}
.article-content {
    padding: 16px 24px 20px;
    flex: 1;
}
.article-content h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
    letter-spacing: -0.3px;
}
.article-content h4 a {
    color: var(--dark);
}
.article-content h4 a:hover {
    color: var(--primary);
}
.article-content p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
}
.article-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--gray-200);
}
.read-more {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}
.read-more:hover {
    color: var(--primary-dark);
    padding-left: 4px;
}
.articles-more {
    text-align: center;
    margin-top: 48px;
}

/* ===== LEARNING RESOURCES SECTION ===== */
.resources-section {
    padding: 90px 0;
    background: var(--gray-100);
    position: relative;
    width: 100%;
}
.resources-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-300), transparent);
}
.resources-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.resource-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 28px 20px;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    display: block;
}
.resource-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}
.resource-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.resource-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
    letter-spacing: -0.3px;
}
.resource-card > p {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.5;
    margin-bottom: 12px;
}
.resource-count {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-500);
    background: var(--gray-100);
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

/* ===== TEST STRATEGIES SECTION ===== */
.strategies-section {
    padding: 90px 0;
    background: var(--white);
    position: relative;
    width: 100%;
}
.strategies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.strategy-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px 28px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.strategy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}
.strategy-card:nth-child(1)::before { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.strategy-card:nth-child(2)::before { background: linear-gradient(135deg, #f97316, #ef4444); }
.strategy-card:nth-child(3)::before { background: linear-gradient(135deg, #06b6d4, #3b82f6); }
.strategy-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}
.strategy-badge {
    display: inline-block;
    color: var(--white);
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}
.strategy-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
    letter-spacing: -0.3px;
    line-height: 1.3;
}
.strategy-card > p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 20px;
}
.strategy-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}
.strategy-link:hover {
    color: var(--primary-dark);
    padding-left: 4px;
}

/* ============================================
   SINGLE ARTICLE PAGE - COMPLETE REDESIGN
   ============================================ */

/* --- Article Hero --- */
.article-hero {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    padding: 50px 0 70px;
}
.article-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.article-hero .container {
    position: relative;
    z-index: 2;
}
.article-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    font-size: 14px;
    flex-wrap: wrap;
}
.article-breadcrumb a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}
.article-breadcrumb a:hover { color: #fff; }
.breadcrumb-sep { color: rgba(255,255,255,0.3); }
.breadcrumb-current { color: rgba(255,255,255,0.5); }

.article-hero-inner {
    max-width: 780px;
}
.article-cat-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.cat-badge {
    display: inline-block;
    background: rgba(255,255,255,0.18);
    color: #fff;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    transition: var(--transition);
}
.cat-badge:hover { background: rgba(255,255,255,0.3); }

.article-hero-inner h1 {
    font-size: 44px;
    font-weight: 900;
    color: #fff;
    line-height: 1.12;
    margin-bottom: 18px;
    letter-spacing: -1.5px;
}
.article-subtitle {
    font-size: 17px;
    color: rgba(255,255,255,0.82);
    margin-bottom: 24px;
    line-height: 1.6;
}
.article-meta-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.12);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    color: rgba(255,255,255,0.88);
    backdrop-filter: blur(10px);
}

/* --- Main Layout --- */
.article-main-section {
    padding: 60px 0 80px;
    background: var(--gray-50);
}
.article-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: flex-start;
}

/* --- Article Content --- */
.post-article {
    background: #fff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}
.post-content {
    padding: 44px;
}
.post-content h2 {
    font-size: 26px !important;
    font-weight: 800 !important;
    margin: 44px 0 18px !important;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gray-200);
    letter-spacing: -0.5px;
    color: var(--dark);
}
.post-content h2:first-child { margin-top: 0 !important; }
.post-content h3 {
    font-size: 20px !important;
    font-weight: 700 !important;
    margin: 32px 0 14px !important;
    color: var(--gray-800);
}
.post-content h4 {
    font-size: 17px !important;
    font-weight: 600 !important;
    margin: 24px 0 10px !important;
    color: var(--gray-700);
}
.post-content p {
    font-size: 16px;
    line-height: 1.85;
    margin-bottom: 18px;
    color: var(--gray-700);
}
.post-content ul, .post-content ol {
    padding-left: 22px;
    margin-bottom: 20px;
}
.post-content li {
    margin-bottom: 10px;
    line-height: 1.75;
    color: var(--gray-700);
}
.post-content li::marker { color: var(--primary); }
.post-content strong, .post-content b {
    color: var(--dark);
    font-weight: 700;
}
.post-content code {
    background: var(--gray-100);
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 14px;
    color: var(--secondary);
}
.post-content blockquote {
    border-left: 4px solid var(--primary);
    padding: 16px 22px;
    margin: 24px 0;
    background: linear-gradient(135deg, rgba(99,102,241,0.04), rgba(139,92,246,0.04));
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--gray-600);
    font-style: italic;
}
.post-content hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-300), transparent);
    margin: 36px 0;
}
.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 15px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.post-content table thead {
    background: var(--gradient-primary);
}
.post-content table th {
    color: #fff;
    font-weight: 700;
    padding: 13px 16px;
    text-align: left;
}
.post-content table td {
    padding: 11px 16px;
    border-bottom: 1px solid var(--gray-200);
}
.post-content table tbody tr:hover { background: var(--gray-50); }
.post-content table tbody tr:last-child td { border-bottom: none; }
.post-content a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.post-content a:hover { color: var(--primary-dark); }

/* --- Share Bar --- */
.share-bar {
    padding: 22px 44px;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.share-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
}
.share-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}
.share-btn.fb { background: #1877f2; color: #fff; }
.share-btn.fb:hover { background: #0d65d9; transform: translateY(-2px); }
.share-btn.zalo { background: #0068ff; color: #fff; }
.share-btn.zalo:hover { background: #0056d6; transform: translateY(-2px); }
.share-btn.copy { background: var(--gray-200); color: var(--gray-700); }
.share-btn.copy:hover { background: var(--gray-300); transform: translateY(-2px); }

/* --- Author Card --- */
.author-card {
    padding: 28px 44px;
    background: linear-gradient(135deg, rgba(99,102,241,0.04), rgba(139,92,246,0.04));
    border-top: 1px solid var(--gray-200);
    display: flex;
    gap: 18px;
    align-items: center;
}
.author-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}
.author-details h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}
.author-details p {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

/* --- Sidebar --- */
.article-sidebar {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.sidebar-box {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.sidebar-box-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--gray-200);
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
}
.box-icon { font-size: 18px; }

/* TOC */
.toc-items {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
}
.toc-main {
    display: block;
    padding: 9px 12px;
    color: var(--gray-700);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    border-left: 3px solid transparent;
}
.toc-sub {
    display: block;
    padding: 7px 12px 7px 24px;
    color: var(--gray-500);
    font-size: 13px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    border-left: 3px solid transparent;
}
.toc-main:hover, .toc-sub:hover {
    background: var(--primary-glow);
    color: var(--primary);
    border-left-color: var(--primary);
}

/* Popular Posts */
.pop-post {
    display: flex;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition);
}
.pop-post:last-child { border-bottom: none; }
.pop-post:hover { background: var(--gray-50); }
.pop-num {
    width: 30px;
    height: 30px;
    min-width: 30px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}
.pop-info { display: flex; flex-direction: column; gap: 3px; }
.pop-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pop-date { font-size: 12px; color: var(--gray-500); }

/* CTA Box */
.cta-box {
    background: var(--gradient-primary) !important;
    color: #fff;
    text-align: center;
    padding: 28px 20px !important;
    position: relative;
    overflow: hidden;
}
.cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.06' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}
.cta-box > * { position: relative; z-index: 1; }
.cta-emoji { font-size: 36px; margin-bottom: 12px; }
.cta-box h4 {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 8px;
    border: none !important;
    padding: 0 !important;
    color: #fff !important;
}
.cta-box p {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 18px;
    line-height: 1.5;
    color: rgba(255,255,255,0.9) !important;
}
.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 20px;
    background: #fff;
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 700;
    transition: var(--transition);
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* --- Related Posts Section --- */
.related-section {
    margin-top: 60px;
    padding-top: 50px;
    border-top: 2px solid var(--gray-200);
}
.related-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}
.related-header h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
    margin: 0;
    padding: 0;
    border: none;
}
.view-all {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}
.view-all:hover { color: var(--primary-dark); }

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.rel-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    display: block;
    box-shadow: var(--shadow-sm);
}
.rel-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.rel-card-top { margin-bottom: 14px; }
.rel-cat {
    display: inline-block;
    background: var(--primary-glow);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.rel-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--dark);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.rel-card:hover h3 { color: var(--primary); }
.rel-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.rel-date { font-size: 13px; color: var(--gray-500); }
.rel-arrow { font-size: 18px; color: var(--primary); font-weight: 700; }

/* --- Single Article Responsive --- */
@media (max-width: 1024px) {
    .article-grid { grid-template-columns: 1fr; }
    .article-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .article-hero-inner h1 { font-size: 34px; }
}
@media (max-width: 768px) {
    .article-hero { padding: 30px 0 44px; }
    .article-hero-inner h1 { font-size: 28px; letter-spacing: -0.5px; }
    .article-subtitle { font-size: 15px; }
    .post-content { padding: 24px; }
    .post-content h2 { font-size: 22px !important; }
    .post-content h3 { font-size: 18px !important; }
    .share-bar { padding: 18px 24px; flex-direction: column; align-items: flex-start; }
    .author-card { flex-direction: column; text-align: center; padding: 24px; }
    .related-grid { grid-template-columns: 1fr; }
    .article-sidebar { grid-template-columns: 1fr; }
    .article-meta-row { flex-direction: column; gap: 8px; }
    .related-header { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--gradient-mesh);
    background-size: 200% 200%;
    animation: gradient-shift 15s ease infinite;
    padding: 90px 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    width: 100%;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-section h2 { 
    font-size: 40px; 
    font-weight: 900; 
    margin-bottom: 16px;
    letter-spacing: -1px;
    position: relative;
    z-index: 1;
}
.cta-section p { 
    font-size: 18px; 
    opacity: 0.92; 
    margin-bottom: 36px; 
    max-width: 560px; 
    margin-left: auto; 
    margin-right: auto;
    position: relative;
    z-index: 1;
}
.cta-section .btn { 
    padding: 16px 40px; 
    font-size: 16px;
    position: relative;
    z-index: 1;
}

/* ===== FOOTER ===== */
.site-footer { 
    background: var(--gray-900); 
    color: var(--white); 
    padding: 60px 0 24px;
    width: 100%;
}
.footer-grid { 
    display: grid; 
    grid-template-columns: 2fr 1fr 1fr 1fr; 
    gap: 40px; 
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}
.footer-about .site-logo { 
    color: var(--white); 
    margin-bottom: 16px; 
    display: flex;
    font-size: 22px;
}
.footer-about p { 
    color: rgba(255,255,255,0.6); 
    font-size: 14px; 
    line-height: 1.75;
}
.footer-column h4 { 
    font-size: 14px; 
    font-weight: 700; 
    margin-bottom: 18px; 
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-column ul li { margin-bottom: 10px; }
.footer-column ul li a { 
    color: rgba(255,255,255,0.6); 
    font-size: 14px;
    transition: var(--transition);
}
.footer-column ul li a:hover { 
    color: var(--white); 
    padding-left: 4px; 
}
.footer-bottom { 
    padding-top: 24px; 
    border-top: 1px solid rgba(255,255,255,0.1); 
    text-align: center; 
}
.footer-bottom p { 
    color: rgba(255,255,255,0.4); 
    font-size: 13px; 
}
.footer-bottom a {
    color: rgba(255,255,255,0.5);
}
.footer-bottom a:hover {
    color: var(--white);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; gap: 40px; }
    .hero-text h1 { font-size: 42px; }
    .value-grid { grid-template-columns: repeat(2, 1fr); }
    .courses-grid { grid-template-columns: repeat(2, 1fr); }
    .articles-grid { grid-template-columns: repeat(2, 1fr); }
    .resources-grid { grid-template-columns: repeat(2, 1fr); }
    .strategies-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .section-header h2 { font-size: 34px; }
}
@media (max-width: 768px) {
    .main-nav { display: none; }
    .hero-text h1 { font-size: 32px; }
    .hero-section { padding: 60px 0 70px; }
    .hero-stats { flex-wrap: wrap; gap: 10px; }
    .hero-stat { flex: 1 1 calc(50% - 10px); }
    .hero-form { padding: 24px; }
    .value-grid { grid-template-columns: 1fr; }
    .courses-grid { grid-template-columns: 1fr; }
    .articles-grid { grid-template-columns: 1fr; }
    .resources-grid { grid-template-columns: repeat(2, 1fr); }
    .strategies-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .method-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .section-header h2 { font-size: 28px; }
    .section-header { margin-bottom: 36px; }
    .value-section, .courses-section, .methodology-section, .testimonials-section, .features-section, .cta-section,
    .articles-section, .resources-section, .strategies-section {
        padding: 60px 0;
    }
    .cta-section h2 { font-size: 28px; }
    .trusted-content { flex-direction: column; gap: 16px; }
}
