/* SEO Content Styles - Modern HappyAI Branding */
/* IMPORTANT: This file contains styles ONLY for the new SEO content sections */
/* Does NOT modify any existing app styles */

/* === BASE SEO STYLES === */

.seo-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.seo-section:nth-child(even) {
    background: linear-gradient(135deg, var(--gray-25) 0%, var(--orange-25, #fefaf8) 100%);
}

.seo-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.seo-section-header {
    text-align: center;
    margin-bottom: var(--space-16);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.seo-section-title {
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    color: var(--gray-900);
    margin-bottom: var(--space-4);
    line-height: var(--leading-tight);
}

.seo-section-title strong {
    color: var(--orange-600);
    background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.seo-section-subtitle {
    font-size: var(--text-lg);
    color: var(--gray-600);
    line-height: var(--leading-relaxed);
    max-width: 600px;
    margin: 0 auto;
}

.seo-main-heading {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: var(--font-bold);
    color: var(--gray-900);
    margin-bottom: var(--space-6);
    line-height: var(--leading-tight);
}

.seo-highlight {
    background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.seo-highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--orange-400), var(--orange-600));
    border-radius: var(--radius-sm);
    opacity: 0.3;
}

/* === HERO FEATURES SECTION === */

.hero-features {
    background: linear-gradient(135deg, var(--gray-25) 0%, white 50%, var(--orange-25, #fefaf8) 100%);
    padding: 120px 0;
}

.seo-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.seo-hero-description {
    font-size: var(--text-xl);
    color: var(--gray-700);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-8);
    max-width: 500px;
}

.seo-hero-stats {
    display: flex;
    gap: var(--space-8);
    margin-bottom: var(--space-10);
}

.seo-stat-item {
    text-align: center;
}

.seo-stat-number {
    display: block;
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--orange-600);
    line-height: 1;
}

.seo-stat-label {
    font-size: var(--text-sm);
    color: var(--gray-600);
    font-weight: var(--font-medium);
    margin-top: var(--space-1);
}

.seo-hero-actions {
    display: flex;
    gap: var(--space-4);
    align-items: center;
}

.seo-cta-button {
    background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
    color: white;
    border: none;
    padding: var(--space-4) var(--space-8);
    border-radius: var(--radius-xl);
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
    z-index: 9;
}

.seo-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, var(--orange-600), var(--orange-700));
}

.seo-cta-icon {
    font-size: 20px;
}

.seo-secondary-button {
    background: white;
    color: var(--gray-700);
    border: 2px solid var(--gray-300);
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-xl);
    font-size: var(--text-base);
    font-weight: var(--font-medium);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.seo-secondary-button:hover {
    border-color: var(--orange-400);
    color: var(--orange-600);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

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

.seo-hero-card {
    background: white;
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-2xl);
    border: 1px solid var(--gray-200);
    max-width: 400px;
    width: 100%;
    z-index: 9;
}

.seo-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-6);
}

.seo-card-title {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--gray-900);
}

.seo-card-badge {
    background: var(--orange-500);
    color: white;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
}

.seo-demo-content {
    space-y: var(--space-4);
}

.seo-demo-input,
.seo-demo-output {
    background: var(--gray-50);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-3);
}

.seo-demo-label {
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    color: var(--gray-700);
    margin-bottom: var(--space-2);
    display: block;
}

.seo-demo-text {
    color: var(--gray-600);
    font-style: italic;
}

.seo-demo-arrow {
    text-align: center;
    font-size: var(--text-xl);
    color: var(--orange-500);
    margin: var(--space-2) 0;
}

.seo-demo-result {
    color: var(--gray-800);
    line-height: var(--leading-relaxed);
    background: white;
    padding: var(--space-3);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--orange-500);
}

/* === WHY CHOOSE SECTION === */

.why-choose {
    background: white;
}

.seo-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-8);
}

.seo-benefit-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.seo-benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(238, 119, 35, 0.03), transparent);
    transition: left var(--transition-slow);
}

.seo-benefit-card:hover::before {
    left: 100%;
}

.seo-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--orange-200);
}

.seo-benefit-icon {
    font-size: 3rem;
    margin-bottom: var(--space-4);
    display: block;
}

.seo-benefit-title {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--gray-900);
    margin-bottom: var(--space-3);
    line-height: var(--leading-tight);
}

.seo-benefit-description {
    color: var(--gray-600);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-4);
}

.seo-benefit-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.seo-benefit-features li {
    display: flex;
    align-items: center;
    color: var(--gray-700);
    font-size: var(--text-sm);
    margin-bottom: var(--space-2);
    line-height: var(--leading-normal);
}

.seo-benefit-features li:last-child {
    margin-bottom: 0;
}

/* Contextual Features Section Styles */
.contextual-features {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
    color: #1e293b;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.contextual-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
    opacity: 0.6;
    pointer-events: none; /* Fix: Allow clicks to pass through */
}

.contextual-features::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 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='%23475569' fill-opacity='0.04'%3E%3Cpath d='M20 20c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10zm10 0c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10z'/%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.3;
    pointer-events: none; /* Fix: Allow clicks to pass through */
}

