/* AI Hub - Unified Design System */
/* Combining Framework Library + Pattern Library with Premium Navy/Gold Aesthetic */

:root {
    /* Navy Scale */
    --navy-900: #0a1628;
    --navy-800: #0f2341;
    --navy-700: #1a365d;
    --navy-600: #234876;

    /* Slate Scale */
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;

    /* Gold Scale */
    --gold-500: #b8860b;
    --gold-400: #d4a017;
    --gold-300: #e6b422;

    /* Supporting Colors */
    --emerald-600: #059669;
    --danger-color: #DC2626;
    --white: #ffffff;

    /* Typography */
    --font-display: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Layout */
    --max-width: 1280px;
    --max-width-narrow: 900px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 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);

    /* Transitions */
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--navy-900);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-weight: 600;
    z-index: 10000;
    border-radius: 0 0 4px 0;
}
.skip-link:focus { top: 0; }

body {
    font-family: var(--font-body);
    color: var(--slate-800);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--navy-900);
    letter-spacing: -0.01em;
    line-height: 1.3;
}
h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.02em; line-height: 1.2; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; }
p { font-size: 1.0625rem; line-height: 1.6; color: var(--slate-700); }
a { color: var(--gold-500); transition: var(--transition); text-decoration: none; }
a:hover { color: var(--gold-400); }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200);
    transition: box-shadow 0.3s;
}
header.scrolled { box-shadow: 0 4px 30px rgba(10,22,40,0.08); }

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--navy-900);
}
.logo-icon { width: 40px; height: 40px; }
.logo-text {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}
.nav-links a {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--slate-700);
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: var(--gold-500);
    transition: width 0.3s;
}
.nav-links a:hover { color: var(--navy-900); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--navy-900); }
.nav-links a.active::after { width: 100%; }

.nav-cta {
    padding: 0.75rem 1.25rem;
    background: var(--navy-900);
    color: var(--white) !important;
    border-radius: 4px;
    transition: all 0.2s;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--navy-700); transform: translateY(-1px); }

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}
.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--navy-900);
    transition: all 0.3s;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}
.hero::after {
    content: '';
    position: absolute;
    top: 20%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(212,160,23,0.15) 0%, transparent 70%);
}

.hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4rem 1.5rem;
    position: relative;
    z-index: 1;
}
.hero-content { max-width: 800px; }

.hero-eyebrow {
    display: inline-flex;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 4px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gold-300);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.hero h1 { color: var(--white); margin-bottom: 1.5rem; line-height: 1.1; }
.hero-description {
    font-size: 1.25rem;
    color: var(--slate-300);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 640px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1;
}
.hero-stat-label { font-size: 0.875rem; color: var(--slate-400); margin-top: 0.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.25s;
}
.btn-lg { padding: 1.25rem 2rem; font-size: 1rem; }
.btn-full { width: 100%; }
.btn-primary { background: var(--gold-500); color: var(--white); }
.btn-primary:hover { background: var(--gold-400); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(184,134,11,0.35); }
.btn-secondary { background: var(--white); color: var(--navy-900); }
.btn-secondary:hover { background: var(--slate-100); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.3); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }
.btn-outline-dark { background: transparent; color: var(--navy-900); border: 1px solid var(--slate-300); }
.btn-outline-dark:hover { background: var(--slate-100); }
.btn-dark { background: var(--navy-900); color: var(--white); }
.btn-dark:hover { background: var(--navy-700); }

/* Trust Section */
.trust-section {
    background: var(--slate-50);
    padding: 3rem 1.5rem;
    border-bottom: 1px solid var(--slate-200);
}
.trust-inner { max-width: var(--max-width); margin: 0 auto; text-align: center; }
.trust-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--slate-500);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
}
.trust-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.5rem;
    opacity: 0.6;
}
.trust-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--slate-500);
}

