/**
 * BC Audit Contact Form Styles
 * Replicates the React Contact page design
 */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

/* Base Variables - Matching React component colors */
:root {
    --bc-contact-bg: hsl(240, 15%, 6%);
    --bc-contact-foreground: hsl(210, 40%, 98%);
    --bc-contact-card: hsl(240, 15%, 9%);
    --bc-contact-card-foreground: hsl(210, 40%, 98%);
    --bc-contact-primary: hsl(300, 76%, 60%);
    --bc-contact-primary-foreground: hsl(240, 15%, 6%);
    --bc-contact-muted: hsl(240, 20%, 12%);
    --bc-contact-muted-foreground: hsl(215, 20%, 65%);
    --bc-contact-accent: hsl(175, 100%, 50%);
    --bc-contact-accent-foreground: hsl(240, 15%, 6%);
    --bc-contact-border: hsl(240, 20%, 18%);
    --bc-contact-input: hsl(240, 20%, 18%);
    --bc-contact-ring: hsl(300, 76%, 60%);
    
    /* Gradients */
    --bc-gradient-primary: linear-gradient(135deg, hsl(300, 76%, 60%) 0%, hsl(270, 76%, 60%) 50%, hsl(175, 100%, 50%) 100%);
    --bc-gradient-text: linear-gradient(90deg, hsl(300, 76%, 65%) 0%, hsl(270, 76%, 60%) 50%, hsl(175, 100%, 55%) 100%);
    --bc-gradient-card: linear-gradient(135deg, hsl(240, 20%, 12%) 0%, hsl(260, 20%, 8%) 100%);
    
    /* Shadows */
    --bc-shadow-button: 0 10px 30px -10px hsl(300, 76%, 60% / 0.5);
    --bc-shadow-glow: 0 0 60px hsl(300, 76%, 60% / 0.3);
}

/* Base Styles */
.bc-contact-page {
    min-height: 100vh;
    background: var(--bc-contact-bg);
    color: var(--bc-contact-foreground);
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    padding-top: 120px;
    padding-bottom: 180px;
}

/* Header Styles */
.bc-contact-header-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: hsl(240, 20%, 14% / 0.5);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid hsl(240, 20%, 18% / 0.5);
}

.bc-contact-header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.bc-contact-header-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.bc-contact-header-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bc-contact-header-brand a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.bc-contact-header-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.bc-contact-brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: 'DM Sans', sans-serif;
}

.bc-contact-brand-sales {
    color: hsl(300, 76%, 65%);
}

.bc-contact-nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.bc-contact-nav-link {
    color: hsl(215, 20%, 65%);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1rem;
    position: relative;
    font-weight: 500;
    font-family: 'DM Sans', sans-serif;
}

.bc-contact-nav-link:hover {
    color: hsl(210, 40%, 98%);
}

.bc-contact-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    box-sizing: border-box;
}

.bc-contact-btn-login {
    background: transparent;
    color: hsl(210, 40%, 98%);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    border: 1px solid hsl(240, 20%, 18%);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-family: 'DM Sans', sans-serif;
    box-sizing: border-box;
}

.bc-contact-btn-login:hover {
    background: hsl(240, 20%, 14%);
    border-color: hsl(300, 76%, 60%);
    color: hsl(210, 40%, 98%);
}

.bc-contact-btn-cta {
    background: linear-gradient(135deg, hsl(300, 76%, 60%) 0%, hsl(270, 76%, 60%) 50%, hsl(175, 100%, 50%) 100%);
    color: hsl(240, 15%, 6%);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px -10px hsl(300, 76%, 60% / 0.5);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'DM Sans', sans-serif;
    box-sizing: border-box;
}

.bc-contact-btn-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 0 60px hsl(300, 76%, 60% / 0.3);
    color: hsl(240, 15%, 6%);
}

@media (max-width: 768px) {
    .bc-contact-nav-links {
        display: none;
    }
    
    .bc-contact-header-actions {
        gap: 8px;
    }
    
    .bc-contact-btn-login,
    .bc-contact-btn-cta {
        padding: 10px 16px;
        font-size: 0.875rem;
    }
}

.bc-contact-page * {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.bc-contact-main {
    width: 100%;
}

.bc-contact-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header Section */
.bc-contact-header {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 64px;
    animation: slide-up 0.6s ease-out forwards;
}

.bc-contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 9999px;
    background-color: rgba(231, 75, 231, 0.1);
    border: 1px solid rgba(231, 75, 231, 0.2);
    margin-bottom: 24px;
    font-size: 0.875rem;
    color: rgb(248, 250, 252);
    font-family: 'DM Sans', sans-serif;
    height: 34px;
    line-height: 24px;
    box-sizing: border-box;
}

