/* ===== Alphaon Insight - AI-Powered Endoscopy Analysis - Main Stylesheet ===== */

/* Custom CSS Variables */
:root {
    --primary-color: #0d6efd;
    --primary-dark: #0a58ca;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --info-color: #0dcaf0;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --border-radius: 0.375rem;
    --box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --transition: all 0.3s ease;
}

/* Logo Styling */
.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* Logo background for better visibility if needed */
.logo-image-wrapper {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 5px;
    transition: background 0.3s ease;
}

.logo-image-wrapper:hover {
    background: rgba(255, 255, 255, 0.15);
}

.logo-image {
    height: 45px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    background: transparent;
}

/* Alternative logo styling for non-transparent logos */
.logo-image.needs-cutout {
    /* This can be toggled if logo needs background removal */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1)) 
            brightness(1.1) 
            contrast(1.1);
}

.logo-image:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.footer-logo {
    height: 35px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
    background: transparent;
}

.logo-icon {
    position: relative;
    font-size: 2rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.logo-brain {
    position: absolute;
    font-size: 0.8rem;
    top: -2px;
    right: -2px;
    color: #ffd700;
    animation: pulse 2s infinite;
}

.logo-text {
    line-height: 1.2;
}

.logo-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin: 0;
}

.logo-tagline {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    margin: 0;
    font-style: italic;
}

.logo-company {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

/* Responsive Logo */
@media (max-width: 768px) {
    .logo-title {
        font-size: 1.1rem;
    }
    .logo-tagline {
        font-size: 0.65rem;
    }
    .logo-company {
        font-size: 0.6rem;
    }
    .logo-image {
        height: 38px;
        max-width: 160px;
    }
    .footer-logo {
        height: 30px;
        max-width: 120px;
    }
    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .logo-tagline,
    .logo-company {
        display: none;
    }
    .logo-title {
        font-size: 1rem;
    }
    .logo-image {
        height: 32px;
        max-width: 120px;
    }
    .footer-logo {
        height: 25px;
        max-width: 100px;
    }
}

/* Korean Language Support */
html[lang="ko"], html[lang="ko"] body {
    font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans CJK KR", "Noto Sans KR", "Malgun Gothic", "맑은 고딕", helvetica, "Apple Color Emoji", sans-serif;
    line-height: 1.6;
}

html[lang="ko"] .display-4, 
html[lang="ko"] .display-5,
html[lang="ko"] h1, 
html[lang="ko"] h2, 
html[lang="ko"] h3, 
html[lang="ko"] h4 {
    font-weight: 700;
    line-height: 1.4;
}

html[lang="ko"] .lead {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Language Switcher */
.language-switcher .dropdown-menu {
    min-width: 120px;
}

/* Language Switcher in Right Corner */
#languageDropdown {
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#languageDropdown:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.dropdown-menu-end {
    min-width: 140px;
    border-radius: 10px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.95);
}

.dropdown-menu-end .dropdown-item {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin: 0.25rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.dropdown-menu-end .dropdown-item:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateX(5px);
}

.dropdown-menu-end .dropdown-item i {
    width: 20px;
    text-align: center;
}

/* Demo Video Styling */
.hero-video-container {
    position: relative;
}

.demo-video-wrapper {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    overflow: hidden;
}