/* Sections */
.section { padding: 5rem 1.5rem; }
.section-inner { max-width: var(--max-width); margin: 0 auto; }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gold-500);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}
.section-title { margin-bottom: 0.75rem; }
.section-description { font-size: 1.125rem; color: var(--slate-600); line-height: 1.6; }
.section-alt { background-color: var(--slate-50); }
.section-footer {
    text-align: center;
    margin-top: 2rem;
}

/* Value Grid */
.value-section { background: var(--white); }
.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.value-card {
    padding: 2rem;
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: 8px;
    transition: all 0.3s;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.value-card:hover { border-color: var(--gold-500); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(10,22,40,0.08); }
.value-icon {
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-900);
    border-radius: 8px;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}
.value-card h3 { margin-bottom: 0.5rem; text-align: center; }
.value-card p { font-size: 0.9375rem; color: var(--slate-600); line-height: 1.5; text-align: center; }

/* Frameworks Section */
.frameworks-section {
    background: var(--slate-900);
    color: var(--white);
    position: relative;
}
.frameworks-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 40px 40px;
}
.frameworks-section .section-inner { position: relative; z-index: 1; }
.frameworks-section .section-title { color: var(--white); }
.frameworks-section .section-description { color: var(--slate-400); }

.framework-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.framework-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.framework-card:hover { background: rgba(255,255,255,0.08); border-color: var(--gold-500); transform: translateY(-4px); }

.framework-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--emerald-600);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.framework-preview {
    width: 100%; height: 200px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}
.framework-preview img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.framework-card:hover .framework-preview img { transform: scale(1.05); }
.framework-card h3 { color: var(--white); margin-bottom: 0.5rem; text-align: center; }
.framework-card p { color: var(--slate-400); font-size: 0.9375rem; margin-bottom: 1.25rem; line-height: 1.5; text-align: center; }
.framework-card .btn { width: 100%; }

/* Pattern Cards - Updated to Navy/Gold */
.patterns-section { background: var(--white); }
.patterns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.pattern-card {
    background: white;
    border: 2px solid var(--slate-200);
    border-radius: 12px;
    padding: 1.75rem;
    transition: var(--transition-slow);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.pattern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gold-500);
    opacity: 0;
    transition: var(--transition);
}

.pattern-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
    border-color: var(--gold-400);
}

.pattern-card:hover::before {
    opacity: 1;
}

.pattern-card.anti-pattern {
    border-color: #FEE2E2;
    background: linear-gradient(to bottom, #ffffff 0%, #FEF2F2 100%);
}

.pattern-card.anti-pattern::before {
    background: var(--danger-color);
}

.pattern-card-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.pattern-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--navy-900);
    margin-bottom: 0.5rem;
    flex: 1;
}

.pattern-card-link {
    text-decoration: none;
    color: inherit;
}

.pattern-card-link:hover .pattern-card-title {
    color: var(--gold-500);
}

.pattern-card-tagline {
    font-style: italic;
    color: var(--slate-600);
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
}

.pattern-card-category {
    display: inline-block;
    background-color: var(--slate-100);
    color: var(--slate-700);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.pattern-card-description {
    color: var(--slate-600);
    margin-bottom: 1rem;
    flex: 1;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.pattern-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--slate-200);
}

.pattern-card-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background-color: var(--slate-100);
    color: var(--slate-600);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
}

.pattern-card-link-btn {
    color: var(--gold-500);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: var(--transition);
}

.pattern-card-link-btn:hover {
    color: var(--gold-400);
}

/* Search and Filter */
.search-section {
    background-color: var(--slate-50);
    padding: 2rem 0;
}

.search-container {
    max-width: 800px;
    margin: 0 auto;
}

.search-box {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border: 2px solid var(--slate-200);
    border-radius: 8px;
    transition: var(--transition);
    font-family: var(--font-body);
}

.search-box:focus {
    outline: none;
    border-color: var(--gold-500);
    box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.1);
}

