Spaces:
Sleeping
Sleeping
| :root { | |
| --primary-color: #2A5C82; | |
| --primary-light: #3a7cb2; | |
| --primary-dark: #1d4060; | |
| --secondary-color: #5BA4E6; | |
| --secondary-light: #7bbcf7; | |
| --secondary-dark: #4183c4; | |
| --accent-color: #FF6B6B; | |
| --success-color: #4CAF50; | |
| --warning-color: #FFC107; | |
| --danger-color: #F44336; | |
| --info-color: #2196F3; | |
| --background-color: #f8f9fa; | |
| --surface-color: #ffffff; | |
| --text-primary: #333333; | |
| --text-secondary: #666666; | |
| --text-tertiary: #999999; | |
| --border-color: #e0e0e0; | |
| --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05); | |
| --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1); | |
| --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1); | |
| --radius-sm: 4px; | |
| --radius-md: 8px; | |
| --radius-lg: 16px; | |
| --radius-xl: 24px; | |
| --radius-round: 50%; | |
| --spacing-xs: 0.25rem; | |
| --spacing-sm: 0.5rem; | |
| --spacing-md: 1rem; | |
| --spacing-lg: 1.5rem; | |
| --spacing-xl: 2rem; | |
| --spacing-xxl: 3rem; | |
| --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; | |
| --font-size-xs: 0.75rem; | |
| --font-size-sm: 0.875rem; | |
| --font-size-md: 1rem; | |
| --font-size-lg: 1.125rem; | |
| --font-size-xl: 1.25rem; | |
| --font-size-xxl: 1.5rem; | |
| --font-size-display: 2rem; | |
| --font-size-jumbo: 2.5rem; | |
| --font-weight-light: 300; | |
| --font-weight-regular: 400; | |
| --font-weight-medium: 500; | |
| --font-weight-semibold: 600 | |
| --font-weight-semibold: 600; | |
| --font-weight-bold: 700; | |
| --line-height-tight: 1.2; | |
| --line-height-normal: 1.5; | |
| --line-height-loose: 1.8; | |
| --transition-fast: 0.2s ease; | |
| --transition-normal: 0.3s ease; | |
| --transition-slow: 0.5s ease; | |
| --container-max-width: 1200px; | |
| --container-padding: 1rem; | |
| } | |
| /* Reset & Base Styles */ | |
| *, *::before, *::after { | |
| box-sizing: border-box; | |
| margin: 0; | |
| padding: 0; | |
| } | |
| html { | |
| font-size: 16px; | |
| scroll-behavior: smooth; | |
| } | |
| body { | |
| font-family: var(--font-family); | |
| font-size: var(--font-size-md); | |
| line-height: var(--line-height-normal); | |
| color: var(--text-primary); | |
| background-color: var(--background-color); | |
| min-height: 100vh; | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| main { | |
| flex: 1; | |
| } | |
| img { | |
| max-width: 100%; | |
| height: auto; | |
| } | |
| a { | |
| color: var(--primary-color); | |
| text-decoration: none; | |
| transition: color var(--transition-fast); | |
| } | |
| a:hover { | |
| color: var(--primary-light); | |
| } | |
| ul, ol { | |
| list-style-position: inside; | |
| } | |
| /* Typography */ | |
| h1, h2, h3, h4, h5, h6 { | |
| margin-bottom: var(--spacing-md); | |
| font-weight: var(--font-weight-semibold); | |
| line-height: var(--line-height-tight); | |
| color: var(--text-primary); | |
| } | |
| h1 { | |
| font-size: var(--font-size-jumbo); | |
| } | |
| h2 { | |
| font-size: var(--font-size-display); | |
| } | |
| h3 { | |
| font-size: var(--font-size-xxl); | |
| } | |
| h4 { | |
| font-size: var(--font-size-xl); | |
| } | |
| h5 { | |
| font-size: var(--font-size-lg); | |
| } | |
| h6 { | |
| font-size: var(--font-size-md); | |
| } | |
| p { | |
| margin-bottom: var(--spacing-md); | |
| } | |
| .text-center { | |
| text-align: center; | |
| } | |
| .text-right { | |
| text-align: right; | |
| } | |
| .text-primary { | |
| color: var(--primary-color); | |
| } | |
| .text-secondary { | |
| color: var(--secondary-color); | |
| } | |
| .text-accent { | |
| color: var(--accent-color); | |
| } | |
| .text-success { | |
| color: var(--success-color); | |
| } | |
| .text-warning { | |
| color: var(--warning-color); | |
| } | |
| .text-danger { | |
| color: var(--danger-color); | |
| } | |
| .text-info { | |
| color: var(--info-color); | |
| } | |
| /* Layout */ | |
| .container { | |
| width: 100%; | |
| max-width: var(--container-max-width); | |
| margin: 0 auto; | |
| padding: 0 var(--container-padding); | |
| } | |
| .section-title { | |
| text-align: center; | |
| margin-bottom: var(--spacing-xl); | |
| position: relative; | |
| padding-bottom: var(--spacing-md); | |
| } | |
| .section-title::after { | |
| content: ''; | |
| position: absolute; | |
| bottom: 0; | |
| left: 50%; | |
| transform: translateX(-50%); | |
| width: 60px; | |
| height: 3px; | |
| background-color: var(--primary-color); | |
| } | |
| /* Buttons */ | |
| .btn { | |
| display: inline-block; | |
| font-weight: var(--font-weight-medium); | |
| text-align: center; | |
| white-space: nowrap; | |
| vertical-align: middle; | |
| user-select: none; | |
| border: 1px solid transparent; | |
| padding: 0.75rem 1.5rem; | |
| font-size: var(--font-size-md); | |
| line-height: 1.5; | |
| border-radius: var(--radius-md); | |
| transition: all var(--transition-fast); | |
| cursor: pointer; | |
| } | |
| .btn:focus, .btn:hover { | |
| text-decoration: none; | |
| } | |
| .btn-primary { | |
| color: white; | |
| background-color: var(--primary-color); | |
| border-color: var(--primary-color); | |
| } | |
| .btn-primary:hover, .btn-primary:focus { | |
| background-color: var(--primary-dark); | |
| border-color: var(--primary-dark); | |
| color: white; | |
| } | |
| .btn-secondary { | |
| color: white; | |
| background-color: var(--secondary-color); | |
| border-color: var(--secondary-color); | |
| } | |
| .btn-secondary:hover, .btn-secondary:focus { | |
| background-color: var(--secondary-dark); | |
| border-color: var(--secondary-dark); | |
| color: white; | |
| } | |
| .btn-accent { | |
| color: white; | |
| background-color: var(--accent-color); | |
| border-color: var(--accent-color); | |
| } | |
| .btn-accent:hover, .btn-accent:focus { | |
| background-color: #e55c5c; | |
| border-color: #e55c5c; | |
| color: white; | |
| } | |
| .btn-outline { | |
| color: var(--primary-color); | |
| background-color: transparent; | |
| border-color: var(--primary-color); | |
| } | |
| .btn-outline:hover, .btn-outline:focus { | |
| color: white; | |
| background-color: var(--primary-color); | |
| border-color: var(--primary-color); | |
| } | |
| .btn-sm { | |
| padding: 0.5rem 1rem; | |
| font-size: var(--font-size-sm); | |
| } | |
| .btn-lg { | |
| padding: 1rem 2rem; | |
| font-size: var(--font-size-lg); | |
| } | |
| .btn-block { | |
| display: block; | |
| width: 100%; | |
| } | |
| .btn-icon { | |
| display: inline-flex; | |
| align-items: center; | |
| justify-content: center; | |
| } | |
| .btn-icon i { | |
| margin-right: 0.5rem; | |
| } | |
| /* Navbar */ | |
| .navbar { | |
| background-color: var(--surface-color); | |
| box-shadow: var(--shadow-sm); | |
| padding: 1rem 0; | |
| position: sticky; | |
| top: 0; | |
| z-index: 1000; | |
| } | |
| .navbar .container { | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| } | |
| .logo { | |
| display: flex; | |
| align-items: center; | |
| font-weight: var(--font-weight-bold); | |
| font-size: var(--font-size-xl); | |
| color: var(--primary-color); | |
| } | |
| .logo img { | |
| height: 40px; | |
| margin-right: var(--spacing-sm); | |
| } | |
| .nav-links { | |
| display: flex; | |
| align-items: center; | |
| } | |
| .nav-links a { | |
| margin-left: var(--spacing-lg); | |
| color: var(--text-primary); | |
| font-weight: var(--font-weight-medium); | |
| position: relative; | |
| } | |
| .nav-links a:hover { | |
| color: var(--primary-color); | |
| } | |
| .nav-links a.active { | |
| color: var(--primary-color); | |
| } | |
| .nav-links a.active::after { | |
| content: ''; | |
| position: absolute; | |
| bottom: -5px; | |
| left: 0; | |
| width: 100%; | |
| height: 2px; | |
| background-color: var(--primary-color); | |
| } | |
| .mobile-menu-toggle { | |
| display: none; | |
| background: none; | |
| border: none; | |
| cursor: pointer; | |
| } | |
| .bar { | |
| display: block; | |
| width: 25px; | |
| height: 3px; | |
| margin: 5px auto; | |
| background-color: var(--text-primary); | |
| transition: all var(--transition-fast); | |
| } | |
| /* Hero Section */ | |
| .hero { | |
| background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); | |
| color: white; | |
| padding: var(--spacing-xxl) 0; | |
| text-align: center; | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .hero::before { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| background-image: url('../images/hero-bg.jpg'); | |
| background-size: cover; | |
| background-position: center; | |
| opacity: 0.15; | |
| z-index: 0; | |
| } | |
| .hero-content { | |
| position: relative; | |
| z-index: 1; | |
| max-width: 800px; | |
| margin: 0 auto; | |
| } | |
| .hero h1 { | |
| font-size: var(--font-size-jumbo); | |
| margin-bottom: var(--spacing-md); | |
| color: white; | |
| } | |
| .hero-subtitle { | |
| font-size: var(--font-size-xl); | |
| margin-bottom: var(--spacing-xl); | |
| font-weight: var(--font-weight-light); | |
| } | |
| .hero-buttons { | |
| display: flex; | |
| justify-content: center; | |
| gap: var(--spacing-md); | |
| } | |
| /* How It Works Section */ | |
| .how-it-works { | |
| padding: var(--spacing-xxl) 0; | |
| background-color: var(--surface-color); | |
| } | |
| .steps { | |
| display: flex; | |
| justify-content: space-between; | |
| gap: var(--spacing-xl); | |
| } | |
| .step { | |
| flex: 1; | |
| text-align: center; | |
| padding: var(--spacing-lg); | |
| background-color: white; | |
| border-radius: var(--radius-md); | |
| box-shadow: var(--shadow-md); | |
| transition: transform var(--transition-normal); | |
| } | |
| .step:hover { | |
| transform: translateY(-5px); | |
| } | |
| .step-icon { | |
| width: 80px; | |
| height: 80px; | |
| margin: 0 auto var(--spacing-md); | |
| background-color: var(--primary-light); | |
| color: white; | |
| border-radius: var(--radius-round); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-size: 2rem; | |
| } | |
| .step h3 { | |
| margin-bottom: var(--spacing-sm); | |
| } | |
| /* Models Section */ | |
| .models { | |
| padding: var(--spacing-xxl) 0; | |
| background-color: var(--background-color); | |
| } | |
| .model-cards { | |
| display: flex; | |
| justify-content: center; | |
| gap: var(--spacing-xl); | |
| } | |
| .model-card { | |
| flex: 1; | |
| max-width: 400px; | |
| padding: var(--spacing-xl); | |
| background-color: white; | |
| border-radius: var(--radius-lg); | |
| box-shadow: var(--shadow-md); | |
| transition: transform var(--transition-normal), box-shadow var(--transition-normal); | |
| } | |
| .model-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: var(--shadow-lg); | |
| } | |
| .model-icon { | |
| width: 70px; | |
| height: 70px; | |
| margin: 0 auto var(--spacing-md); | |
| background-color: var(--secondary-light); | |
| color: white; | |
| border-radius: var(--radius-round); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-size: 1.75rem; | |
| } | |
| .model-card h3 { | |
| text-align: center; | |
| margin-bottom: var(--spacing-md); | |
| } | |
| .model-features { | |
| margin-top: var(--spacing-md); | |
| list-style: none; | |
| } | |
| .model-features li { | |
| padding: var(--spacing-sm) 0; | |
| display: flex; | |
| align-items: center; | |
| } | |
| .model-features li i { | |
| color: var(--success-color); | |
| margin-right: var(--spacing-sm); | |
| } | |
| /* Stats Section */ | |
| .stats { | |
| padding: var(--spacing-xxl) 0; | |
| background-color: var(--primary-color); | |
| color: white; | |
| } | |
| .stats-grid { | |
| display: flex; | |
| justify-content: space-around; | |
| text-align: center; | |
| } | |
| .stat-item { | |
| padding: var(--spacing-lg); | |
| } | |
| .stat-number { | |
| font-size: 3rem; | |
| font-weight: var(--font-weight-bold); | |
| margin-bottom: var(--spacing-xs); | |
| line-height: 1; | |
| } | |
| .stat-label { | |
| font-size: var(--font-size-lg); | |
| font-weight: var(--font-weight-medium); | |
| margin-bottom: var(--spacing-sm); | |
| color: var(--secondary-light); | |
| } | |
| .stat-desc { | |
| font-size: var(--font-size-sm); | |
| max-width: 200px; | |
| margin: 0 auto; | |
| } | |
| /* CTA Section */ | |
| .cta { | |
| padding: var(--spacing-xxl) 0; | |
| background-color: var(--secondary-color); | |
| color: white; | |
| text-align: center; | |
| } | |
| .cta h2 { | |
| color: white; | |
| margin-bottom: var(--spacing-sm); | |
| } | |
| .cta p { | |
| margin-bottom: var(--spacing-lg); | |
| font-size: var(--font-size-lg); | |
| } | |
| /* Disclaimer Section */ | |
| .disclaimer { | |
| padding: var(--spacing-xl) 0; | |
| background-color: var(--surface-color); | |
| } | |
| .disclaimer-box { | |
| background-color: #fff8e1; | |
| border-left: 4px solid var(--warning-color); | |
| padding: var(--spacing-lg); | |
| border-radius: var(--radius-md); | |
| } | |
| .disclaimer-box h3 { | |
| color: #856404; | |
| display: flex; | |
| align-items: center; | |
| margin-bottom: var(--spacing-sm); | |
| } | |
| .disclaimer-box h3 i { | |
| margin-right: var(--spacing-sm); | |
| } | |
| .disclaimer-box p { | |
| margin-bottom: 0; | |
| color: #856404; | |
| } | |
| /* Footer */ | |
| footer { | |
| background-color: #2c3e50; | |
| color: white; | |
| padding: var(--spacing-xl) 0 var(--spacing-md); | |
| } | |
| .footer-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); | |
| gap: var(--spacing-xl); | |
| margin-bottom: var(--spacing-xl); | |
| } | |
| .footer-col h3 { | |
| color: white; | |
| margin-bottom: var(--spacing-md); | |
| font-size: var(--font-size-lg); | |
| } | |
| .footer-col p { | |
| color: #b3b3b3; | |
| margin-bottom: var(--spacing-md); | |
| } | |
| .footer-col ul { | |
| list-style: none; | |
| } | |
| .footer-col ul li { | |
| margin-bottom: var(--spacing-sm); | |
| } | |
| .footer-col ul li a { | |
| color: #b3b3b3; | |
| transition: color var(--transition-fast); | |
| } | |
| .footer-col ul li a:hover { | |
| color: white; | |
| } | |
| .social-links { | |
| display: flex; | |
| gap: var(--spacing-sm); | |
| margin-top: var(--spacing-md); | |
| } | |
| .social-links a { | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| width: 36px; | |
| height: 36px; | |
| background-color: rgba(255, 255, 255, 0.1); | |
| border-radius: var(--radius-round); | |
| color: white; | |
| transition: background-color var(--transition-fast); | |
| } | |
| .social-links a:hover { | |
| background-color: var(--primary-color); | |
| } | |
| .footer-bottom { | |
| text-align: center; | |
| padding-top: var(--spacing-lg); | |
| border-top: 1px solid rgba(255, 255, 255, 0.1); | |
| color: #b3b3b3; | |
| font-size: var(--font-size-sm); | |
| } | |
| /* Utility Classes */ | |
| .hidden { | |
| display: none ; | |
| } | |
| .visible { | |
| display: block ; | |
| } | |
| .flex { | |
| display: flex; | |
| } | |
| .flex-column { | |
| flex-direction: column; | |
| } | |
| .items-center { | |
| align-items: center; | |
| } | |
| .justify-center { | |
| justify-content: center; | |
| } | |
| .justify-between { | |
| justify-content: space-between; | |
| } | |
| .text-center { | |
| text-align: center; | |
| } | |
| .mt-1 { margin-top: var(--spacing-xs); } | |
| .mt-2 { margin-top: var(--spacing-sm); } | |
| .mt-3 { margin-top: var(--spacing-md); } | |
| .mt-4 { margin-top: var(--spacing-lg); } | |
| .mt-5 { margin-top: var(--spacing-xl); } | |
| .mb-1 { margin-bottom: var(--spacing-xs); } | |
| .mb-2 { margin-bottom: var(--spacing-sm); } | |
| .mb-3 { margin-bottom: var(--spacing-md); } | |
| .mb-4 { margin-bottom: var(--spacing-lg); } | |
| .mb-5 { margin-bottom: var(--spacing-xl); } | |
| .mx-auto { margin-left: auto; margin-right: auto; } | |
| .p-1 { padding: var(--spacing-xs); } | |
| .p-2 { padding: var(--spacing-sm); } | |
| .p-3 { padding: var(--spacing-md); } | |
| .p-4 { padding: var(--spacing-lg); } | |
| .p-5 { padding: var(--spacing-xl); } | |
| /* Error Pages */ | |
| .error-container { | |
| text-align: center; | |
| padding: var(--spacing-xxl) var(--spacing-lg); | |
| max-width: 800px; | |
| margin: 0 auto; | |
| } | |
| .error-container h1 { | |
| font-size: var(--font-size-jumbo); | |
| color: var(--danger-color); | |
| margin-bottom: var(--spacing-lg); | |
| } | |
| .error-container p { | |
| font-size: var(--font-size-lg); | |
| margin-bottom: var(--spacing-xl); | |
| color: var(--text-secondary); | |
| } | |
| .actions { | |
| display: flex; | |
| gap: var(--spacing-md); | |
| justify-content: center; | |
| margin-top: var(--spacing-xl); | |
| } | |
| /* FAQ Section */ | |
| .faq-preview { | |
| padding: var(--spacing-xxl) 0; | |
| background-color: var(--background-color); | |
| } | |
| .faq-items { | |
| margin-bottom: var(--spacing-xl); | |
| } | |
| .faq-item { | |
| background-color: white; | |
| border-radius: var(--radius-md); | |
| margin-bottom: var(--spacing-md); | |
| box-shadow: var(--shadow-sm); | |
| overflow: hidden; | |
| } | |
| .faq-question { | |
| padding: var(--spacing-lg); | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| cursor: pointer; | |
| transition: background-color var(--transition-fast); | |
| } | |
| .faq-question:hover { | |
| background-color: rgba(0, 0, 0, 0.02); | |
| } | |
| .faq-question h3 { | |
| margin-bottom: 0; | |
| font-size: var(--font-size-lg); | |
| } | |
| .faq-toggle { | |
| color: var(--primary-color); | |
| transition: transform var(--transition-fast); | |
| } | |
| .faq-item.active .faq-toggle { | |
| transform: rotate(180deg); | |
| } | |
| .faq-answer { | |
| padding: 0 var(--spacing-lg); | |
| max-height: 0; | |
| overflow: hidden; | |
| transition: max-height var(--transition-normal), padding var(--transition-normal); | |
| } | |
| .faq-item.active .faq-answer { | |
| padding: 0 var(--spacing-lg) var(--spacing-lg); | |
| max-height: 500px; | |
| } | |
| .faq-more { | |
| text-align: center; | |
| } | |
| /* Responsive Design */ | |
| @media (max-width: 992px) { | |
| .steps, .model-cards { | |
| flex-direction: column; | |
| align-items: center; | |
| } | |
| .step, .model-card { | |
| width: 100%; | |
| max-width: 500px; | |
| margin-bottom: var(--spacing-lg); | |
| } | |
| .stats-grid { | |
| flex-wrap: wrap; | |
| } | |
| .stat-item { | |
| flex: 0 0 50%; | |
| margin-bottom: var(--spacing-lg); | |
| } | |
| } | |
| @media (max-width: 768px) { | |
| :root { | |
| --font-size-jumbo: 2rem; | |
| --font-size-display: 1.75rem; | |
| } | |
| .mobile-menu-toggle { | |
| display: block; | |
| z-index: 1001; | |
| } | |
| .nav-links { | |
| position: fixed; | |
| top: 0; | |
| right: -100%; | |
| width: 70%; | |
| height: 100vh; | |
| background-color: white; | |
| flex-direction: column; | |
| align-items: flex-start; | |
| padding: 80px var(--spacing-lg) var(--spacing-lg); | |
| transition: right var(--transition-normal); | |
| box-shadow: var(--shadow-lg); | |
| z-index: 1000; | |
| } | |
| .nav-links.active { | |
| right: 0; | |
| } | |
| .nav-links a { | |
| margin: var(--spacing-sm) 0; | |
| font-size: var(--font-size-lg); | |
| width: 100%; | |
| padding: var(--spacing-sm) 0; | |
| } | |
| .hero-buttons { | |
| flex-direction: column; | |
| gap: var(--spacing-sm); | |
| } | |
| .footer-grid { | |
| grid-template-columns: 1fr; | |
| } | |
| .stat-item { | |
| flex: 0 0 100%; | |
| } | |
| } | |
| @media (max-width: 576px) { | |
| .container { | |
| padding: 0 var(--spacing-md); | |
| } | |
| .hero { | |
| padding: var(--spacing-xl) 0; | |
| } | |
| .hero h1 { | |
| font-size: 1.75rem; | |
| } | |
| .hero-subtitle { | |
| font-size: var(--font-size-md); | |
| } | |
| .section-title { | |
| font-size: var(--font-size-xl); | |
| } | |
| } | |
| /* Detection Page Specific Styles */ | |
| .detect-header { | |
| background-color: var(--primary-color); | |
| color: white; | |
| padding: var(--spacing-xl) 0; | |
| text-align: center; | |
| } | |
| .detect-header h1 { | |
| color: white; | |
| margin-bottom: var(--spacing-sm); | |
| } | |
| .detection-tool { | |
| padding: var(--spacing-xl) 0; | |
| background-color: var(--background-color); | |
| } | |
| .tool-container { | |
| display: flex; | |
| gap: var(--spacing-xl); | |
| margin-bottom: var(--spacing-xl); | |
| } | |
| .tool-sidebar { | |
| flex: 0 0 300px; | |
| } | |
| .tool-main { | |
| flex: 1; | |
| background-color: white; | |
| border-radius: var(--radius-lg); | |
| padding: var(--spacing-xl); | |
| box-shadow: var(--shadow-md); | |
| } | |
| .info-box { | |
| background-color: #e3f2fd; | |
| border-radius: var(--radius-md); | |
| padding: var(--spacing-lg); | |
| margin-bottom: var(--spacing-lg); | |
| } | |
| .info-box h3 { | |
| display: flex; | |
| align-items: center; | |
| color: var(--primary-color); | |
| font-size: var(--font-size-lg); | |
| margin-bottom: var(--spacing-md); | |
| } | |
| .info-box h3 i { | |
| margin-right: var(--spacing-sm); | |
| } | |
| .info-box ul { | |
| list-style-type: disc; | |
| padding-left: var(--spacing-lg); | |
| } | |
| .info-box ul li { | |
| margin-bottom: var(--spacing-sm); | |
| } | |
| .model-info { | |
| background-color: white; | |
| border-radius: var(--radius-md); | |
| padding: var(--spacing-lg); | |
| box-shadow: var(--shadow-sm); | |
| } | |
| .model-info h3 { | |
| font-size: var(--font-size-lg); | |
| margin-bottom: var(--spacing-md); | |
| } | |
| .model-info-item { | |
| margin-bottom: var(--spacing-md); | |
| } | |
| .model-info-item h4 { | |
| font-size: var(--font-size-md); | |
| color: var(--primary-color); | |
| margin-bottom: var(--spacing-xs); | |
| } | |
| .model-info-item p { | |
| font-size: var(--font-size-sm); | |
| margin-bottom: 0; | |
| } | |
| .form-group { | |
| margin-bottom: var(--spacing-lg); | |
| } | |
| .form-group label { | |
| display: block; | |
| margin-bottom: var(--spacing-sm); | |
| font-weight: var(--font-weight-medium); | |
| } | |
| .model-select { | |
| width: 100%; | |
| padding: 0.75rem; | |
| border: 1px solid var(--border-color); | |
| border-radius: var(--radius-md); | |
| font-family: var(--font-family); | |
| font-size: var(--font-size-md); | |
| background-color: white; | |
| transition: border-color var(--transition-fast); | |
| } | |
| .model-select:focus { | |
| outline: none; | |
| border-color: var(--primary-color); | |
| } | |
| .upload-container { | |
| margin-bottom: var(--spacing-lg); | |
| } | |
| .upload-box { | |
| border: 2px dashed var(--border-color); | |
| border-radius: var(--radius-md); | |
| padding: var(--spacing-xl); | |
| text-align: center; | |
| cursor: pointer; | |
| transition: border-color var(--transition-fast); | |
| position: relative; | |
| min-height: 200px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| } | |
| .upload-box:hover { | |
| border-color: var(--primary-color); | |
| } | |
| .upload-prompt { | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| } | |
| .upload-icon { | |
| font-size: 3rem; | |
| color: var(--primary-color); | |
| margin-bottom: var(--spacing-md); | |
| } | |
| .browse-text { | |
| color: var(--primary-color); | |
| font-weight: var(--font-weight-medium); | |
| } | |
| .file-types { | |
| font-size: var(--font-size-sm); | |
| color: var(--text-tertiary); | |
| margin-top: var(--spacing-sm); | |
| } | |
| .preview-container { | |
| width: 100%; | |
| height: 100%; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| padding: var(--spacing-md); | |
| } | |
| .preview-container img { | |
| max-height: 200px; | |
| max-width: 100%; | |
| border-radius: var(--radius-sm); | |
| } | |
| .remove-image { | |
| position: absolute; | |
| top: 10px; | |
| right: 10px; | |
| background-color: rgba(0, 0, 0, 0.5); | |
| color: white; | |
| border: none; | |
| width: 30px; | |
| height: 30px; | |
| border-radius: var(--radius-round); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| cursor: pointer; | |
| transition: background-color var(--transition-fast); | |
| } | |
| .remove-image:hover { | |
| background-color: var(--danger-color); | |
| } | |
| .analyze-button { | |
| width: 100%; | |
| padding: 1rem; | |
| font-size: var(--font-size-lg); | |
| } | |
| .analyze-button:disabled { | |
| background-color: var(--text-tertiary); | |
| border-color: var(--text-tertiary); | |
| cursor: not-allowed; | |
| } | |
| .loading { | |
| display: none; | |
| text-align: center; | |
| margin: var(--spacing-xl) 0; | |
| } | |
| .spinner { | |
| margin: 0 auto; | |
| width: 70px; | |
| text-align: center; | |
| } | |
| .spinner > div { | |
| width: 18px; | |
| height: 18px; | |
| background-color: var(--primary-color); | |
| border-radius: 100%; | |
| display: inline-block; | |
| animation: sk-bouncedelay 1.4s infinite ease-in-out both; | |
| } | |
| .spinner .bounce1 { | |
| animation-delay: -0.32s; | |
| } | |
| .spinner .bounce2 { | |
| animation-delay: -0.16s; | |
| } | |
| @keyframes sk-bouncedelay { | |
| 0%, 80%, 100% { | |
| transform: scale(0); | |
| } 40% { | |
| transform: scale(1.0); | |
| } | |
| } | |
| .error-message { | |
| display: flex; | |
| align-items: center; | |
| background-color: #ffebee; | |
| border-radius: var(--radius-md); | |
| padding: var(--spacing-lg); | |
| margin: var(--spacing-lg) 0; | |
| } | |
| .error-icon { | |
| font-size: 2rem; | |
| color: var(--danger-color); | |
| margin-right: var(--spacing-lg); | |
| } | |
| .error-content h3 { | |
| color: var(--danger-color); | |
| margin-bottom: var(--spacing-xs); | |
| } | |
| .result-card { | |
| margin-top: var(--spacing-xl); | |
| background-color: white; | |
| border-radius: var(--radius-lg); | |
| box-shadow: var(--shadow-md); | |
| overflow: hidden; | |
| } | |
| .result-header { | |
| background-color: var(--primary-color); | |
| color: white; | |
| padding: var(--spacing-lg); | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| } | |
| .result-header h2 { | |
| color: white; | |
| margin-bottom: 0; | |
| display: flex; | |
| align-items: center; | |
| } | |
| .result-header h2 i { | |
| margin-right: var(--spacing-sm); | |
| } | |
| .model-badge { | |
| background-color: rgba(255, 255, 255, 0.2); | |
| padding: 0.25rem 0.75rem; | |
| border-radius: var(--radius-md); | |
| font-size: var(--font-size-sm); | |
| font-weight: var(--font-weight-medium); | |
| } | |
| .result-summary { | |
| display: flex; | |
| padding: var(--spacing-lg); | |
| border-bottom: 1px solid var(--border-color); | |
| } | |
| .result-image-container { | |
| flex: 0 0 40%; | |
| margin-right: var(--spacing-lg); | |
| } | |
| .result-image-container img { | |
| width: 100%; | |
| border-radius: var(--radius-md); | |
| box-shadow: var(--shadow-sm); | |
| } | |
| .result-details { | |
| flex: 1; | |
| } | |
| .prediction-box { | |
| background-color: #f5f5f5; | |
| border-radius: var(--radius-md); | |
| padding: var(--spacing-lg); | |
| margin-bottom: var(--spacing-lg); | |
| } | |
| .prediction-box h3 { | |
| font-size: var(--font-size-md); | |
| color: var(--text-secondary); | |
| margin-bottom: var(--spacing-sm); | |
| } | |
| .prediction-name { | |
| font-size: var(--font-size-xl); | |
| font-weight: var(--font-weight-bold); | |
| margin-bottom: var(--spacing-sm); | |
| color: var(--primary-color); | |
| } | |
| .prediction-description { | |
| margin-bottom: var(--spacing-md); | |
| font-size: var(--font-size-md); | |
| } | |
| .confidence-meter { | |
| display: flex; | |
| align-items: center; | |
| margin-top: var(--spacing-md); | |
| } | |
| .confidence-label { | |
| margin-right: var(--spacing-sm); | |
| font-weight: var(--font-weight-medium); | |
| font-size: var(--font-size-sm); | |
| } | |
| .confidence-bar { | |
| flex: 1; | |
| height: 10px; | |
| background-color: #e0e0e0; | |
| border-radius: var(--radius-sm); | |
| overflow: hidden; | |
| margin-right: var(--spacing-sm); | |
| } | |
| .confidence-fill { | |
| height: 100%; | |
| background-color: var(--primary-color); | |
| width: 0%; | |
| transition: width var(--transition-normal); | |
| } | |
| .confidence-value { | |
| font-weight: var(--font-weight-bold); | |
| font-size: var(--font-size-sm); | |
| } | |
| .severity-indicator { | |
| background-color: #f5f5f5; | |
| border-radius: var(--radius-md); | |
| padding: var(--spacing-lg); | |
| } | |
| .severity-indicator h3 { | |
| font-size: var(--font-size-md); | |
| margin-bottom: var(--spacing-sm); | |
| } | |
| .severity-level { | |
| display: flex; | |
| align-items: center; | |
| } | |
| .severity-level i { | |
| margin-right: var(--spacing-sm); | |
| } | |
| .severity-text { | |
| font-weight: var(--font-weight-medium); | |
| } | |
| .severity-low { | |
| color: var(--success-color); | |
| } | |
| .severity-moderate { | |
| color: var(--warning-color); | |
| } | |
| .severity-high, .severity-very-high { | |
| color: var(--danger-color); | |
| } | |
| .result-tabs { | |
| display: flex; | |
| border-bottom: 1px solid var(--border-color); | |
| } | |
| .tab-button { | |
| padding: var(--spacing-md) var(--spacing-lg); | |
| background: none; | |
| border: none; | |
| border-bottom: 3px solid transparent; | |
| cursor: pointer; | |
| font-weight: var(--font-weight-medium); | |
| transition: all var(--transition-fast); | |
| } | |
| .tab-button:hover { | |
| background-color: rgba(0, 0, 0, 0.02); | |
| } | |
| .tab-button.active { | |
| color: var(--primary-color); | |
| border-bottom-color: var(--primary-color); | |
| } | |
| .tab-content { | |
| padding: var(--spacing-lg); | |
| } | |
| .tab-pane { | |
| display: none; | |
| } | |
| .tab-pane.active { | |
| display: block; | |
| } | |
| .tab-pane h3 { | |
| margin-bottom: var(--spacing-md); | |
| font-size: var(--font-size-lg); | |
| } | |
| .probabilities-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); | |
| gap: var(--spacing-md); | |
| } | |
| .probability-item { | |
| background-color: #f5f5f5; | |
| border-radius: var(--radius-md); | |
| padding: var(--spacing-md); | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| .probability-class { | |
| font-weight: var(--font-weight-medium); | |
| margin-bottom: var(--spacing-xs); | |
| } | |
| .probability-bar { | |
| height: 8px; | |
| background-color: #e0e0e0; | |
| border-radius: var(--radius-sm); | |
| overflow: hidden; | |
| margin: var(--spacing-xs) 0; | |
| } | |
| .probability-fill { | |
| height: 100%; | |
| background-color: var(--primary-color); | |
| } | |
| .probability-value { | |
| font-size: var(--font-size-sm); | |
| color: var(--text-secondary); | |
| align-self: flex-end; | |
| } | |
| .info-resources ul { | |
| list-style-type: none; | |
| padding: 0; | |
| } | |
| .info-resources ul li { | |
| margin-bottom: var(--spacing-sm); | |
| } | |
| .info-resources ul li a { | |
| display: flex; | |
| align-items: center; | |
| padding: var(--spacing-sm); | |
| background-color: #f5f5f5; | |
| border-radius: var(--radius-md); | |
| transition: background-color var(--transition-fast); | |
| } | |
| .info-resources ul li a:hover { | |
| background-color: #e0e0e0; | |
| } | |
| .info-resources ul li a i { | |
| margin-right: var(--spacing-sm); | |
| color: var(--primary-color); | |
| } | |
| .next-steps-content { | |
| margin-bottom: var(--spacing-lg); | |
| } | |
| .next-step { | |
| display: flex; | |
| margin-bottom: var(--spacing-md); | |
| padding: var(--spacing-md); | |
| background-color: #f5f5f5; | |
| border-radius: var(--radius-md); | |
| } | |
| .step-icon { | |
| flex: 0 0 50px; | |
| height: 50px; | |
| background-color: var(--primary-light); | |
| color: white; | |
| border-radius: var(--radius-round); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-size: 1.25rem; | |
| margin-right: var(--spacing-md); | |
| } | |
| .step-content { | |
| flex: 1; | |
| } | |
| .step-content h4 { | |
| margin-bottom: var(--spacing-xs); | |
| } | |
| .step-content p { | |
| margin-bottom: 0; | |
| font-size: var(--font-size-sm); | |
| } | |
| .disclaimer-box { | |
| background-color: #fff8e1; | |
| border-left: 4px solid var(--warning-color); | |
| padding: var(--spacing-md); | |
| border-radius: var(--radius-md); | |
| } | |
| .disclaimer-box p { | |
| margin-bottom: 0; | |
| font-size: var(--font-size-sm); | |
| } | |
| .result-actions { | |
| display: flex; | |
| justify-content: flex-end; | |
| gap: var(--spacing-md); | |
| padding: var(--spacing-lg); | |
| border-top: 1px solid var(--border-color); | |
| } | |
| @media (max-width: 992px) { | |
| .tool-container { | |
| flex-direction: column; | |
| } | |
| .tool-sidebar { | |
| flex: 0 0 auto; | |
| width: 100%; | |
| } | |
| } | |
| @media (max-width: 768px) { | |
| .result-summary { | |
| flex-direction: column; | |
| } | |
| .result-image-container { | |
| flex: 0 0 auto; | |
| margin-right: 0; | |
| margin-bottom: var(--spacing-lg); | |
| } | |
| .result-tabs { | |
| overflow-x: auto; | |
| white-space: nowrap; | |
| } | |
| .tab-button { | |
| padding: var(--spacing-md) var(--spacing-sm); | |
| } | |
| .probabilities-grid { | |
| grid-template-columns: 1fr; | |
| } | |
| } | |
| /* Add to styles.css */ | |
| .menu-open { | |
| overflow: hidden; | |
| } | |
| .nav-links.active { | |
| right: 0; | |
| } | |
| .mobile-menu-toggle.active .bar:nth-child(1) { | |
| transform: translateY(8px) rotate(45deg); | |
| } | |
| .mobile-menu-toggle.active .bar:nth-child(2) { | |
| opacity: 0; | |
| } | |
| .mobile-menu-toggle.active .bar:nth-child(3) { | |
| transform: translateY(-8px) rotate(-45deg); | |
| } | |