:root {
    --primary-color: #ed1c24;
    --secondary-color: #2c3e50;
    --accent-color: #667eea;
    --text-color: #2c3e50;
    --text-light: #64748b;
    --background-color: #f8f9fa;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --shadow: 0 8px 24px rgba(0,0,0,0.1);
    --shadow-light: 0 2px 8px rgba(0,0,0,0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
}

.support-container {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--white);
    box-shadow: var(--shadow);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.support-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #c41820 100%);
    color: white;
    padding: 40px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.support-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.header-content {
    position: relative;
    z-index: 1;
}

.header-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.support-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.company-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    opacity: 0.95;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.header-subtitle {
    font-size: 16px;
    opacity: 0.9;
    font-weight: 300;
}

/* Navigation Tabs */
.support-nav {
    display: flex;
    background: var(--white);
    border-bottom: 2px solid var(--border-color);
    padding: 0 20px;
    overflow-x: auto;
    gap: 5px;
}

.nav-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 20px 25px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-light);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-tab:hover {
    color: var(--primary-color);
    background: rgba(237, 28, 36, 0.05);
}

.nav-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background: rgba(237, 28, 36, 0.05);
}

.nav-tab i {
    font-size: 20px;
}

/* Content */
.support-content {
    flex: 1;
    padding: 60px;
}

.content-section {
    display: none;
}

.content-section.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.section-header h2 i {
    color: var(--primary-color);
}

.section-header p {
    color: var(--text-light);
    font-size: 16px;
}

/* Guide Steps */
.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.step-card {
    display: flex;
    gap: 25px;
    background: var(--background-color);
    border-radius: 15px;
    padding: 30px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.step-card:hover {
    box-shadow: var(--shadow-light);
    transform: translateX(5px);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
}

.step-content p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.step-content ul {
    margin-left: 20px;
    color: var(--text-light);
}

.step-content ul li {
    margin-bottom: 8px;
}

.step-content ul li strong {
    color: var(--text-color);
}

/* Guides Grid */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.guide-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
}

.guide-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.guide-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #c41820 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.guide-icon i {
    font-size: 30px;
    color: white;
}

.guide-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 20px;
}

.guide-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin-top: 20px;
    margin-bottom: 10px;
}

.guide-content ol,
.guide-content ul {
    margin-left: 20px;
    color: var(--text-light);
    line-height: 1.8;
}

.guide-content ol li,
.guide-content ul li {
    margin-bottom: 8px;
}

.guide-content ol li strong,
.guide-content ul li strong {
    color: var(--text-color);
}

/* FAQ */
.faq-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

.faq-category-btn {
    padding: 10px 20px;
    border: 2px solid var(--border-color);
    background: var(--white);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.faq-category-btn:hover,
.faq-category-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--background-color);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-light);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(237, 28, 36, 0.05);
}

.faq-question h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.faq-question i {
    font-size: 24px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 20px 20px 20px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

.faq-answer strong {
    color: var(--text-color);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.contact-info-card {
    background: var(--background-color);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #c41820 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-icon i {
    font-size: 30px;
    color: white;
}

.contact-info-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
}

.contact-info-card p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 14px;
}

.contact-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #c41820;
    text-decoration: underline;
}

.contact-note {
    margin-top: 40px;
}

.note-box {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
    border-left: 4px solid #ffc107;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.note-box i {
    font-size: 24px;
    color: #856404;
    flex-shrink: 0;
}

.note-box h4 {
    color: #856404;
    margin-bottom: 8px;
    font-size: 18px;
}

.note-box p {
    color: #856404;
    margin: 0;
    line-height: 1.6;
}

/* Footer */
.support-footer {
    background: var(--background-color);
    padding: 30px 60px;
    text-align: center;
    border-top: 2px solid var(--border-color);
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.back-button:hover {
    background: #c41820;
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.footer-text {
    color: var(--text-light);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .support-header {
        padding: 30px 20px;
    }

    .support-header h1 {
        font-size: 28px;
    }

    .support-content {
        padding: 30px 20px;
    }

    .support-nav {
        padding: 0 10px;
    }

    .nav-tab {
        padding: 15px 15px;
        font-size: 14px;
    }

    .nav-tab span {
        display: none;
    }

    .guides-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

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

    .step-number {
        margin: 0 auto;
    }

    .support-footer {
        padding: 20px;
    }
}