.filters {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--navy-900);
    font-size: 0.875rem;
}

.filter-select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--slate-200);
    border-radius: 6px;
    background-color: white;
    font-size: 0.875rem;
    font-family: var(--font-body);
    color: var(--slate-700);
}

.results-count {
    font-weight: 600;
    color: var(--navy-900);
    margin-bottom: 1rem;
}

/* Pattern Detail Page */
.pattern-detail {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 20px;
}

.breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--slate-600);
    padding-top: 100px;
}

.breadcrumb a {
    color: var(--gold-500);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
    color: var(--gold-400);
}

.breadcrumb span {
    color: var(--navy-900);
    font-weight: 600;
}

.pattern-detail-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--slate-200);
}

.pattern-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--navy-900);
    line-height: 1.2;
}

.pattern-detail-tagline {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--slate-600);
    margin-bottom: 1.5rem;
}

.pattern-detail-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 1rem;
}

.pattern-detail-category {
    display: inline-block;
    background-color: var(--navy-900);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
}

.pattern-type-badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pattern-type-badge.pattern {
    background-color: #DCFCE7;
    color: #166534;
}

.pattern-type-badge.anti-pattern {
    background-color: #FEE2E2;
    color: #991B1B;
}

.complexity-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.complexity-indicator.beginner {
    color: var(--emerald-600);
}

.complexity-indicator.intermediate {
    color: #F59E0B;
}

.complexity-indicator.advanced {
    color: var(--danger-color);
}

.pattern-detail-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pattern-detail-content {
    line-height: 1.8;
    margin-bottom: 3rem;
}

.pattern-summary {
    background-color: var(--slate-50);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--gold-500);
}

.pattern-description {
    font-size: 1.125rem;
    color: var(--slate-800);
    margin: 0;
}

.pattern-section {
    margin-bottom: 3rem;
}

.pattern-section h2 {
    font-size: 1.75rem;
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--navy-900);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--slate-200);
}

.pattern-section h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--navy-900);
}

.pattern-section p {
    margin-bottom: 1rem;
    color: var(--slate-700);
    font-size: 1rem;
}

.implementation-steps {
    margin-left: 2rem;
    margin-bottom: 1rem;
    color: var(--slate-700);
    padding-left: 1rem;
}

.implementation-steps li {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.pattern-detail-content ul,
.pattern-detail-content ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
    color: var(--slate-700);
}

.pattern-detail-content li {
    margin-bottom: 0.5rem;
}

.key-insight-box {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    border-left: 4px solid var(--gold-500);
}

.key-insight-box h3 {
    color: var(--white);
    margin-bottom: 0.75rem;
}

.key-insight-box p {
    color: var(--slate-300);
    font-size: 1.125rem;
    margin: 0;
}

/* Related Patterns/Frameworks */
.related-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--slate-200);
}

.related-section h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--navy-900);
}

.related-patterns,
.related-frameworks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.related-pattern-card,
.related-framework-card {
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: 8px;
    padding: 1.5rem;
    transition: var(--transition);
}

.related-pattern-card:hover,
.related-framework-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--gold-500);
}

.related-pattern-link,
.related-framework-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-pattern-link h4,
.related-framework-link h4 {
    color: var(--navy-900);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.related-pattern-link:hover h4,
.related-framework-link:hover h4 {
    color: var(--gold-500);
}

.related-pattern-link p,
.related-framework-link p {
    color: var(--slate-600);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.related-pattern-category,
.related-framework-category {
    display: inline-block;
    background-color: var(--slate-100);
    color: var(--slate-700);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.pattern-detail-actions {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--slate-200);
    flex-wrap: wrap;
}

.pattern-detail-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Quick Start Grid */
.quick-start-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.quick-start-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--slate-200);
    transition: var(--transition);
    text-align: center;
}

.quick-start-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-500);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.quick-start-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--navy-900);
}