.demo-video-wrapper video {
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.demo-video-wrapper:hover video {
    transform: scale(1.02);
}

.video-overlay {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.video-overlay:hover {
    background: rgba(0, 0, 0, 0.2);
}

.video-overlay .btn {
    width: 80px;
    height: 80px;
    font-size: 1.5rem;
    border: none;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.video-overlay .btn:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.3);
}

.demo-label {
    z-index: 10;
}

.demo-label .badge {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.floating-card {
    bottom: -20px;
    right: 20px;
    z-index: 10;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Responsive Demo Video */
@media (max-width: 768px) {
    .video-overlay .btn {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
    
    .floating-card {
        bottom: -15px;
        right: 15px;
    }
    
    .demo-label {
        margin: 0.75rem !important;
    }
}

/* Fixed Subscribe Button */
.fixed-subscribe-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.3s ease;
    animation: slideInUp 0.6s ease forwards;
    animation-delay: 2s; /* Appear after 2 seconds */
}

.fixed-subscribe-btn.show {
    opacity: 1;
    transform: translateY(0);
}

.fixed-subscribe-btn .btn {
    border-radius: 50px;
    padding: 12px 25px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: none;
    background: linear-gradient(135deg, #ffc107 0%, #ff8f00 100%);
    color: #212529;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.fixed-subscribe-btn .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.4);
    background: linear-gradient(135deg, #ffcd3c 0%, #ffa000 100%);
}

.fixed-subscribe-btn .btn-light {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.fixed-subscribe-btn .btn-light:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

/* Pulse animation for attention */
@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 193, 7, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0); }
}

.fixed-subscribe-btn .btn-warning {
    animation: pulse-glow 2s infinite;
}

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

/* Responsive Fixed Button */
@media (max-width: 768px) {
    .fixed-subscribe-btn {
        bottom: 20px;
        right: 20px;
        flex-direction: column;
        gap: 10px;
    }
    
    .fixed-subscribe-btn .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .subscribe-text {
        display: none;
    }
    
    .fixed-subscribe-btn .btn::after {
        content: "구독";
        display: inline;
    }
    
    html[lang="en"] .fixed-subscribe-btn .btn::after {
        content: "Subscribe";
    }
}

@media (max-width: 480px) {
    .fixed-subscribe-btn {
        bottom: 15px;
        right: 15px;
    }
    
    .fixed-subscribe-btn .btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

/* Beautiful Modal Animations */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

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

.beautiful-modal .modal-content {
    border-radius: 15px;
    border: none;
    overflow: hidden;
    animation: modalFadeIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.beautiful-modal .modal-header {
    border-radius: 15px 15px 0 0;
    padding: 1.5rem;
    position: relative;
}

.beautiful-modal .modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.beautiful-modal .modal-body {
    padding: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.beautiful-modal .modal-footer {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 0 0 15px 15px;
}

.beautiful-btn {
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.beautiful-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.beautiful-btn:hover::before {
    left: 100%;
}

.beautiful-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

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

/* Enhanced form controls in modals */
.beautiful-modal .form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.beautiful-modal .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
    transform: scale(1.02);
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #ffffff;
}

.min-vh-75 {
    min-height: 75vh;
}

/* Button Animations */
.btn {
    transition: var(--transition);
    border-radius: var(--border-radius);
}

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

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

/* Card Enhancements */
.card {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.125);
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.card-header {
    border-radius: var(--border-radius) var(--border-radius) 0 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    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="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

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

.floating-card {
    top: 20px;
    right: 20px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Feature Cards */
.feature-card {
    transition: var(--transition);
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.125) !important;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.15);
}

.feature-icon {
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

/* Pricing Cards */
.pricing-card {
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.15);
}

.price-display {
    margin: 1rem 0;
}

/* Step Cards */
.step-card {
    transition: var(--transition);
}

.step-number {
    margin-bottom: 1rem;
}

.step-card:hover {
    transform: translateY(-3px);
}

/* Navigation Enhancements */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    transition: var(--transition);
    border-radius: var(--border-radius);
    margin: 0 0.25rem;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Dashboard Specific Styles */
.report-item {
    transition: var(--transition);
    border-radius: var(--border-radius);
}

.report-item:hover {
    background-color: var(--light-color);
}

/* Video Analysis Styles */
.analysis-status {
    border-radius: var(--border-radius);
}

.video-preview {
    border-radius: var(--border-radius);
    overflow: hidden;
}

/* Upload Area Styles */
.upload-area {
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-area:hover {
    border-color: var(--primary-color) !important;
    background-color: rgba(13, 110, 253, 0.05) !important;
}

.upload-area.dragover {
    border-color: var(--primary-color) !important;
    background-color: rgba(13, 110, 253, 0.1) !important;
    transform: scale(1.02);
}

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* Progress Animations */
.progress {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.progress-bar {
    transition: width 0.6s ease;
}

/* ROI Visualization */
.roi-marker {
    border: 2px solid var(--danger-color);
    background: rgba(220, 53, 69, 0.1);
    transition: var(--transition);
    cursor: pointer;
    border-radius: 2px;
}

.roi-marker:hover {
    background: rgba(220, 53, 69, 0.3);
    border-width: 3px;
}

.roi-marker.selected {
    border-color: var(--success-color);
    background: rgba(25, 135, 84, 0.2);
}

.roi-item {
    transition: var(--transition);
    cursor: pointer;
}

.roi-item:hover {
    background-color: var(--light-color) !important;
}

/* Form Enhancements */
.form-control, .form-select {
    border-radius: var(--border-radius);
    transition: var(--transition);
}

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

/* Alert Enhancements */
.alert {
    border-radius: var(--border-radius);
    border: none;
}

/* Badge Enhancements */
.badge {
    border-radius: 0.35rem;
}

/* Table Enhancements */
.table {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.table th {
    border-top: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

/* Modal Enhancements */
.modal-content {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.3);
}

.modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.modal-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.125);
}

/* Loading Animations */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fa-spin {
    animation: spin 1s linear infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }
    
    .floating-card {
        position: static;
        margin-top: 2rem;
        animation: none;
    }
    
    .step-card {
        margin-bottom: 2rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .btn,
    .alert,
    .modal,
    .card-header {
        display: none !important;
    }
    
    .card {
        border: 1px solid #000 !important;
        box-shadow: none !important;
        page-break-inside: avoid;
    }
    
    .print-section {
        page-break-inside: avoid;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: #000 !important;
    }
}

/* Accessibility Enhancements */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Focus indicators */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .card {
        border: 2px solid var(--dark-color);
    }
    
    .btn {
        border-width: 2px;
    }
}

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

/* Custom Utilities */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%) !important;
}

.text-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.border-start-primary {
    border-left: 4px solid var(--primary-color) !important;
}

.shadow-custom {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.rounded-custom {
    border-radius: var(--border-radius) !important;
}

/* ===== Social Proof & Testimonials Styling ===== */

.stat-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid rgba(0, 123, 255, 0.1);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--success-color), var(--info-color));
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.testimonial-card .stars {
    color: #ffc107;
}

.testimonial-card blockquote {
    position: relative;
    font-size: 0.95rem;
    line-height: 1.6;
}

.testimonial-card blockquote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: -5px;
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.trust-badges {
    padding: 2rem 0;
}

.trust-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 120px;
}

.trust-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 1);
}

