/* FAQ Page Styles */
.faq-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.faq-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="faqPattern" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23faqPattern)"/></svg>');
    opacity: 0.3;
}

.faq-nav {
    padding: 1.5rem 0;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(20px);
}

.faq-nav .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo-highlight {
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 10px;
}

.nav-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.language-selector {
    cursor: pointer;
    padding: 0.75rem 1.5rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 500;
}

.language-selector:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.search-section {
    background: rgba(124, 58, 237, 0.2);
    backdrop-filter: blur(20px);
    padding: 3rem 0;
    position: relative;
    z-index: 1;
}

.search-container-faq {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    padding: 0 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.search-input-faq {
    flex: 1;
    padding: 1.2rem 2rem;
    border: none;
    border-radius: 30px 0 0 30px;
    font-size: 1.1rem;
    outline: none;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.search-input-faq:focus {
    background: white;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.3);
}

.search-input-faq::placeholder {
    color: #6b7280;
    font-weight: 500;
}

.search-btn-faq {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(240, 147, 251, 0.3);
}

.search-btn-faq:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(240, 147, 251, 0.4);
}

.faq-main {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
    min-height: 60vh;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    position: relative;
}

.faq-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="mainPattern" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(124,58,237,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23mainPattern)"/></svg>');
    z-index: 0;
}

.breadcrumb {
    margin-bottom: 3rem;
    color: #6b7280;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: inline-block;
}

.breadcrumb-link {
    color: #667eea;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.breadcrumb-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 0.75rem;
    color: #9ca3af;
}

.breadcrumb-current {
    color: #1f2937;
    font-weight: 600;
}

.faq-content {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    padding: 3rem 2rem;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.faq-icon-large {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 2s infinite;
}

.faq-content h1 {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-subtitle {
    color: #6b7280;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 500;
    line-height: 1.6;
}

.article-count {
    color: #9ca3af;
    margin-bottom: 1rem;
    font-weight: 600;
    background: rgba(124, 58, 237, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
}

.verification-cta {
    margin: 2rem 0;
    text-align: center;
}

.btn-verify-cta {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-verify-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.btn-verify-cta i {
    font-size: 1.1rem;
}

.faq-articles {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
    position: relative;
    z-index: 1;
}

.faq-article {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.faq-article::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.05), transparent);
    transition: left 0.5s ease;
}

.faq-article:hover::before {
    left: 100%;
}

.faq-article:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.15);
    border-color: rgba(124, 58, 237, 0.2);
}

.faq-article h3 {
    font-size: 1.3rem;
    color: #1f2937;
    margin-bottom: 0.75rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.faq-article p {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.arrow {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8rem;
    font-weight: bold;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.faq-article:hover .arrow {
    transform: translateX(5px);
}

/* Interactive Article Styles */
.faq-article.expanded {
    background: rgba(124, 58, 237, 0.05);
    border-color: rgba(124, 58, 237, 0.3);
}

.article-content {
    flex: 1;
}

.article-details {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(124, 58, 237, 0.1);
    animation: fadeIn 0.3s ease;
}

.article-details ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.article-details li {
    margin: 0.5rem 0;
    color: #4b5563;
    line-height: 1.6;
}

.article-details strong {
    color: #1f2937;
    font-weight: 600;
}

.comparison-table {
    background: rgba(124, 58, 237, 0.05);
    border-radius: 10px;
    padding: 1rem;
    margin: 1rem 0;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
}

.feature-row:last-child {
    border-bottom: none;
}

.feature {
    font-weight: 600;
    color: #1f2937;
}

.standard {
    color: #6b7280;
    text-align: center;
}

.pro {
    color: #059669;
    text-align: center;
    font-weight: 600;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #ef4444;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.modal-content {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.modal-image {
    flex: 1;
}

.modal-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.modal-text {
    flex: 1;
}

.modal-text h2 {
    color: #1f2937;
    margin: 0 0 1rem 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.modal-text p {
    color: #6b7280;
    margin: 0 0 1.5rem 0;
    line-height: 1.6;
}

.verification-steps {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 15px;
    margin: 1.5rem 0;
    border-left: 4px solid #667eea;
}

.verification-steps p {
    margin: 0 0 1rem 0;
    color: #1f2937;
    font-weight: 600;
}

.verification-steps ul {
    margin: 0 0 1rem 0;
    padding-left: 1.5rem;
    color: #4b5563;
}

.verification-steps li {
    margin: 0.5rem 0;
    line-height: 1.5;
}

.btn-verify {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-verify:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(-50px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 768px) {
    .modal-content {
        flex-direction: column;
        text-align: center;
    }
    
    .modal-image {
        max-width: 200px;
    }
}

.faq-footer {
    background: #f8fafc;
    padding: 3rem 2rem 2rem;
    margin-top: 4rem;
}

.faq-footer .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 3rem;
}

.faq-footer .footer-section h4 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.faq-footer .footer-section p {
    color: #6b7280;
    line-height: 1.6;
}

.footer-countries {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.country-column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.country-column p {
    color: #6b7280;
    cursor: pointer;
    transition: color 0.3s ease;
}

.country-column p:hover {
    color: #4c1d95;
}

/* Responsive Design */
@media (max-width: 768px) {
    .faq-nav .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .faq-content h1 {
        font-size: 2rem;
    }
    
    .faq-footer .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-countries {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .faq-main {
        padding: 1rem;
    }
    
    .search-container-faq {
        padding: 0 1rem;
    }
    
    .footer-countries {
        grid-template-columns: 1fr;
    }
    
    .faq-article {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .arrow {
        align-self: flex-end;
    }
}