.quick-start-card p {
    color: var(--slate-600);
    margin-bottom: 1rem;
}

.card-link {
    color: var(--gold-500);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.card-link:hover {
    color: var(--gold-400);
}

/* Categories */
.categories-section { background: var(--white); }
.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}
.category-card {
    padding: 1.5rem;
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.category-card:hover { border-color: var(--gold-500); background: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(10,22,40,0.06); }
.category-icon { font-size: 1.75rem; margin-bottom: 0.5rem; }
.category-card h3 { font-family: var(--font-body); font-size: 0.9375rem; font-weight: 600; margin-bottom: 0.25rem; }
.category-count { font-size: 0.8125rem; color: var(--slate-500); line-height: 1.4; }

/* Testimonials */
.testimonials-section { background: var(--slate-50); }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border: 1px solid var(--slate-200);
    border-radius: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.testimonial-quote {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-style: italic;
    color: var(--slate-700);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    position: relative;
}
.testimonial-quote::before {
    content: '"';
    font-size: 4rem;
    font-family: var(--font-display);
    color: var(--gold-500);
    opacity: 0.3;
    position: absolute;
    top: -20px; left: -10px;
    line-height: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 1rem; justify-content: center; }
.author-avatar {
    width: 48px; height: 48px;
    background: var(--navy-900);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
}
.author-name { font-weight: 600; color: var(--navy-900); margin-bottom: 2px; }
.author-title { font-size: 0.875rem; color: var(--slate-500); }

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(212,160,23,0.1) 0%, transparent 70%);
}
.cta-inner { max-width: 900px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.cta-section .section-title { color: var(--white); }
.cta-section .section-description { color: var(--slate-300); margin-bottom: 2.5rem; }
.cta-note {
    font-size: 0.875rem;
    color: var(--slate-400);
    margin-top: 1rem;
}
.pricing-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
}
.price-display { display: flex; align-items: baseline; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; }
.price-currency { font-size: 1.5rem; color: var(--slate-300); }
.price-amount { font-family: var(--font-display); font-size: 4rem; font-weight: 700; color: var(--white); line-height: 1; }
.price-note { font-size: 0.9375rem; color: var(--slate-400); margin-bottom: 2rem; }
.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    text-align: left;
    margin-bottom: 2rem;
}
.feature-item { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9375rem; color: var(--slate-300); }
.feature-check {
    width: 20px; height: 20px;
    background: var(--emerald-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.feature-check svg { width: 12px; height: 12px; color: var(--white); }

/* FAQ */
.faq-section { background: var(--white); }
.faq-grid { max-width: var(--max-width-narrow); margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--slate-200); }
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--navy-900);
    transition: color 0.2s;
}
.faq-question:hover { color: var(--gold-500); }
.faq-icon {
    width: 24px; height: 24px;
    position: relative;
    flex-shrink: 0;
}
.faq-icon::before, .faq-icon::after {
    content: '';
    position: absolute;
    background: currentColor;
    transition: transform 0.3s;
}
.faq-icon::before { width: 14px; height: 2px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq-icon::after { width: 2px; height: 14px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq-item.active .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s, padding 0.3s; }
.faq-item.active .faq-answer { max-height: 300px; padding-bottom: 1.5rem; }
.faq-answer p { color: var(--slate-600); }

/* Newsletter */
.newsletter-section { background: var(--slate-50); padding: 4rem 1.5rem; }
.newsletter-inner { max-width: 600px; margin: 0 auto; text-align: center; }
.newsletter-inner h2 { margin-bottom: 1rem; }
.newsletter-inner p { margin-bottom: 1.5rem; }

/* Footer */
.footer,
footer { background: var(--navy-900); color: var(--white); padding: 3rem 1.5rem; }
.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-brand { display: flex; align-items: center; gap: 0.75rem; }
.footer-brand img { width: 32px; height: 32px; filter: brightness(0) invert(1); }
.footer-brand span { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { color: var(--slate-400); text-decoration: none; font-size: 0.9375rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 0.875rem; color: var(--slate-500); }
.footer-subtitle {
    margin-top: 0.5rem;
    opacity: 0.8;
    font-size: 0.875rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(10,22,40,0.8);
    backdrop-filter: blur(8px);
    padding: 1.5rem;
    align-items: center;
    justify-content: center;
}
.modal.active { display: flex; }
.modal-content {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 520px;
    width: 100%;
    position: relative;
    animation: modalIn 0.3s ease;
}
@keyframes modalIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
.modal-close {
    position: absolute;
    top: 1rem; right: 1rem;
    width: 40px; height: 40px;
    background: var(--slate-100);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--slate-500);
    transition: all 0.2s;
}
.modal-close:hover { background: var(--slate-200); color: var(--navy-900); }
.modal-title { font-size: 1.5rem; margin-bottom: 0.5rem; }
.modal-subtitle { color: var(--slate-500); margin-bottom: 1.5rem; }
.modal-framework {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--slate-50);
    border-radius: 8px;
    margin-bottom: 1rem;
}
.modal-framework img { width: 80px; height: 60px; object-fit: cover; border-radius: 6px; }
.modal-framework-info { flex: 1; }
.modal-framework-info h4 { font-family: var(--font-body); font-size: 0.9375rem; font-weight: 600; margin-bottom: 2px; }
.modal-framework-info p { font-size: 0.8125rem; color: var(--slate-500); margin: 0; }
.modal-divider { height: 1px; background: var(--slate-200); margin: 1.5rem 0; }
.modal-footer p { font-size: 0.875rem; color: var(--slate-500); margin-bottom: 1rem; }

