/* Articles Stylesheet - Shared styles for feature article pages */

/* ===== Article Hero Section ===== */
.article-hero {
    min-height: 80vh;
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
}

.article-hero-dark {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
}

.article-hero-light {
    background: linear-gradient(135deg, #effcfc 0%, #e0f7fa 100%);
}

.article-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.article-hero-text {
    z-index: 2;
}

.article-hero h1 {
    font-size: 4rem;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 700;
}

.article-hero h1.dark-text {
    color: var(--text-primary);
}

.gradient-text-pink {
    background: linear-gradient(90deg, #DE6C6C, #BC8AED);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-blue {
    background: linear-gradient(90deg, #60a5fa, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-subtitle {
    font-size: 1.2rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
}

.article-subtitle.dark-text {
    color: var(--text-secondary);
}

.article-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.article-badge-dark {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-secondary);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    transition: color 0.2s ease, gap 0.2s ease;
}

.back-link:hover {
    color: white;
    gap: 0.75rem;
}

.back-link-dark {
    color: var(--text-secondary);
}

.back-link-dark:hover {
    color: var(--text-primary);
}

.article-hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-feature-img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.4s ease;
}

.hero-feature-img:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

/* ===== Article Content Section ===== */
.article-content {
    padding: 80px 0;
    background: white;
}

.content-section {
    max-width: 900px;
    margin: 0 auto 5rem;
}

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

.content-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* ===== Features Grid ===== */
.features-grid-article {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card-article {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card-article:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.feature-icon-article {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.feature-icon-article.icon-purple {
    background: #ede9fe;
    color: #7c3aed;
}

.feature-icon-article.icon-blue {
    background: #dbeafe;
    color: #2563eb;
}

.feature-icon-article.icon-green {
    background: #dcfce7;
    color: #16a34a;
}

.feature-icon-article.icon-orange {
    background: #fed7aa;
    color: #ea580c;
}

.feature-icon-article.icon-teal {
    background: #ccfbf1;
    color: #0d9488;
}

.feature-card-article h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-card-article p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ===== Use Cases List ===== */
.use-cases-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.use-case {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem;
    background: var(--bg-color);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: transform 0.2s ease;
}

.use-case:hover {
    transform: translateX(8px);
}

.use-case-number {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
}

.use-case-content h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.use-case-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ===== Steps Container ===== */
.steps-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--bg-color);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.step-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.step-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* ===== Benefits Grid ===== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--bg-color);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.benefit-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.benefit-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ===== Roles Container ===== */
.roles-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.role-card {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.role-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.role-header {
    margin-bottom: 1rem;
}

.role-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.role-admin {
    background: #fee2e2;
    color: #dc2626;
}

.role-manager {
    background: #dbeafe;
    color: #2563eb;
}

.role-picker {
    background: #dcfce7;
    color: #16a34a;
}

.role-card>p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.role-permissions {
    list-style: none;
    padding: 0;
    margin: 0;
}

.role-permissions li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-primary);
    padding: 0.4rem 0;
}

.role-permissions i {
    color: #16a34a;
    font-size: 1rem;
}

/* ===== Methods Container ===== */
.methods-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.method-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 2.5rem 2rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.method-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.method-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
}

.abc-icon {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white;
    font-family: var(--font-heading);
}

.zone-icon {
    background: linear-gradient(135deg, #0d9488, #10b981);
    color: white;
}

.random-icon {
    background: linear-gradient(135deg, #ea580c, #f59e0b);
    color: white;
}

.method-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.method-card>p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.method-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.method-features li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 0.3rem 0;
    border-bottom: 1px dashed var(--border-color);
}

.method-features li:last-child {
    border-bottom: none;
}

/* ===== Process Timeline ===== */
.process-timeline {
    position: relative;
    margin-top: 3rem;
    padding-left: 3rem;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #2563eb, #7c3aed);
    border-radius: 1px;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    left: -3rem;
    margin-right: -3rem;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.process-content {
    background: var(--bg-color);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    flex: 1;
}

.process-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.process-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ===== Stats Grid ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat-card-article {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
}

.stat-number-article {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    background: linear-gradient(90deg, #60a5fa, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label-article {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-card-article p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin: 0;
}

/* ===== Article CTA ===== */
.article-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.article-cta .cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.article-cta h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.article-cta>.container>.cta-content>p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .article-hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .article-hero h1 {
        font-size: 3rem;
    }

    .article-subtitle {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-feature-img {
        transform: perspective(1000px) rotateY(0deg);
        max-width: 400px;
    }

    .roles-container,
    .methods-container,
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .article-hero {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .article-hero h1 {
        font-size: 2.5rem;
    }

    .features-grid-article,
    .benefits-grid,
    .steps-container {
        grid-template-columns: 1fr;
    }

    .use-case {
        flex-direction: column;
        gap: 1rem;
    }

    .process-timeline {
        padding-left: 2.5rem;
    }

    .process-number {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
        left: -2.5rem;
        margin-right: -2.5rem;
    }

    .process-timeline::before {
        left: 17px;
    }
}

@media (max-width: 480px) {
    .article-hero h1 {
        font-size: 2rem;
    }

    .content-section h2 {
        font-size: 1.6rem;
    }

    .stat-number-article {
        font-size: 2.5rem;
    }
}