:root {
    --primary-color: #1a73e8;
    --primary-dark: #1557b0;
    --primary-light: #60a5fa;
    --primary-gradient: linear-gradient(135deg, #1a73e8, #3b82f6);
    --text-color: #1f2937;
    --text-light: #6b7280;
    --background: #ffffff;
    --background-alt: #f8faff;
    --border: #e5e7eb;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
    --accent: #f59e0b;
    --card-radius: 12px;
    --button-radius: 8px;
}

/* Support Pages Common Styles */
.support-content,
.docs-content,
.faq-content,
.contact-content,
.tutorials-content {
    padding: 80px 0 40px;
    background: var(--background);
}

.support-content h1,
.docs-content h1,
.faq-content h1,
.contact-content h1 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.support-intro,
.faq-intro,
.contact-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--text-light);
    font-size: 1.2rem;
}

/* Support Grid */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.support-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--card-radius);
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(26, 115, 232, 0.1);
    position: relative;
    overflow: hidden;
}

.support-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    opacity: 0.8;
}

.support-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(26, 115, 232, 0.15);
}

.support-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    background: rgba(26, 115, 232, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.support-card:hover i {
    transform: scale(1.1);
    background: rgba(26, 115, 232, 0.15);
}

.support-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 600;
}

.support-card p {
    color: var(--text-light);
    margin-bottom: 1.8rem;
    line-height: 1.6;
}

.support-link {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--primary-gradient);
    color: white;
    text-decoration: none;
    border-radius: var(--button-radius);
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(26, 115, 232, 0.25);
}

.support-link:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(26, 115, 232, 0.35);
}

/* Quick Start Section */
.quick-start {
    margin-bottom: 5rem;
    padding: 3rem 0;
    background-color: var(--background-alt);
    border-radius: var(--card-radius);
    position: relative;
    overflow: hidden;
}

.quick-start h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 1.5rem;
}

.step {
    text-align: center;
    padding: 2.5rem 2rem;
    background: white;
    border-radius: var(--card-radius);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(26, 115, 232, 0.1);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(26, 115, 232, 0.1);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(26, 115, 232, 0.25);
}

.step h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.3rem;
}

.step p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Support Channels */
.support-channels {
    background: white;
    padding: 3.5rem 3rem;
    border-radius: var(--card-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 4rem;
    border: 1px solid rgba(26, 115, 232, 0.1);
    position: relative;
    overflow: hidden;
}

.support-channels::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    opacity: 0.8;
}

.support-channels h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.8rem;
}

.channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.channel {
    text-align: center;
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    transition: transform 0.3s ease;
}

.channel:hover {
    transform: translateY(-3px);
}

.channel i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.channel h3 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.channel p {
    color: var(--text-light);
}

.response-time {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--accent);
}

/* FAQ Section Styles */
.faq-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.faq-header {
    text-align: center;
    margin-bottom: 40px;
}

.faq-header h1 {
    font-size: 2.5rem;
    color: #1a237e;
    margin-bottom: 15px;
}

.faq-header p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.faq-search {
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
}

.faq-search input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.faq-search input:focus {
    border-color: #1a237e;
    box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.1);
    outline: none;
}

.faq-categories {
    max-width: 800px;
    margin: 0 auto;
}

.faq-category {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    padding: 30px;
}

