/* ============================================
   PAGE SPECIFIC: UAE E-Invoicing Item Matching Article
   Add these styles to your existing style.css
   ============================================ */

/* Hero Section Specifics */
.matching-challenge-hero {
    background: linear-gradient(135deg, #0b1a33 0%, #1a3a5f 100%);
    color: white;
}
.matching-challenge-hero .hero-text h1 {
    color: white;
}
.matching-challenge-hero .hero-text h1 span.text-gradient {
    background: linear-gradient(135deg, #a0e7ff, #4da3ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.matching-challenge-hero .article-meta,
.matching-challenge-hero .breadcrumb,
.matching-challenge-hero .breadcrumb a {
    color: rgba(255,255,255,0.8);
}
.matching-challenge-hero .breadcrumb a:hover {
    color: white;
}
.hero-visual {
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-size: 4rem;
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}
.hero-visual i {
    animation: float 3s infinite ease-in-out;
}
.hero-visual i:nth-child(2) { animation-delay: 0.2s; }
.hero-visual i:nth-child(3) { animation-delay: 0.4s; }

/* Problem Visualization */
.problem-visualization {
    background: var(--primary-light);
    border-radius: 20px;
    padding: 30px;
    margin: 40px 0;
    border: 1px solid var(--border-color);
}
.five-corner-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr) auto;
    align-items: center;
    gap: 10px;
    margin: 30px 0 20px;
}
.corner {
    background: white;
    border-radius: 12px;
    padding: 15px 5px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}
.corner i {
    display: block;
    font-size: 2rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}
.corner span {
    font-size: 0.8rem;
    font-weight: 600;
}
.arrow {
    font-size: 1.5rem;
    color: var(--gray-color);
}
.problem-statement {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    font-weight: 500;
}
.problem-statement p {
    margin: 0;
    color: #856404;
}

/* Highlight Text */
.highlight-text {
    background: var(--primary-color);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

/* Styled Lists */
.styled-list {
    list-style: none;
    padding: 0;
}
.styled-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}
.styled-list i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 3px;
}

/* Comparison Mini Grid */
.comparison-mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 25px 0;
}
.old-way, .new-way {
    padding: 20px;
    border-radius: 10px;
}
.old-way {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
}
.old-way h4 i { color: #dc3545; }
.new-way {
    background: #d4edda;
    border: 1px solid #c3e6cb;
}
.new-way h4 i { color: #28a745; }
.old-way ul, .new-way ul {
    padding-left: 20px;
    margin-top: 10px;
}
.old-way li, .new-way li {
    margin-bottom: 5px;
}

/* Vendor Tabs */
.vendor-tabs {
    margin: 30px 0;
}
.tab-buttons {
    display: flex;
    gap: 10px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.tab-button {
    background: none;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 30px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}
.tab-button i { font-size: 1.2rem; }
.tab-button:hover {
    background: var(--light-gray);
}
.tab-button.active {
    background: var(--primary-color);
    color: white;
}
.tab-button.active i { color: white; }
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}
.vendor-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}
.vendor-logo {
    font-size: 3rem;
    margin-bottom: 15px;
}
.vendor-card ul {
    list-style: none;
    padding: 0;
}
.vendor-card li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.vendor-card li i { color: var(--secondary-color); }

/* Models Grid */
.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}
.model-card {
    background: white;
    border-radius: 16px;
    padding: 25px 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    position: relative;
    transition: transform 0.3s ease;
}
.model-card:hover {
    transform: translateY(-5px);
}
.model-number {
    position: absolute;
    top: -10px;
    left: 20px;
    background: var(--primary-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}
.badge.best {
    background: var(--secondary-color);
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    margin-left: 8px;
}
.model-card code {
    display: block;
    background: var(--light-gray);
    padding: 8px;
    border-radius: 4px;
    margin-top: 10px;
    font-size: 0.8rem;
}

/* Developer Shift Section */
.highlight-section {
    background: linear-gradient(145deg, #0f172a, #1e293b);
    color: white;
    padding: 40px 30px;
    border-radius: 20px;
}
.highlight-section h2, .highlight-section h2 i {
    color: white;
}
.shift-container {
    margin: 25px 0;
}
.shift-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    background: rgba(255,255,255,0.1);
    padding: 15px 20px;
    border-radius: 40px;
    backdrop-filter: blur(5px);
}
.shift-item .from {
    flex: 1;
    text-decoration: line-through;
    opacity: 0.7;
}
.shift-item i {
    font-size: 1.2rem;
    color: var(--accent-color);
}
.shift-item .to {
    flex: 1;
    font-weight: 600;
}

/* Pillar List */
.pillar-list {
    list-style: none;
    counter-reset: pillar-counter;
    padding: 0;
}
.pillar-list li {
    counter-increment: pillar-counter;
    margin-bottom: 15px;
    padding: 15px 20px 15px 50px;
    background: #f8f9fa;
    border-radius: 40px;
    position: relative;
    font-weight: 500;
}
.pillar-list li::before {
    content: counter(pillar-counter);
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Professionals Support Grid */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 30px 0;
}
.support-card {
    background: white;
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}
.support-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}
.support-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.support-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}
.support-card p {
    font-size: 0.9rem;
    margin-bottom: 15px;
}
.card-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}
.card-link i {
    font-size: 0.8rem;
    margin-left: 5px;
    transition: transform 0.2s ease;
}
.card-link:hover i {
    transform: translateX(3px);
}
.cta-special {
    background: linear-gradient(135deg, var(--primary-light), #ffffff);
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    margin-top: 30px;
}
.cta-special .btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
    margin-top: 15px;
}

/* Sidebar Newsletter */
.sidebar-newsletter {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sidebar-newsletter input {
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    width: 100%;
}
.sidebar-newsletter .btn-primary {
    width: 100%;
    padding: 10px;
}

/* Related Articles in Sidebar */
.related-article {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    border-radius: 8px;
    transition: background 0.2s ease;
}
.related-article:hover {
    background: var(--light-color);
}
.related-article i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 30px;
    text-align: center;
}
.related-article h4 {
    font-size: 0.95rem;
    margin: 0 0 3px 0;
}
.related-article .article-meta {
    font-size: 0.75rem;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .five-corner-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .arrow {
        transform: rotate(90deg);
        margin: 5px 0;
    }
    .comparison-mini-grid {
        grid-template-columns: 1fr;
    }
    .shift-item {
        flex-direction: column;
        text-align: center;
        border-radius: 20px;
    }
    .shift-item i {
        transform: rotate(90deg);
    }
    .tab-buttons {
        flex-wrap: wrap;
    }
    .hero-visual {
        font-size: 2.5rem;
        padding: 20px;
    }
}