/* Badges */
.badge { padding: 0.25rem 0.75rem; font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; border-radius: 4px; }
.badge-free { background: var(--emerald-600); color: var(--white); }
.badge-pro,
.badge-premium { background: var(--gold-500); color: var(--white); }
.badge-anti-pattern { background: var(--danger-color); color: var(--white); }

/* About Page Styles */
.about-hero {
    padding: 10rem 1.5rem 5rem;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
    position: relative;
}
.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}
.about-hero-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}
.about-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.15;
}
.about-hero p {
    font-size: 1.25rem;
    color: var(--slate-300);
}

.content,
.about-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 5rem 1.5rem;
}
.content h2,
.about-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    margin-top: 3rem;
    color: var(--navy-900);
}
.content h2:first-of-type,
.about-content h2:first-of-type { margin-top: 0; }
.content p,
.about-content p {
    font-size: 1.0625rem;
    color: var(--slate-700);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}
.content ul,
.about-content ul {
    margin: 1.5rem 0 1.5rem 1.5rem;
    line-height: 1.8;
}
.content li,
.about-content li {
    font-size: 1.0625rem;
    color: var(--slate-700);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}
.content li strong,
.about-content li strong,
.about-content strong { color: var(--navy-900); }

.highlight-box {
    background: var(--slate-50);
    border-left: 4px solid var(--gold-500);
    padding: 2rem;
    margin: 2.5rem 0;
    border-radius: 0 8px 8px 0;
}
.highlight-box p {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--slate-700);
    margin: 0;
    line-height: 1.6;
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold-500);
    font-weight: 600;
    text-decoration: none;
    margin-top: 1rem;
    transition: color 0.2s;
}
.linkedin-link:hover { color: var(--gold-400); }

.cta-box {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    margin-top: 4rem;
}
.cta-box h3 { font-size: 1.75rem; margin-bottom: 1rem; }
.cta-box p { color: var(--slate-600); margin-bottom: 1.5rem; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Frameworks Page Styles */
.frameworks-hero {
    padding: 10rem 1.5rem 5rem;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
    position: relative;
}
.frameworks-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}
.frameworks-hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}
.frameworks-hero h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); color: var(--white); margin-bottom: 1.5rem; }
.frameworks-hero p { font-size: 1.25rem; color: var(--slate-300); max-width: 700px; margin: 0 auto; }