.bc-icon-message {
    width: 16px;
    height: 16px;
    color: var(--bc-contact-primary);
}

.bc-contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
    color: hsl(210, 40%, 98%);
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

@media (min-width: 768px) {
    .bc-contact-title {
        font-size: 3rem;
    }
}

.bc-gradient-text {
    background: var(--bc-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bc-contact-subtitle {
    font-size: 1.125rem;
    color: hsl(215, 20%, 75%);
    line-height: 1.6;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Grid Layout */
.bc-contact-grid {
    display: grid;
    gap: 48px;
    max-width: 80rem;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .bc-contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Contact Form */
.bc-contact-form-wrapper {
    animation: slide-up 0.6s ease-out forwards;
    animation-delay: 100ms;
}

.bc-contact-card {
    padding: 32px;
    border-radius: 16px;
    background: var(--bc-contact-card);
    border: 1px solid var(--bc-contact-border);
}

.bc-contact-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: hsl(210, 40%, 98%);
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.bc-contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bc-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bc-form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(210, 40%, 98%);
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.bc-form-input,
.bc-form-textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--bc-contact-input);
    background: #ffffff;
    color: #1a1a1a;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.bc-form-input:focus,
.bc-form-textarea:focus {
    outline: none;
    border-color: var(--bc-contact-ring);
    box-shadow: 0 0 0 2px hsl(300, 76%, 60% / 0.2);
}

.bc-form-input::placeholder,
.bc-form-textarea::placeholder {
    color: #6c757d;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.bc-form-textarea {
    min-height: 150px;
    resize: vertical;
    font-family: inherit;
}

/* Submit Button */
.bc-contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 56px;
    padding: 0 32px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--bc-gradient-primary);
    color: #ffffff;
    box-shadow: var(--bc-shadow-button);
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.bc-contact-submit:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: var(--bc-shadow-glow);
}

.bc-contact-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.bc-icon-send {
    width: 16px;
    height: 16px;
}

.bc-submit-loading {
    display: none;
}

.bc-contact-submit:disabled .bc-submit-text {
    display: none;
}

.bc-contact-submit:disabled .bc-submit-loading {
    display: inline;
}

/* Messages */
.bc-contact-message {
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-weight: 500;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.bc-contact-success {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.bc-contact-error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Contact Options */
.bc-contact-options {
    display: flex;
    flex-direction: column;
    gap: 24px;
    animation: slide-up 0.6s ease-out forwards;
    animation-delay: 200ms;
}

.bc-contact-options-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: hsl(210, 40%, 98%);
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.bc-contact-option {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    border-radius: 16px;
    background: var(--bc-contact-card);
    border: 1px solid var(--bc-contact-border);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.bc-contact-option:hover {
    border-color: hsl(300, 76%, 60% / 0.5);
}

.bc-contact-option-icon {
    padding: 12px;
    border-radius: 12px;
    background: hsl(300, 76%, 60% / 0.1);
    color: var(--bc-contact-primary);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.bc-contact-option:hover .bc-contact-option-icon {
    background: var(--bc-contact-primary);
    color: var(--bc-contact-primary-foreground);
}

.bc-contact-option-content {
    flex: 1;
}

.bc-contact-option-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    transition: color 0.3s ease;
    color: hsl(210, 40%, 98%);
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.bc-contact-option:hover .bc-contact-option-title {
    color: var(--bc-contact-primary);
}

.bc-contact-option-desc {
    font-size: 0.9375rem;
    color: hsl(215, 20%, 75%);
    margin-bottom: 8px;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.bc-contact-option-value {
    color: var(--bc-contact-accent);
    font-weight: 500;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Info Card */
.bc-contact-info-card {
    padding: 24px;
    border-radius: 16px;
    background: var(--bc-gradient-card);
    border: 1px solid var(--bc-contact-border);
}

.bc-contact-info-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: hsl(210, 40%, 98%);
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.bc-contact-info-text {
    font-size: 0.9375rem;
    color: hsl(215, 20%, 75%);
    line-height: 1.6;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.bc-accent-text {
    color: var(--bc-contact-accent);
    font-weight: 600;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Animations */
@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .bc-contact-page {
        padding: 40px 0 60px;
    }
    
    .bc-contact-container {
        padding: 0 16px;
    }
    
    .bc-contact-header {
        margin-bottom: 48px;
    }
    
    .bc-contact-title {
        font-size: 2rem;
    }
    
    .bc-contact-card {
        padding: 24px;
    }
    
    .bc-contact-grid {
        gap: 32px;
    }
}


