/* Form Stylesheet - Complimentary Report Request - Ventur Design System */

/* CSS Variables - Aligned with Ventur Design System */
:root {
    /* Primary Neon Colors */
    --neon-cyan-light: #60eafb;
    --neon-blue-mid: #53b0f7;
    --neon-teal: #00b8cc;
    --neon-blue-dark: #0077bb;
    --accent-blue: #1D9BF0;
    --accent-blue-hover: #0078d4;
    
    /* Contrast Colors */
    --red-primary: #e63946;
    --pink-accent: #b83280;
    --red-light: #ff9a9a;
    --red-mid: #ff8787;
    
    /* Neutral Colors - Dark Theme */
    --bg-primary: #000000;
    --bg-dark: #0a0a0a;
    --bg-panel: #121212;
    --bg-card: #1a1a1a;
    --bg-card-hover: #2a2a2a;
    --bg-glass-dark: rgba(12, 16, 26, 0.85);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.95);
    --text-muted: rgba(255, 255, 255, 0.72);
    --text-meta: #cccccc;
    --text-subtle: #64748b;
    
    /* Borders */
    --border-default: rgba(255, 255, 255, 0.12);
    --border-hover: rgba(255, 255, 255, 0.18);
    --border-focus: rgba(255, 255, 255, 0.25);
    
    /* Status Colors */
    --color-success: #4ecdc4;
    --color-error: #ff6b6b;
    --color-info: #1D9BF0;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 12px 32px rgba(0, 0, 0, 0.2);
    --shadow-glow-cyan: 0 0 20px rgba(96, 234, 251, 0.3);
    --shadow-glow-cyan-strong: 0 0 40px rgba(96, 234, 251, 0.6);
    --shadow-glow-blue: 0 0 40px rgba(29, 155, 240, 0.3);
    --shadow-inset-light: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    --shadow-inset-medium: inset 0 1px 0 rgba(255, 255, 255, 0.15);
    
    /* Spacing */
    --space-xs: 8px;
    --space-sm: 12px;
    --space-md: 16px;
    --space-lg: 20px;
    --space-xl: 24px;
    --space-2xl: 32px;
    --space-3xl: 40px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 10px;
    --radius-lg: 12px;
    --radius-xl: 14px;
    --radius-2xl: 16px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-3xl) var(--space-md);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.form-header {
    margin-bottom: var(--space-2xl);
    text-align: center;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin-bottom: var(--space-xl);
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo-link img {
    height: 40px;
    width: auto;
    filter: brightness(1.1);
}

/* Form Introduction */
.form-intro {
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 
        var(--shadow-inset-light),
        var(--shadow-lg);
    margin-bottom: var(--space-2xl);
}

.form-intro h1 {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #60eafb 0%, #53b0f7 25%, #00b8cc 50%, #0077bb 75%, #60eafb 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--space-lg);
    line-height: 1.2;
}

.benefits {
    margin-bottom: var(--space-lg);
}

.benefit-item {
    display: flex;
    align-items: center; /* center icons with text */
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.benefit-item:last-child {
    margin-bottom: 0;
}

.benefit-item .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    line-height: 1;
}

.benefit-item .icon svg {
    width: 24px;
    height: 24px;
    display: block;
}

.benefit-item p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

.required-note {
    color: var(--text-meta);
    font-size: 0.875rem;
    font-style: italic;
    margin-top: var(--space-lg);
}

/* Form Container */
.report-form {
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 
        var(--shadow-inset-light),
        var(--shadow-lg);
}

/* Form Groups */
.form-group {
    margin-bottom: var(--space-xl);
}

.form-group:last-of-type {
    margin-bottom: var(--space-2xl);
}

/* Labels */
label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    font-size: 1rem;
    letter-spacing: 0.3px;
}

.required {
    color: var(--red-primary);
    margin-left: 0.25rem;
}

/* Field Descriptions */
.field-description {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: var(--space-sm);
    line-height: 1.5;
}

/* Input Fields */
input[type="text"],
input[type="email"],
input[type="url"],
textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-primary);
    background-color: rgba(26, 26, 26, 0.5);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    outline: none;
    backdrop-filter: blur(8px);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
textarea:focus {
    background-color: rgba(26, 26, 26, 0.8);
    border-color: var(--accent-blue);
    box-shadow: 
        var(--shadow-inset-medium),
        0 0 0 3px rgba(29, 155, 240, 0.15),
        var(--shadow-glow-blue);
}

input[type="text"].error,
input[type="email"].error,
input[type="url"].error,
textarea.error {
    border-color: var(--red-primary);
}

input[type="text"].error:focus,
input[type="email"].error:focus,
input[type="url"].error:focus,
textarea.error:focus {
    box-shadow: 
        var(--shadow-inset-medium),
        0 0 0 3px rgba(230, 57, 70, 0.15);
}

textarea {
    resize: vertical;
    min-height: 110px;
}

/* Placeholder */
::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Error Messages */
.error-message {
    display: block;
    color: var(--red-primary);
    font-size: 0.875rem;
    margin-top: var(--space-sm);
    min-height: 1.25rem;
}

/* Form Actions */
.form-actions {
    margin-top: var(--space-2xl);
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    background: linear-gradient(135deg, #1D9BF0 0%, #0078d4 100%);
    border: 1px solid rgba(29, 155, 240, 0.3);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        var(--shadow-inset-light),
        var(--shadow-glow-blue),
        var(--shadow-md);
    position: relative;
    overflow: hidden;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-submit:hover:not(:disabled) {
    background: linear-gradient(135deg, #0078d4 0%, #0066b8 100%);
    box-shadow: 
        var(--shadow-inset-medium),
        var(--shadow-glow-blue),
        var(--shadow-lg);
    transform: translateY(-2px);
    border-color: rgba(29, 155, 240, 0.5);
}

.btn-submit:active:not(:disabled) {
    transform: translateY(0);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.button-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

/* Spinner */
.spinner {
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--text-primary);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Form Messages */
.form-message {
    margin-top: var(--space-lg);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    font-size: 0.95rem;
    line-height: 1.5;
    border: 1px solid;
}

.form-message.success {
    background-color: rgba(78, 205, 196, 0.15);
    color: #4ecdc4;
    border-color: rgba(78, 205, 196, 0.3);
}

.form-message.error {
    background-color: rgba(255, 107, 107, 0.15);
    color: #ff6b6b;
    border-color: rgba(255, 107, 107, 0.3);
}

/* Form Footer */
.form-footer {
    margin-top: var(--space-2xl);
    padding: var(--space-lg);
    background-color: transparent;
    border-radius: var(--radius-lg);
    text-align: center;
}

.form-footer p {
    color: var(--text-meta);
    font-size: 0.875rem;
    line-height: 1.6;
}

.form-footer a {
    color: var(--neon-cyan-light);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.form-footer a:hover {
    color: var(--accent-blue);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: var(--space-2xl) var(--space-md);
    }

    .form-intro,
    .report-form {
        padding: var(--space-xl);
    }

    .form-intro h1 {
        font-size: 1.5rem;
    }

    .benefit-item {
        gap: var(--space-sm);
    }

    .benefit-item .icon {
        font-size: 1.25rem;
    }

    label {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: var(--space-lg) var(--space-sm);
    }

    .form-intro,
    .report-form {
        padding: var(--space-lg);
    }

    .form-intro h1 {
        font-size: 1.25rem;
    }

    .btn-submit {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }

    .form-group {
        margin-bottom: var(--space-lg);
    }

    label {
        font-size: 0.9rem;
    }

    .field-description {
        font-size: 0.8rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus visible for keyboard navigation */
*:focus-visible {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}
