/* Modern Template - Page Style */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

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

body { 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7; 
    max-width: 900px; 
    margin: 0 auto; 
    padding: 40px 20px; 
    background: #ffffff;
    color: #1e293b;
    font-weight: 400;
}

.container { 
    background: transparent;
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

h1 { 
    color: #1e293b; 
    font-size: 2.5em; 
    margin-bottom: 30px; 
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
}




article { 
    font-size: 1.125em;
    color: #334155;
}

article p {
    margin-bottom: 20px;
    line-height: 1.8;
}

article strong {
    color: #6366f1;
    font-weight: 600;
}

article ul, article ol {
    margin: 20px 0;
    padding-left: 30px;
}

article li {
    margin-bottom: 12px;
    line-height: 1.7;
}

.related-questions {
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.related-questions h2 {
    color: #1e293b;
    font-size: 1.5em;
    margin-bottom: 24px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.related-questions ul {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 12px;
}

.related-questions li {
    margin: 0;
}

.related-questions a {
    color: #334155;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: white;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
    font-weight: 500;
}

.related-questions a::before {
    content: "→";
    margin-right: 12px;
    color: #6366f1;
    font-weight: 700;
    transition: transform 0.3s;
}

.related-questions a:hover {
    background: white;
    border-color: #6366f1;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
    transform: translateX(4px);
}

.related-questions a:hover::before {
    transform: translateX(4px);
}

footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 2px solid #f1f5f9;
    font-size: 0.9em;
    color: #64748b;
}

footer p {
    margin-bottom: 8px;
}

footer strong {
    color: #334155;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    body {
        padding: 20px 16px;
    }
    
    h1 {
        font-size: 2em;
    }
    
    article {
        font-size: 1em;
    }
    
    .related-questions {
        padding: 24px 20px;
    }
    
    .related-questions h2 {
        font-size: 1.3em;
    }
}

/* Print styles */
@media print {
    .back, .related-questions {
        display: none;
    }
}

/* CTA Block Styles - Modern */
.cta-block {
    margin: 50px 0;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.cta-style-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.25);
}

.cta-style-secondary {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px solid #6366f1;
    color: #1e293b;
}

.cta-style-accent {
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    color: white;
    box-shadow: 0 12px 32px rgba(236, 72, 153, 0.25);
}

.cta-style-minimal {
    background: transparent;
    border-top: 2px solid #f1f5f9;
    padding-top: 40px;
    color: #334155;
}

.cta-title {
    font-size: 1.75em;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.cta-text {
    font-size: 1.0625em;
    line-height: 1.7;
    margin-bottom: 24px;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    font-size: 1.0625em;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-style-primary .cta-button {
    background: white;
    color: #6366f1;
}

.cta-style-primary .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.5);
}

.cta-style-secondary .cta-button {
    background: #6366f1;
    color: white;
}

.cta-style-secondary .cta-button:hover {
    background: #8b5cf6;
    transform: translateY(-2px);
}

.cta-style-accent .cta-button {
    background: white;
    color: #ec4899;
}

.cta-style-accent .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.5);
}

.cta-style-minimal .cta-button {
    background: #6366f1;
    color: white;
}

.cta-style-minimal .cta-button:hover {
    background: #8b5cf6;
}

@media (max-width: 768px) {
    .cta-block {
        padding: 30px 24px;
    }
    
    .cta-title {
        font-size: 1.5em;
    }
    
    .cta-button {
        padding: 14px 28px;
    }
}


/* Back Navigation */
.top-nav {
    margin-bottom: 20px;
}

.back-link {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    text-decoration: none;
    color: inherit;
    font-size: 0.95em;
    transition: background 0.3s;
}

.back-link:hover {
    background: rgba(0, 0, 0, 0.1);
}

/* Quick Answer Box */
.quick-answer {
    background: #f0f7ff;
    border-left: 4px solid #3b82f6;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
}

.quick-answer-title {
    margin: 0 0 10px 0;
    font-size: 1.2em;
    color: #1e40af;
}

.quick-answer p {
    margin: 0;
    line-height: 1.6;
}

/* Detailed Content */
.detailed-content {
    margin: 30px 0;
}

.detailed-content h2 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.detailed-content p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.detailed-content ul, 
.detailed-content ol {
    margin: 15px 0;
    padding-left: 25px;
}

.detailed-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Questions Section */
.questions-section {
    margin: 30px 0;
}

.questions-section h2 {
    margin-bottom: 20px;
    font-size: 1.8em;
}
