|
| 1 | +:root { |
| 2 | + --primary: #00f2ff; |
| 3 | + --secondary: #7000ff; |
| 4 | + --bg-dark: #0a0b10; |
| 5 | + --card-bg: rgba(255, 255, 255, 0.05); |
| 6 | + --text-main: #e0e0e0; |
| 7 | + --text-dim: #a0a0a0; |
| 8 | + --accent-glow: rgba(0, 242, 255, 0.3); |
| 9 | +} |
| 10 | + |
| 11 | +* { |
| 12 | + margin: 0; |
| 13 | + padding: 0; |
| 14 | + box-sizing: border-box; |
| 15 | + font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; |
| 16 | +} |
| 17 | + |
| 18 | +body { |
| 19 | + background-color: var(--bg-dark); |
| 20 | + color: var(--text-main); |
| 21 | + overflow-x: hidden; |
| 22 | + line-height: 1.6; |
| 23 | +} |
| 24 | + |
| 25 | +/* Scrollbar */ |
| 26 | +::-webkit-scrollbar { |
| 27 | + width: 10px; |
| 28 | +} |
| 29 | +::-webkit-scrollbar-track { |
| 30 | + background: var(--bg-dark); |
| 31 | +} |
| 32 | +::-webkit-scrollbar-thumb { |
| 33 | + background: #333; |
| 34 | + border-radius: 5px; |
| 35 | +} |
| 36 | +::-webkit-scrollbar-thumb:hover { |
| 37 | + background: #444; |
| 38 | +} |
| 39 | + |
| 40 | +/* Hero Section */ |
| 41 | +.hero { |
| 42 | + position: relative; |
| 43 | + height: 100vh; |
| 44 | + display: flex; |
| 45 | + align-items: center; |
| 46 | + justify-content: center; |
| 47 | + text-align: center; |
| 48 | + padding: 0 20px; |
| 49 | + background: radial-gradient(circle at 50% 50%, rgba(112, 0, 255, 0.1) 0%, transparent 70%); |
| 50 | +} |
| 51 | + |
| 52 | +.hero-bg { |
| 53 | + position: absolute; |
| 54 | + top: 0; |
| 55 | + left: 0; |
| 56 | + width: 100%; |
| 57 | + height: 100%; |
| 58 | + background-image: url('hero.png'); |
| 59 | + background-size: cover; |
| 60 | + background-position: center; |
| 61 | + opacity: 0.3; |
| 62 | + z-index: -1; |
| 63 | + filter: blur(5px); |
| 64 | +} |
| 65 | + |
| 66 | +.hero-content h1 { |
| 67 | + font-size: 4.5rem; |
| 68 | + font-weight: 800; |
| 69 | + letter-spacing: -2px; |
| 70 | + margin-bottom: 20px; |
| 71 | + background: linear-gradient(to right, #fff, var(--primary)); |
| 72 | + -webkit-background-clip: text; |
| 73 | + background-clip: text; |
| 74 | + -webkit-text-fill-color: transparent; |
| 75 | + animation: fadeInDown 1s ease-out; |
| 76 | +} |
| 77 | + |
| 78 | +.hero-content p { |
| 79 | + font-size: 1.5rem; |
| 80 | + color: var(--text-dim); |
| 81 | + max-width: 800px; |
| 82 | + margin: 0 auto 40px; |
| 83 | + animation: fadeInUp 1s ease-out 0.3s forwards; |
| 84 | + opacity: 0; |
| 85 | +} |
| 86 | + |
| 87 | +.cta-button { |
| 88 | + display: inline-block; |
| 89 | + padding: 18px 40px; |
| 90 | + font-size: 1.1rem; |
| 91 | + font-weight: 600; |
| 92 | + text-decoration: none; |
| 93 | + color: var(--bg-dark); |
| 94 | + background: var(--primary); |
| 95 | + border-radius: 50px; |
| 96 | + box-shadow: 0 0 25px var(--accent-glow); |
| 97 | + transition: all 0.3s ease; |
| 98 | + animation: fadeInUp 1s ease-out 0.6s forwards; |
| 99 | + opacity: 0; |
| 100 | +} |
| 101 | + |
| 102 | +.cta-button:hover { |
| 103 | + transform: translateY(-3px) scale(1.05); |
| 104 | + box-shadow: 0 0 40px var(--primary); |
| 105 | +} |
| 106 | + |
| 107 | +/* Chat Section */ |
| 108 | +.chat-demo { |
| 109 | + padding: 100px 20px; |
| 110 | + max-width: 1200px; |
| 111 | + margin: 0 auto; |
| 112 | +} |
| 113 | + |
| 114 | +.chat-container { |
| 115 | + background: var(--card-bg); |
| 116 | + backdrop-filter: blur(20px); |
| 117 | + border: 1px solid rgba(255, 255, 255, 0.1); |
| 118 | + border-radius: 20px; |
| 119 | + padding: 30px; |
| 120 | + box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); |
| 121 | + position: relative; |
| 122 | + overflow: hidden; |
| 123 | +} |
| 124 | + |
| 125 | +.chat-container::before { |
| 126 | + content: ''; |
| 127 | + position: absolute; |
| 128 | + top: 0; |
| 129 | + left: 0; |
| 130 | + width: 4px; |
| 131 | + height: 100%; |
| 132 | + background: var(--primary); |
| 133 | +} |
| 134 | + |
| 135 | +.chat-header { |
| 136 | + display: flex; |
| 137 | + align-items: center; |
| 138 | + margin-bottom: 20px; |
| 139 | + border-bottom: 1px solid rgba(255, 255, 255, 0.1); |
| 140 | + padding-bottom: 15px; |
| 141 | +} |
| 142 | + |
| 143 | +.status-dot { |
| 144 | + width: 10px; |
| 145 | + height: 10px; |
| 146 | + background: #00ff88; |
| 147 | + border-radius: 50%; |
| 148 | + margin-right: 15px; |
| 149 | + box-shadow: 0 0 10px #00ff88; |
| 150 | +} |
| 151 | + |
| 152 | +.message { |
| 153 | + margin-bottom: 25px; |
| 154 | + opacity: 0; |
| 155 | + transform: translateX(-20px); |
| 156 | + transition: all 0.5s ease; |
| 157 | +} |
| 158 | + |
| 159 | +.message.visible { |
| 160 | + opacity: 1; |
| 161 | + transform: translateX(0); |
| 162 | +} |
| 163 | + |
| 164 | +.message.user .bubble { |
| 165 | + background: rgba(255, 255, 255, 0.1); |
| 166 | + color: #fff; |
| 167 | + margin-left: auto; |
| 168 | + border-bottom-right-radius: 0; |
| 169 | +} |
| 170 | + |
| 171 | +.message.agent .bubble { |
| 172 | + background: linear-gradient(135deg, rgba(0, 242, 255, 0.1), rgba(112, 0, 255, 0.1)); |
| 173 | + border: 1px solid rgba(0, 242, 255, 0.2); |
| 174 | + border-bottom-left-radius: 0; |
| 175 | +} |
| 176 | + |
| 177 | +.bubble { |
| 178 | + max-width: 80%; |
| 179 | + padding: 15px 25px; |
| 180 | + border-radius: 18px; |
| 181 | + font-size: 1.1rem; |
| 182 | + position: relative; |
| 183 | +} |
| 184 | + |
| 185 | +.label { |
| 186 | + font-size: 0.8rem; |
| 187 | + color: var(--text-dim); |
| 188 | + margin-bottom: 5px; |
| 189 | + display: block; |
| 190 | +} |
| 191 | + |
| 192 | +.code-block { |
| 193 | + background: #000; |
| 194 | + padding: 15px; |
| 195 | + border-radius: 10px; |
| 196 | + font-family: 'Fira Code', 'Courier New', monospace; |
| 197 | + font-size: 0.9rem; |
| 198 | + color: #00ff88; |
| 199 | + margin-top: 15px; |
| 200 | + white-space: pre-wrap; |
| 201 | + border: 1px solid #222; |
| 202 | +} |
| 203 | + |
| 204 | +/* Features Grid */ |
| 205 | +.features { |
| 206 | + padding: 100px 20px; |
| 207 | + display: grid; |
| 208 | + grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); |
| 209 | + gap: 30px; |
| 210 | + max-width: 1200px; |
| 211 | + margin: 0 auto; |
| 212 | +} |
| 213 | + |
| 214 | +.feature-card { |
| 215 | + background: var(--card-bg); |
| 216 | + padding: 40px; |
| 217 | + border-radius: 20px; |
| 218 | + border: 1px solid rgba(255, 255, 255, 0.05); |
| 219 | + transition: all 0.3s ease; |
| 220 | + cursor: default; |
| 221 | +} |
| 222 | + |
| 223 | +.feature-card:hover { |
| 224 | + background: rgba(255, 255, 255, 0.08); |
| 225 | + transform: translateY(-10px); |
| 226 | + border-color: var(--primary); |
| 227 | +} |
| 228 | + |
| 229 | +.feature-icon { |
| 230 | + font-size: 2.5rem; |
| 231 | + margin-bottom: 20px; |
| 232 | + display: block; |
| 233 | +} |
| 234 | + |
| 235 | +.feature-card h3 { |
| 236 | + font-size: 1.5rem; |
| 237 | + margin-bottom: 15px; |
| 238 | + color: var(--primary); |
| 239 | +} |
| 240 | + |
| 241 | +.feature-card p { |
| 242 | + color: var(--text-dim); |
| 243 | +} |
| 244 | + |
| 245 | +/* Animations */ |
| 246 | +@keyframes fadeInDown { |
| 247 | + from { opacity: 0; transform: translateY(-30px); } |
| 248 | + to { opacity: 1; transform: translateY(0); } |
| 249 | +} |
| 250 | + |
| 251 | +@keyframes fadeInUp { |
| 252 | + from { opacity: 0; transform: translateY(30px); } |
| 253 | + to { opacity: 1; transform: translateY(0); } |
| 254 | +} |
| 255 | + |
| 256 | +@media (max-width: 768px) { |
| 257 | + .hero-content h1 { font-size: 3rem; } |
| 258 | + .hero-content p { font-size: 1.1rem; } |
| 259 | + .bubble { max-width: 90%; } |
| 260 | +} |
0 commit comments