/* ===== Contact Us Page Styles ===== */

/* Active nav link */
.nav-active {
    color: var(--text) !important;
}

.nav-active::after {
    width: 100% !important;
}

/* Contact Hero */
.contact-hero {
    padding: 140px 24px 60px;
    text-align: center;
    position: relative;
}

.contact-hero-content {
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.contact-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.contact-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* Contact Section */
.contact-section {
    padding: 40px 24px 100px;
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form-column {
    position: sticky;
    top: 100px;
}

/* Contact Cards */
.contact-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(99, 102, 241, 0.3), 
        rgba(236, 72, 153, 0.3), 
        transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contact-card:hover {
    transform: translateY(-2px);
    border-color: rgba(99, 102, 241, 0.3);
    background: rgba(20, 20, 28, 0.6);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.1);
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 12px;
    margin-bottom: 18px;
    color: var(--primary);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-card:hover .contact-card-icon {
    transform: scale(1.05) rotate(-3deg);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(139, 92, 246, 0.2));
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 0 24px rgba(99, 102, 241, 0.25);
}

.contact-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
    color: var(--text);
}

.contact-card-label {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 6px;
    margin-top: 12px;
}

.contact-card-label:first-of-type {
    margin-top: 0;
}

.contact-card-hint {
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.5;
    margin-top: 12px;
    margin-bottom: 0;
}

/* Email Links */
.contact-email {
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    word-break: break-all;
    cursor: none;
}

@media (max-width: 768px) {
    .contact-email { cursor: pointer; }
}

.contact-email:hover {
    color: var(--secondary);
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

/* Support Hours */
.contact-hours {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-hours li {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-hours li:hover {
    background: rgba(99, 102, 241, 0.05);
    border-color: rgba(99, 102, 241, 0.15);
}

.contact-hours li span {
    color: var(--text);
    font-weight: 600;
    margin-right: 8px;
}

/* Subscribe Form */
.subscribe-form {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.subscribe-input {
    flex: 1;
    min-width: 0;
}

.btn-subscribe {
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: 1px solid transparent;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .btn-subscribe { cursor: pointer; }
}

.btn-subscribe:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.btn-subscribe:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Contact Form */
.contact-form-card {
    padding: 32px;
}

.contact-form-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    color: var(--text);
}

.contact-form-card .contact-card-label {
    margin-bottom: 24px;
    margin-top: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.01em;
}

.required {
    color: var(--primary);
    font-weight: 700;
}

/* Inputs */
.contact-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(5, 5, 7, 0.5);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
    cursor: none;
}

@media (max-width: 768px) {
    .contact-input { cursor: text; }
}

.contact-input:hover {
    border-color: var(--border-hover);
}

.contact-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(5, 5, 7, 0.8);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.contact-input::placeholder {
    color: var(--text-muted);
}

.contact-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
    font-family: inherit;
}

/* Send Message Button */
.btn-send-message {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--primary);
    border: 1px solid transparent;
    border-radius: 12px;
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    margin-top: 8px;
    width: fit-content;
}

@media (max-width: 768px) {
    .btn-send-message { cursor: pointer; width: 100%; }
}

.btn-send-message::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-send-message:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
}

.btn-send-message:hover::before {
    opacity: 1;
}

.btn-send-message:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-send-message svg {
    transition: transform 0.3s ease;
}

.btn-send-message:hover:not(:disabled) svg {
    transform: translateX(3px);
}

/* Form Status */
.form-status {
    margin-top: 4px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.5;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.form-status.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.form-status.loading {
    display: block;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: var(--primary);
}

/* Responsive */
@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-form-column {
        position: static;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 120px 24px 40px;
    }
    .contact-section {
        padding: 20px 24px 80px;
    }
    .contact-card {
        padding: 24px;
    }
    .contact-form-card {
        padding: 24px;
    }
    .subscribe-form {
        flex-direction: column;
    }
    .btn-subscribe {
        width: 100%;
    }
}