/**
 * Landing Page SEO Sections Styles
 * Aligned with hledam-studenty page design
 */

/* ==========================================================================
   General Section Styles
   ========================================================================== */

.seo-section {
    padding: 60px 0;
}

.seo-section:nth-child(even) {
    background-color: #f8f9fa;
}

.section-heading {
    color: #0d33cc;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #0d33cc;
    margin-bottom: 2.5rem;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   SEO Content Sections Container
   ========================================================================== */

.seo-content-sections {
    padding: 40px 0 60px;
}

.seo-content-sections>.seo-section:first-child {
    padding-top: 0;
}

.seo-content-sections>.seo-section:last-child {
    padding-bottom: 0;
}

/* ==========================================================================
   Key Points Section
   ========================================================================== */

.key-points-list {
    list-style: none;
    padding: 0;
    margin: 2rem auto;
    max-width: 900px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.key-point-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #fff;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.key-point-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.key-point-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: linear-gradient(135deg, #1E3D6B 0%, #2165B2 100%);
    color: #fff;
    border-radius: 50%;
    font-size: 1.1rem;
    font-weight: bold;
}

.key-point-text {
    color: #0d33cc;
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.5;
    padding-top: 0.5rem;
}

/* Hero variant */
.key-points-list.hero-key-points {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
    width: 100%;
    max-width: none;
    margin: 1.5rem 0 0;
    text-align: left;
}

.hero-key-points .key-point-item {
    display: grid;
    grid-template-columns: 1.25rem minmax(0, 1fr);
    align-items: start;
    gap: 0.65rem;
    min-width: 0;
    background: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    transition: none;
}

.hero-key-points .key-point-item:hover {
    transform: none;
    box-shadow: none;
    background: none;
}

.hero-key-points .key-point-icon {
    display: block;
    width: 1.25rem;
    height: auto;
    min-width: 0;
    background: none;
    color: #ff5703;
    border-radius: 0;
    font-size: 1.1rem;
    line-height: 1.5;
    text-align: center;
}

.hero-key-points .key-point-text {
    min-width: 0;
    color: #0d33cc;
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.5;
    padding-top: 0;
    overflow-wrap: anywhere;
}

/* ==========================================================================
   Intro Text
   ========================================================================== */

.intro-text {
    max-width: 900px;
    margin: 0 auto;
    padding: 2.5rem 3rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #0d33cc;
}

.intro-text h2,
.intro-text h3,
.intro-text h4 {
    color: #0d33cc;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.intro-text h2:first-child,
.intro-text h3:first-child,
.intro-text h4:first-child {
    margin-top: 0;
}

.intro-text p {
    margin-bottom: 1.25rem;
}

.intro-text p:last-child {
    margin-bottom: 0;
}

.intro-text strong {
    color: #0d33cc;
    font-weight: 600;
}

.intro-text ul,
.intro-text ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.intro-text li {
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
}

.intro-text a {
    color: #2165B2;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.intro-text a:hover {
    border-bottom-color: #F8606A;
}

/* ==========================================================================
   Text Section
   ========================================================================== */

.text-section {
    background: #fff;
}

.text-section--light {
    background: #f8f9fa;
}

.text-section--gradient {
    background: linear-gradient(135deg, #1E3D6B 0%, #2165B2 100%);
}

.text-section--gradient .section-heading,
.text-section--gradient .section-subtitle {
    color: #fff;
}

.text-section--gradient .text-section-content {
    color: rgba(255, 255, 255, 0.95);
}

.text-section--gradient .text-section-content h3,
.text-section--gradient .text-section-content h4 {
    color: #fff;
}

.text-section--gradient .text-section-content a {
    color: #F8606A;
}

.text-section--centered .section-heading,
.text-section--centered .section-subtitle,
.text-section--centered .text-section-content {
    text-align: center;
}

.text-section-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #0d33cc;

}

.text-section--gradient .text-section-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.text-section-content h3,
.text-section-content h4 {
    color: #0d33cc;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.text-section-content h3:first-child,
.text-section-content h4:first-child {
    margin-top: 0;
}

.text-section-content p {
    margin-bottom: 1.25rem;

}

.text-section-content p:last-child {
    margin-bottom: 0;
}

.text-section-content strong {
    color: #0d33cc;
    font-weight: 600;
}

.text-section-content ul,
.text-section-content ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.text-section-content li {
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
}

.text-section-content a {
    color: #2165B2;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.text-section-content a:hover {
    border-bottom-color: #F8606A;
}

/* ==========================================================================
   Benefits Section
   ========================================================================== */

.benefits-section {
    background: linear-gradient(135deg, #1E3D6B 0%, #2165B2 100%);
    color: white;
}

.benefits-section .section-heading {
    color: white;
}

.benefits-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.benefits-grid {
    display: grid;
    gap: 30px;
}

.benefits-grid.layout-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.benefits-grid.layout-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.benefits-grid.layout-list {
    grid-template-columns: 1fr;
    max-width: 700px;
    margin: 0 auto;
}

@media (max-width: 991px) {
    .benefits-grid.layout-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {

    .benefits-grid.layout-grid-2,
    .benefits-grid.layout-grid-3 {
        grid-template-columns: 1fr;
    }
}

.benefit-item {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    color: #0d33cc;
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    font-size: 2.5rem;
    color: #F8606A;
    margin-bottom: 1rem;
}

.benefit-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #0d33cc;
    margin-bottom: 0.75rem;
}

.benefit-description {
    color: #0d33cc;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* ==========================================================================
   How It Works Section
   ========================================================================== */

.how-it-works-section {
    background: #f8f9fa;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.step-number-wrapper {
    flex-shrink: 0;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #1E3D6B 0%, #2165B2 100%);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(30, 61, 107, 0.3);
}

.step-content {
    flex-grow: 1;
    padding-top: 0.5rem;
}

.step-image {
    margin-bottom: 1rem;
}

.step-image img {
    border-radius: 12px;
}

.step-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #0d33cc;
    margin-bottom: 0.5rem;
}

.step-description {
    color: #0d33cc;
    line-height: 1.6;
    margin: 0;
    font-size: 1.05rem;
}

/* ==========================================================================
   For Whom Section
   ========================================================================== */

.for-whom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 991px) {
    .for-whom-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .for-whom-grid {
        grid-template-columns: 1fr;
    }
}

.for-whom-item {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.for-whom-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: #F8606A;
}

.for-whom-icon {
    font-size: 3rem;
    color: #F8606A;
    margin-bottom: 1rem;
}

.for-whom-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #0d33cc;
    margin-bottom: 0.75rem;
}

.for-whom-description {
    color: #0d33cc;
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

/* ==========================================================================
   Comparison Section
   ========================================================================== */

.comparison-section {
    background: #f8f9fa;
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin: 0 -1rem;
    padding: 0 1rem;
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.comparison-table th,
.comparison-table td {
    padding: 1.25rem 1.5rem;
    text-align: left;
}

.comparison-table thead {
    background: linear-gradient(135deg, #1E3D6B 0%, #2165B2 100%);
    color: white;
}

.comparison-table th {
    font-weight: 600;
    font-size: 1.1rem;
}

.comparison-aspect-header {
    width: 30%;
}

.comparison-our-header {
    width: 35%;
}

.comparison-alt-header {
    width: 35%;
}

.comparison-table tbody tr {
    border-bottom: 1px solid #e9ecef;
}

.comparison-table tbody tr:last-child {
    border-bottom: none;
}

.comparison-table tbody tr:hover {
    background: #f8f9fa;
}

.comparison-aspect {
    font-weight: 600;
    color: #0d33cc;
}

.comparison-our {
    color: #2d6a4f;
    background: rgba(40, 167, 69, 0.05);
}

.comparison-alt {
    color: #6c757d;
}

.comparison-check {
    color: #28a745;
    margin-right: 0.5rem;
    font-weight: bold;
}

.comparison-x {
    color: #dc3545;
    margin-right: 0.5rem;
    font-weight: bold;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.faq-section {
    background: linear-gradient(135deg, #1E3D6B 0%, #2165B2 100%);
    color: white;
}

.faq-section .section-heading {
    color: white;
}

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

.faq-item {
    background: #fff;
    border-radius: 20px;
    margin-bottom: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.faq-question {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0d33cc;
    padding: 1.5rem;
    margin: 0;
    cursor: pointer;
    position: relative;
    padding-right: 3.5rem;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #F8606A;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #F8606A;
    transition: transform 0.2s ease;
}

.faq-item.open .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    color: #0d33cc;
    line-height: 1.7;
    font-size: 1.05rem;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta-section {
    text-align: center;
    padding: 80px 0;
}

.cta-style-primary {
    background: linear-gradient(135deg, #1E3D6B 0%, #2165B2 100%);
    color: #fff;
}

.cta-style-primary .cta-title,
.cta-style-primary .cta-description {
    color: #fff;
}

.cta-style-secondary {
    background: #f8f9fa;
    color: #0d33cc;
}

.cta-style-secondary .cta-title {
    color: #0d33cc;
}

.cta-style-secondary .cta-description {
    color: #0d33cc;
}

.cta-style-highlight {
    background: linear-gradient(135deg, #F8606A 0%, #ff8a8a 100%);
    color: #fff;
}

.cta-style-highlight .cta-title,
.cta-style-highlight .cta-description {
    color: #fff;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 300;
    text-align: left;
    line-height: 1.8;
}

.cta-description p {
    margin-bottom: 1rem;
}

.cta-description p:last-child {
    margin-bottom: 0;
}

.cta-description strong {
    font-weight: 600;
}

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

.cta-description li {
    margin-bottom: 0.4rem;
}

.cta-button {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
}

.cta-style-primary .cta-button {
    background: #F8606A;
    color: #fff;
}

.cta-style-primary .cta-button:hover {
    background: #fff;
    color: #0d33cc;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-style-secondary .cta-button {
    background: linear-gradient(135deg, #1E3D6B 0%, #2165B2 100%);
    color: #fff;
}

.cta-style-secondary .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(30, 61, 107, 0.3);
}

.cta-style-highlight .cta-button {
    background: #fff;
    color: #F8606A;
}

.cta-style-highlight .cta-button:hover {
    background: #1E3D6B;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   Related Links Section
   ========================================================================== */

.related-links-section {
    padding: 60px 0;
    background: #fff;
}

.related-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 991px) {
    .related-links-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .related-links-list {
        grid-template-columns: 1fr;
    }
}

.related-link-item {
    margin: 0;
}

.related-link {
    display: block;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.related-link:hover {
    background: #fff;
    border-color: #F8606A;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.related-link-title {
    display: block;
    font-weight: 600;
    color: #0d33cc;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.related-link:hover .related-link-title {
    color: #F8606A;
}

/* ==========================================================================
   Social Proof Block
   ========================================================================== */

.social-proof-section {
    padding: 50px 0;
}

.social-proof-section.bg-white {
    background: #ffffff;
}

.social-proof-section.bg-light {
    background: #f4f6f9;
}

.social-proof-section .section-heading {
    padding-top: 20px;
}

/* --- Stats strip (inline pill) --- */
.sp-stats-strip {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 60px;
    padding: 0.7rem 2rem;
    width: fit-content;
    margin: 0 auto 2.5rem;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
}

.social-proof-section.bg-white .sp-stats-strip {
    background: #ffffff;
}

.social-proof-section.bg-light .sp-stats-strip {
    background: #f4f6f9;
}

.sp-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.sp-stat__num {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0d33cc;
    line-height: 1;
}

.sp-stat__stars {
    display: flex;
    gap: 2px;
}

.sp-star {
    font-size: 1rem;
    color: #d0d5dd;
}

.sp-star--on {
    color: #f5a623;
}

.sp-stat__label {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #6c757d;
    font-weight: 500;
}

.sp-stats-divider {
    width: 1px;
    height: 36px;
    background: #dee2e6;
    flex-shrink: 0;
}

/* --- Carousel wrapper --- */
.sp-carousel {
    max-width: 1060px;
    margin: 0 auto;
    overflow: hidden;
}

/* --- Track --- */
.sp-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s cubic-bezier(.25, .8, .25, 1);
    will-change: transform;
    align-items: stretch;
}

/* --- Card (33.33% wide on desktop = 3 per row) --- */
.sp-card {
    flex: 0 0 calc((100% - 40px) / 3);
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
    padding: 1.4rem 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    position: relative;
    overflow: hidden;
}


/* Decorative quote mark */
.sp-card__quote {
    font-size: 3.2rem;
    line-height: 0.8;
    color: #F8606A;
    opacity: 0.22;
    font-family: Georgia, serif;
    font-weight: 700;
    user-select: none;
    margin-bottom: -0.4rem;
}

/* Stars on card */
.sp-card__stars {
    display: flex;
    gap: 3px;
}

/* Comment text – clamp to 4 lines */
.sp-card__text-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1;
}

.sp-card__text {
    font-size: 0.9rem;
    line-height: 1.65;
    color: #444;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: none;
}

.sp-card__text--expanded {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}

.sp-show-more {
    align-self: flex-start;
    background: none;
    border: none;
    padding: 0;
    font-size: 0.78rem;
    font-weight: 600;
    color: #F8606A;
    cursor: pointer;
    letter-spacing: 0.02em;
    transition: opacity 0.15s;
}

.sp-show-more:hover {
    opacity: 0.75;
}

/* Reviewer row */
.sp-card__reviewer {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding-top: 0.75rem;
    border-top: 1px solid #f0f0f0;
    margin-top: auto;
}

/* Reviewer avatar circle */
.sp-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6c757d, #adb5bd);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sp-card__reviewer-meta {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.sp-card__reviewer-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Teacher attribution link */
.sp-card__teacher {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.6rem;
    margin-top: 0.5rem;
    background: #f4f6f9;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s;
}

.sp-card__teacher:hover {
    background: #e9ecef;
    text-decoration: none;
}

.sp-teacher-photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #1E3D6B, #2d5a9e);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-teacher-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sp-teacher-initials {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
}

.sp-teacher-info {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
    min-width: 0;
}

.sp-teacher-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6c757d;
    font-weight: 500;
}

.sp-teacher-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0d33cc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sp-badge {
    font-size: 0.7rem;
    font-weight: 500;
    color: #28a745;
    background: rgba(40, 167, 69, 0.1);
    padding: 0.1rem 0.4rem;
    border-radius: 20px;
    width: fit-content;
}

/* --- Navigation --- */
.sp-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* Arrow buttons */
.sp-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: #0d33cc;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.sp-btn:hover {
    background: #1E3D6B;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 18px rgba(30, 61, 107, 0.25);
}

.sp-btn:active {
    transform: scale(0.96);
}

/* Dots */
.sp-dots {
    display: flex;
    gap: 7px;
    align-items: center;
}

.sp-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: none;
    background: #d0d5dd;
    cursor: pointer;
    padding: 0;
    transition: background 0.25s, width 0.25s, border-radius 0.25s;
}

.sp-dot--active {
    background: #1E3D6B;
    width: 24px;
    border-radius: 4px;
}

/* --- Mobile: 1 card per view --- */
@media (max-width: 767px) {
    .sp-card {
        flex: 0 0 100%;
    }

    .sp-stats-strip {
        padding: 0.6rem 1.25rem;
        gap: 1rem;
    }

    .sp-stat__num {
        font-size: 1.5rem;
    }
}

.related-link-description {
    display: block;
    font-size: 0.9rem;
    color: #0d33cc;
    line-height: 1.5;
}

/* ==========================================================================
   Profiles Section Enhancement
   ========================================================================== */

.profiles-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.profiles-section .section-heading {
    color: #0d33cc;
    margin-bottom: 2rem;
}

/* ==========================================================================
   Legacy Content Styling
   ========================================================================== */

.legacy-content {
    padding: 60px 0;
}

.legacy-content .content-wrapper {
    margin: 0 auto;
}

.legacy-content h2 {
    color: #0d33cc;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    margin-top: 3rem;
}

.legacy-content h2:first-child {
    margin-top: 0;
}

.legacy-content h3 {
    color: #2A558C;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    margin-top: 2.5rem;
}

.legacy-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #495057;
}

.legacy-content ul,
.legacy-content ol {
    list-style: none;
    padding: 0;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.legacy-content ul li,
.legacy-content ol li {
    padding: 12px 0;
    position: relative;
    padding-left: 40px;
    line-height: 1.6;
}

.legacy-content ul li::before {
    content: '•';
    position: absolute;
    left: 15px;
    top: 12px;
    font-size: 1.2rem;
    color: #F8606A;
}

.legacy-content a {
    color: #F8606A;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.legacy-content a:hover {
    color: #0d33cc;
    text-decoration: underline;
}

.legacy-content strong {
    color: #0d33cc;
    font-weight: 600;
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */

@media (max-width: 767px) {
    .seo-section {
        padding: 40px 0;
    }

    .section-heading {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .cta-section {
        padding: 60px 0;
    }

    .key-points-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .key-point-item {
        padding: 1.25rem;
    }

    .key-point-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 1rem;
    }

    .key-point-text {
        padding-top: 0.35rem;
        font-size: 1rem;
    }

    .step-item {
        flex-direction: column;
        text-align: center;
    }

    .step-item:hover {
        transform: translateY(-5px);
    }

    .benefit-item,
    .for-whom-item,
    .faq-item {
        padding: 20px;
    }

    .intro-text {
        padding: 1.5rem 1.25rem;
        border-radius: 16px;
    }

    .intro-text h2,
    .intro-text h3,
    .intro-text h4 {
        font-size: 1.15rem;
    }

    .text-section-content {
        padding: 1.5rem 1.25rem;
        border-radius: 16px;
    }

    .text-section-content h3,
    .text-section-content h4 {
        font-size: 1.15rem;
    }
}
