/* ══════════════════════════════════════════════════════════════════════
   CONTACT PAGE - WORLD CLASS SAAS STYLING
   ══════════════════════════════════════════════════════════════════════ */

.contact-page-root {
    position: relative;
    overflow: hidden;
}

.contact-hero-section {
    position: relative;
    padding: 130px 0 60px;
    background: radial-gradient(circle at 50% 15%, rgba(99, 102, 241, 0.2) 0%, rgba(11, 15, 25, 0.98) 75%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
    overflow: hidden;
}

.contact-hero-glow {
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 850px;
    height: 480px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, rgba(59, 130, 246, 0.1) 50%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.contact-info-box {
    background: linear-gradient(145deg, rgba(17, 24, 39, 0.8) 0%, rgba(15, 23, 42, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 36px 30px;
    backdrop-filter: blur(16px);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.contact-info-item:hover {
    background: rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateX(6px);
}

.contact-info-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #818cf8;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-form-card {
    background: linear-gradient(145deg, rgba(17, 24, 39, 0.85) 0%, rgba(15, 23, 42, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px 36px;
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.5);
}

.type-tab-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
}

.type-tab-btn {
    appearance: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    padding: 10px 22px;
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #94a3b8;
}

.type-tab-btn:hover {
    color: #ffffff;
    border-color: rgba(99, 102, 241, 0.4);
}

.type-tab-btn.active {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: #ffffff;
    border-color: #818cf8;
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.4);
}

.form-input-contact {
    width: 100%;
    background: rgba(8, 12, 22, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: #ffffff;
    padding: 13px 18px;
    font-size: 0.94rem;
    outline: none;
    transition: all 0.25s ease;
}

.form-input-contact:focus {
    background: rgba(15, 23, 42, 0.95);
    border-color: #818cf8;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}

.form-input-contact::placeholder {
    color: #64748b;
}

/* FAQ Accordion */
.accordion-custom {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.accordion-custom-item {
    background: linear-gradient(145deg, rgba(17, 24, 39, 0.75) 0%, rgba(15, 23, 42, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.25s ease;
}

.accordion-custom-item:hover {
    border-color: rgba(99, 102, 241, 0.35);
}

.accordion-custom-trigger {
    width: 100%;
    background: transparent;
    border: none;
    padding: 20px 24px;
    text-align: left;
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: color 0.2s ease;
}

.accordion-icon-arrow {
    transition: transform 0.3s ease;
    color: #818cf8;
    font-size: 0.9rem;
}

.accordion-custom-item.active .accordion-icon-arrow {
    transform: rotate(180deg);
}

.accordion-custom-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-custom-item.active .accordion-custom-content {
    max-height: 500px;
}

.accordion-custom-body {
    padding: 0 24px 22px;
    color: #94a3b8;
    font-size: 0.92rem;
    line-height: 1.7;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 14px;
}

/* Light theme */
[data-theme="light"] .contact-hero-section {
    background: radial-gradient(circle at 50% 15%, rgba(99, 102, 241, 0.12) 0%, #f8fafc 80%);
}

[data-theme="light"] .contact-info-box,
[data-theme="light"] .contact-form-card,
[data-theme="light"] .accordion-custom-item {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .form-input-contact {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

[data-theme="light"] .accordion-custom-trigger,
[data-theme="light"] .contact-form-card h4,
[data-theme="light"] .contact-info-box h4 {
    color: #0f172a !important;
}

[data-theme="light"] .type-tab-btn {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #475569;
}