.framework-list { display: flex; flex-direction: column; gap: 1.5rem; }
.framework-detail-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    padding: 2rem;
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 2rem;
    transition: all 0.3s;
}
.framework-detail-card:hover { border-color: var(--gold-500); box-shadow: 0 8px 30px rgba(10,22,40,0.08); transform: translateY(-2px); }

.framework-image {
    width: 140px; height: 105px;
    background: var(--slate-100);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--slate-200);
}
.framework-image img { width: 100%; height: 100%; object-fit: cover; }
.framework-placeholder {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate-400);
    font-size: 0.75rem;
}

.framework-content { display: flex; flex-direction: column; }
.framework-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 0.75rem; flex-wrap: wrap; }
.framework-title { font-family: var(--font-body); font-size: 1.25rem; font-weight: 600; color: var(--navy-900); }
.framework-category { font-size: 0.8125rem; color: var(--slate-500); margin-bottom: 0.75rem; }
.framework-description { font-size: 0.9375rem; color: var(--slate-600); line-height: 1.5; margin-bottom: 1rem; }

.key-uses { background: var(--slate-50); padding: 1.25rem; border-radius: 8px; }
.key-uses h5 { font-family: var(--font-body); font-size: 0.75rem; font-weight: 700; color: var(--slate-500); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.key-uses ul { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem 1.5rem; }
.key-uses li { font-size: 0.875rem; color: var(--slate-700); display: flex; align-items: flex-start; gap: 0.5rem; }
.key-uses li::before { content: '→'; color: var(--gold-500); font-weight: 600; }

.section-divider { background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 12px; padding: 2rem; margin: 3rem 0 2rem; text-align: center; }
.section-divider.pro { background: linear-gradient(135deg, rgba(10,22,40,0.03) 0%, rgba(10,22,40,0.05) 100%); border: 2px solid var(--navy-700); }
.section-divider h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.section-divider.pro h3 { color: var(--navy-700); }
.section-divider p { color: var(--slate-600); margin-bottom: 1rem; }

/* Loading & Empty States */
.loading,
.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--slate-500);
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 1024px) {
    .value-grid { grid-template-columns: repeat(2, 1fr); }
    .categories-grid { grid-template-columns: repeat(3, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; }
    .features-list { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .mobile-menu-btn { display: flex; }
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0;
        border-bottom: 1px solid var(--slate-200);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
    }
    .nav-links.active { transform: translateY(0); opacity: 1; visibility: visible; }
    .nav-links a { padding: 1rem; border-bottom: 1px solid var(--slate-100); width: 100%; text-align: center; }
    .nav-cta { margin-top: 1rem; }
    .hero { min-height: auto; padding-top: 100px; }
    .hero-inner { padding: 2.5rem 1.5rem; }
    .hero-stat-value { font-size: 2rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .section { padding: 4rem 1.5rem; }
    .value-grid, .framework-cards { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .patterns-grid { grid-template-columns: 1fr; }
    .quick-start-grid { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; gap: 1.5rem; text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; }
    .about-hero, .frameworks-hero { padding: 8rem 1rem 4rem; }
    .content, .about-content { padding: 3rem 1rem; }
    .cta-box { padding: 2rem; }
    .cta-buttons { flex-direction: column; }
    .framework-detail-card { grid-template-columns: 1fr; gap: 1.5rem; }
    .framework-image { width: 100%; height: 180px; }
    .key-uses ul { grid-template-columns: 1fr; }
    .pattern-detail-title { font-size: 2rem; }
    .pattern-detail-actions { flex-direction: column; }
}

@media (max-width: 480px) {
    .categories-grid { grid-template-columns: 1fr; }
    .hero-meta { flex-direction: column; gap: 1rem; }
    .pricing-card { padding: 1.5rem; }
    .price-amount { font-size: 3rem; }
}

/* ============================================
   JOURNEY GUIDE PAGE STYLES
   ============================================ */

/* Journey Hero Section */
.journey-hero {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
    padding: 140px 1.5rem 80px;
    position: relative;
    overflow: hidden;
}

.journey-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.journey-hero-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.journey-hero-content {
    text-align: center;
}

.journey-hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(184, 134, 11, 0.15);
    color: var(--gold-300);
    border: 1px solid rgba(184, 134, 11, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.journey-hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.journey-hero-description {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--slate-300);
    max-width: 700px;
    margin: 0 auto;
}

/* Journey Selection Section */
.journey-selection-section {
    padding: 5rem 1.5rem;
    background: var(--slate-50);
}

.journey-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.journey-intro h2 {
    margin-bottom: 1rem;
    font-size: clamp(2rem, 4vw, 2.5rem);
}

.journey-intro p {
    font-size: 1.125rem;
    color: var(--slate-600);
}

/* Journey Cards Grid */
.journey-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.journey-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    border: 2px solid var(--slate-200);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.journey-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.journey-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--gold-500);
}

.journey-card:hover::before {
    transform: scaleX(1);
}

.journey-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.journey-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.journey-badge-beginner {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.journey-badge-intermediate {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.journey-badge-advanced {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
}

.journey-card-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: var(--slate-600);
}

.meta-item svg {
    flex-shrink: 0;
}

.journey-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--navy-900);
}

