:root { --bg: #020204; --card: rgba(10, 11, 16, 0.85); --primary: #ff3e00; --secondary: #00d2ff; --text: #ffffff; --text-dim: #94a3b8; --accent: #facc15; --border: rgba(255, 255, 255, 0.08); --glow: rgba(255, 62, 0, 0.15); --font-main: 'Space Grotesk', sans-serif; --font-mono: 'JetBrains Mono', monospace; } * { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; } body { background: var(--bg); color: var(--text); font-family: var(--font-main); min-height: 100vh; background-image: radial-gradient(at 0% 0%, rgba(255, 62, 0, 0.1) 0px, transparent 50%), radial-gradient(at 100% 100%, rgba(0, 210, 255, 0.1) 0px, transparent 50%), radial-gradient(at 50% 50%, rgba(15, 23, 42, 1) 0px, transparent 80%); background-attachment: fixed; } .app-container { max-width: 1400px; margin: 0 auto; padding: 20px; display: flex; flex-direction: column; min-height: 100vh; position: relative; z-index: 1; } header { display: flex; flex-direction: column; gap: 20px; padding: 30px 0; border-bottom: 1px solid var(--border); margin-bottom: 30px; } .logo { display: flex; flex-direction: column; align-items: center; } .glitch { font-weight: 800; font-size: 2.5rem; letter-spacing: -1px; color: var(--primary); background: linear-gradient(to right, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 10px var(--glow)); } .studio { font-size: 0.75rem; color: var(--text-dim); letter-spacing: 10px; text-transform: uppercase; font-weight: 300; margin-top: -5px; } .tabs { display: flex; gap: 12px; overflow-x: auto; padding: 10px; scrollbar-width: none; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; } .tabs::-webkit-scrollbar { display: none; } .tab-btn { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border); color: var(--text-dim); padding: 14px 28px; border-radius: 100px; cursor: pointer; font-weight: 600; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); white-space: nowrap; } .tab-btn.active { background: var(--text); color: var(--bg); border-color: var(--text); box-shadow: 0 0 30px rgba(255, 255, 255, 0.2); transform: scale(1.05); } .viewport { display: grid; grid-template-columns: 1fr; gap: 30px; flex: 1; } .card { background: var(--card); border-radius: 32px; border: 1px solid var(--border); display: flex; flex-direction: column; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); backdrop-filter: blur(40px); transition: transform 0.3s ease, border-color 0.3s ease; } .card-header { padding: 25px 30px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; } .card-header h3 { font-size: 1rem; font-weight: 700; color: var(--text); letter-spacing: 1px; } .info-trigger { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.05); color: var(--text-dim); cursor: pointer; transition: all 0.3s; } .info-trigger:hover { background: var(--secondary); color: var(--bg); border-color: var(--secondary); transform: rotate(15deg); } #fields-container { padding: 30px; display: grid; grid-template-columns: 1fr; gap: 20px; } .field-group { display: flex; flex-direction: column; gap: 10px; } label { font-size: 0.75rem; color: var(--text-dim); text-transform: uppercase; font-family: var(--font-mono); font-weight: 500; } input, select { background: rgba(255, 255, 255, 0.02); border: 1px solid var(--border); color: var(--text); padding: 16px; border-radius: 16px; font-family: var(--font-mono); font-size: 1rem; outline: none; transition: all 0.3s; } input:focus, select:focus { background: rgba(255, 255, 255, 0.05); border-color: var(--secondary); box-shadow: 0 0 0 4px rgba(0, 210, 255, 0.1); } option { background: #0f172a; color: #fff; } .card-footer { padding: 30px; border-top: 1px solid var(--border); } .btn-group { display: flex; flex-direction: column; gap: 12px; } .btn-primary, .btn-secondary { padding: 20px; border-radius: 18px; font-weight: 700; font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 12px; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); } .btn-primary { background: var(--primary); color: #fff; border: none; box-shadow: 0 10px 20px rgba(255, 62, 0, 0.2); } .btn-primary:hover { transform: translateY(-4px); box-shadow: 0 15px 30px rgba(255, 62, 0, 0.4); } .btn-secondary { background: transparent; border: 1px solid var(--border); color: var(--text); } .btn-secondary:hover { background: rgba(255, 255, 255, 0.05); border-color: var(--text-dim); } .empty-state { padding: 80px 40px; text-align: center; color: var(--text-dim); } .neural-loader { display: flex; gap: 15px; margin-bottom: 20px; } .node { width: 14px; height: 14px; border-radius: 50%; background: var(--primary); animation: glow-pulse 1.5s infinite ease-in-out; } .node:nth-child(2) { animation-delay: 0.2s; background: var(--secondary); } .node:nth-child(3) { animation-delay: 0.4s; background: var(--accent); } @keyframes glow-pulse { 0%, 100% { transform: scale(1); opacity: 0.3; filter: blur(0px); } 50% { transform: scale(1.4); opacity: 1; filter: blur(4px); } } .result-view { padding: 40px; animation: slide-reveal 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); } .prediction-box { text-align: center; padding: 40px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent); border-radius: 24px; margin-bottom: 40px; border: 1px solid var(--border); } .label-val { font-size: 3.5rem; font-weight: 800; color: var(--primary); text-shadow: 0 0 30px var(--glow); margin-top: 10px; } .score-chart { display: flex; flex-direction: column; gap: 20px; } .score-row { display: flex; align-items: center; gap: 15px; } .score-label { width: 100px; font-size: 0.8rem; color: var(--text-dim); font-family: var(--font-mono); } .bar-container { flex: 1; height: 12px; background: rgba(255, 255, 255, 0.03); border-radius: 100px; overflow: hidden; } .bar-fill { height: 100%; background: linear-gradient(90deg, var(--secondary), var(--primary)); transition: width 1.5s ease-out; } .shap-chart { display: flex; flex-direction: column; gap: 12px; margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--border); } .shap-row { display: grid; grid-template-columns: 100px 1fr 40px; align-items: center; gap: 15px; } .shap-viz { height: 12px; background: rgba(255, 255, 255, 0.02); border-radius: 4px; position: relative; display: flex; align-items: center; } .shap-axis { position: absolute; left: 50%; top: -5px; bottom: -5px; width: 1px; background: rgba(255, 255, 255, 0.2); z-index: 1; } .shap-bar { height: 100%; position: absolute; transition: all 1s cubic-bezier(0.34, 1.56, 0.64, 1); border-radius: 2px; } .shap-bar.positive { left: 50%; background: #10b981; box-shadow: 0 0 15px rgba(16, 185, 129, 0.4); } .shap-bar.negative { right: 50%; background: #ef4444; box-shadow: 0 0 15px rgba(239, 68, 68, 0.4); } #modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.95); display: flex; align-items: center; justify-content: center; z-index: 1000; backdrop-filter: blur(10px); } .hidden { display: none !important; } .modal { width: 90%; max-width: 700px; background: #08080a; border: 1px solid var(--border); border-radius: 40px; overflow: hidden; animation: modal-enter 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); } .modal-header { padding: 25px 40px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; } #modal-close { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border); color: var(--text-dim); width: 36px; height: 36px; border-radius: 10px; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; justify-content: center; } #modal-close:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: rotate(90deg); } .modal-content { padding: 40px; overflow-y: auto; max-height: 80vh; } .spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 30px; } .spec-item { background: rgba(255, 255, 255, 0.02); padding: 20px; border-radius: 24px; border: 1px solid var(--border); } .spec-item h4 { font-size: 0.7rem; color: var(--secondary); text-transform: uppercase; margin-bottom: 8px; } .spec-item p { font-size: 1.2rem; font-weight: 700; font-family: var(--font-mono); } .source-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; color: var(--secondary); text-decoration: none; font-weight: 600; font-size: 0.9rem; padding: 12px 24px; background: rgba(0, 210, 255, 0.1); border-radius: 100px; transition: all 0.3s; } .source-link:hover { background: var(--secondary); color: var(--bg); } @media (min-width: 1024px) { .viewport { grid-template-columns: 1fr 1fr; } header { flex-direction: row; justify-content: space-between; align-items: center; } .logo { align-items: flex-start; } .btn-group { flex-direction: row; } .tabs { justify-content: center; } } @keyframes slide-reveal { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } } @keyframes modal-enter { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } } @media (max-width: 1024px) { .main-layout { grid-template-columns: 1fr; } .hero { padding: 80px 0 40px; } } @media (max-width: 640px) { body { padding: 15px; } .hero h1 { font-size: 2.5rem; } .spec-grid { grid-template-columns: 1fr; } .modal { width: 95%; margin: 10px; } .modal-header, .modal-content { padding: 20px; } .prediction-box { padding: 30px; } .label-val { font-size: 2.5rem; } .shap-row { flex-direction: column; align-items: flex-start; gap: 5px; } .shap-row .score-label { width: 100% !important; text-align: left !important; } .tab-btn { padding: 10px 20px; font-size: 0.85rem; } }