.contextual-demo-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 32px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.demo-text-container {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    position: relative;
    box-shadow: 
        0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.demo-text-sample {
    color: #374151;
    font-size: 16px;
    line-height: 1.7;
    position: relative;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.demo-text-highlight {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 6px 12px;
    border-radius: 8px;
    border: 2px solid #f59e0b;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.2);
}

.demo-text-highlight:hover {
    background: linear-gradient(135deg, #fde68a 0%, #fcd34d 100%);
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 4px 8px rgba(245, 158, 11, 0.3);
}

.demo-contextual-menu {
    position: absolute;
    top: 60px;
    right: -12px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 10px 20px -8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    z-index: 20;
    animation: contextualFadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    min-width: 170px;
}

@keyframes contextualFadeIn {
    from {
        opacity: 0;
        transform: translateY(-15px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.demo-menu-primary {
    display: flex;
    padding: 8px;
    border-bottom: 1px solid #f3f4f6;
    background: #ffffff;
    gap: 4px;
}

.demo-menu-btn {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 6px 8px;
    font-size: 11px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
    min-width: 0;
}

.demo-menu-btn:hover {
    background: #f9fafb;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-color: #d1d5db;
}

.demo-menu-btn.active {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border-color: #1d4ed8;
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.3);
}

.demo-menu-secondary {
    padding: 12px;
    min-width: 200px;
    background: #ffffff;
    max-height: 300px;
    overflow-y: auto;
}

.demo-menu-section {
    margin-bottom: 12px;
}

.demo-menu-section:last-child {
    margin-bottom: 0;
}

.demo-section-title {
    font-size: 10px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
    font-family: 'Inter', sans-serif;
}

.demo-menu-item {
    padding: 6px 8px;
    font-size: 12px;
    font-weight: 500;
    color: #374151;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 1px;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 6px;
}

.demo-menu-item:hover {
    background: #f3f4f6;
    color: #1f2937;
    transform: translateX(2px);
}

.demo-features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    position: relative;
    z-index: 1;
}

.demo-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.6) 100%);
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(148, 163, 184, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.demo-feature:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.demo-feature-icon {
    font-size: 18px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.demo-feature-text {
    color: #1e293b;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .contextual-features {
        padding: 60px 0;
    }
    
    .contextual-demo-content {
        padding: 16px;
    }
    
    .demo-text-container {
        padding: 16px;
    }
    
    .demo-contextual-menu {
        position: static;
        margin-top: 16px;
    }
    
    .demo-menu-primary {
        flex-wrap: wrap;
        gap: 4px;
    }
    
    .demo-menu-btn {
        flex: 1;
        min-width: 70px;
    }
    
    .demo-features-list {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

/* === HOW IT WORKS SECTION === */

.how-it-works {
    background: linear-gradient(135deg, var(--orange-25, #fefaf8) 0%, var(--gray-25) 100%);
}

.seo-steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-12);
}

.seo-step {
    text-align: center;
    position: relative;
}

.seo-step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
    color: white;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    margin: 0 auto var(--space-6);
    box-shadow: var(--shadow-lg);
}

.seo-step-title {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--gray-900);
    margin-bottom: var(--space-4);
}

.seo-step-description {
    color: var(--gray-600);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-6);
}

.seo-step-visual {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-4);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.seo-model-preview,
.seo-template-preview,
.seo-action-preview {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.seo-model-option,
.seo-template-option,
.seo-action-option {
    background: var(--gray-50);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    color: var(--gray-700);
    border-left: 3px solid var(--orange-400);
}

/* === MODELS SHOWCASE === */

.models-showcase {
    background: white;
}

.seo-models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-8);
    margin-bottom: var(--space-12);
}

.seo-model-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.seo-model-card.featured {
    border-color: var(--orange-300);
    background: linear-gradient(135deg, var(--orange-25, #fefaf8), white);
}

.seo-model-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(238, 119, 35, 0.05), transparent);
    transition: left var(--transition-slow);
}

.seo-model-card:hover::before {
    left: 100%;
}

.seo-model-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--orange-300);
}

.seo-model-header {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.seo-model-icon {
    font-size: 2.5rem;
}

.seo-model-info {
    flex: 1;
}

.seo-model-name {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--gray-900);
    margin-bottom: var(--space-1);
}

.seo-model-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-md);
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
}

.seo-model-badge.speed-fast {
    background: var(--success-50);
    color: var(--success-700);
}

.seo-model-badge.speed-balanced {
    background: var(--warning-50);
    color: var(--warning-700);
}

.seo-model-badge.speed-advanced {
    background: var(--blue-50);
    color: var(--blue-700);
}

.seo-model-description {
    color: var(--gray-600);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-4);
}

.seo-model-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.seo-feature-tag {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
}

.seo-models-cta {
    text-align: center;
}

.seo-models-note {
    color: var(--gray-600);
    margin-bottom: var(--space-4);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* === TEMPLATES SHOWCASE === */

.templates-showcase {
    background: linear-gradient(135deg, var(--gray-25) 0%, var(--orange-25, #fefaf8) 100%);
}

.seo-templates-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-8);
    margin-bottom: var(--space-12);
}

.seo-template-category {
    background: white;
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
}

.seo-template-category:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.seo-category-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.seo-category-icon {
    font-size: 2rem;
}

.seo-category-title {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--gray-900);
}

.seo-category-description {
    color: var(--gray-600);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-4);
}

.seo-template-examples {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.seo-template-item {
    background: var(--gray-50);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    color: var(--gray-700);
    border-left: 3px solid var(--orange-400);
    transition: all var(--transition-normal);
}

.seo-template-item:hover {
    background: var(--orange-50);
    color: var(--orange-700);
    border-left-color: var(--orange-500);
}

.seo-templates-cta {
    text-align: center;
}

/* === FAQ SECTION === */

.faq-section {
    background: white;
}

.seo-faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.seo-faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-4);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.seo-faq-item:hover {
    border-color: var(--orange-300);
    box-shadow: var(--shadow-sm);
}

.seo-faq-question {
    padding: var(--space-6) var(--space-8);
    margin: 0;
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--gray-900);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--gray-25);
    transition: all var(--transition-normal);
}

.seo-faq-question:hover {
    background: var(--orange-25, #fefaf8);
    color: var(--orange-700);
}

.seo-faq-toggle {
    font-size: var(--text-2xl);
    font-weight: var(--font-normal);
    color: var(--orange-500);
    transition: transform var(--transition-normal);
}

.seo-faq-open .seo-faq-toggle {
    transform: rotate(45deg);
}

.seo-faq-answer {
    padding: 0 var(--space-8) var(--space-6);
    display: none;
    background: white;
}

.seo-faq-open .seo-faq-answer {
    display: block;
    animation: fadeInDown 0.3s ease-out;
}

.seo-faq-answer p {
    color: var(--gray-700);
    line-height: var(--leading-relaxed);
    margin: 0;
}

/* === FOOTER === */

.seo-footer {
    background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
    color: white;
    padding: var(--space-20) 0 var(--space-8);
}

.seo-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.seo-footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-16);
    margin-bottom: var(--space-12);
}

.seo-footer-brand {
    max-width: 400px;
}

.seo-footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

.seo-footer-logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.seo-footer-logo-text {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: white;
}

.seo-footer-description {
    color: var(--gray-300);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-6);
}

.seo-footer-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2);
}

.seo-footer-feature {
    color: var(--gray-300);
    font-size: var(--text-sm);
    display: flex;
    align-items: center;
}

.seo-footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
}

.seo-footer-column {
    min-width: 0;
}

.seo-footer-heading {
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: white;
    margin-bottom: var(--space-4);
}

.seo-footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.seo-footer-list li {
    margin-bottom: var(--space-2);
}

.seo-footer-link {
    color: var(--gray-300);
    text-decoration: none;
    font-size: var(--text-sm);
    transition: color var(--transition-normal);
}

