/* Custom CSS for VoynichVex Website */

:root {
    --primary-color: #FF6B35;
    --secondary-color: #4A90E2;
    --accent-color: #2ECC71;
    --dark-color: #2C3E50;
    --light-bg: #F8FAFE;
    --gradient-bg: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 50%, #90CAF9 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header Styles */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95) !important;
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--dark-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #E55A2B;
    border-color: #E55A2B;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    background: var(--gradient-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-image-container {
    position: relative;
}

.hero-image-container::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    opacity: 0.1;
    z-index: -1;
}

/* Feature Cards */
.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #E55A2B);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: white;
}

.feature-card h4 {
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
    margin-bottom: 0;
}

/* Background Sections */
.bg-light {
    background-color: var(--light-bg) !important;
}

/* Dark Section */
.bg-dark {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 100px;
        min-height: auto;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .display-6 {
        font-size: 1.75rem;
    }
    
    .feature-card {
        margin-bottom: 2rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Custom Badge */
.badge {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

/* Contact Info Styling */
.contact-info p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.contact-info i {
    color: var(--primary-color);
}

/* Form Styles */
.form-control {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

/* Pricing Cards */
.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
}

.pricing-card.featured {
    margin-top: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-unit {
    font-size: 1rem;
    color: #666;
    font-weight: normal;
}

/* Success Message */
.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
    border-radius: 8px;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Link Hover Effects */
a {
    transition: all 0.3s ease;
}

.text-decoration-none:hover {
    opacity: 0.8;
}

/* Additional Component Styles */

/* Process Steps */
.process-step {
    position: relative;
    padding: 2rem 1rem;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), #357ABD);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem auto 1.5rem;
    font-size: 2rem;
    color: white;
}

/* Technology Features */
.tech-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.tech-feature i {
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.tech-feature h5 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.tech-feature p {
    color: #666;
    margin-bottom: 0;
}

/* Comparison Cards */
.comparison-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.3s ease;
}

.comparison-card.featured {
    background: linear-gradient(135deg, var(--primary-color), #E55A2B);
    color: white;
    transform: scale(1.05);
}

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

.comparison-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

/* Result Stats */
.result-stat {
    padding: 2rem 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
    margin-top: 0.5rem;
}

/* Calculator Card */
.calculator-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--light-bg);
}

.calculation-result {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid var(--primary-color);
}

.lead-count {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.price-breakdown {
    font-size: 1.1rem;
    color: #666;
    margin: 0.5rem 0;
}

.total-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Value Propositions */
.value-prop {
    padding: 2rem 1rem;
}

.value-prop h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.value-prop p {
    color: #666;
}

/* Contact Methods */
.contact-method {
    padding: 2rem 1rem;
}

.contact-method h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

/* Contact Form Container */
.contact-form-container {
    position: relative;
}

.contact-form-container .card {
    border-radius: 20px;
    overflow: hidden;
}

/* Contact Highlights */
.contact-highlights {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

/* Integration Cards */
.integration-card {
    padding: 2rem 1rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

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

.integration-card h5 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.integration-card p {
    color: #666;
    margin-bottom: 0;
}

/* Legal Content */
.legal-content {
    line-height: 1.8;
}

.legal-content h2 {
    color: var(--dark-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-bg);
}

.legal-content h4 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content ul {
    margin-bottom: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

/* Form Validation States */
.form-control.is-valid {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(46, 204, 113, 0.25);
}

.form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Accordion Customization */
.accordion-button {
    background-color: white;
    color: var(--dark-color);
    font-weight: 600;
    border: none;
    border-radius: 8px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: white;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 107, 53, 0.25);
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.accordion-body {
    background-color: #f8f9fa;
    color: #666;
    line-height: 1.6;
}

/* Mobile Responsiveness Enhancements */
@media (max-width: 576px) {
    .hero-section {
        padding-top: 120px;
    }
    
    .contact-form-container .card {
        margin-top: 2rem;
    }
    
    .calculator-card {
        padding: 2rem 1rem;
    }
    
    .calculation-result {
        padding: 1.5rem;
    }
    
    .pricing-card {
        margin-bottom: 2rem;
    }
    
    .process-step {
        margin-bottom: 3rem;
    }
    
    .step-number {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        margin: 0 auto 1rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .btn,
    footer {
        display: none !important;
    }
    
    .hero-section {
        padding-top: 2rem !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}
