/* ===========================================
   Contact Page Styles
   =========================================== */

.contact-page {
    padding-top: 80px;
    min-height: 100vh;
}

/* Contact Hero */
.contact-hero {
    position: relative;
    padding: 80px 0 60px;
    text-align: center;
    overflow: hidden;
}

.contact-hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center top, rgba(42, 209, 212, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(42, 209, 212, 0.1);
    border: 1px solid rgba(42, 209, 212, 0.2);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--teal);
    margin-bottom: 24px;
}

.contact-badge svg {
    width: 16px;
    height: 16px;
}

.contact-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.contact-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    padding: 60px 0 100px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Contact Form Section */
.contact-form-section {
    position: relative;
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    color: var(--text);
    transition: all 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(42, 209, 212, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Custom Select */
.select-wrapper {
    position: relative;
}

.select-wrapper select {
    appearance: none;
    cursor: pointer;
    padding-right: 44px;
}

.select-wrapper svg {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    pointer-events: none;
}

.select-wrapper select option {
    background: var(--bg);
    color: var(--text);
}

/* Submit Button */
.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--teal) 0%, #1fb8bb 100%);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--bg);
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(42, 209, 212, 0.4);
}

.submit-btn svg {
    width: 18px;
    height: 18px;
}

/* Form Success */
.form-success {
    display: none;
    text-align: center;
    padding: 60px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: rgba(34, 197, 94, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-icon svg {
    width: 40px;
    height: 40px;
    color: #22C55E;
}

.form-success h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.form-success p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.reset-btn {
    padding: 12px 24px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s ease;
}

.reset-btn:hover {
    border-color: var(--teal);
    color: var(--teal);
}

/* Contact Methods Below Form */
.contact-methods-below-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

/* Contact Info Section */
.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: rgba(42, 209, 212, 0.3);
    transform: translateY(-4px);
}

.info-card.feature-card {
    background: linear-gradient(135deg, rgba(42, 209, 212, 0.08) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-color: rgba(42, 209, 212, 0.2);
}

.info-icon {
    width: 48px;
    height: 48px;
    background: rgba(42, 209, 212, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.info-icon svg {
    width: 24px;
    height: 24px;
    color: var(--teal);
}

.info-icon.bug {
    background: rgba(239, 68, 68, 0.15);
}

.info-icon.bug svg {
    color: #EF4444;
}

.info-icon.support {
    background: rgba(139, 92, 246, 0.15);
}

.info-icon.support svg {
    color: var(--purple);
}

.info-icon.email-icon {
    background: rgba(59, 130, 246, 0.15);
}

.info-icon.email-icon svg {
    color: #3B82F6;
}

.info-icon.chat-icon {
    background: rgba(34, 197, 94, 0.15);
}

.info-icon.chat-icon svg {
    color: #22C55E;
}

.info-icon.location-icon {
    background: rgba(249, 115, 22, 0.15);
}

.info-icon.location-icon svg {
    color: #F97316;
}

.info-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.info-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.info-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--teal);
    text-decoration: none;
    transition: gap 0.2s ease;
}

.info-link:hover {
    gap: 12px;
}

.info-link svg {
    width: 16px;
    height: 16px;
}

/* Contact Socials */
.contact-socials {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
}

.contact-socials h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.social-links-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.social-link:hover {
    border-color: var(--teal);
    color: var(--teal);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

/* Footer active link */
.footer-links a.active {
    color: var(--teal);
}

/* Responsive */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info-section {
        order: -1;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 60px 0 40px;
    }

    .contact-grid {
        padding: 40px 0 80px;
    }

    .contact-form {
        padding: 28px;
    }

    .contact-subtitle {
        font-size: 16px;
    }
}


@media (max-width: 480px) {
    .contact-title {
        font-size: 28px;
    }

    .contact-form {
        padding: 24px;
        border-radius: 20px;
    }

    .info-card {
        padding: 24px;
    }

    .social-links-row {
        flex-direction: column;
    }

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