.seo-footer-link:hover {
    color: var(--orange-400);
}

.seo-footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: var(--space-8);
}

.seo-footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.seo-footer-copyright {
    color: var(--gray-400);
    font-size: var(--text-sm);
}

.seo-footer-keywords {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
}

.seo-keyword-tag {
    background: rgba(238, 119, 35, 0.1);
    color: var(--orange-400);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-md);
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
    border: 1px solid rgba(238, 119, 35, 0.2);
}

/* === ANIMATIONS === */

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === RESPONSIVE DESIGN === */

@media (max-width: 1024px) {
    .seo-section {
        padding: 60px 0;
    }
    
    .hero-features {
        padding: 80px 0;
    }
    
    .seo-hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-12);
        text-align: center;
    }
    
    .seo-hero-text {
        order: 2;
    }
    
    .seo-hero-visual {
        order: 1;
    }
    
    .seo-footer-main {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }
    
    .seo-footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .seo-container {
        padding: 0 var(--space-4);
    }
    
    .seo-section {
        padding: 40px 0;
    }
    
    .hero-features {
        padding: 60px 0;
    }
    
    .seo-section-header {
        margin-bottom: var(--space-12);
    }
    
    .seo-main-heading {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .seo-section-title {
        font-size: var(--text-3xl);
    }
    
    .seo-hero-stats {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }
    
    .seo-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .seo-cta-button,
    .seo-secondary-button {
        justify-content: center;
        width: 100%;
    }
    
    .seo-benefits-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
    
    .seo-steps-container {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    
    .seo-models-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
    
    .seo-templates-categories {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
    
    .seo-faq-question {
        padding: var(--space-4) var(--space-6);
        font-size: var(--text-base);
    }
    
    .seo-faq-answer {
        padding: 0 var(--space-6) var(--space-4);
    }
    
    .seo-footer {
        padding: var(--space-16) 0 var(--space-6);
    }
    
    .seo-footer-links {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
    
    .seo-footer-features {
        grid-template-columns: 1fr;
    }
    
    .seo-footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .seo-benefit-card,
    .seo-model-card,
    .seo-template-category {
        padding: var(--space-6);
    }
    
    .seo-hero-card {
        padding: var(--space-6);
    }
    
    .seo-step-number {
        width: 60px;
        height: 60px;
        font-size: var(--text-xl);
    }
    
    .seo-keyword-tag {
        font-size: 11px;
    }
}

/* === HIGH CONTRAST SUPPORT === */

@media (prefers-contrast: high) {
    .seo-benefit-card,
    .seo-model-card,
    .seo-template-category,
    .seo-faq-item {
        border-width: 2px;
    }
    
    .seo-cta-button,
    .seo-secondary-button {
        border-width: 2px;
    }
}

/* === REDUCED MOTION === */

@media (prefers-reduced-motion: reduce) {
    .seo-benefit-card,
    .seo-model-card,
    .seo-template-category,
    .seo-faq-item {
        transition: none;
    }
    
    .seo-benefit-card:hover,
    .seo-model-card:hover,
    .seo-template-category:hover {
        transform: none;
    }
    
    .seo-faq-open .seo-faq-answer {
        animation: none;
    }
    
    .seo-benefit-card::before,
    .seo-model-card::before {
        display: none;
    }
}

/* === PRINT STYLES === */

@media print {
    .seo-section {
        padding: 20px 0;
        break-inside: avoid;
    }
    
    .seo-benefit-card,
    .seo-model-card,
    .seo-template-category {
        box-shadow: none;
        border: 1px solid var(--gray-400);
        break-inside: avoid;
    }
    
    .seo-footer {
        background: white;
        color: black;
    }
    
    .seo-cta-button,
    .seo-secondary-button {
        display: none;
    }
}

/* Footer Privacy Notice - Minimal Integration */
.footer-privacy-notice {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
}

.privacy-notice-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.privacy-notice-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
}

.privacy-notice-text {
    font-size: 13px;
    line-height: 1.6;
    color: #e2e8f0;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.privacy-notice-text a {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 500;
}

.privacy-notice-text a:hover {
    color: #93c5fd;
    text-decoration: underline;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .footer-privacy-notice {
        padding: 16px;
        margin-bottom: 30px;
    }
    
    .privacy-notice-title {
        font-size: 15px;
        margin-bottom: 10px;
    }
    
    .privacy-notice-text {
        font-size: 12px;
        line-height: 1.5;
    }
}

/* Dark theme integration */
@media (prefers-color-scheme: dark) {
    .footer-privacy-notice {
        background: rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.15);
    }
}

/* BYOK Showcase Styles */
.byok-showcase {
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 50%, #f0f9ff 100%);
    position: relative;
    overflow: hidden;
}

.byok-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Hero Content */
.byok-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
    margin-bottom: var(--space-20);
    position: relative;
    z-index: 1;
}

.byok-main-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.byok-feature-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-4);
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(59, 130, 246, 0.1);
    backdrop-filter: blur(10px);
}

.byok-feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.byok-feature-content h4 {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--gray-900);
    margin-bottom: var(--space-1);
}

.byok-feature-content p {
    color: var(--gray-600);
    line-height: var(--leading-relaxed);
}

/* CTA Section */
.byok-cta-section {
    text-align: center;
}

.byok-cta-note {
    margin-top: var(--space-3);
    color: var(--gray-600);
    text-align: left;
}

/* Demo Card */
.byok-demo-card {
    background: white;
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-2xl);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.byok-demo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.05), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.byok-demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-6);
}

.byok-demo-title {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--gray-900);
}

.byok-demo-badge {
    background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
    color: white;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
}

.byok-demo-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.byok-demo-step {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-3);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

.byok-demo-step.active {
    background: var(--blue-50);
    border: 1px solid var(--blue-200);
}

.byok-step-number {
    width: 32px;
    height: 32px;
    background: var(--gray-200);
    color: var(--gray-700);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-bold);
    font-size: var(--text-sm);
    flex-shrink: 0;
}

.byok-demo-step.active .byok-step-number {
    background: var(--blue-500);
    color: white;
}

.byok-step-title {
    font-weight: var(--font-semibold);
    color: var(--gray-900);
    margin-bottom: var(--space-1);
}

.byok-step-desc {
    font-size: var(--text-sm);
    color: var(--gray-600);
}

/* Benefits Section */
.byok-benefits-section {
    margin-bottom: var(--space-20);
    position: relative;
    z-index: 1;
}

