File size: 3,675 Bytes
fcf8749 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 | .demo { padding: 100px 0; }
.demo__card {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 20px;
padding: 40px;
display: flex;
flex-direction: column;
gap: 32px;
max-width: 900px;
margin: 0 auto;
}
.demo__inputs {
display: grid;
grid-template-columns: 1fr auto 1fr;
gap: 24px;
align-items: center;
}
.demo__col { display: flex; flex-direction: column; gap: 10px; }
.demo__col-header {
display: flex;
align-items: center;
gap: 6px;
font-size: 11px;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--text-dim);
padding-bottom: 4px;
border-bottom: 1px solid var(--border);
}
.demo__item {
display: flex;
align-items: center;
gap: 10px;
padding: 10px 12px;
background: var(--bg-card2);
border: 1px solid var(--border);
border-radius: 8px;
}
.demo__item-avatar {
width: 32px; height: 32px;
border-radius: 8px;
background: linear-gradient(135deg, var(--purple), var(--blue));
display: flex;
align-items: center;
justify-content: center;
font-size: 11px;
font-weight: 700;
color: white;
flex-shrink: 0;
}
.demo__item-avatar--route { background: linear-gradient(135deg, #1e3a5f, #0f2440); font-size: 16px; }
.demo__item-name { font-size: 13px; font-weight: 600; color: var(--text); }
.demo__item-sub { font-size: 11px; color: var(--text-dim); }
.demo__arrow {
display: flex;
flex-direction: column;
align-items: center;
gap: 6px;
font-size: 11px;
font-weight: 700;
color: var(--purple-light);
letter-spacing: 0.06em;
text-transform: uppercase;
}
.demo__cta { display: flex; justify-content: center; }
.demo__run-btn { min-width: 220px; justify-content: center; gap: 8px; }
.demo__spinner {
width: 14px; height: 14px;
border: 2px solid rgba(255,255,255,0.3);
border-top-color: white;
border-radius: 50%;
animation: spin 0.6s linear infinite;
flex-shrink: 0;
}
.demo__result {
border-top: 1px solid var(--border);
padding-top: 24px;
display: flex;
flex-direction: column;
gap: 20px;
animation: slide-up 0.4s ease;
}
.demo__result-header {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 16px;
}
.demo__metric {
display: flex;
flex-direction: column;
gap: 2px;
padding: 14px;
background: var(--bg-card2);
border: 1px solid var(--border);
border-radius: 10px;
text-align: center;
}
.demo__metric-val { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.demo__metric-label { font-size: 11px; color: var(--text-dim); }
.demo__allocations { display: flex; flex-direction: column; gap: 8px; }
.demo__allocation {
display: flex;
align-items: center;
gap: 12px;
padding: 10px 14px;
background: var(--bg-card2);
border: 1px solid var(--border);
border-radius: 8px;
}
.demo__alloc-driver { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; flex: 1; }
.demo__alloc-arrow { color: var(--text-dim); font-size: 16px; }
.demo__alloc-route { font-size: 13px; color: var(--text-muted); flex: 2; }
.demo__alloc-wellness { font-size: 12px; font-weight: 700; font-family: var(--mono); }
.demo__explanation {
display: flex;
align-items: flex-start;
gap: 8px;
padding: 14px 16px;
background: rgba(249,115,22,0.06);
border: 1px solid rgba(249,115,22,0.15);
border-radius: 10px;
font-size: 13px;
color: var(--text-muted);
line-height: 1.6;
}
.demo__explanation svg { flex-shrink: 0; margin-top: 2px; color: var(--purple-light); }
@media (max-width: 768px) {
.demo__inputs { grid-template-columns: 1fr; }
.demo__arrow { flex-direction: row; }
.demo__result-header { grid-template-columns: repeat(2, 1fr); }
}
|