.trust-badge i {
    margin-bottom: 0.5rem;
}

.trust-badge span {
    font-size: 0.85rem;
    line-height: 1.3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .trust-badge {
        min-width: 100px;
        padding: 0.75rem;
    }
    
    .trust-badge i {
        font-size: 1.5rem !important;
    }
    
    .testimonial-card blockquote {
        font-size: 0.9rem;
    }
}

/* ===== ROI Calculator Styling ===== */

.bg-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.roi-calculator {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.roi-results {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-range {
    height: 6px;
    background: linear-gradient(90deg, #e9ecef 0%, var(--primary-color) 100%);
    border-radius: 3px;
}

.form-range::-webkit-slider-thumb {
    background: var(--primary-color);
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    width: 20px;
    height: 20px;
}

.form-range::-moz-range-thumb {
    background: var(--primary-color);
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.roi-calculator .alert-info {
    background: rgba(13, 202, 240, 0.1);
    border: 1px solid rgba(13, 202, 240, 0.2);
    color: #0c5460;
}

/* ROI Animation Effects */
#timeSaved, #costSaved, #yearlyRoi {
    transition: all 0.3s ease;
}

#timeSaved:hover, #costSaved:hover, #yearlyRoi:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .roi-calculator, .roi-results {
        margin-top: 2rem;
    }
}

/* Ensure buttons are always clickable */
.btn, .btn-warning, .btn-outline-light, .btn-primary, .btn-lg {
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative;
    z-index: 1;
}

/* Hero section button specific fixes */
.hero-section .btn {
    pointer-events: auto !important;
    position: relative;
    z-index: 10;
}