.byok-benefits-title {
    text-align: center;
    font-size: var(--text-2xl);
    font-weight: var(--font-semibold);
    color: var(--gray-900);
    margin-bottom: var(--space-12);
}

.byok-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-8);
}

.byok-benefit-card {
    background: white;
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.byok-benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.05), transparent);
    transition: left var(--transition-slow);
}

.byok-benefit-card:hover::before {
    left: 100%;
}

.byok-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--blue-200);
}

.byok-benefit-icon {
    font-size: 3rem;
    margin-bottom: var(--space-4);
    display: block;
}

.byok-benefit-title {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--gray-900);
    margin-bottom: var(--space-3);
}

.byok-benefit-description {
    color: var(--gray-600);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-4);
}

.byok-benefit-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.byok-benefit-features li {
    color: var(--gray-700);
    font-size: var(--text-sm);
    margin-bottom: var(--space-2);
    line-height: var(--leading-normal);
}

/* How It Works */
.byok-how-it-works {
    margin-bottom: var(--space-20);
    position: relative;
    z-index: 1;
}

.byok-section-title {
    text-align: center;
    font-size: var(--text-2xl);
    font-weight: var(--font-semibold);
    color: var(--gray-900);
    margin-bottom: var(--space-12);
}

.byok-workflow-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-8);
}

.byok-workflow-step {
    flex: 1;
    text-align: center;
}

.byok-workflow-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-6);
}

.byok-workflow-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
    color: white;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
}

.byok-workflow-arrow {
    font-size: var(--text-2xl);
    color: var(--blue-500);
    margin: 0 var(--space-4);
    font-weight: var(--font-bold);
}

.byok-workflow-content h4 {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--gray-900);
    margin-bottom: var(--space-2);
}

.byok-workflow-content p {
    color: var(--gray-600);
    line-height: var(--leading-relaxed);
}

/* Security Section */
.byok-security-section {
    background: white;
    border-radius: var(--radius-2xl);
    padding: var(--space-12);
    margin-bottom: var(--space-20);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}

.byok-security-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.byok-security-title {
    font-size: var(--text-2xl);
    font-weight: var(--font-semibold);
    color: var(--gray-900);
    margin-bottom: var(--space-4);
}

.byok-security-description {
    color: var(--gray-600);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-6);
}

.byok-security-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.byok-security-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
}

.byok-security-feature-icon {
    font-size: var(--text-lg);
    flex-shrink: 0;
    margin-top: 2px;
}

.byok-security-feature-text {
    color: var(--gray-700);
    line-height: var(--leading-relaxed);
    font-size: var(--text-sm);
}

/* Security Demo */
.byok-security-demo {
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    border: 1px solid var(--gray-200);
}

.byok-security-demo-header {
    text-align: center;
    margin-bottom: var(--space-6);
}

.byok-security-demo-title {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--gray-900);
}

.byok-security-demo-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.byok-security-step {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3);
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.byok-security-step-label {
    font-weight: var(--font-medium);
    color: var(--gray-700);
    font-size: var(--text-sm);
}

.byok-security-step-value {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-md);
}

.byok-security-step-value.original {
    background: var(--blue-50);
    color: var(--blue-700);
}

.byok-security-step-value.encrypted {
    background: var(--yellow-50);
    color: var(--yellow-700);
}

.byok-security-step-value.masked {
    background: var(--green-50);
    color: var(--green-700);
}

.byok-security-arrow {
    text-align: center;
    color: var(--gray-500);
    font-weight: var(--font-medium);
    font-size: var(--text-sm);
}

/* Final CTA */
.byok-final-cta {
    background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
    color: white;
    border-radius: var(--radius-2xl);
    padding: var(--space-12);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.byok-final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.byok-cta-content {
    position: relative;
    z-index: 1;
}

.byok-cta-title {
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-4);
}

.byok-cta-description {
    font-size: var(--text-lg);
    opacity: 0.9;
    margin-bottom: var(--space-8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.byok-cta-buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    margin-bottom: var(--space-8);
}

.byok-cta-buttons .seo-cta-button {
    background: white;
    color: var(--blue-600);
}

.byok-cta-buttons .seo-cta-button:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.byok-cta-buttons .seo-secondary-button {
    border-color: white;
    color: white;
}

.byok-cta-buttons .seo-secondary-button:hover {
    background: white;
    color: var(--blue-600);
}

.byok-cta-benefits {
    display: flex;
    gap: var(--space-6);
    justify-content: center;
    flex-wrap: wrap;
}

.byok-cta-benefit {
    font-size: var(--text-sm);
    opacity: 0.9;
    font-weight: var(--font-medium);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .byok-hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-12);
        text-align: center;
    }
    
    .byok-security-content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    
    .byok-workflow-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .byok-workflow-arrow {
        transform: rotate(90deg);
        margin: var(--space-4) 0;
    }
}

@media (max-width: 768px) {
    .byok-benefits-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
    
    .byok-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .byok-cta-buttons .seo-cta-button,
    .byok-cta-buttons .seo-secondary-button {
        width: 100%;
        max-width: 300px;
    }
    
    .byok-cta-benefits {
        flex-direction: column;
        gap: var(--space-2);
    }
}

@media (max-width: 480px) {
    .byok-showcase {
        padding: 40px 0;
    }
    
    .byok-demo-card,
    .byok-security-section,
    .byok-final-cta {
        padding: var(--space-6);
    }
    
    .byok-feature-item {
        padding: var(--space-3);
    }
    
    .byok-feature-icon {
        font-size: 1.5rem;
    }
}

/* User Guide Styles start*/
.user-guide-section {
    background: linear-gradient(135deg, var(--gray-25) 0%, white 50%, var(--blue-25, #fefcff) 100%);
    position: relative;
    overflow: hidden;
}

.user-guide-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Guide Navigation */
.guide-navigation {
    background: white;
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    margin-bottom: var(--space-16);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    position: relative;
    z-index: 1;
}

.guide-nav-title {
    text-align: center;
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--gray-900);
    margin-bottom: var(--space-6);
}

.guide-nav-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-3);
}

.guide-nav-link {
    display: flex;
    align-items: center;
    padding: var(--space-3) var(--space-4);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    color: var(--gray-700);
    text-decoration: none;
    font-weight: var(--font-medium);
    transition: all var(--transition-normal);
    font-size: var(--text-sm);
}

.guide-nav-link:hover {
    background: var(--orange-50);
    border-color: var(--orange-300);
    color: var(--orange-700);
    transform: translateY(-1px);
}

