/* Contact Page */
.contact-page {
    min-height: 100vh;
    padding: 8rem 0 5rem;
    background: var(--bg-light);
}

.dark-mode .contact-page {
    background: var(--bg-dark);
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.contact-header p {
    font-size: 1.125rem;
    opacity: 0.7;
    max-width: 42rem;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 72rem;
    margin: 0 auto;
}

.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.dark-mode .contact-info-card {
    background: var(--surface-dark);
    border-color: var(--border-dark);
}

.decorative-blob {
    position: absolute;
    top: -2.5rem;
    right: -2.5rem;
    width: 8rem;
    height: 8rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 9999px;
    filter: blur(48px);
}

.contact-info-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon.blue { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.info-icon.purple { background: rgba(168, 85, 247, 0.1); color: #a855f7; }
.info-icon.green { background: rgba(34, 197, 94, 0.1); color: #22c55e; }

.info-label {
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.6;
    margin-bottom: 0.25rem;
}

.info-value {
    font-weight: 600;
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.info-value:hover {
    color: var(--primary);
}

.social-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.dark-mode .social-section {
    border-top-color: var(--border-dark);
}

.social-label {
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.6;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    padding: 0.5rem;
    border-radius: 0.5rem;
    background: rgba(0, 0, 0, 0.02);
    color: inherit;
    opacity: 0.6;
    transition: all 0.3s;
}

.dark-mode .social-link {
    background: rgba(255, 255, 255, 0.02);
}

.social-link:hover {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    opacity: 1;
}

.support-card {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 1rem;
    padding: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.support-blob {
    position: absolute;
    top: 0;
    right: 0;
    width: 8rem;
    height: 8rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    margin-right: -4rem;
    margin-top: -4rem;
    filter: blur(32px);
}

.support-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 10;
}

.support-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 10;
}

.support-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 0.25rem;
    transition: border-color 0.3s;
}

.support-link:hover {
    border-bottom-color: white;
}

.contact-form-wrapper {
    background: white;
    border-radius: 1rem;
    padding: 2.5rem;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.dark-mode .contact-form-wrapper {
    background: var(--surface-dark);
    border-color: var(--border-dark);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-light);
    font-size: 0.875rem;
    outline: none;
    transition: all 0.3s;
    font-family: inherit;
}

.dark-mode .form-group input,
.dark-mode .form-group select,
.dark-mode .form-group textarea {
    background: rgba(255, 255, 255, 0.02);
    border-color: var(--border-dark);
    color: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: none;
}

.submit-btn {
    width: 100%;
    background: var(--primary);
    color: white;
    font-weight: 700;
    padding: 1rem;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.submit-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.success-message {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 24rem;
}

.success-message.active {
    display: flex;
    animation: fadeIn 0.5s;
}

.success-icon {
    width: 5rem;
    height: 5rem;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #22c55e;
    margin-bottom: 1.5rem;
}

.success-icon svg {
    width: 2.5rem;
    height: 2.5rem;
}

.success-message h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.success-message p {
    opacity: 0.7;
    max-width: 28rem;
    margin-bottom: 2rem;
}

.reset-btn {
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-header h1 {
        font-size: 3rem;
    }
}