.journey-card-description {
    flex-grow: 1;
    color: var(--slate-700);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.journey-card-footer {
    margin-top: auto;
}

.journey-for-list {
    background: var(--slate-50);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.journey-for-list strong {
    display: block;
    font-size: 0.875rem;
    color: var(--slate-600);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.journey-for-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.journey-for-list li {
    padding: 0.375rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9375rem;
    color: var(--slate-700);
}

.journey-for-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--emerald-600);
    font-weight: 700;
}

/* Journey Detail Section */
.journey-detail-section {
    padding: 5rem 1.5rem;
    background: var(--white);
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--slate-100);
    color: var(--slate-700);
    border: none;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 3rem;
}

.back-button:hover {
    background: var(--slate-200);
    color: var(--slate-900);
}

.guide-detail-header {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
}

.guide-detail-badge-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.guide-detail-meta {
    font-size: 1rem;
    color: var(--slate-600);
    font-weight: 500;
}

.guide-detail-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    color: var(--navy-900);
}

.guide-detail-description {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--slate-700);
}

/* Section Heading with Icon */
.section-heading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--navy-900);
}

.section-heading svg {
    color: var(--gold-500);
}

.section-intro {
    font-size: 1.125rem;
    color: var(--slate-600);
    margin-bottom: 2rem;
}

/* Courses Section */
.courses-section {
    max-width: 1100px;
    margin: 0 auto 5rem;
    padding: 3rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 16px;
    border: 2px solid #bae6fd;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.course-recommendation-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #bae6fd;
    transition: var(--transition);
}

.course-recommendation-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: #0ea5e9;
}

.course-rec-header {
    margin-bottom: 1rem;
}

.course-rec-header h4 {
    font-size: 1.25rem;
    color: var(--navy-900);
    margin-bottom: 0.5rem;
}

.course-timing {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #dbeafe;
    color: #0369a1;
    border-radius: 4px;
    font-size: 0.8125rem;
    font-weight: 700;
}

.course-rec-why {
    color: var(--slate-700);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Sequence Section */
.sequence-section {
    max-width: 1000px;
    margin: 0 auto;
}

.guide-sequence {
    margin-top: 2rem;
}

.sequence-step {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.step-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-number {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    border-radius: 50%;
    box-shadow: var(--shadow);
    flex-shrink: 0;
}

.step-line {
    width: 3px;
    flex-grow: 1;
    background: linear-gradient(180deg, var(--gold-400) 0%, var(--slate-300) 100%);
    margin-top: 0.5rem;
    min-height: 40px;
}

.step-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--slate-200);
    transition: var(--transition);
}