/* Guide Sections */
.guide-section {
    background: white;
    border-radius: var(--radius-2xl);
    padding: var(--space-12);
    margin-bottom: var(--space-12);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    position: relative;
    z-index: 1;
}

.guide-section-header {
    text-align: center;
    margin-bottom: var(--space-8);
}

.guide-section-title {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--gray-900);
    margin-bottom: var(--space-3);
}

.guide-section-subtitle {
    color: var(--gray-600);
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
}

/* Guide Steps */
.guide-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.guide-step {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
}

.guide-step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
    color: white;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-bold);
    font-size: var(--text-lg);
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.guide-step-content {
    flex: 1;
}

.guide-step-title {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--gray-900);
    margin-bottom: var(--space-2);
}

.guide-step-description {
    color: var(--gray-700);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-4);
}

/* Recommendations */
.guide-recommendations {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.guide-recommendation {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--orange-400);
}

.guide-rec-icon {
    font-size: var(--text-lg);
}

.guide-rec-content strong {
    color: var(--gray-900);
}

/* Template Examples */
.guide-template-examples {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.guide-template-example {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: var(--blue-50);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
}

.guide-template-icon {
    font-size: var(--text-base);
}

/* Tips */
.guide-tip {
    background: var(--blue-50);
    border: 1px solid var(--blue-200);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    margin-top: var(--space-4);
}

.guide-tip-icon {
    color: var(--blue-600);
    margin-right: var(--space-2);
}

/* Model Categories */
.guide-model-categories {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.guide-model-category {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    background: var(--gray-25);
}

.guide-model-category-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.guide-model-category-icon {
    font-size: var(--text-2xl);
}

.guide-model-category-title {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--gray-900);
    flex: 1;
}

.guide-model-category-badge {
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-md);
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
}

.guide-model-category-badge.speed-fast {
    background: var(--success-50);
    color: var(--success-700);
}

.guide-model-category-badge.speed-balanced {
    background: var(--warning-50);
    color: var(--warning-700);
}

.guide-model-category-badge.speed-advanced {
    background: var(--blue-50);
    color: var(--blue-700);
}

.guide-model-category-description {
    color: var(--gray-600);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-4);
}

.guide-model-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.guide-model-item {
    padding: var(--space-2) var(--space-3);
    background: white;
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
}

.guide-use-cases {
    background: var(--orange-50);
    padding: var(--space-3);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    color: var(--orange-800);
    border-left: 3px solid var(--orange-400);
}

/* Pro Tips */
.guide-pro-tips {
    display: flex;
    flex-direction: column;
    gap: var(--space-12);
}

.guide-pro-tip-category {
    background: var(--gray-25);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
}

.guide-pro-tip-category-title {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--gray-900);
    margin-bottom: var(--space-6);
    text-align: center;
}

.guide-pro-tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
}

.guide-pro-tip {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
}

.guide-pro-tip:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.guide-pro-tip-header {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
}

.guide-pro-tip-icon {
    font-size: var(--text-lg);
    color: var(--orange-600);
}

.guide-pro-tip-description {
    color: var(--gray-700);
    line-height: var(--leading-relaxed);
}

/* Quick Reference */
.guide-quick-reference {
    background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
    color: white;
    border-radius: var(--radius-2xl);
    padding: var(--space-12);
    margin-top: var(--space-16);
    position: relative;
    overflow: hidden;
}

.guide-quick-reference::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.guide-quick-reference-content {
    position: relative;
    z-index: 1;
}

.guide-quick-reference-header {
    text-align: center;
    margin-bottom: var(--space-8);
}

.guide-quick-reference-title {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-2);
}

.guide-quick-reference-subtitle {
    opacity: 0.9;
    font-size: var(--text-lg);
}

.guide-quick-reference-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
}

.guide-quick-ref-title {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-4);
}

.guide-shortcuts,
.guide-model-recommendations,
.guide-speed-tips {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.guide-shortcut,
.guide-model-rec,
.guide-speed-tip {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--space-3);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.guide-shortcut-key {
    background: rgba(255, 255, 255, 0.2);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-md);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    margin-right: var(--space-2);
}

/* Support Section */
.guide-support-section {
    background: var(--gray-50);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    text-align: center;
    margin-top: var(--space-16);
}

.guide-support-title {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--gray-900);
    margin-bottom: var(--space-4);
}

.guide-support-description {
    color: var(--gray-600);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-6);
}

.guide-support-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    max-width: 600px;
    margin: 0 auto;
}

.guide-support-option {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.guide-support-icon {
    font-size: var(--text-lg);
    color: var(--orange-600);
}

.guide-support-text {
    color: var(--gray-700);
    line-height: var(--leading-relaxed);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .guide-nav-links {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    
    .guide-pro-tips-grid {
        grid-template-columns: 1fr;
    }
    
    .guide-quick-reference-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .guide-section {
        padding: var(--space-8);
    }
    
    .guide-navigation {
        padding: var(--space-6);
    }
    
    .guide-nav-links {
        grid-template-columns: 1fr;
    }
    
    .guide-step {
        flex-direction: column;
        text-align: center;
    }
    
    .guide-model-categories {
        gap: var(--space-6);
    }
    
    .guide-quick-reference {
        padding: var(--space-8);
    }
}

@media (max-width: 480px) {
    .guide-section {
        padding: var(--space-6);
        margin-bottom: var(--space-8);
    }
    
    .guide-section-title {
        font-size: var(--text-xl);
    }
    
    .guide-step-number {
        width: 40px;
        height: 40px;
        font-size: var(--text-base);
    }
    
    .guide-pro-tip {
        padding: var(--space-4);
    }
}

/* Additional CSS for User Guide Sections */

/* Template Benefits & Categories */
.guide-template-benefits {
    margin-bottom: var(--space-12);
}

.guide-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-6);
}

.guide-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--blue-50);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--blue-400);
}

.guide-benefit-icon {
    font-size: var(--text-xl);
    color: var(--blue-600);
    flex-shrink: 0;
    margin-top: 2px;
}

.guide-benefit-content {
    flex: 1;
}

.guide-benefit-content strong {
    color: var(--gray-900);
    font-weight: var(--font-semibold);
}

/* Template Categories Detailed */
.guide-template-categories-detailed {
    margin-bottom: var(--space-12);
}

.guide-template-category-detailed {
    background: var(--gray-25);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    margin-bottom: var(--space-8);
    border: 1px solid var(--gray-200);
}

