/* 
 * SintomiCheck AI Pro - Production Stylesheet
 * Designed for readability, trust, and mobile-first performance.
 */

:root {
    --sc-primary: #2d6a4f;       /* Trustworthy Green */
    --sc-primary-dark: #1b4332;
    --sc-secondary: #40916c;
    --sc-bg: #ffffff;
    --sc-bg-alt: #f8f9fa;
    --sc-text: #2d3748;
    --sc-text-light: #718096;
    --sc-danger-bg: #fee2e2;
    --sc-danger-text: #991b1b;
    --sc-warning-bg: #fff3cd;
    --sc-warning-text: #856404;
    --sc-radius: 12px;
    --sc-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --sc-font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --sc-font-serif: "Georgia", "Times New Roman", serif;
}

/* Reset & Base */
.sc-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: var(--sc-font-main);
    color: var(--sc-text);
    line-height: 1.7;
    background: var(--sc-bg);
}

/* Typography */
.sc-header h1 {
    font-size: 2.5rem;
    color: var(--sc-primary-dark);
    margin-bottom: 0.5rem;
    line-height: 1.2;
    font-weight: 800;
}

.sc-meta {
    color: var(--sc-text-light);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    display: block;
}

.sc-intro {
    font-family: var(--sc-font-serif);
    font-size: 1.25rem;
    color: #4a5568;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

h2 {
    color: var(--sc-primary);
    font-size: 1.8rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

/* Cards & Content Blocks */
.sc-card {
    background: var(--sc-bg-alt);
    border: 1px solid #e2e8f0;
    border-radius: var(--sc-radius);
    padding: 25px;
    margin-bottom: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sc-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--sc-shadow);
    border-color: var(--sc-secondary);
}

.sc-card h3 {
    margin-top: 0;
    color: var(--sc-primary-dark);
    font-size: 1.4rem;
}

/* Red Flags / Alerts */
.sc-alert {
    background: var(--sc-danger-bg);
    border-left: 5px solid var(--sc-danger-text);
    color: var(--sc-danger-text);
    padding: 20px;
    border-radius: var(--sc-radius);
    margin-top: 40px;
    font-weight: 500;
}

.sc-alert strong {
    display: block;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

/* Loading State */
.sc-loading {
    text-align: center;
    padding: 60px 20px;
}

.sc-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--sc-primary);
    border-radius: 50%;
    animation: sc-spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes sc-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Viral Share Section */
.sc-viral-section {
    margin-top: 60px;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: var(--sc-radius);
    text-align: center;
    border: 1px solid #bbf7d0;
}

.sc-viral-section h3 {
    color: var(--sc-primary-dark);
    margin-bottom: 10px;
}

.sc-viral-section p {
    color: var(--sc-text-light);
    margin-bottom: 25px;
}

/* Responsive */
@media (max-width: 600px) {
    .sc-header h1 { font-size: 2rem; }
    .sc-intro { font-size: 1.1rem; }
    .sc-container { padding: 15px; }
}