.step-content:hover {
    border-color: var(--gold-500);
    box-shadow: var(--shadow-lg);
}

.step-header {
    margin-bottom: 1rem;
}

.step-type-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.step-type-framework {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
}

.step-type-pattern {
    background: linear-gradient(135deg, #ddd6fe 0%, #c4b5fd 100%);
    color: #5b21b6;
}

.step-title {
    font-size: 1.375rem;
    color: var(--navy-900);
    margin-bottom: 1rem;
}

.step-why {
    color: var(--slate-700);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
}

/* Responsive Adjustments for Journey Guide */
@media (max-width: 768px) {
    .journey-hero {
        padding: 120px 1rem 60px;
    }

    .journey-selection-section,
    .journey-detail-section {
        padding: 3rem 1rem;
    }

    .journey-cards-grid {
        grid-template-columns: 1fr;
    }

    .journey-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .courses-section {
        padding: 2rem 1.5rem;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .sequence-step {
        grid-template-columns: 50px 1fr;
        gap: 1rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .step-content {
        padding: 1.5rem;
    }

    .step-title {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .journey-hero h1 {
        font-size: 2rem;
    }

    .journey-hero-description {
        font-size: 1rem;
    }

    .guide-detail-title {
        font-size: 1.75rem;
    }

    .section-heading {
        font-size: 1.375rem;
    }

    .sequence-step {
        grid-template-columns: 40px 1fr;
        gap: 0.75rem;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Print styles for pattern pages */
@media print {
    header, .header,
    footer, .footer,
    .pattern-detail-actions,
    .breadcrumb {
        display: none;
    }

    .pattern-detail {
        max-width: 100%;
        padding: 0;
    }

    .pattern-detail-content {
        page-break-inside: avoid;
    }

    .pattern-section {
        page-break-inside: avoid;
        margin-bottom: 1.5rem;
    }
}

/* ============================================
   COURSE CARDS
   ============================================ */

.courses-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.course-card {
    background: white;
    border: 2px solid var(--slate-200);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.course-card:hover {
    border-color: var(--gold-400);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.course-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.course-badge {
    background: var(--navy-700);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
}

.course-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--navy-900);
    margin: 0.5rem 0;
}

.course-subtitle {
    font-size: 1rem;
    color: var(--slate-600);
    margin: 0 0 1rem 0;
    font-weight: 500;
}

.course-description {
    font-size: 1rem;
    color: var(--slate-700);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.course-meta {
    background: var(--slate-50);
    border-left: 4px solid var(--gold-500);
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.course-meta-item {
    font-size: 0.9375rem;
    color: var(--slate-700);
    margin-bottom: 0.5rem;
}

.course-meta-item:last-child {
    margin-bottom: 0;
}

.course-meta-item strong {
    color: var(--navy-900);
}

.course-book-info {
    background: #fffbeb;
    border-left: 4px solid var(--gold-500);
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.course-curriculum-preview {
    margin-bottom: 1.5rem;
}

.course-curriculum-preview h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy-900);
    margin-bottom: 0.75rem;
}

.course-week-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.course-week-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--slate-200);
    font-size: 0.9375rem;
    color: var(--slate-700);
}

.course-week-list li:last-child {
    border-bottom: none;
}

.course-frameworks-preview {
    margin-bottom: 1.5rem;
}

.course-frameworks-preview h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy-900);
    margin-bottom: 0.75rem;
}

.course-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.course-card-footer {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.course-card-footer .btn {
    flex: 1;
    text-align: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .course-card-footer {
        flex-direction: column;
    }

    .course-card-footer .btn {
        width: 100%;
    }
}