.guide-template-cat-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.guide-template-cat-icon {
    font-size: var(--text-2xl);
    color: var(--orange-600);
}

.guide-template-cat-title {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--gray-900);
    margin: 0;
}

.guide-template-cat-content {
    margin-left: var(--space-12);
}

.guide-template-cat-description {
    color: var(--gray-700);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-6);
    font-size: var(--text-base);
}

.guide-template-examples-detailed {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.guide-template-example-detailed {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.guide-template-example-detailed strong {
    color: var(--orange-700);
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    display: block;
    margin-bottom: var(--space-2);
}

.guide-template-example-detailed p {
    color: var(--gray-700);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-4);
}

.guide-template-fields {
    background: var(--orange-50);
    padding: var(--space-3);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--orange-400);
}

.guide-template-fields strong {
    color: var(--orange-800);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
}

/* Template Tips */
.guide-template-tips {
    background: var(--blue-50);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    margin-top: var(--space-8);
}

.guide-tips-title {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--gray-900);
    margin-bottom: var(--space-6);
    text-align: center;
}

.guide-tips-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.guide-tip-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-4);
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--blue-200);
}

.guide-tip-content {
    flex: 1;
}

.guide-tip-content strong {
    color: var(--gray-900);
    font-weight: var(--font-semibold);
}

/* BYOK Setup */
.guide-byok-overview {
    margin-bottom: var(--space-12);
}

.guide-byok-benefits {
    background: var(--blue-25, #fefcff);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    margin-bottom: var(--space-8);
}

.guide-byok-benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-6);
}

.guide-byok-benefit {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    border: 1px solid var(--blue-200);
    transition: all var(--transition-normal);
}

.guide-byok-benefit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.guide-byok-benefit-icon {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-3);
    display: block;
}

.guide-byok-benefit-content strong {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--gray-900);
    display: block;
    margin-bottom: var(--space-2);
}

.guide-byok-benefit-content p {
    color: var(--gray-600);
    line-height: var(--leading-relaxed);
    margin: 0;
}

/* BYOK Setup Steps */
.guide-byok-setup {
    margin-bottom: var(--space-12);
}

.guide-byok-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-10);
}

.guide-byok-step {
    display: flex;
    gap: var(--space-6);
    align-items: flex-start;
}

.guide-byok-step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
    color: white;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-bold);
    font-size: var(--text-xl);
    flex-shrink: 0;
    box-shadow: var(--shadow-lg);
}

.guide-byok-step-content {
    flex: 1;
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.guide-byok-step-title {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--gray-900);
    margin-bottom: var(--space-4);
}

.guide-byok-step-description p {
    color: var(--gray-700);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-4);
}

.guide-byok-step-list {
    margin: var(--space-4) 0;
    padding-left: var(--space-6);
}

.guide-byok-step-list li {
    color: var(--gray-700);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-2);
    list-style: decimal;
}

.guide-link {
    color: var(--blue-600);
    text-decoration: underline;
    font-weight: var(--font-medium);
}

.guide-link:hover {
    color: var(--blue-700);
}

.guide-byok-cost-info,
.guide-byok-security-note {
    background: var(--orange-50);
    border: 1px solid var(--orange-200);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    margin-top: var(--space-4);
    border-left: 4px solid var(--orange-400);
}

.guide-byok-security-note {
    background: var(--green-50);
    border-color: var(--green-200);
    border-left-color: var(--green-400);
}

/* BYOK Management */
.guide-byok-management {
    margin-bottom: var(--space-12);
}

.guide-byok-management-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-6);
}

.guide-byok-management-option {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.guide-byok-management-icon {
    font-size: var(--text-lg);
    color: var(--blue-600);
    flex-shrink: 0;
    margin-top: 2px;
}

.guide-byok-management-content strong {
    color: var(--gray-900);
    font-weight: var(--font-semibold);
}

/* Premium Models */
.guide-byok-premium-models {
    background: var(--gray-25);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    margin-top: var(--space-8);
}

.guide-premium-models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-6);
}

.guide-premium-model {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
}

.guide-premium-model:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.guide-premium-model-header {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
}

.guide-premium-model-icon {
    font-size: var(--text-xl);
}

.guide-premium-model-desc {
    color: var(--gray-700);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-3);
}

.guide-premium-model-cost {
    background: var(--orange-50);
    color: var(--orange-700);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
}

/* Advanced Options */
.guide-advanced-overview {
    margin-bottom: var(--space-8);
}

.guide-advanced-description {
    color: var(--gray-700);
    line-height: var(--leading-relaxed);
    font-size: var(--text-lg);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.guide-advanced-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-10);
}

.guide-advanced-option {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.guide-advanced-option-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.guide-advanced-option-icon {
    font-size: var(--text-2xl);
    color: var(--orange-600);
}

.guide-advanced-option-title {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--gray-900);
    margin: 0;
}

.guide-advanced-option-content {
    margin-left: var(--space-12);
}

.guide-advanced-option-description {
    color: var(--gray-700);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-6);
    font-size: var(--text-base);
}

.guide-advanced-option-tips {
    background: var(--blue-50);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    border-left: 4px solid var(--blue-400);
}

.guide-advanced-option-tips strong {
    color: var(--blue-800);
    font-weight: var(--font-semibold);
}

.guide-advanced-option-tips ul {
    margin: var(--space-2) 0 0 var(--space-4);
    list-style: disc;
}

.guide-advanced-option-tips li {
    color: var(--blue-700);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-1);
}

/* Tone Options */
.guide-tone-options {
    margin-top: var(--space-4);
}

.guide-tone-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-4);
}

.guide-tone-item {
    background: var(--gray-50);
    padding: var(--space-3);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--orange-400);
    font-size: var(--text-sm);
}

.guide-tone-item strong {
    color: var(--gray-900);
    font-weight: var(--font-semibold);
}

/* Creativity Levels */
.guide-creativity-levels {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-top: var(--space-4);
}

.guide-creativity-level {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.guide-creativity-badge {
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    min-width: 120px;
    text-align: center;
}

.guide-creativity-badge.conservative {
    background: var(--gray-100);
    color: var(--gray-700);
}

.guide-creativity-badge.balanced {
    background: var(--blue-100);
    color: var(--blue-700);
}

.guide-creativity-badge.creative {
    background: var(--orange-100);
    color: var(--orange-700);
}

.guide-creativity-badge.very-creative {
    background: var(--purple-100);
    color: var(--purple-700);
}

.guide-creativity-badge.experimental {
    background: var(--red-100);
    color: var(--red-700);
}

.guide-creativity-desc {
    color: var(--gray-700);
    line-height: var(--leading-relaxed);
}

/* Word Count Presets */
.guide-word-count-presets {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-top: var(--space-4);
}

.guide-word-count-preset {
    background: var(--orange-50);
    padding: var(--space-3);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--orange-400);
    font-size: var(--text-sm);
}

