/* ============================================
   ARTICLE PAGE STYLES
   Premium design matching index.html
   ============================================ */

/* Article Hero */
.article-hero {
    background: linear-gradient(135deg, #0D1B3F 0%, #1a365d 50%, #2d3748 100%);
    padding: 6rem 1.5rem 4rem;
    text-align: center;
    margin-top: 80px;
}

.article-hero__tag {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.4);
    border-radius: 50px;
    color: #a5b4fc;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

.article-hero__title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.3;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.article-hero__subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .article-hero {
        padding: 5rem 1rem 3rem;
    }

    .article-hero__title {
        font-size: 1.75rem;
    }

    .article-hero__subtitle {
        font-size: 1rem;
    }
}

/* Article Content */
.article-content {
    background: linear-gradient(180deg, #F7F8FB 0%, #FFFFFF 100%);
    padding: 4rem 1.5rem;
}

.article-container {
    max-width: 900px;
    margin: 0 auto;
}

.article-intro {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-radius: 22px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.article-intro p {
    color: #3D4152;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.article-intro p:last-child {
    margin-bottom: 0;
}

/* Section Cards */
.section-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    margin-bottom: 2rem;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12), 0 8px 20px rgba(15, 23, 42, 0.06);
}

.section-card__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.section-card__icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.section-card__title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #151826;
    margin: 0;
}

.section-card__body {
    padding: 1.5rem 2rem 2rem;
}

.section-card__body p {
    color: #3D4152;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.section-card__body p:last-child {
    margin-bottom: 0;
}

.section-card__subtitle {
    font-size: 1.05rem;
    font-weight: 600;
    color: #667eea;
    margin: 1.25rem 0 0.75rem;
}

.section-card__subtitle:first-child {
    margin-top: 0;
}

.section-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.section-card__list li {
    font-size: 1rem;
    color: #3D4152;
    line-height: 1.7;
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.section-card__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.5rem;
    color: #059669;
    font-weight: 600;
}

@media (max-width: 768px) {
    .section-card__header {
        padding: 1.25rem 1.5rem;
    }

    .section-card__body {
        padding: 1.25rem 1.5rem 1.5rem;
    }

    .section-card__icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .section-card__title {
        font-size: 1.15rem;
    }
}

/* Step Cards (numbered) */
.step-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    margin-bottom: 2rem;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.step-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12), 0 8px 20px rgba(15, 23, 42, 0.06);
}

.step-card__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.step-card__number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
}

.step-card__title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #151826;
    margin: 0;
}

.step-card__body {
    padding: 1.5rem 2rem 2rem;
}

.step-card__body p {
    color: #3D4152;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.step-card__subtitle {
    font-size: 1.05rem;
    font-weight: 600;
    color: #667eea;
    margin: 1.25rem 0 0.75rem;
}

.step-card__subtitle:first-child {
    margin-top: 0;
}

.step-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-card__list li {
    font-size: 1rem;
    color: #3D4152;
    line-height: 1.7;
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.step-card__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.5rem;
    color: #059669;
    font-weight: 600;
}

/* Step Card Color Variants */
.step-card--1 .step-card__number {
    background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
}

.step-card--2 .step-card__number {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
}

.step-card--3 .step-card__number {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
}

.step-card--4 .step-card__number {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
}

.step-card--5 .step-card__number {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
}

.step-card--6 .step-card__number {
    background: linear-gradient(135deg, #06b6d4 0%, #22d3ee 100%);
}

.step-card--7 .step-card__number {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
}

.step-card--8 .step-card__number {
    background: linear-gradient(135deg, #14b8a6 0%, #2dd4bf 100%);
}

.step-card--9 .step-card__number {
    background: linear-gradient(135deg, #a855f7 0%, #c084fc 100%);
}

.step-card--10 .step-card__number {
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
}

.step-card--1 .step-card__header {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.08) 0%, rgba(244, 114, 182, 0.05) 100%);
    border-color: rgba(236, 72, 153, 0.1);
}

.step-card--2 .step-card__header {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(96, 165, 250, 0.05) 100%);
    border-color: rgba(59, 130, 246, 0.1);
}

.step-card--3 .step-card__header {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(52, 211, 153, 0.05) 100%);
    border-color: rgba(16, 185, 129, 0.1);
}

.step-card--4 .step-card__header {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(167, 139, 250, 0.05) 100%);
    border-color: rgba(139, 92, 246, 0.1);
}

.step-card--5 .step-card__header {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(251, 191, 36, 0.05) 100%);
    border-color: rgba(245, 158, 11, 0.1);
}

.step-card--6 .step-card__header {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.08) 0%, rgba(34, 211, 238, 0.05) 100%);
    border-color: rgba(6, 182, 212, 0.1);
}

.step-card--7 .step-card__header {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.08) 0%, rgba(248, 113, 113, 0.05) 100%);
    border-color: rgba(239, 68, 68, 0.1);
}

.step-card--8 .step-card__header {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.08) 0%, rgba(45, 212, 191, 0.05) 100%);
    border-color: rgba(20, 184, 166, 0.1);
}

.step-card--9 .step-card__header {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.08) 0%, rgba(192, 132, 252, 0.05) 100%);
    border-color: rgba(168, 85, 247, 0.1);
}

.step-card--10 .step-card__header {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.08) 0%, rgba(251, 146, 60, 0.05) 100%);
    border-color: rgba(249, 115, 22, 0.1);
}

@media (max-width: 768px) {
    .step-card__header {
        padding: 1.25rem 1.5rem;
    }

    .step-card__body {
        padding: 1.25rem 1.5rem 1.5rem;
    }

    .step-card__number {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .step-card__title {
        font-size: 1.15rem;
    }
}

/* Info Card (simple) */
.info-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.04);
    padding: 2rem;
    margin-bottom: 2rem;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.info-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12), 0 8px 20px rgba(15, 23, 42, 0.06);
}

.info-card__title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #151826;
    margin-bottom: 1rem;
}

.info-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-card__list li {
    font-size: 1rem;
    color: #3D4152;
    line-height: 1.7;
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.info-card__list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0.5rem;
    color: #667eea;
    font-weight: 900;
    font-size: 1.2rem;
}

/* Image in Article */
.article-image {
    border-radius: 16px;
    overflow: hidden;
    margin: 2rem 0;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-image--small {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Table Styling */
.article-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.article-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.article-table td {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    color: #3D4152;
}

.article-table tr:last-child td {
    border-bottom: none;
}

.article-table tr:nth-child(even) {
    background: #f9fafb;
}

/* CTA Section */
.article-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    padding: 4rem 1.5rem;
    text-align: center;
    border-radius: 22px;
    margin-top: 3rem;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.article-cta__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.article-cta__text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.article-cta__btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: white;
    color: #667eea;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.article-cta__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    color: #667eea;
    text-decoration: none;
}

/* Footer */
.article-footer {
    background: #0D1B3F;
    padding: 3rem 1.5rem;
    text-align: center;
}

.article-footer__text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.article-footer__link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.article-footer__link:hover {
    color: #667eea;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.08) 100%);
    border-left: 4px solid #667eea;
    border-radius: 0 16px 16px 0;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
}

.highlight-box p {
    color: #3D4152;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

.highlight-box strong {
    color: #151826;
}

/* Video Embed */
.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    margin: 2rem 0;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}