/* ========================================
   FASTCOM QUOTE REQUEST FORM - PURE CSS
   Purple Brand Theme (#9D3294)
   ======================================== */

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #F9FAFB;
    color: #333;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ========================================
   HEADER
   ======================================== */

.quote-header {
    background: linear-gradient(135deg, #9D3294 0%, #B14DA0 100%);
    box-shadow: 0 2px 12px rgba(157, 50, 148, 0.15);
    padding: 2rem 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.quote-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.875rem;
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.quote-brand .brand-icon {
    width: 50px;
    height: 50px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
    flex-shrink: 0;
}

.quote-brand span {
    color: white;
    font-weight: 700;
}

.quote-brand .brand-by {
    font-weight: 500;
    font-size: 0.85em;
    opacity: 0.9;
    margin: 0 0.15rem;
}

.quote-brand .brand-accent {
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.quote-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* ========================================
   MAIN CONTENT
   ======================================== */

.quote-main {
    flex: 1;
    padding: 3rem 0;
}

.quote-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* ========================================
   ALERT / SUCCESS MESSAGE
   ======================================== */

.alert {
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: slideDown 0.4s ease-out;
}

.alert-success {
    background-color: #D1FAE5;
    border: 1px solid #10B981;
    color: #065F46;
}

.alert svg {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   QUOTE CARD
   ======================================== */

.quote-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.quote-card-header {
    background: linear-gradient(135deg, #F9FAFB 0%, #F3F4F6 100%);
    padding: 2rem;
    border-bottom: 1px solid #E5E7EB;
}

.quote-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.quote-description {
    font-size: 1rem;
    color: #6B7280;
    line-height: 1.6;
}

/* ========================================
   FORM STYLES
   ======================================== */

.quote-form {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.required {
    color: #DC2626;
    font-weight: 700;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    color: #111827;
    background-color: white;
    border: 1.5px solid #D1D5DB;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: #9D3294;
    box-shadow: 0 0 0 3px rgba(157, 50, 148, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #9CA3AF;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5rem 1.5rem;
    padding-right: 2.5rem;
}

.input-error {
    border-color: #DC2626;
}

.input-error:focus {
    border-color: #DC2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.error-message {
    font-size: 0.875rem;
    color: #DC2626;
    font-weight: 500;
}

/* ========================================
   FORM ACTIONS
   ======================================== */

.form-actions {
    margin-top: 0.5rem;
}

.btn-submit {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #9D3294 0%, #B14DA0 100%);
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(157, 50, 148, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(157, 50, 148, 0.4);
}

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

.btn-submit svg {
    width: 1.25rem;
    height: 1.25rem;
}

.form-notice {
    text-align: center;
    font-size: 0.875rem;
    color: #6B7280;
    margin-top: 0.5rem;
}

/* ========================================
   INFO CARD
   ======================================== */

.info-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.info-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.25rem;
}

.info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #374151;
    font-size: 0.9375rem;
}

.info-list li svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #9D3294;
    flex-shrink: 0;
}

/* ========================================
   FOOTER
   ======================================== */

.quote-footer {
    background-color: #F3F4F6;
    padding: 1.5rem 0;
    text-align: center;
    border-top: 1px solid #E5E7EB;
    margin-top: auto;
}

.quote-footer p {
    color: #6B7280;
    font-size: 0.875rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .quote-header {
        padding: 1.5rem 0;
    }

    .quote-brand {
        font-size: 2rem;
    }

    .quote-subtitle {
        font-size: 1rem;
    }

    .quote-main {
        padding: 2rem 0;
    }

    .quote-container {
        padding: 0 1rem;
    }

    .quote-card-header {
        padding: 1.5rem;
    }

    .quote-title {
        font-size: 1.5rem;
    }

    .quote-form {
        padding: 1.5rem;
    }

    .info-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .quote-brand {
        font-size: 1.75rem;
    }

    .quote-title {
        font-size: 1.25rem;
    }

    .quote-form {
        padding: 1.25rem;
        gap: 1.25rem;
    }

    .form-input,
    .form-textarea,
    .form-select {
        padding: 0.625rem 0.875rem;
        font-size: 0.9375rem;
    }

    .btn-submit {
        padding: 0.875rem 1.25rem;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quote-card,
.info-card {
    animation: fadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.quote-card {
    animation-delay: 0.1s;
}

.info-card {
    animation-delay: 0.2s;
}