.guide-word-count-preset strong {
    color: var(--orange-800);
    font-weight: var(--font-semibold);
}

/* Advanced Tips */
.guide-advanced-tips {
    background: var(--orange-50);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    margin-top: var(--space-8);
}

.guide-advanced-tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-6);
}

.guide-advanced-tip {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-4);
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--orange-200);
}

.guide-advanced-tip-icon {
    font-size: var(--text-lg);
    color: var(--orange-600);
    flex-shrink: 0;
    margin-top: 2px;
}

.guide-advanced-tip-content strong {
    color: var(--gray-900);
    font-weight: var(--font-semibold);
}

/* History Features */
.guide-history-overview {
    margin-bottom: var(--space-8);
}

.guide-history-description {
    color: var(--gray-700);
    line-height: var(--leading-relaxed);
    font-size: var(--text-lg);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.guide-history-features {
    margin-bottom: var(--space-10);
}

.guide-history-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-6);
}

.guide-history-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--green-50);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--green-400);
}

.guide-history-feature-icon {
    font-size: var(--text-xl);
    color: var(--green-600);
    flex-shrink: 0;
    margin-top: 2px;
}

.guide-history-feature-content strong {
    color: var(--gray-900);
    font-weight: var(--font-semibold);
}

/* History Usage */
.guide-history-usage {
    margin-bottom: var(--space-10);
}

.guide-history-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
    margin-top: var(--space-6);
}

.guide-history-step {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
}

.guide-history-step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--green-500), var(--green-600));
    color: white;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-bold);
    font-size: var(--text-lg);
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.guide-history-step-content {
    flex: 1;
}

.guide-history-step-title {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--gray-900);
    margin-bottom: var(--space-2);
}

.guide-history-step-description {
    color: var(--gray-700);
    line-height: var(--leading-relaxed);
}

/* Troubleshooting */
.guide-troubleshooting {
    background: var(--red-25, #fefcfc);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    margin-top: var(--space-8);
}

.guide-troubleshooting-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    margin-top: var(--space-6);
}

.guide-troubleshooting-item {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    border: 1px solid var(--red-200);
    border-left: 4px solid var(--red-400);
}

.guide-troubleshooting-question {
    margin-bottom: var(--space-3);
}

.guide-troubleshooting-question strong {
    color: var(--red-700);
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
}

.guide-troubleshooting-answer {
    color: var(--gray-700);
    line-height: var(--leading-relaxed);
}

.guide-troubleshooting-answer strong {
    color: var(--gray-900);
    font-weight: var(--font-semibold);
}

/* Subsection Titles */
.guide-subsection-title {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--gray-900);
    margin-bottom: var(--space-6);
    text-align: center;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .guide-byok-step {
        flex-direction: column;
        text-align: center;
    }
    
    .guide-byok-step-content {
        margin-left: 0;
    }
    
    .guide-advanced-option-content {
        margin-left: 0;
    }
    
    .guide-template-cat-content {
        margin-left: 0;
    }
    
    .guide-benefits-grid,
    .guide-byok-benefit-grid,
    .guide-history-features-grid,
    .guide-premium-models-grid {
        grid-template-columns: 1fr;
    }
    
    .guide-tone-grid {
        grid-template-columns: 1fr;
    }
    
    .guide-creativity-level {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .guide-byok-step-number {
        width: 48px;
        height: 48px;
        font-size: var(--text-lg);
    }
    
    .guide-history-step-number {
        width: 40px;
        height: 40px;
        font-size: var(--text-base);
    }
    
    .guide-advanced-option,
    .guide-template-category-detailed,
    .guide-byok-step-content {
        padding: var(--space-6);
    }
}


/* MISSING GUIDE SECTION STYLES - ADD THESE TO seo-content.css */

/* Content Editor Guide Specific Styles */
.guide-editor-overview {
    margin-bottom: var(--space-12);
}

.guide-editor-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-top: var(--space-6);
}

.guide-editor-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--blue-50);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--blue-400);
}

.guide-editor-feature-icon {
    font-size: var(--text-xl);
    color: var(--blue-600);
    flex-shrink: 0;
    margin-top: 2px;
}

.guide-editor-feature-content {
    flex: 1;
}

.guide-editor-feature-content strong {
    color: var(--gray-900);
    font-weight: var(--font-semibold);
    display: block;
    margin-bottom: var(--space-1);
}

/* Contextual Editing Styles */
.guide-contextual-editing {
    margin-bottom: var(--space-12);
}

.guide-contextual-info {
    background: var(--gray-25);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    margin-top: var(--space-6);
}

.guide-contextual-description {
    color: var(--gray-700);
    line-height: var(--leading-relaxed);
    font-size: var(--text-base);
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-8);
}

.guide-contextual-actions {
    margin-bottom: var(--space-8);
}

.guide-contextual-actions-title {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--gray-900);
    margin-bottom: var(--space-6);
    text-align: center;
}

.guide-contextual-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-4);
}

.guide-contextual-action {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-4);
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
}

.guide-contextual-action:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--orange-300);
}

.guide-action-icon {
    font-size: var(--text-lg);
    color: var(--orange-600);
    flex-shrink: 0;
    margin-top: 2px;
}

.guide-action-content {
    flex: 1;
}

.guide-action-content strong {
    color: var(--gray-900);
    font-weight: var(--font-semibold);
    display: block;
    margin-bottom: var(--space-1);
}

/* Contextual Workflow Styles */
.guide-contextual-workflow {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    border: 1px solid var(--gray-200);
}

.guide-contextual-workflow-title {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--gray-900);
    margin-bottom: var(--space-4);
    text-align: center;
}

.guide-contextual-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.guide-contextual-step {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-3);
    background: var(--orange-50);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--orange-400);
}

.guide-contextual-step-number {
    width: 32px;
    height: 32px;
    background: var(--orange-500);
    color: white;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-bold);
    font-size: var(--text-sm);
    flex-shrink: 0;
}

.guide-contextual-step-content {
    flex: 1;
}

.guide-contextual-step-content strong {
    color: var(--gray-900);
    font-weight: var(--font-semibold);
}

/* Export Options Styles */
.guide-export-options {
    margin-bottom: var(--space-8);
}

