/* Contact Page Variables - Dark Premium Theme */
:root {
    --contact-bg: var(--bg-main);
    --contact-card-bg: var(--card-bg);
    --contact-text-main: var(--text-primary);
    --contact-text-muted: var(--text-secondary);
    --contact-border: var(--border-glass);
    --contact-primary: var(--brand-green);
    --contact-primary-gradient: var(--gradient-primary);
    --contact-shadow: var(--shadow-soft);
    --contact-glow: var(--shadow-glow);
}

/* Page Layout */
body {
    background-color: var(--contact-bg);
    color: var(--contact-text-main);
    background-image: radial-gradient(circle at 50% 0%, #0b1220 0%, #020205 100%);
    min-height: 100vh;
}

.help-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
}

/* Header Section */
.help-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeIn 0.8s ease-out;
}

.help-header h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--contact-text-main);
    letter-spacing: -0.02em;
}

.help-header .subtitle {
    font-size: 1.1rem;
    color: var(--contact-text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Content Grid */
.help-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Cards Common Styles */
.help-card {
    background: var(--contact-card-bg);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--contact-shadow);
    border: 1px solid var(--contact-border);
    backdrop-filter: blur(20px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.help-card:hover {
    border-color: rgba(34, 197, 94, 0.3);
    transform: translateY(-2px);
}

/* Contact Form */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--contact-text-main);
    font-size: 0.95rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--contact-border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--contact-text-main);
    background: rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--contact-primary);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

.form-select option {
    background: #1a1a2e;
    color: white;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--contact-primary-gradient);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.5);
}

/* Right Column Info */
.info-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--contact-text-main);
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    border-radius: 16px;
    transition: background 0.3s ease;
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.info-icon {
    width: 48px;
    height: 48px;
    background: var(--brand-green-soft);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--contact-primary);
    flex-shrink: 0;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.info-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--contact-text-main);
}

.info-content p {
    color: var(--contact-text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.info-content .highlight {
    color: var(--contact-primary);
    font-weight: 500;
    font-size: 0.85rem;
    display: block;
    margin-top: 0.3rem;
}

/* FAQ Box */
.faq-box {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.05) 100%);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 20px;
    padding: 2rem;
    margin-top: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.faq-box h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.faq-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #86efac;
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.3s ease;
}

.faq-link:hover {
    gap: 0.8rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design System */

/* Tablet & Mobile (max-width: 768px) */
@media (max-width: 768px) {

    /* 1. Page Spacing & Layout */
    .help-container {
        padding: 6rem 1.5rem 3rem;
        /* Reduced top padding */
    }

    /* 2. Grid -> Stack */
    .help-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* 3. Header Section */
    .help-header {
        margin-bottom: 2.5rem;
    }

    .help-header h1 {
        font-size: 2.25rem;
        line-height: 1.2;
    }

    .help-header .subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    /* 4. Cards & Forms */
    .help-card {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .form-input,
    .form-select,
    .form-textarea {
        padding: 0.875rem;
        /* Slightly tighter but still touchable */
        font-size: 16px;
        /* Prevents iOS zoom on focus */
    }

    .form-textarea {
        min-height: 120px;
    }

    /* 5. Buttons */
    .submit-btn {
        padding: 1rem;
        font-size: 1rem;
        margin-top: 0.5rem;
    }

    /* 6. Right Column Info */
    .info-card-title {
        font-size: 1.35rem;
        margin-bottom: 1.5rem;
    }

    .info-item {
        padding: 0.875rem;
        gap: 0.875rem;
        margin-bottom: 1rem;
    }

    .info-icon {
        width: 42px;
        height: 42px;
    }

    /* 7. Toast Notification (Mobile) */
    .toast-notification {
        bottom: 1.5rem;
        right: 1rem;
        left: 1rem;
        min-width: auto;
        padding: 1rem;
        transform: translateY(150%);
        /* Start further down */
    }

    .toast-notification.show {
        transform: translateY(0);
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .help-container {
        padding: 5rem 2rem 1rem ;
    }

    .help-header h1 {
        font-size: 1.85rem;
    }

    .help-card {
        padding: 1.25rem;
    }

    .info-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .info-icon {
        margin-bottom: 0.5rem;
    }

    .faq-box {
        padding: 1.5rem;
    }

    .toast-content h4 {
        font-size: 0.95rem;
    }

    .toast-content p {
        font-size: 0.8rem;
    }
}