-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
291 lines (255 loc) · 18.9 KB
/
styles.css
File metadata and controls
291 lines (255 loc) · 18.9 KB
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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
:root {
--bg: #0b1220;
--card: #0f1a2b;
--brand: #7c5cff;
--brand-2: #22e3ff;
--text: #e6eefc;
--muted: #9bb3d6;
--card-alpha: rgba(15, 26, 43, 0.6);
--white-alpha: rgba(230, 238, 252, 0.06);
--ring: rgba(124, 92, 255, 0.55);
--shadow: 0 10px 30px rgba(0,0,0,0.35);
--subhead: rgba(230,238,252,0.7);
--progress: linear-gradient(90deg, var(--brand), var(--brand-2));
--border: var(--white-alpha);
}
/* Light theme */
:root[data-theme="light"] {
--bg: #f8f9fc;
--card: #ffffff;
--text: #0b1220;
--muted: #42546f;
--card-alpha: rgba(255,255,255,0.9);
--white-alpha: rgba(0,0,0,0.06);
--shadow: 0 10px 30px rgba(0,0,0,0.08);
--subhead: rgba(11,18,32,0.65);
--border: rgba(0,0,0,0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html { scroll-padding-top: 68px; }
@media (prefers-reduced-motion: reduce) {
html { scroll-behavior: auto; }
}
body {
margin: 0;
font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
background: var(--bg);
color: var(--text);
line-height: 1.5;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.skip-link {
position: absolute; left: -9999px; top: auto;
background: var(--brand); color: #0b1220; padding: 8px 12px;
border-radius: 8px; z-index: 10000;
}
.skip-link:focus { left: 12px; top: 12px; }
.container { width: min(1100px, 92%); margin: 0 auto; }
.section { padding: 64px 0; position: relative; min-height: 100svh; display: grid; align-items: center; scroll-snap-align: start; }
.presentation { scroll-snap-type: y mandatory; }
.section-title { font-size: 36px; margin: 0 0 16px; letter-spacing: 0.2px; }
.subhead { color: var(--subhead); font-weight: 700; font-size: 12px; letter-spacing: 1.8px; text-transform: uppercase; margin: 0 0 6px; }
@media (min-width: 960px) { .section-title { font-size: 42px; } }
/* Background grid + noise */
body::before {
content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -3;
background-image: radial-gradient(1200px 800px at 70% -10%, rgba(124,92,255,0.25), transparent 60%), radial-gradient(800px 500px at 10% 110%, rgba(34,227,255,0.15), transparent 60%);
}
body::after {
content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -2;
background-image: linear-gradient(transparent 98%, rgba(255,255,255,0.03) 100%), linear-gradient(90deg, transparent 98%, rgba(255,255,255,0.03) 100%);
background-size: 24px 24px, 24px 24px;
mix-blend-mode: overlay;
}
:root[data-theme="light"] body::before { background-image: radial-gradient(1200px 800px at 70% -10%, rgba(124,92,255,0.10), transparent 60%), radial-gradient(800px 500px at 10% 110%, rgba(34,227,255,0.08), transparent 60%); }
:root[data-theme="light"] body::after { background-image: linear-gradient(transparent 98%, rgba(0,0,0,0.03) 100%), linear-gradient(90deg, transparent 98%, rgba(0,0,0,0.03) 100%); }
/* Header / Nav */
.site-header { position: sticky; top: 0; z-index: 1000; backdrop-filter: saturate(160%) blur(10px); background: rgba(11,18,32,0.65); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; padding: 0 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: 0.2px; }
.nav-actions { display: inline-flex; align-items: center; gap: 8px; }
.icon-btn { background: var(--card-alpha); border: 1px solid var(--border); color: var(--text); padding: 8px 10px; border-radius: 10px; cursor: pointer; }
.nav-toggle { display: inline-flex; flex-direction: column; gap: 4px; background: transparent; border: none; cursor: pointer; padding: 8px; border-radius: 8px; }
.nav-toggle:focus { outline: 2px solid var(--ring); outline-offset: 2px; }
.nav-toggle .bar { width: 22px; height: 2px; background: var(--text); display: block; }
/* Sidebar (TOC) */
.sidebar { position: fixed; top: 64px; left: 0; bottom: 0; width: 260px; background: rgba(15,26,43,0.75); border-right: 1px solid var(--border); transform: translateX(-100%); transition: transform 250ms ease; z-index: 900; backdrop-filter: blur(6px); }
:root[data-theme="light"] .sidebar { background: rgba(255,255,255,0.92); }
.sidebar.open { transform: translateX(0); }
.sidebar ol { list-style: none; margin: 0; padding: 12px; display: grid; gap: 8px; }
.sidebar a { display: block; color: var(--muted); text-decoration: none; padding: 10px 12px; border-radius: 10px; }
.sidebar a.active, .sidebar a:hover { color: var(--text); background: var(--white-alpha); }
@media (min-width: 1024px) { .sidebar { width: 240px; } body.sidebar-open { padding-left: 240px; } }
/* Progress bar */
.progress-bar { position: sticky; top: 64px; height: 3px; background: rgba(255,255,255,0.06); }
:root[data-theme="light"] .progress-bar { background: rgba(0,0,0,0.06); }
.progress-bar span { display: block; height: 100%; width: 0%; background: var(--progress); transition: width 100ms linear; }
/* Buttons */
.btn { --bgc: linear-gradient(90deg, var(--brand), var(--brand-2)); color: #0b1220; background: var(--bgc); border: none; padding: 12px 18px; border-radius: 12px; font-weight: 700; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 10px 20px rgba(34,227,255,0.18), 0 6px 16px rgba(124,92,255,0.18); transform: translateZ(0); transition: transform 160ms ease, box-shadow 160ms ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(34,227,255,0.22), 0 10px 22px rgba(124,92,255,0.22); }
.btn:focus { outline: 3px solid var(--ring); outline-offset: 2px; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--white-alpha); box-shadow: none; }
.btn-small { padding: 8px 12px; font-weight: 600; }
.btn-block { width: 100%; }
/* Cards */
.card { background: var(--card-alpha); border: 1px solid var(--border); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); }
.glass { backdrop-filter: blur(10px) saturate(130%); }
/* Hero */
.hero { padding-top: 90px; overflow: hidden; }
.hero-inner { display: grid; gap: 28px; align-items: center; }
.headline { font-size: 40px; line-height: 1.1; margin: 0 0 12px; }
.subcopy { color: var(--muted); max-width: 60ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 10px; }
.kpi-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 10px 0 0; list-style: none; }
.chip { background: rgba(124,92,255,0.18); border: 1px solid var(--border); color: var(--text); padding: 6px 10px; border-radius: 999px; font-size: 12px; }
:root[data-theme="light"] .chip { background: rgba(124,92,255,0.10); }
.hero-art img { width: 100%; max-width: 480px; display: block; margin-inline: auto; }
.hero-art.realistic img { border-radius: 14px; border: 1px solid var(--border); box-shadow: 0 20px 40px rgba(0,0,0,0.35); }
.hero-art.realistic::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 60% at 50% 40%, rgba(0,0,0,0.08), transparent 60%); pointer-events: none; }
.hero-art.realistic img { object-fit: cover; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(1000px 600px at 70% 10%, rgba(124,92,255,0.16), transparent 60%), radial-gradient(700px 500px at 20% 80%, rgba(34,227,255,0.12), transparent 60%); z-index: -1; animation: shimmer 12s linear infinite; }
.hero-lines { position: absolute; left: 50%; bottom: 6%; width: min(800px, 92%); transform: translateX(-50%); opacity: 0.7; }
/* Brand banner in hero top space */
.brand-banner { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px; border-radius: 999px; background: var(--card-alpha); border: 1px solid var(--border); box-shadow: 0 12px 28px rgba(0,0,0,0.28); backdrop-filter: blur(8px); z-index: 5; font-weight: 900; letter-spacing: 0.4px; font-size: clamp(18px, 2.6vw, 32px); }
.brand-banner img { width: clamp(24px, 3vw, 40px); height: clamp(24px, 3vw, 40px); }
.brand-banner .wordmark { background: linear-gradient(90deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes shimmer {
0% { filter: hue-rotate(0deg) saturate(1); }
50% { filter: hue-rotate(18deg) saturate(1.1); }
100% { filter: hue-rotate(0deg) saturate(1); }
}
@media (prefers-reduced-motion: reduce) {
.hero-bg { animation: none; }
}
@media (min-width: 960px) { .hero-inner { grid-template-columns: 1.2fr 1fr; } .headline { font-size: 58px; } }
/* Two column */
.two-col .cols { display: grid; gap: 16px; }
@media (min-width: 800px) { .two-col .cols { grid-template-columns: 1fr 1fr; } }
.list { padding-left: 18px; color: var(--muted); }
/* Features */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.feature .icon { width: 32px; height: 32px; }
.feature h3 { margin: 10px 0; }
.feature ul { padding-left: 18px; color: var(--muted); }
/* Content helpers */
.small { font-size: 14px; color: var(--muted); }
.notes { color: var(--muted); }
.callout { background: rgba(124,92,255,0.08); border: 1px dashed var(--border); border-radius: 12px; padding: 12px; }
.legend { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.legend .key { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.legend .swatch { width: 12px; height: 12px; border-radius: 3px; display: inline-block; border: 1px solid var(--border); }
.content-grid { display: grid; gap: 12px; }
@media (min-width: 860px) { .content-grid.cols-2 { grid-template-columns: 1fr 1fr; } }
/* Tech flow */
.flow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; list-style: none; padding: 0; margin: 0 0 16px; }
@media (min-width: 760px) { .flow { grid-template-columns: repeat(4, 1fr); } }
.flow li { background: var(--card-alpha); border: 1px solid var(--border); padding: 12px 14px; border-radius: 12px; text-align: center; }
.flow .step { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 999px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); color: #0b1220; font-weight: 800; margin-right: 8px; }
.architecture { padding: 10px; }
.architecture svg { width: 100%; height: auto; display: block; }
/* Tabs */
.tablist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 12px; }
@media (min-width: 720px) { .tablist { grid-template-columns: repeat(4, 1fr); } }
.tab { background: var(--card-alpha); border: 1px solid var(--border); color: var(--text); border-radius: 12px; padding: 10px; cursor: pointer; font-weight: 600; }
.tab[aria-selected="true"] { outline: 2px solid var(--ring); }
.tab-panels { position: relative; }
.panel { display: none; gap: 16px; align-items: center; }
.panel.is-active { display: grid; }
.panel img { width: 100%; max-width: 520px; border-radius: 12px; border: 1px solid var(--border); }
.panel img.framed { max-height: 360px; object-fit: cover; }
/* Consistent media frame for use-case images */
.media { position: relative; width: 100%; max-width: 520px; aspect-ratio: 16 / 9; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.media { min-height: 220px; }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media.tone::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(100% 140% at 80% 10%, rgba(124,92,255,0.08), transparent 60%), radial-gradient(100% 140% at 10% 90%, rgba(34,227,255,0.08), transparent 60%); }
.panel img.framed { background: var(--card-alpha); box-shadow: var(--shadow); }
.panel ul { color: var(--muted); padding-left: 18px; }
/* Impact */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.stat { text-align: center; padding: 24px; }
.stat .label { color: var(--muted); display: block; margin-bottom: 4px; }
.stat .num { font-size: 36px; font-weight: 800; letter-spacing: 0.5px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sparkline { width: 100%; max-width: 640px; height: auto; opacity: 0.9; }
/* Compare slider */
.compare { position: relative; overflow: hidden; padding: 0; aspect-ratio: 16 / 9; min-height: 220px; }
.compare img { display: block; width: 100%; height: auto; }
.compare .base { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.compare .after-wrap { position: absolute; inset: 0; width: 50%; overflow: hidden; z-index: 2; border-right: 2px solid var(--brand-2); }
.compare .after { width: 100%; height: 100%; object-fit: cover; display: block; }
.compare .base, .compare .after { object-position: center center; filter: saturate(1.05) contrast(1.05); }
.compare .handle { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); width: 0; z-index: 3; display: grid; place-items: center; }
.compare .handle .line { position: absolute; width: 2px; top: 0; bottom: 0; background: var(--brand-2); box-shadow: 0 0 0 3px rgba(34,227,255,0.18); }
.compare .handle .knob { position: relative; width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(90deg, var(--brand), var(--brand-2)); border: 2px solid var(--card); box-shadow: var(--shadow); }
.compare .slider { position: absolute; inset: 0; width: 100%; height: 100%; appearance: none; background: none; cursor: ew-resize; z-index: 4; }
.compare .slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; background: transparent; border: none; }
.compare .slider::-moz-range-thumb { width: 24px; height: 24px; background: transparent; border: none; }
/* Pricing */
.pricing-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.toggle { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); }
.switch { position: relative; width: 48px; height: 26px; display: inline-block; }
.switch input { display: none; }
.slider-switch { position: absolute; inset: 0; background: var(--card-alpha); border: 1px solid var(--white-alpha); border-radius: 999px; transition: background 200ms ease; }
.slider-switch::after { content: ""; position: absolute; left: 2px; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(90deg, var(--brand), var(--brand-2)); transition: transform 220ms ease; }
.switch input:checked + .slider-switch::after { transform: translateX(22px); }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.price h3 { margin: 4px 0 8px; }
.price .price-amount { font-size: 28px; margin: 8px 0 12px; display: flex; align-items: baseline; gap: 4px; }
.price.featured { outline: 2px solid var(--ring); transform: translateZ(0); }
/* FAQ */
.acc-btn { width: 100%; text-align: left; background: var(--card-alpha); border: 1px solid var(--border); color: var(--text); padding: 12px 14px; border-radius: 12px; font-weight: 600; cursor: pointer; }
.acc-btn[aria-expanded="true"] { outline: 2px solid var(--ring); }
.acc-panel { padding: 10px 12px; color: var(--muted); }
.accordion .item { margin-bottom: 8px; }
/* Form */
.form-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.form-grid label { display: grid; gap: 6px; }
.form-grid input, .form-grid select, .form-grid textarea { background: rgba(230,238,252,0.04); border: 1px solid var(--border); color: var(--text); border-radius: 10px; padding: 10px; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { outline: 2px solid var(--ring); }
.form-grid .full { grid-column: 1 / -1; }
.form-status { margin-left: 12px; color: var(--brand-2); font-weight: 600; }
/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 26px 0; background: rgba(11,18,32,0.65); backdrop-filter: blur(6px); }
:root[data-theme="light"] .site-footer { background: rgba(255,255,255,0.85); }
.footer-inner { display: grid; gap: 10px; align-items: center; grid-template-columns: 1fr; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.disclaimer { color: var(--muted); margin: 6px 0; font-size: 14px; }
.social a img { width: 22px; height: 22px; opacity: 0.9; }
.social a img:hover { opacity: 1; }
/* Entrances (used by GSAP to fade-in) */
.fade-in { opacity: 0; transform: translateY(12px); }
/* Utility */
.grid { display: grid; gap: 16px; }
.form-actions { display: flex; align-items: center; gap: 12px; }
.source-badge { position: absolute; right: 16px; bottom: 16px; font-size: 12px; color: var(--muted); opacity: 0.9; }
.source-badge a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
/* Arrow navigation and back to top */
.arrow-nav { position: fixed; bottom: 16px; padding: 10px 12px; border-radius: 10px; background: var(--card-alpha); border: 1px solid var(--border); color: var(--text); cursor: pointer; z-index: 950; }
.arrow-nav.prev { left: 16px; }
.arrow-nav.next { right: 16px; }
.arrow-nav[disabled] { opacity: 0.4; cursor: default; }
.back-to-top { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); padding: 10px 12px; border-radius: 10px; background: var(--card-alpha); border: 1px solid var(--white-alpha); color: var(--text); cursor: pointer; z-index: 950; opacity: 1; transition: opacity 180ms ease, transform 180ms ease; }
.back-to-top.is-hidden { opacity: 0; pointer-events: none; transform: translate(-50%, 10px); }
/* Slide counter */
.slide-counter { position: fixed; bottom: 60px; left: 50%; transform: translateX(-50%); color: var(--muted); background: var(--card-alpha); border: 1px solid var(--border); border-radius: 999px; padding: 6px 10px; font-size: 12px; z-index: 940; }
/* Slide entrance */
.slide { opacity: 0; transform: translateY(14px); transition: opacity 260ms ease, transform 260ms ease, background 600ms ease; }
.slide.is-visible { opacity: 1; transform: translateY(0); background-image: radial-gradient(800px 400px at 70% 10%, rgba(124,92,255,0.06), transparent 60%), radial-gradient(600px 300px at 10% 90%, rgba(34,227,255,0.05), transparent 60%); }
@media (max-width: 720px) {
.slide { opacity: 1; transform: none; }
}
/* Print (Export Handout) */
@media print {
@page { size: A4; margin: 12mm; }
:root { --bg: #ffffff; --text: #000000; --muted: #333333; }
* { animation: none !important; transition: none !important; }
body { background: #fff; color: #000; padding-left: 0; }
.site-header, .sidebar, .progress-bar, .arrow-nav, .back-to-top, .hero-bg, .hero-lines { display: none !important; }
.section { min-height: auto; padding: 24px 0; break-inside: avoid; }
.card, .glass { background: #fff; border: 1px solid #ddd; box-shadow: none; }
.section-title { color: #000; }
}