.guide-export-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-4);
    margin-top: var(--space-6);
}

.guide-export-method {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--green-50);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--green-400);
}

.guide-export-icon {
    font-size: var(--text-lg);
    color: var(--green-600);
    flex-shrink: 0;
    margin-top: 2px;
}

.guide-export-content {
    flex: 1;
}

.guide-export-content strong {
    color: var(--gray-900);
    font-weight: var(--font-semibold);
}

/* History Guide Enhanced Styles */
.guide-history-overview {
    margin-bottom: var(--space-8);
}

.guide-history-description {
    color: var(--gray-700);
    line-height: var(--leading-relaxed);
    font-size: var(--text-lg);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.guide-history-features {
    margin-bottom: var(--space-10);
}

.guide-history-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-6);
}

.guide-history-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--green-50);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--green-400);
}

.guide-history-feature-icon {
    font-size: var(--text-xl);
    color: var(--green-600);
    flex-shrink: 0;
    margin-top: 2px;
}

.guide-history-feature-content {
    flex: 1;
}

.guide-history-feature-content strong {
    color: var(--gray-900);
    font-weight: var(--font-semibold);
    display: block;
    margin-bottom: var(--space-1);
}

/* History Usage Steps */
.guide-history-usage {
    margin-bottom: var(--space-10);
}

.guide-history-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
    margin-top: var(--space-6);
}

.guide-history-step {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
}

.guide-history-step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--green-500), var(--green-600));
    color: white;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-bold);
    font-size: var(--text-lg);
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.guide-history-step-content {
    flex: 1;
}

.guide-history-step-title {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--gray-900);
    margin-bottom: var(--space-2);
}

.guide-history-step-description {
    color: var(--gray-700);
    line-height: var(--leading-relaxed);
}

/* History Management Options */
.guide-history-management {
    background: var(--gray-25);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
}

.guide-history-management-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-6);
}

.guide-history-management-option {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-4);
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.guide-history-management-icon {
    font-size: var(--text-lg);
    color: var(--blue-600);
    flex-shrink: 0;
    margin-top: 2px;
}

.guide-history-management-content {
    flex: 1;
}

.guide-history-management-content strong {
    color: var(--gray-900);
    font-weight: var(--font-semibold);
}

/* Responsive Design for Guide Sections */
@media (max-width: 768px) {
    .guide-contextual-actions-grid {
        grid-template-columns: 1fr;
    }
    
    .guide-export-methods {
        grid-template-columns: 1fr;
    }
    
    .guide-history-features-grid {
        grid-template-columns: 1fr;
    }
    
    .guide-history-management-options {
        grid-template-columns: 1fr;
    }
    
    .guide-history-step {
        flex-direction: column;
        text-align: center;
    }
    
    .guide-contextual-step {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .guide-contextual-info {
        padding: var(--space-6);
    }
    
    .guide-history-management {
        padding: var(--space-6);
    }
    
    .guide-history-step-number {
        width: 40px;
        height: 40px;
        font-size: var(--text-base);
    }
    
    .guide-contextual-step-number {
        width: 28px;
        height: 28px;
        font-size: var(--text-xs);
    }
}

/* Enhanced Visual Consistency */
.guide-subsection-title {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--gray-900);
    margin-bottom: var(--space-6);
    text-align: center;
    position: relative;
}

.guide-subsection-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--orange-400), var(--orange-600));
    border-radius: var(--radius-sm);
}



/* Fix for missing color variables */
:root {
    --green-25: #fcfffe;
    --green-50: #f0fdf4;
    --blue-25: #fefcff;
    --orange-25: #fefaf8;
}
/* Article Writer Features Styles */
.article-writer-features {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.article-writer-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

.article-workflow-preview {
    padding: 20px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.workflow-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
}

.workflow-step:last-of-type {
    border-bottom: none;
}

.workflow-step.active {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-radius: 8px;
    padding: 12px;
    border: 1px solid #3b82f6;
}

.step-number {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.workflow-step.active .step-number {
    background: #3b82f6;
    color: white;
}

.step-info {
    flex: 1;
}

.step-title {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 2px;
}

.step-desc {
    font-size: 11px;
    color: #64748b;
}

.workflow-dots {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin: 12px 0;
}

.workflow-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #cbd5e1;
}

.workflow-final {
    text-align: center;
    padding: 12px;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border-radius: 8px;
    border: 1px solid #10b981;
}

.final-icon {
    font-size: 20px;
    margin-bottom: 4px;
}

.final-text {
    font-size: 12px;
    font-weight: 600;
    color: #065f46;
}

/* Workflow Detail Section */
.article-workflow-detail {
    background: white;
}

.workflow-steps-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.workflow-phase {
    position: relative;
}

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

.phase-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.phase-desc {
    font-size: 16px;
    color: #64748b;
}

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

.workflow-step-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.workflow-step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
}

.workflow-step-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
    transform: translateY(-4px);
}

.step-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.step-card-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.25);
}

.step-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.step-card-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 16px;
}

.step-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tag {
    background: #f1f5f9;
    color: #475569;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

/* Benefits Grid */
.article-writer-benefits {
    background: #f8fafc;
}

.article-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.article-benefit-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.article-benefit-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.article-benefit-icon {
    font-size: 48px;
    text-align: center;
    margin-bottom: 20px;
}

.article-benefit-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    margin-bottom: 16px;
}

.article-benefit-description {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 20px;
}

.article-benefit-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-benefit-features li {
    font-size: 13px;
    color: #475569;
    margin-bottom: 8px;
    line-height: 1.4;
}

/* CTA Section */
.article-writer-cta {
    text-align: center;
    padding: 48px 32px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 20px;
    color: white;
}

.article-cta-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.article-cta-content p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 24px;
}

.article-cta-content .seo-cta-button {
    background: white;
    color: #1d4ed8;
    border: none;
}

.article-cta-content .seo-cta-button:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .workflow-steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .article-benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .workflow-step-card,
    .article-benefit-card {
        padding: 20px;
    }
    
    .phase-title {
        font-size: 20px;
    }
    
    .article-cta-content h3 {
        font-size: 24px;
    }
    
    .article-writer-cta {
        padding: 32px 20px;
    }
}

@media (max-width: 480px) {
    .step-card-header {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .step-card-number {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .step-card-title {
        font-size: 16px;
    }
    
    .article-benefit-icon {
        font-size: 40px;
    }
    
    .article-benefit-title {
        font-size: 18px;
    }
}