Spaces:
Sleeping
Sleeping
| /* ========================================================================== | |
| NPClassifier AI — Complete Stylesheet | |
| ICAR-IASRI, New Delhi | |
| ========================================================================== */ | |
| /* ===== CSS Variables ===== */ | |
| :root { | |
| /* Primary palette */ | |
| --primary: #667eea; | |
| --primary-dark: #5a67d8; | |
| --primary-light: #a3bffa; | |
| --secondary: #764ba2; | |
| --accent: #f093fb; | |
| /* Gradients */ | |
| --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%); | |
| --gradient-hero: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%); | |
| --gradient-card: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%); | |
| --gradient-glow: radial-gradient(circle at 50% 50%, rgba(102,126,234,0.15) 0%, transparent 70%); | |
| /* Semantic colors */ | |
| --success: #48bb78; | |
| --warning: #ecc94b; | |
| --danger: #fc8181; | |
| --info: #63b3ed; | |
| /* Neutrals */ | |
| --bg-body: #0f1117; | |
| --bg-section: #13151d; | |
| --bg-card: #1a1d2e; | |
| --bg-card-hover: #222640; | |
| --bg-input: #1e2235; | |
| --text-primary: #e2e8f0; | |
| --text-secondary: #a0aec0; | |
| --text-muted: #718096; | |
| --border: #2d3148; | |
| --border-hover: #4a5568; | |
| /* Typography */ | |
| --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; | |
| --font-mono: 'JetBrains Mono', 'Fira Code', monospace; | |
| /* Spacing */ | |
| --nav-height: 72px; | |
| --section-padding: 100px; | |
| --container-max: 1200px; | |
| --radius: 16px; | |
| --radius-sm: 10px; | |
| --radius-xs: 6px; | |
| /* Shadows */ | |
| --shadow-sm: 0 2px 8px rgba(0,0,0,0.2); | |
| --shadow-md: 0 8px 30px rgba(0,0,0,0.3); | |
| --shadow-lg: 0 20px 60px rgba(0,0,0,0.4); | |
| --shadow-glow: 0 0 40px rgba(102,126,234,0.2); | |
| /* Transitions */ | |
| --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); | |
| } | |
| /* ===== Reset ===== */ | |
| *, | |
| *::before, | |
| *::after { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| html { | |
| scroll-behavior: smooth; | |
| font-size: 16px; | |
| -webkit-font-smoothing: antialiased; | |
| -moz-osx-font-smoothing: grayscale; | |
| } | |
| body { | |
| font-family: var(--font-body); | |
| background: var(--bg-body); | |
| color: var(--text-primary); | |
| line-height: 1.7; | |
| overflow-x: hidden; | |
| } | |
| a { | |
| color: var(--primary-light); | |
| text-decoration: none; | |
| transition: var(--transition); | |
| } | |
| a:hover { | |
| color: var(--accent); | |
| } | |
| img { | |
| max-width: 100%; | |
| height: auto; | |
| } | |
| ul { | |
| list-style: none; | |
| } | |
| /* ===== Utility Classes ===== */ | |
| .container { | |
| max-width: var(--container-max); | |
| margin: 0 auto; | |
| padding: 0 24px; | |
| } | |
| .section { | |
| padding: var(--section-padding) 0; | |
| position: relative; | |
| } | |
| .gradient-text { | |
| background: var(--gradient-primary); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| background-clip: text; | |
| } | |
| .glass-card { | |
| background: var(--bg-card); | |
| border: 1px solid var(--border); | |
| border-radius: var(--radius); | |
| backdrop-filter: blur(10px); | |
| transition: var(--transition); | |
| } | |
| .glass-card:hover { | |
| border-color: var(--border-hover); | |
| box-shadow: var(--shadow-glow); | |
| transform: translateY(-2px); | |
| } | |
| /* ===== Buttons ===== */ | |
| .btn { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 8px; | |
| padding: 12px 24px; | |
| border-radius: var(--radius-sm); | |
| font-family: var(--font-body); | |
| font-weight: 600; | |
| font-size: 0.95rem; | |
| border: none; | |
| cursor: pointer; | |
| transition: var(--transition); | |
| text-decoration: none; | |
| white-space: nowrap; | |
| } | |
| .btn i { | |
| font-size: 0.9em; | |
| } | |
| .btn-primary { | |
| background: var(--gradient-primary); | |
| color: #fff; | |
| box-shadow: 0 4px 15px rgba(102,126,234,0.4); | |
| } | |
| .btn-primary:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 8px 25px rgba(102,126,234,0.5); | |
| color: #fff; | |
| } | |
| .btn-outline { | |
| background: transparent; | |
| color: var(--text-primary); | |
| border: 2px solid var(--border); | |
| } | |
| .btn-outline:hover { | |
| border-color: var(--primary); | |
| color: var(--primary-light); | |
| background: rgba(102,126,234,0.1); | |
| } | |
| .btn-ghost { | |
| background: rgba(102,126,234,0.1); | |
| color: var(--primary-light); | |
| padding: 6px 14px; | |
| font-size: 0.82rem; | |
| border-radius: var(--radius-xs); | |
| } | |
| .btn-ghost:hover { | |
| background: rgba(102,126,234,0.2); | |
| color: #fff; | |
| } | |
| .btn-lg { | |
| padding: 14px 32px; | |
| font-size: 1.05rem; | |
| } | |
| .btn-sm { | |
| padding: 8px 16px; | |
| font-size: 0.85rem; | |
| } | |
| .btn-full { | |
| width: 100%; | |
| justify-content: center; | |
| } | |
| /* ========================================================================== | |
| NAVIGATION | |
| ========================================================================== */ | |
| .navbar { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| height: var(--nav-height); | |
| z-index: 1000; | |
| background: rgba(15, 17, 23, 0.85); | |
| backdrop-filter: blur(20px); | |
| border-bottom: 1px solid transparent; | |
| transition: var(--transition); | |
| } | |
| .navbar.scrolled { | |
| background: rgba(15, 17, 23, 0.95); | |
| border-bottom-color: var(--border); | |
| box-shadow: var(--shadow-sm); | |
| } | |
| .nav-container { | |
| max-width: var(--container-max); | |
| margin: 0 auto; | |
| padding: 0 24px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| height: 100%; | |
| } | |
| .nav-logo { | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| text-decoration: none; | |
| color: var(--text-primary); | |
| } | |
| .logo-icon { | |
| width: 42px; | |
| height: 42px; | |
| background: var(--gradient-primary); | |
| border-radius: 12px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-size: 1.2rem; | |
| color: #fff; | |
| } | |
| .logo-text { | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| .logo-title { | |
| font-weight: 800; | |
| font-size: 1.15rem; | |
| line-height: 1.2; | |
| letter-spacing: -0.02em; | |
| } | |
| .logo-subtitle { | |
| font-size: 0.7rem; | |
| color: var(--text-muted); | |
| font-weight: 500; | |
| letter-spacing: 0.05em; | |
| text-transform: uppercase; | |
| } | |
| .nav-links { | |
| display: flex; | |
| align-items: center; | |
| gap: 4px; | |
| } | |
| .nav-link { | |
| display: flex; | |
| align-items: center; | |
| gap: 6px; | |
| padding: 8px 16px; | |
| color: var(--text-secondary); | |
| font-weight: 500; | |
| font-size: 0.9rem; | |
| border-radius: var(--radius-xs); | |
| transition: var(--transition); | |
| } | |
| .nav-link:hover { | |
| color: var(--text-primary); | |
| background: rgba(102,126,234,0.1); | |
| } | |
| .nav-link.active { | |
| color: var(--primary-light); | |
| background: rgba(102,126,234,0.15); | |
| } | |
| .nav-link i { | |
| font-size: 0.85em; | |
| } | |
| /* Hamburger */ | |
| .nav-toggle { | |
| display: none; | |
| background: none; | |
| border: none; | |
| cursor: pointer; | |
| padding: 8px; | |
| } | |
| .hamburger { | |
| display: block; | |
| width: 24px; | |
| height: 2px; | |
| background: var(--text-primary); | |
| position: relative; | |
| transition: var(--transition); | |
| } | |
| .hamburger::before, | |
| .hamburger::after { | |
| content: ''; | |
| position: absolute; | |
| width: 24px; | |
| height: 2px; | |
| background: var(--text-primary); | |
| transition: var(--transition); | |
| } | |
| .hamburger::before { top: -7px; } | |
| .hamburger::after { top: 7px; } | |
| .nav-toggle.active .hamburger { | |
| background: transparent; | |
| } | |
| .nav-toggle.active .hamburger::before { | |
| top: 0; | |
| transform: rotate(45deg); | |
| } | |
| .nav-toggle.active .hamburger::after { | |
| top: 0; | |
| transform: rotate(-45deg); | |
| } | |
| /* ========================================================================== | |
| HERO SECTION | |
| ========================================================================== */ | |
| .hero { | |
| min-height: 100vh; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| position: relative; | |
| overflow: hidden; | |
| padding-top: var(--nav-height); | |
| } | |
| .hero-bg { | |
| position: absolute; | |
| inset: 0; | |
| z-index: 0; | |
| } | |
| .hero-gradient { | |
| position: absolute; | |
| inset: 0; | |
| background: var(--gradient-hero); | |
| } | |
| .hero-particles { | |
| position: absolute; | |
| inset: 0; | |
| z-index: 1; | |
| } | |
| .hero-content { | |
| position: relative; | |
| z-index: 2; | |
| text-align: center; | |
| max-width: 820px; | |
| padding: 40px 24px; | |
| } | |
| .hero-badge { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 8px; | |
| padding: 8px 20px; | |
| background: rgba(102,126,234,0.15); | |
| border: 1px solid rgba(102,126,234,0.3); | |
| border-radius: 50px; | |
| font-size: 0.85rem; | |
| font-weight: 500; | |
| color: var(--primary-light); | |
| margin-bottom: 28px; | |
| } | |
| .hero-title { | |
| font-size: clamp(2.5rem, 6vw, 4.5rem); | |
| font-weight: 900; | |
| line-height: 1.1; | |
| letter-spacing: -0.03em; | |
| margin-bottom: 24px; | |
| } | |
| .title-line { | |
| display: block; | |
| } | |
| .hero-subtitle { | |
| font-size: 1.15rem; | |
| color: var(--text-secondary); | |
| line-height: 1.8; | |
| margin-bottom: 40px; | |
| max-width: 650px; | |
| margin-left: auto; | |
| margin-right: auto; | |
| } | |
| .hero-actions { | |
| display: flex; | |
| gap: 16px; | |
| justify-content: center; | |
| flex-wrap: wrap; | |
| margin-bottom: 60px; | |
| } | |
| .hero-stats { | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 40px; | |
| flex-wrap: wrap; | |
| } | |
| .stat-item { | |
| text-align: center; | |
| } | |
| .stat-number { | |
| font-size: 1.5rem; | |
| font-weight: 800; | |
| color: var(--primary-light); | |
| } | |
| .stat-label { | |
| font-size: 0.82rem; | |
| color: var(--text-muted); | |
| margin-top: 4px; | |
| } | |
| .stat-divider { | |
| width: 1px; | |
| height: 40px; | |
| background: var(--border); | |
| } | |
| /* Scroll indicator */ | |
| .hero-scroll { | |
| position: absolute; | |
| bottom: 30px; | |
| left: 50%; | |
| transform: translateX(-50%); | |
| z-index: 2; | |
| } | |
| .scroll-indicator { | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| gap: 8px; | |
| color: var(--text-muted); | |
| font-size: 0.78rem; | |
| animation: bounce 2s infinite; | |
| } | |
| @keyframes bounce { | |
| 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } | |
| 40% { transform: translateY(-8px); } | |
| 60% { transform: translateY(-4px); } | |
| } | |
| /* ========================================================================== | |
| SECTION HEADERS | |
| ========================================================================== */ | |
| .section-header { | |
| text-align: center; | |
| margin-bottom: 64px; | |
| } | |
| .section-tag { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 8px; | |
| padding: 6px 18px; | |
| background: rgba(102,126,234,0.1); | |
| border: 1px solid rgba(102,126,234,0.2); | |
| border-radius: 50px; | |
| font-size: 0.82rem; | |
| font-weight: 600; | |
| color: var(--primary-light); | |
| margin-bottom: 16px; | |
| text-transform: uppercase; | |
| letter-spacing: 0.05em; | |
| } | |
| .section-title { | |
| font-size: clamp(1.8rem, 4vw, 2.8rem); | |
| font-weight: 800; | |
| letter-spacing: -0.02em; | |
| margin-bottom: 16px; | |
| } | |
| .section-desc { | |
| font-size: 1.05rem; | |
| color: var(--text-secondary); | |
| max-width: 600px; | |
| margin: 0 auto; | |
| line-height: 1.8; | |
| } | |
| /* ========================================================================== | |
| FEATURES SECTION | |
| ========================================================================== */ | |
| .features-section { | |
| background: var(--bg-section); | |
| } | |
| .features-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); | |
| gap: 24px; | |
| } | |
| .feature-card { | |
| padding: 36px 28px; | |
| border-radius: var(--radius); | |
| background: var(--bg-card); | |
| border: 1px solid var(--border); | |
| transition: var(--transition); | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .feature-card::before { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| height: 3px; | |
| background: var(--gradient-primary); | |
| transform: scaleX(0); | |
| transition: transform 0.4s ease; | |
| } | |
| .feature-card:hover { | |
| transform: translateY(-6px); | |
| border-color: var(--primary); | |
| box-shadow: var(--shadow-glow); | |
| } | |
| .feature-card:hover::before { | |
| transform: scaleX(1); | |
| } | |
| .feature-icon { | |
| width: 56px; | |
| height: 56px; | |
| background: var(--gradient-primary); | |
| border-radius: 14px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-size: 1.4rem; | |
| color: #fff; | |
| margin-bottom: 20px; | |
| } | |
| .feature-card h3 { | |
| font-size: 1.15rem; | |
| font-weight: 700; | |
| margin-bottom: 12px; | |
| } | |
| .feature-card p { | |
| color: var(--text-secondary); | |
| font-size: 0.92rem; | |
| line-height: 1.7; | |
| } | |
| /* ========================================================================== | |
| WORKFLOW SECTION | |
| ========================================================================== */ | |
| .workflow-steps { | |
| max-width: 700px; | |
| margin: 0 auto; | |
| } | |
| .workflow-step { | |
| display: flex; | |
| align-items: center; | |
| gap: 28px; | |
| padding: 28px; | |
| background: var(--bg-card); | |
| border: 1px solid var(--border); | |
| border-radius: var(--radius); | |
| transition: var(--transition); | |
| } | |
| .workflow-step:hover { | |
| transform: translateX(8px); | |
| border-color: var(--primary); | |
| box-shadow: var(--shadow-glow); | |
| } | |
| .step-number { | |
| font-size: 2.5rem; | |
| font-weight: 900; | |
| background: var(--gradient-primary); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| background-clip: text; | |
| min-width: 60px; | |
| } | |
| .step-content h3 { | |
| font-size: 1.1rem; | |
| font-weight: 700; | |
| margin-bottom: 6px; | |
| } | |
| .step-content p { | |
| color: var(--text-secondary); | |
| font-size: 0.9rem; | |
| } | |
| .step-icon { | |
| margin-left: auto; | |
| font-size: 1.5rem; | |
| color: var(--primary-light); | |
| opacity: 0.5; | |
| } | |
| .workflow-connector { | |
| height: 32px; | |
| width: 2px; | |
| background: var(--border); | |
| margin: 0 auto; | |
| } | |
| /* ========================================================================== | |
| CTA SECTION | |
| ========================================================================== */ | |
| .cta-section { | |
| padding: 80px 0; | |
| } | |
| .cta-card { | |
| background: var(--gradient-primary); | |
| border-radius: var(--radius); | |
| padding: 60px 40px; | |
| text-align: center; | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .cta-card::before { | |
| content: ''; | |
| position: absolute; | |
| inset: 0; | |
| background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); | |
| } | |
| .cta-content { | |
| position: relative; | |
| z-index: 1; | |
| } | |
| .cta-content h2 { | |
| font-size: clamp(1.6rem, 3vw, 2.2rem); | |
| font-weight: 800; | |
| color: #fff; | |
| margin-bottom: 16px; | |
| } | |
| .cta-content p { | |
| color: rgba(255,255,255,0.85); | |
| font-size: 1.05rem; | |
| margin-bottom: 32px; | |
| } | |
| .cta-content .btn-primary { | |
| background: #fff; | |
| color: var(--primary-dark); | |
| box-shadow: 0 4px 15px rgba(0,0,0,0.2); | |
| } | |
| .cta-content .btn-primary:hover { | |
| transform: translateY(-3px); | |
| box-shadow: 0 8px 30px rgba(0,0,0,0.3); | |
| } | |
| /* ========================================================================== | |
| PREDICT PAGE | |
| ========================================================================== */ | |
| .predict-section { | |
| padding-top: calc(var(--nav-height) + 40px); | |
| } | |
| .predict-container { | |
| max-width: 800px; | |
| margin: 0 auto; | |
| } | |
| .input-card { | |
| padding: 0; | |
| overflow: hidden; | |
| } | |
| .input-header { | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| flex-wrap: wrap; | |
| gap: 12px; | |
| padding: 20px 28px; | |
| border-bottom: 1px solid var(--border); | |
| } | |
| .input-header h3 { | |
| font-size: 1.05rem; | |
| font-weight: 700; | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| } | |
| .example-btns { | |
| display: flex; | |
| gap: 6px; | |
| flex-wrap: wrap; | |
| } | |
| .input-body { | |
| padding: 24px 28px; | |
| } | |
| .smiles-textarea { | |
| width: 100%; | |
| padding: 16px 20px; | |
| background: var(--bg-input); | |
| border: 2px solid var(--border); | |
| border-radius: var(--radius-sm); | |
| color: var(--text-primary); | |
| font-family: var(--font-mono); | |
| font-size: 1rem; | |
| line-height: 1.6; | |
| resize: vertical; | |
| transition: var(--transition); | |
| outline: none; | |
| } | |
| .smiles-textarea::placeholder { | |
| color: var(--text-muted); | |
| } | |
| .smiles-textarea:focus { | |
| border-color: var(--primary); | |
| box-shadow: 0 0 0 3px rgba(102,126,234,0.15); | |
| } | |
| .input-actions { | |
| display: flex; | |
| gap: 12px; | |
| margin-top: 16px; | |
| } | |
| .input-meta { | |
| margin-top: 8px; | |
| font-size: 0.82rem; | |
| color: var(--text-muted); | |
| } | |
| /* Loading Overlay */ | |
| .loading-overlay { | |
| display: flex; | |
| justify-content: center; | |
| padding: 60px 0; | |
| } | |
| .loading-spinner { | |
| text-align: center; | |
| } | |
| .spinner-ring { | |
| width: 50px; | |
| height: 50px; | |
| border: 3px solid var(--border); | |
| border-top-color: var(--primary); | |
| border-radius: 50%; | |
| animation: spin 0.8s linear infinite; | |
| margin: 0 auto 16px; | |
| } | |
| @keyframes spin { | |
| to { transform: rotate(360deg); } | |
| } | |
| .loading-spinner p { | |
| color: var(--text-secondary); | |
| font-size: 0.95rem; | |
| } | |
| /* Error Card */ | |
| .error-card { | |
| display: flex; | |
| align-items: center; | |
| gap: 16px; | |
| max-width: 800px; | |
| margin: 24px auto; | |
| padding: 20px 28px; | |
| background: rgba(252,129,129,0.1); | |
| border: 1px solid rgba(252,129,129,0.3); | |
| border-radius: var(--radius-sm); | |
| } | |
| .error-icon { | |
| font-size: 1.4rem; | |
| color: var(--danger); | |
| } | |
| .error-message { | |
| color: var(--danger); | |
| font-weight: 500; | |
| } | |
| /* Results Section */ | |
| .results-section { | |
| margin-top: 40px; | |
| } | |
| .result-top-row { | |
| display: grid; | |
| grid-template-columns: 1fr 1.2fr; | |
| gap: 24px; | |
| margin-bottom: 24px; | |
| } | |
| .structure-card, | |
| .summary-card { | |
| padding: 0; | |
| overflow: hidden; | |
| } | |
| .card-header { | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| padding: 16px 24px; | |
| border-bottom: 1px solid var(--border); | |
| } | |
| .card-header h3 { | |
| font-size: 0.95rem; | |
| font-weight: 700; | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| } | |
| .inference-time { | |
| font-size: 0.8rem; | |
| color: var(--success); | |
| font-weight: 600; | |
| } | |
| .structure-canvas { | |
| padding: 20px; | |
| } | |
| .placeholder-text { | |
| color: var(--text-muted); | |
| font-size: 0.9rem; | |
| } | |
| /* Summary Body */ | |
| .summary-body { | |
| padding: 20px 24px; | |
| } | |
| .summary-item { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| padding: 12px 0; | |
| border-bottom: 1px solid rgba(45,49,72,0.5); | |
| } | |
| .summary-item:last-child { | |
| border-bottom: none; | |
| } | |
| .summary-label { | |
| font-size: 0.85rem; | |
| color: var(--text-muted); | |
| font-weight: 600; | |
| text-transform: uppercase; | |
| letter-spacing: 0.04em; | |
| } | |
| .summary-value { | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| } | |
| .smiles-display { | |
| font-family: var(--font-mono); | |
| font-size: 0.85rem; | |
| color: var(--primary-light); | |
| word-break: break-all; | |
| } | |
| .pred-name { | |
| font-weight: 600; | |
| } | |
| .confidence-badge { | |
| padding: 3px 10px; | |
| border-radius: 50px; | |
| font-size: 0.78rem; | |
| font-weight: 700; | |
| } | |
| .confidence-badge.high { | |
| background: rgba(72,187,120,0.15); | |
| color: var(--success); | |
| } | |
| .confidence-badge.med { | |
| background: rgba(236,201,75,0.15); | |
| color: var(--warning); | |
| } | |
| .confidence-badge.low { | |
| background: rgba(252,129,129,0.15); | |
| color: var(--danger); | |
| } | |
| /* Detail Cards */ | |
| .detail-cards-row { | |
| display: grid; | |
| grid-template-columns: repeat(3, 1fr); | |
| gap: 24px; | |
| } | |
| .detail-card { | |
| padding: 0; | |
| overflow: hidden; | |
| } | |
| .detail-header { | |
| padding: 16px 24px; | |
| border-bottom: 1px solid var(--border); | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| } | |
| .level-badge { | |
| padding: 4px 12px; | |
| border-radius: 50px; | |
| font-size: 0.72rem; | |
| font-weight: 700; | |
| text-transform: uppercase; | |
| letter-spacing: 0.05em; | |
| } | |
| .pathway-badge { | |
| background: rgba(102,126,234,0.15); | |
| color: var(--primary-light); | |
| } | |
| .superclass-badge { | |
| background: rgba(118,75,162,0.15); | |
| color: #c4a3e8; | |
| } | |
| .class-badge { | |
| background: rgba(240,147,251,0.15); | |
| color: var(--accent); | |
| } | |
| .detail-header h3 { | |
| font-size: 1rem; | |
| font-weight: 700; | |
| } | |
| .detail-body { | |
| padding: 20px 24px; | |
| } | |
| .predicted-main { | |
| margin-bottom: 20px; | |
| } | |
| .predicted-label { | |
| font-size: 0.78rem; | |
| color: var(--text-muted); | |
| text-transform: uppercase; | |
| letter-spacing: 0.05em; | |
| margin-bottom: 6px; | |
| } | |
| .predicted-value { | |
| font-size: 1.15rem; | |
| font-weight: 700; | |
| margin-bottom: 12px; | |
| } | |
| .confidence-bar-container { | |
| width: 100%; | |
| height: 6px; | |
| background: var(--border); | |
| border-radius: 3px; | |
| overflow: hidden; | |
| margin-bottom: 6px; | |
| } | |
| .confidence-bar { | |
| height: 100%; | |
| background: var(--gradient-primary); | |
| border-radius: 3px; | |
| transition: width 0.8s ease; | |
| } | |
| .confidence-text { | |
| font-size: 0.82rem; | |
| color: var(--text-muted); | |
| } | |
| .topn-header { | |
| font-size: 0.82rem; | |
| font-weight: 700; | |
| color: var(--text-muted); | |
| text-transform: uppercase; | |
| letter-spacing: 0.05em; | |
| margin-bottom: 12px; | |
| padding-top: 16px; | |
| border-top: 1px solid var(--border); | |
| } | |
| .topn-list { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 8px; | |
| } | |
| .topn-item { | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| font-size: 0.85rem; | |
| } | |
| .topn-item.topn-best { | |
| font-weight: 600; | |
| } | |
| .topn-rank { | |
| color: var(--text-muted); | |
| min-width: 24px; | |
| font-weight: 700; | |
| font-size: 0.78rem; | |
| } | |
| .topn-name { | |
| flex: 1; | |
| min-width: 0; | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| white-space: nowrap; | |
| } | |
| .topn-bar-bg { | |
| width: 60px; | |
| height: 4px; | |
| background: var(--border); | |
| border-radius: 2px; | |
| overflow: hidden; | |
| } | |
| .topn-bar { | |
| height: 100%; | |
| background: var(--gradient-primary); | |
| border-radius: 2px; | |
| } | |
| .topn-pct { | |
| color: var(--text-muted); | |
| font-size: 0.78rem; | |
| min-width: 40px; | |
| text-align: right; | |
| } | |
| /* ========================================================================== | |
| BATCH RESULTS TABLE | |
| ========================================================================== */ | |
| .batch-results { | |
| padding: 0; | |
| overflow: hidden; | |
| margin-top: 32px; | |
| } | |
| .table-container { | |
| overflow-x: auto; | |
| } | |
| .results-table { | |
| width: 100%; | |
| border-collapse: collapse; | |
| } | |
| .results-table thead { | |
| background: rgba(102,126,234,0.1); | |
| } | |
| .results-table th { | |
| padding: 14px 16px; | |
| text-align: left; | |
| font-size: 0.8rem; | |
| font-weight: 700; | |
| text-transform: uppercase; | |
| letter-spacing: 0.05em; | |
| color: var(--text-muted); | |
| border-bottom: 1px solid var(--border); | |
| } | |
| .results-table td { | |
| padding: 12px 16px; | |
| font-size: 0.88rem; | |
| border-bottom: 1px solid rgba(45,49,72,0.3); | |
| } | |
| .results-table tbody tr { | |
| transition: var(--transition); | |
| } | |
| .results-table tbody tr:hover { | |
| background: rgba(102,126,234,0.05); | |
| } | |
| .smiles-cell { | |
| font-family: var(--font-mono); | |
| font-size: 0.82rem; | |
| max-width: 200px; | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| white-space: nowrap; | |
| } | |
| .conf-pill { | |
| padding: 3px 10px; | |
| border-radius: 50px; | |
| font-size: 0.75rem; | |
| font-weight: 700; | |
| } | |
| .conf-pill.high { background: rgba(72,187,120,0.15); color: var(--success); } | |
| .conf-pill.med { background: rgba(236,201,75,0.15); color: var(--warning); } | |
| .conf-pill.low { background: rgba(252,129,129,0.15); color: var(--danger); } | |
| .status-ok { color: var(--success); font-size: 1.1rem; } | |
| .status-err { color: var(--danger); font-size: 1.1rem; } | |
| .error-cell { color: var(--danger); font-style: italic; } | |
| /* ========================================================================== | |
| ABOUT PAGE | |
| ========================================================================== */ | |
| .about-section { | |
| padding-top: calc(var(--nav-height) + 40px); | |
| } | |
| .about-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); | |
| gap: 24px; | |
| margin-bottom: 48px; | |
| } | |
| .about-card { | |
| padding: 32px 28px; | |
| } | |
| .about-icon { | |
| width: 52px; | |
| height: 52px; | |
| background: var(--gradient-primary); | |
| border-radius: 14px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-size: 1.3rem; | |
| color: #fff; | |
| margin-bottom: 20px; | |
| } | |
| .about-card h3 { | |
| font-size: 1.1rem; | |
| font-weight: 700; | |
| margin-bottom: 12px; | |
| } | |
| .about-card p { | |
| color: var(--text-secondary); | |
| font-size: 0.92rem; | |
| line-height: 1.7; | |
| } | |
| .about-list { | |
| margin-top: 8px; | |
| } | |
| .about-list li { | |
| padding: 6px 0; | |
| color: var(--text-secondary); | |
| font-size: 0.9rem; | |
| position: relative; | |
| padding-left: 16px; | |
| } | |
| .about-list li::before { | |
| content: '→'; | |
| position: absolute; | |
| left: 0; | |
| color: var(--primary-light); | |
| } | |
| /* Tech Stack */ | |
| .tech-stack { | |
| text-align: center; | |
| margin-bottom: 48px; | |
| } | |
| .tech-title { | |
| font-size: 1.3rem; | |
| font-weight: 700; | |
| margin-bottom: 28px; | |
| } | |
| .tech-grid { | |
| display: flex; | |
| justify-content: center; | |
| flex-wrap: wrap; | |
| gap: 20px; | |
| } | |
| .tech-item { | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| gap: 8px; | |
| padding: 20px 28px; | |
| background: var(--bg-card); | |
| border: 1px solid var(--border); | |
| border-radius: var(--radius-sm); | |
| transition: var(--transition); | |
| min-width: 120px; | |
| } | |
| .tech-item:hover { | |
| transform: translateY(-4px); | |
| border-color: var(--primary); | |
| box-shadow: var(--shadow-glow); | |
| } | |
| .tech-logo { | |
| font-size: 2rem; | |
| color: var(--primary-light); | |
| } | |
| .tech-item span { | |
| font-size: 0.85rem; | |
| font-weight: 600; | |
| color: var(--text-secondary); | |
| } | |
| /* API Section */ | |
| .api-section { | |
| padding: 32px; | |
| } | |
| .api-section h3 { | |
| font-size: 1.2rem; | |
| font-weight: 700; | |
| margin-bottom: 24px; | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| } | |
| .api-endpoints { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 12px; | |
| margin-bottom: 28px; | |
| } | |
| .api-endpoint { | |
| display: flex; | |
| align-items: center; | |
| gap: 14px; | |
| padding: 12px 16px; | |
| background: var(--bg-input); | |
| border-radius: var(--radius-xs); | |
| } | |
| .method { | |
| padding: 4px 12px; | |
| border-radius: 4px; | |
| font-size: 0.72rem; | |
| font-weight: 800; | |
| text-transform: uppercase; | |
| letter-spacing: 0.05em; | |
| min-width: 50px; | |
| text-align: center; | |
| } | |
| .method.get { background: rgba(72,187,120,0.2); color: var(--success); } | |
| .method.post { background: rgba(99,179,237,0.2); color: var(--info); } | |
| .api-endpoint code { | |
| font-family: var(--font-mono); | |
| font-size: 0.9rem; | |
| color: var(--primary-light); | |
| } | |
| .api-desc { | |
| color: var(--text-muted); | |
| font-size: 0.85rem; | |
| margin-left: auto; | |
| } | |
| .api-example h4 { | |
| font-size: 0.95rem; | |
| margin-bottom: 12px; | |
| } | |
| .api-example pre { | |
| background: var(--bg-input); | |
| padding: 16px 20px; | |
| border-radius: var(--radius-xs); | |
| overflow-x: auto; | |
| } | |
| .api-example code { | |
| font-family: var(--font-mono); | |
| font-size: 0.85rem; | |
| color: var(--text-secondary); | |
| } | |
| /* ========================================================================== | |
| DEVELOPERS PAGE | |
| ========================================================================== */ | |
| .developers-section { | |
| padding-top: calc(var(--nav-height) + 40px); | |
| } | |
| .developers-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); | |
| gap: 28px; | |
| margin-bottom: 48px; | |
| } | |
| .developer-card { | |
| perspective: 1000px; | |
| } | |
| .dev-card-inner { | |
| background: var(--bg-card); | |
| border: 1px solid var(--border); | |
| border-radius: var(--radius); | |
| padding: 36px 28px; | |
| text-align: center; | |
| transition: var(--transition); | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .dev-card-inner::before { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| height: 4px; | |
| background: var(--gradient-primary); | |
| transform: scaleX(0); | |
| transition: transform 0.4s ease; | |
| } | |
| .dev-card-inner:hover { | |
| transform: translateY(-8px); | |
| border-color: var(--primary); | |
| box-shadow: var(--shadow-glow), var(--shadow-md); | |
| } | |
| .dev-card-inner:hover::before { | |
| transform: scaleX(1); | |
| } | |
| .dev-photo-container { | |
| position: relative; | |
| width: 120px; | |
| height: 120px; | |
| margin: 0 auto 24px; | |
| } | |
| .dev-photo-ring { | |
| position: absolute; | |
| inset: -4px; | |
| border-radius: 50%; | |
| background: var(--gradient-primary); | |
| opacity: 0; | |
| transition: opacity 0.4s ease; | |
| } | |
| .dev-card-inner:hover .dev-photo-ring { | |
| opacity: 1; | |
| } | |
| .dev-photo { | |
| width: 120px; | |
| height: 120px; | |
| border-radius: 50%; | |
| object-fit: cover; | |
| position: relative; | |
| z-index: 1; | |
| border: 4px solid var(--bg-card); | |
| transition: var(--transition); | |
| } | |
| .dev-card-inner:hover .dev-photo { | |
| transform: scale(1.05); | |
| } | |
| .dev-name { | |
| font-size: 1.1rem; | |
| font-weight: 700; | |
| margin-bottom: 6px; | |
| } | |
| .dev-designation { | |
| color: var(--primary-light); | |
| font-size: 0.9rem; | |
| font-weight: 600; | |
| margin-bottom: 8px; | |
| } | |
| .dev-affiliation { | |
| color: var(--text-muted); | |
| font-size: 0.82rem; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 6px; | |
| } | |
| /* Institute Card */ | |
| .institute-card { | |
| padding: 40px; | |
| } | |
| .institute-content { | |
| display: flex; | |
| gap: 28px; | |
| align-items: flex-start; | |
| } | |
| .institute-icon { | |
| width: 64px; | |
| height: 64px; | |
| background: var(--gradient-primary); | |
| border-radius: 16px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-size: 1.6rem; | |
| color: #fff; | |
| flex-shrink: 0; | |
| } | |
| .institute-text h3 { | |
| font-size: 1.2rem; | |
| font-weight: 700; | |
| margin-bottom: 12px; | |
| } | |
| .institute-text p { | |
| color: var(--text-secondary); | |
| font-size: 0.92rem; | |
| line-height: 1.8; | |
| } | |
| /* ========================================================================== | |
| CONTACT PAGE | |
| ========================================================================== */ | |
| .contact-section { | |
| padding-top: calc(var(--nav-height) + 40px); | |
| } | |
| .contact-grid { | |
| display: grid; | |
| grid-template-columns: 1fr 1.3fr; | |
| gap: 32px; | |
| margin-bottom: 48px; | |
| } | |
| .contact-cards { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 16px; | |
| } | |
| .contact-info-card { | |
| display: flex; | |
| align-items: center; | |
| gap: 20px; | |
| padding: 24px; | |
| } | |
| .contact-icon { | |
| width: 50px; | |
| height: 50px; | |
| background: var(--gradient-primary); | |
| border-radius: 14px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-size: 1.1rem; | |
| color: #fff; | |
| flex-shrink: 0; | |
| } | |
| .contact-detail h4 { | |
| font-size: 0.9rem; | |
| font-weight: 700; | |
| margin-bottom: 4px; | |
| } | |
| .contact-detail p { | |
| color: var(--text-secondary); | |
| font-size: 0.88rem; | |
| line-height: 1.6; | |
| } | |
| .contact-detail a { | |
| color: var(--primary-light); | |
| } | |
| /* Contact Form */ | |
| .contact-form-card { | |
| padding: 36px; | |
| } | |
| .contact-form-card h3 { | |
| font-size: 1.15rem; | |
| font-weight: 700; | |
| margin-bottom: 24px; | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| } | |
| .form-group { | |
| margin-bottom: 20px; | |
| } | |
| .form-group label { | |
| display: block; | |
| font-size: 0.85rem; | |
| font-weight: 600; | |
| color: var(--text-secondary); | |
| margin-bottom: 8px; | |
| } | |
| .form-group input, | |
| .form-group textarea { | |
| width: 100%; | |
| padding: 12px 16px; | |
| background: var(--bg-input); | |
| border: 2px solid var(--border); | |
| border-radius: var(--radius-xs); | |
| color: var(--text-primary); | |
| font-family: var(--font-body); | |
| font-size: 0.95rem; | |
| outline: none; | |
| transition: var(--transition); | |
| } | |
| .form-group input:focus, | |
| .form-group textarea:focus { | |
| border-color: var(--primary); | |
| box-shadow: 0 0 0 3px rgba(102,126,234,0.15); | |
| } | |
| .form-group input::placeholder, | |
| .form-group textarea::placeholder { | |
| color: var(--text-muted); | |
| } | |
| .form-group textarea { | |
| resize: vertical; | |
| } | |
| .form-success { | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| gap: 12px; | |
| padding: 40px 20px; | |
| text-align: center; | |
| } | |
| .form-success i { | |
| font-size: 3rem; | |
| color: var(--success); | |
| } | |
| .form-success p { | |
| color: var(--text-secondary); | |
| font-size: 1.05rem; | |
| } | |
| /* Map */ | |
| .map-container { | |
| padding: 0; | |
| overflow: hidden; | |
| } | |
| /* ========================================================================== | |
| FOOTER | |
| ========================================================================== */ | |
| .footer { | |
| position: relative; | |
| background: var(--bg-section); | |
| margin-top: 0; | |
| } | |
| .footer-wave { | |
| color: var(--bg-section); | |
| line-height: 0; | |
| margin-top: -1px; | |
| } | |
| .footer-wave svg { | |
| width: 100%; | |
| height: 60px; | |
| } | |
| .footer-content { | |
| padding: 40px 24px 24px; | |
| max-width: var(--container-max); | |
| margin: 0 auto; | |
| } | |
| .footer-grid { | |
| display: grid; | |
| grid-template-columns: 1.5fr 1fr 1fr; | |
| gap: 40px; | |
| margin-bottom: 40px; | |
| } | |
| .footer-logo { | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| font-size: 1.15rem; | |
| font-weight: 800; | |
| color: var(--text-primary); | |
| margin-bottom: 12px; | |
| } | |
| .footer-logo i { | |
| color: var(--primary-light); | |
| } | |
| .footer-desc { | |
| color: var(--text-muted); | |
| font-size: 0.88rem; | |
| line-height: 1.7; | |
| } | |
| .footer-section h4 { | |
| font-size: 0.95rem; | |
| font-weight: 700; | |
| margin-bottom: 16px; | |
| color: var(--text-primary); | |
| } | |
| .footer-section ul li { | |
| margin-bottom: 8px; | |
| } | |
| .footer-section ul li a { | |
| color: var(--text-muted); | |
| font-size: 0.88rem; | |
| display: flex; | |
| align-items: center; | |
| gap: 6px; | |
| transition: var(--transition); | |
| } | |
| .footer-section ul li a:hover { | |
| color: var(--primary-light); | |
| transform: translateX(4px); | |
| } | |
| .footer-section ul li a i { | |
| font-size: 0.65em; | |
| color: var(--primary); | |
| } | |
| .footer-section p { | |
| color: var(--text-muted); | |
| font-size: 0.88rem; | |
| line-height: 1.6; | |
| } | |
| .footer-bottom { | |
| border-top: 1px solid var(--border); | |
| padding-top: 20px; | |
| text-align: center; | |
| } | |
| .footer-bottom p { | |
| color: var(--text-muted); | |
| font-size: 0.82rem; | |
| } | |
| .footer-tech { | |
| margin-top: 4px; | |
| font-size: 0.75rem ; | |
| color: var(--border-hover) ; | |
| } | |
| /* ========================================================================== | |
| RESPONSIVE | |
| ========================================================================== */ | |
| @media (max-width: 992px) { | |
| .result-top-row { | |
| grid-template-columns: 1fr; | |
| } | |
| .detail-cards-row { | |
| grid-template-columns: 1fr; | |
| } | |
| .contact-grid { | |
| grid-template-columns: 1fr; | |
| } | |
| .footer-grid { | |
| grid-template-columns: 1fr; | |
| gap: 28px; | |
| } | |
| .institute-content { | |
| flex-direction: column; | |
| } | |
| } | |
| @media (max-width: 768px) { | |
| :root { | |
| --section-padding: 64px; | |
| --nav-height: 64px; | |
| } | |
| .nav-links { | |
| position: fixed; | |
| top: var(--nav-height); | |
| left: 0; | |
| right: 0; | |
| background: rgba(15,17,23,0.98); | |
| backdrop-filter: blur(20px); | |
| flex-direction: column; | |
| padding: 20px; | |
| gap: 4px; | |
| border-bottom: 1px solid var(--border); | |
| transform: translateY(-100%); | |
| opacity: 0; | |
| pointer-events: none; | |
| transition: var(--transition); | |
| } | |
| .nav-links.open { | |
| transform: translateY(0); | |
| opacity: 1; | |
| pointer-events: auto; | |
| } | |
| .nav-toggle { | |
| display: block; | |
| } | |
| .nav-link { | |
| padding: 12px 16px; | |
| width: 100%; | |
| border-radius: var(--radius-xs); | |
| } | |
| .hero-stats { | |
| gap: 20px; | |
| } | |
| .stat-divider { | |
| display: none; | |
| } | |
| .features-grid { | |
| grid-template-columns: 1fr; | |
| } | |
| .workflow-step { | |
| flex-direction: column; | |
| text-align: center; | |
| } | |
| .step-icon { | |
| margin-left: 0; | |
| } | |
| .developers-grid { | |
| grid-template-columns: 1fr 1fr; | |
| } | |
| .api-endpoint { | |
| flex-direction: column; | |
| align-items: flex-start; | |
| } | |
| .api-desc { | |
| margin-left: 0; | |
| } | |
| } | |
| @media (max-width: 480px) { | |
| .developers-grid { | |
| grid-template-columns: 1fr; | |
| } | |
| .hero-actions { | |
| flex-direction: column; | |
| align-items: center; | |
| } | |
| .input-actions { | |
| flex-direction: column; | |
| } | |
| .input-actions .btn { | |
| width: 100%; | |
| justify-content: center; | |
| } | |
| .example-btns { | |
| justify-content: center; | |
| } | |
| } | |
| /* ========================================================================== | |
| PARTICLES (Background decoration) | |
| ========================================================================== */ | |
| .particle { | |
| position: absolute; | |
| width: 4px; | |
| height: 4px; | |
| background: rgba(102,126,234,0.3); | |
| border-radius: 50%; | |
| animation: float-particle linear infinite; | |
| } | |
| @keyframes float-particle { | |
| 0% { | |
| transform: translateY(100vh) rotate(0deg); | |
| opacity: 0; | |
| } | |
| 10% { | |
| opacity: 1; | |
| } | |
| 90% { | |
| opacity: 1; | |
| } | |
| 100% { | |
| transform: translateY(-100px) rotate(720deg); | |
| opacity: 0; | |
| } | |
| } | |
| /* ========================================================================== | |
| SCROLLBAR | |
| ========================================================================== */ | |
| ::-webkit-scrollbar { | |
| width: 8px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| background: var(--bg-body); | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| background: var(--border); | |
| border-radius: 4px; | |
| } | |
| ::-webkit-scrollbar-thumb:hover { | |
| background: var(--border-hover); | |
| } | |
| /* ========================================================================== | |
| SELECTION | |
| ========================================================================== */ | |
| ::selection { | |
| background: rgba(102,126,234,0.3); | |
| color: #fff; | |
| } |