
:root {
    --primary-color: #5A3BED;
    --primary-gradient: linear-gradient(135deg, #5A3BED 0%, #667eea 100%);
    --secondary-color: #667eea;
    --text-primary: #23272f;
    --text-secondary: #555;
    --text-muted: #888;
    --bg-light: #f8f9fa;
    --border-light: rgba(0, 0, 0, 0.08);
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 8px 32px rgba(90, 59, 237, 0.08);
    --border-radius: 12px;
    --border-radius-lg: 20px;
}

body {
    padding-top: 60px;
}

.sp-hero {
    position: relative;
    padding: 80px 0 60px;
    margin-top: 60px;
    overflow: hidden;
}

.sp-hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.sp-hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #f5f3ff 0%, #ffffff 50%, #eef2ff 100%);
}

.sp-hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(90, 59, 237, 0.06) 0%, transparent 45%),
        radial-gradient(circle at 80% 80%, rgba(102, 126, 234, 0.06) 0%, transparent 45%);
}

.sp-hero .container {
    position: relative;
    z-index: 1;
}

.sp-hero-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.sp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(90, 59, 237, 0.1);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(90, 59, 237, 0.15);
}

.sp-hero-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.sp-hero-meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
}

.sp-body {
    padding: 0 0 80px;
    background: var(--bg-light);
}

.sp-card {
    background: #ffffff;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
    padding: 48px 52px;
    margin-top: -20px;
    border: 1px solid var(--border-light);
}

.ql-content {
    font-size: 0.975rem;
    line-height: 1.85;
    color: var(--text-secondary);
}

.ql-content h1,
.ql-content h2,
.ql-content h3,
.ql-content h4 {
    color: var(--text-primary);
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.ql-content h1 { font-size: 1.75rem; }
.ql-content h2 { font-size: 1.4rem; border-bottom: 2px solid rgba(90, 59, 237, 0.12); padding-bottom: 8px; }
.ql-content h3 { font-size: 1.15rem; }
.ql-content h4 { font-size: 1rem; }

.ql-content p {
    margin-bottom: 1rem;
}

.ql-content ul,
.ql-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.ql-content li {
    margin-bottom: 0.4rem;
}

.ql-content a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid rgba(90, 59, 237, 0.3);
    transition: border-color 0.2s;
}

.ql-content a:hover {
    border-color: var(--primary-color);
}

.ql-content blockquote {
    border-left: 4px solid var(--primary-color);
    margin: 1.5rem 0;
    padding: 12px 20px;
    background: rgba(90, 59, 237, 0.04);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    color: var(--text-secondary);
    font-style: italic;
}

.ql-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin: 1rem 0;
    box-shadow: var(--shadow-light);
}

.ql-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}

.ql-content th {
    background: rgba(90, 59, 237, 0.06);
    color: var(--text-primary);
    font-weight: 600;
    padding: 10px 14px;
    border: 1px solid var(--border-light);
    text-align: left;
}

.ql-content td {
    padding: 9px 14px;
    border: 1px solid var(--border-light);
    vertical-align: top;
}

.ql-content tr:nth-child(even) td {
    background: #fafafa;
}

.ql-content strong,
.ql-content b {
    font-weight: 700;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .sp-hero {
        padding: 60px 0 40px;
        margin-top: 60px;
    }

    .sp-hero-title {
        font-size: 1.75rem;
    }

    .sp-card {
        padding: 28px 20px;
        margin-top: -12px;
        border-radius: var(--border-radius);
    }
}