.faq-category h2 {
    color: #1a237e;
    font-size: 1.5rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-question {
    cursor: pointer;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #eff3f9;
}

.faq-question h3 {
    color: #333;
    font-size: 1.1rem;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3::after {
    content: '+';
    font-size: 1.5rem;
    color: #1a237e;
}

.faq-question.active h3::after {
    content: '-';
}

.faq-answer {
    padding: 20px;
    color: #666;
    line-height: 1.6;
    display: none;
}

.faq-question.active + .faq-answer {
    display: block;
}

.faq-contact {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-contact h2 {
    color: #1a237e;
    margin-bottom: 15px;
}

.faq-contact p {
    color: #666;
    margin-bottom: 20px;
}

.faq-contact .contact-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.faq-contact .contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1a237e;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 6px;
    background: #eff3f9;
    transition: all 0.3s ease;
}

.faq-contact .contact-link:hover {
    background: #1a237e;
    color: #fff;
}

/* Contact Form Styles */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 4px 6px var(--shadow);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-form-section {
    max-width: 800px;
    margin: 0 auto 4rem;
    padding: 3rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px var(--shadow);
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: grid;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-size: 1rem;
}

.submit-button {
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-button:hover {
    background: var(--primary-dark);
}

.support-hours {
    margin-top: 4rem;
}

.support-hours h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.hours-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px var(--shadow);
}

.hours-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Contact page chat button styles */
.contact-card .support-chat-button {
    width: 100%;
    padding: 12px;
    border: none;
    background: #007bff;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.contact-card .support-chat-button:hover {
    background: #0056b3;
}

.support-chat-button.floating {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 999;
}

.support-chat-button.floating span {
    display: none;
}

.support-chat-button.floating i {
    font-size: 24px;
}

@media (min-width: 768px) {
    .support-chat-button.floating {
        width: auto;
        height: auto;
        border-radius: 30px;
        padding: 12px 24px;
    }
    
    .support-chat-button.floating span {
        display: inline;
        margin-left: 8px;
    }
    
    .support-chat-button.floating i {
        font-size: 16px;
    }
}

/* Chat Button */
.support-chat-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.support-chat-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.support-chat-button i {
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .support-content,
    .docs-content,
    .faq-content,
    .contact-content,
    .tutorials-content {
        padding: 40px 0 20px;
    }

    .container {
        padding: 0 1rem;
    }

    .logo {
        padding: 1rem;
    }

    .nav .container {
        margin-bottom: 1rem;
    }

    .support-grid,
    .steps-grid,
    .channels-grid {
        grid-template-columns: 1fr;
    }

    .support-channels {
        padding: 1.5rem;
    }

    .contact-form-section {
        padding: 1.5rem;
    }
}

/* Tutorials Section Styles */
.tutorials-section {
    margin: 40px 0;
    padding: 30px;
    background: var(--background-alt);
    border-radius: 8px;
    box-shadow: 0 2px 5px var(--shadow);
}

.tutorials-section h2 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.8rem;
}

.tutorials-section p {
    margin-bottom: 25px;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
}

.featured-tutorials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.featured-tutorial {
    display: flex;
    flex-direction: column;
    background: var(--background);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px var(--shadow);
    transition: transform 0.3s ease;
}

.featured-tutorial:hover {
    transform: translateY(-5px);
}

.tutorial-thumbnail {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.tutorial-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tutorial-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.tutorial-info {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.tutorial-info h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: var(--text-color);
}

.tutorial-info p {
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
    flex-grow: 1;
}

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

.tutorial-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .featured-tutorials {
        grid-template-columns: 1fr;
    }
    
    .tutorial-thumbnail {
        height: 160px;
    }
}

/* Footer Styles */
.site-footer {
    background: var(--background-alt);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--text-color);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-section p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.company-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.company-info i {
    color: var(--primary-color);
    width: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-links i {
    font-size: 0.9rem;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px var(--shadow);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 6px var(--shadow);
}

.social-link.facebook:hover { color: #1877f2; }
.social-link.twitter:hover { color: #1da1f2; }
.social-link.linkedin:hover { color: #0077b5; }
.social-link.instagram:hover { color: #e4405f; }

.app-badges {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.app-badge img {
    height: 40px;
    transition: transform 0.2s ease;
}

.app-badge:hover img {
    transform: scale(1.05);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-bottom-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section {
        text-align: center;
    }

    .company-info p {
        justify-content: center;
    }

    .footer-links a {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .app-badges {
        justify-content: center;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 1rem;
    }
}
