/* BOM2Pic Enhanced Styles - SEO & UX Optimized */

/* Typography - Inter font for modern look */
:root {
    --bs-primary: #0066cc;
    --bs-success: #28a745;
    --bs-warning: #ffc107;
    --bs-danger: #dc3545;
    --font-family-sans-serif: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Global Typography */
body {
    font-family: var(--font-family-sans-serif);
    background: linear-gradient(135deg, #fafbfc 0%, #f8f9fa 100%);
    background-attachment: fixed;
    line-height: 1.6;
    color: #2c3e50;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(0, 102, 204, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(40, 167, 69, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Hero Section */
.hero-section {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 80px 0;
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #2c3e50;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #6c757d;
    line-height: 1.6;
}

/* Process Flow */
.process-flow {
    max-width: 600px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 20px;
}

.process-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.process-arrow {
    font-size: 1.5rem;
    color: #6c757d;
    margin: 0 10px;
}

.hero-cta {
    margin: 40px 0;
}

.trust-indicators {
    color: #6c757d;
    font-size: 0.9rem;
}

.trust-item {
    margin: 0 15px;
}

/* Upload Section */
.upload-container {
    max-width: 600px;
    margin: 0 auto;
}

.upload-area {
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    padding: 60px 40px;
    text-align: center;
    transition: border-color 0.3s ease;
    cursor: pointer;
}

.upload-area:hover {
    border-color: var(--bs-primary);
    background-color: rgba(0, 102, 204, 0.02);
}

.upload-icon {
    font-size: 3rem;
    color: #6c757d;
}

.upload-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 8px;
}

.upload-subtitle {
    color: #6c757d;
    margin-bottom: 8px;
}

.upload-formats {
    color: #adb5bd;
    font-size: 0.9rem;
}

/* How It Works Section */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
}

.how-step {
    padding: 20px;
}

.step-circle {
    width: 80px;
    height: 80px;
    background: #e3f2fd;
    color: var(--bs-primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto;
}

.step-circle-green {
    background: #e8f5e8;
    color: #28a745;
}

.step-circle-success {
    background: #fff3cd;
    color: #e67e22;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
}

.step-description {
    color: #6c757d;
    line-height: 1.6;
}

/* Features Section */
.features-section {
    background: rgba(248, 249, 250, 0.6);
    backdrop-filter: blur(5px);
}

.feature-item {
    padding: 30px 20px;
    height: 100%;
}

.feature-icon {
    font-size: 3rem;
    color: var(--bs-primary);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
}

.feature-description {
    color: #6c757d;
    line-height: 1.6;
}

/* Why Choose Section */
.why-choose-item {
    padding: 30px 20px;
}

.why-choose-icon {
    font-size: 3rem;
    color: #28a745;
}

.why-choose-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
}

.why-choose-description {
    color: #6c757d;
    line-height: 1.6;
}

/* Navigation */
.navbar-brand {
    font-size: 1.8rem !important;
}

.sticky-top {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95) !important;
}

/* Cards Enhancement */
.card {
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    border-radius: 12px 12px 0 0 !important;
}

/* Badge styling */
.badge {
    font-size: 0.8em;
    padding: 0.5em 0.7em;
}

/* Buttons Enhancement */
.btn {
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 8px;
    font-family: var(--font-family-sans-serif);
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    border-radius: 12px;
}

/* Primary button gradient */
.btn-primary {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #004499 100%);
    border: none;
    font-weight: 600;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #004499 0%, #003366 100%);
}

/* Success button gradient */
.btn-success {
    background: linear-gradient(135deg, var(--bs-success) 0%, #1e7e34 100%);
    border: none;
}

.btn-success:hover {
    background: linear-gradient(135deg, #1e7e34 0%, #155724 100%);
}

/* Form Enhancement */
.form-control, .form-select {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: var(--font-family-sans-serif);
}

.form-control:focus, .form-select:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

/* Alert Enhancement */
.alert {
    border: none;
    border-radius: 12px;
    font-weight: 500;
    animation: slideInDown 0.3s ease;
}

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

.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
}

.alert-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
}

.alert-info {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    color: #0c5460;
}

/* Pricing cards special styling */
.card.border-primary {
    border: 3px solid var(--bs-primary) !important;
    position: relative;
}

.card.border-success {
    border: 3px solid var(--bs-success) !important;
    position: relative;
}

.card.border-warning {
    border: 3px solid var(--bs-warning) !important;
}

/* Popular badge for pricing */
.card.border-primary::before {
    content: "MOST POPULAR";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bs-primary);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: bold;
}

/* FAQ Accordion */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.accordion-button {
    background: white;
    border: none;
    font-weight: 600;
    padding: 1.25rem;
    font-family: var(--font-family-sans-serif);
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: var(--bs-primary);
}

.accordion-body {
    padding: 1.25rem;
    background: rgba(248, 249, 250, 0.5);
}

/* Social Proof Section */
.blockquote {
    font-style: italic;
    position: relative;
}

.blockquote::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    left: -2rem;
    top: -1rem;
    color: var(--bs-primary);
    opacity: 0.3;
}

/* Typography Improvements */
.display-4 {
    font-weight: 700;
    line-height: 1.2;
}

.lead {
    font-size: 1.15rem;
    font-weight: 400;
    opacity: 0.9;
}

.fw-semibold {
    font-weight: 600;
}

.fw-bold {
    font-weight: 700;
}

/* Background Utilities */
.bg-primary.bg-opacity-5 {
    background-color: rgba(0, 102, 204, 0.05) !important;
}

/* Loading states */
.btn:disabled {
    opacity: 0.7;
    transform: none !important;
}

/* File input styling */
input[type="file"] {
    border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .hero-section {
        padding: 3rem 0;
    }
    
    .min-vh-50 {
        min-height: auto;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .btn-lg {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }
    
    .card-body.p-5 {
        padding: 2rem !important;
    }
    
    .hero-image-placeholder {
        min-height: 200px;
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .display-4 {
        font-size: 1.75rem;
    }
    
    .navbar-brand {
        font-size: 1.5rem !important;
    }
    
    .step-card {
        margin-bottom: 1rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f8f9fa;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #dee2e6 0%, #adb5bd 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #adb5bd 0%, #6c757d 100%);
}

/* Footer Section */
.footer-section {
    background: #2c3e50 !important;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.footer-description {
    color: #bdc3c7;
    line-height: 1.6;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-link {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ffffff;
}

.footer-divider {
    border-color: #34495e;
}

.footer-copyright {
    color: #95a5a6;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.footer-social-link {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.footer-social-link:hover {
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .process-step {
        margin: 10px 0;
    }
    
    .process-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }
    
    .upload-area {
        padding: 40px 20px;
    }
    
    .footer-social {
        justify-content: center;
        margin-top: 20px;
    }
}

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

/* Focus States for Accessibility */
.btn:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
}

/* LTD Banner Styles - Clean Design */
.ltd-banner-clean {
    background: linear-gradient(135deg, #dc3545 0%, #b02a37 100%) !important;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.ltd-banner-clean .btn-warning {
    background: #ffc107;
    border: 2px solid #ffc107;
    color: #000;
    font-weight: 700;
    transition: all 0.3s ease;
}

.ltd-banner-clean .btn-warning:hover {
    background: #ffcd39;
    border-color: #ffcd39;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
}

