-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
221 lines (216 loc) · 7 KB
/
Copy pathstyles.css
File metadata and controls
221 lines (216 loc) · 7 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
:root {
color-scheme: dark;
--bg: #050816;
--bg-soft: rgba(13, 18, 40, 0.72);
--line: rgba(255, 255, 255, 0.08);
--text: #f5f7ff;
--muted: rgba(230, 237, 255, 0.72);
--cyan: #78f7ff;
--pink: #ff78c7;
--violet: #8f7cff;
--lime: #c3ff7a;
--shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
margin: 0;
min-height: 100vh;
font-family: 'Inter', system-ui, sans-serif;
background:
radial-gradient(circle at top, rgba(62, 78, 198, 0.35), transparent 30%),
radial-gradient(circle at 20% 20%, rgba(255, 67, 159, 0.15), transparent 25%),
linear-gradient(180deg, #050816 0%, #090d1f 60%, #06070d 100%);
color: var(--text);
overflow-x: hidden;
}
button { font: inherit; border: 0; cursor: pointer; }
canvas, .noise, .aurora { position: fixed; inset: 0; pointer-events: none; }
#starfield { z-index: 0; opacity: 0.95; }
.noise {
z-index: 1;
opacity: 0.05;
background-image: radial-gradient(rgba(255,255,255,0.9) 0.6px, transparent 0.6px);
background-size: 8px 8px;
mix-blend-mode: soft-light;
}
.aurora {
z-index: 0;
filter: blur(60px);
opacity: 0.55;
}
.aurora-a {
background: radial-gradient(circle at 20% 20%, rgba(114, 247, 255, 0.7), transparent 30%);
animation: floatA 12s ease-in-out infinite alternate;
}
.aurora-b {
background: radial-gradient(circle at 80% 10%, rgba(255, 120, 199, 0.5), transparent 25%);
animation: floatB 15s ease-in-out infinite alternate;
}
.app {
position: relative;
z-index: 2;
width: min(100%, 460px);
margin: 0 auto;
padding: max(16px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom) + 24px);
}
.shell { display: grid; gap: 16px; }
.card {
position: relative;
overflow: hidden;
border: 1px solid var(--line);
border-radius: 28px;
background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03));
box-shadow: var(--shadow);
backdrop-filter: blur(22px) saturate(140%);
}
.card::after {
content: '';
position: absolute;
inset: 1px;
border-radius: inherit;
border: 1px solid rgba(255,255,255,0.06);
pointer-events: none;
}
.hero { padding: 22px; min-height: 84svh; display: flex; flex-direction: column; justify-content: space-between; }
.badge, .eyebrow, .section-head p, .story-card p:first-child, .cta > p, .metric span, .panel-tag {
letter-spacing: 0.18em;
text-transform: uppercase;
}
.badge {
align-self: flex-start;
padding: 8px 12px;
border-radius: 999px;
background: rgba(255,255,255,0.09);
border: 1px solid rgba(255,255,255,0.12);
font-size: 11px;
}
.eyebrow, .section-head p, .metric span, .story-card p:first-child, .cta > p, .panel-tag { color: var(--muted); font-size: 11px; }
.hero h1 {
margin: 12px 0;
font-size: clamp(56px, 18vw, 92px);
line-height: 0.9;
letter-spacing: -0.06em;
}
.hero h1 span {
color: transparent;
background: linear-gradient(90deg, var(--cyan), #fff, var(--pink));
-webkit-background-clip: text;
background-clip: text;
}
.hero-copy, .metric p, .story-card p:last-child, .panel p, .cta li {
color: var(--muted);
line-height: 1.6;
font-size: 14px;
}
.hero-actions { display: flex; gap: 10px; margin-top: 18px; }
.primary, .ghost {
min-height: 48px;
padding: 0 18px;
border-radius: 999px;
}
.primary {
color: #08101f;
background: linear-gradient(135deg, var(--cyan), #c5fbff);
box-shadow: 0 12px 36px rgba(120, 247, 255, 0.35);
}
.ghost {
color: var(--text);
background: rgba(255,255,255,0.06);
border: 1px solid rgba(255,255,255,0.1);
}
.orbital-wrap { display: grid; place-items: center; padding: 32px 0 4px; }
.pulse-core {
position: relative;
width: 162px;
aspect-ratio: 1;
display: grid;
place-items: center;
border-radius: 50%;
background: radial-gradient(circle at 35% 30%, #ffffff, #6bf0ff 25%, #121b4f 65%, #060b1f 100%);
box-shadow: inset 0 0 30px rgba(255,255,255,0.4), 0 0 40px rgba(120,247,255,0.35);
}
.core-label { font-size: 15px; font-weight: 800; letter-spacing: 0.32em; }
.pulse-ring {
position: absolute;
inset: -12px;
border-radius: 50%;
border: 1px solid rgba(120,247,255,0.24);
}
.ring-a { animation: pulse 3.6s ease-out infinite; }
.ring-b { inset: -28px; animation: pulse 3.6s ease-out 1.2s infinite; }
.ring-c { inset: -44px; animation: pulse 3.6s ease-out 2.4s infinite; }
.grid-3, .grid-stack { display: grid; gap: 16px; }
.metric { padding: 18px; }
.metric strong { display:block; font-size: 42px; margin: 10px 0 2px; letter-spacing: -0.06em; }
.showcase { padding: 20px; }
.section-head h2, .cta h2 { margin: 6px 0 0; font-size: 28px; line-height: 1.04; letter-spacing: -0.05em; }
.carousel {
display: grid;
grid-auto-flow: column;
grid-auto-columns: 82%;
gap: 12px;
overflow-x: auto;
scroll-snap-type: x mandatory;
padding: 18px 0 8px;
scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.panel {
position: relative;
min-height: 320px;
padding: 18px;
border-radius: 24px;
scroll-snap-align: center;
border: 1px solid rgba(255,255,255,0.08);
background:
radial-gradient(circle at top right, color-mix(in srgb, var(--tone), transparent 70%), transparent 25%),
linear-gradient(180deg, var(--bg1), var(--bg2));
display: flex;
flex-direction: column;
justify-content: flex-end;
transform: scale(0.96);
transition: transform 260ms ease, box-shadow 260ms ease;
}
.panel::before {
content: '';
position: absolute;
inset: 12px;
border-radius: 18px;
border: 1px solid rgba(255,255,255,0.08);
background:
radial-gradient(circle at 70% 20%, color-mix(in srgb, var(--tone), white 14%) 0, transparent 22%),
radial-gradient(circle at 35% 35%, rgba(255,255,255,0.18) 0, transparent 12%);
}
.panel.active { transform: scale(1); box-shadow: 0 18px 42px rgba(0,0,0,0.3); }
.panel h3 { margin: 8px 0; font-size: 32px; line-height: 1; letter-spacing: -0.05em; }
.carousel-dots { display: flex; gap: 8px; justify-content: center; padding-top: 10px; }
.carousel-dots button {
width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,0.25); padding: 0;
transition: width 220ms ease, background 220ms ease;
}
.carousel-dots button.active { width: 28px; background: linear-gradient(90deg, var(--cyan), var(--pink)); }
.story-card, .cta { padding: 20px; }
.story-card h3 { margin: 8px 0; font-size: 28px; line-height: 1.08; letter-spacing: -0.05em; }
.story-card.tall { min-height: 260px; }
.cta ul { margin: 16px 0 18px; padding-left: 18px; }
.cta li + li { margin-top: 8px; }
.tilt { transform-style: preserve-3d; transition: transform 180ms ease; }
@keyframes pulse {
0% { transform: scale(0.85); opacity: 0; }
35% { opacity: 1; }
100% { transform: scale(1.15); opacity: 0; }
}
@keyframes floatA {
from { transform: translate3d(-4%, -2%, 0); }
to { transform: translate3d(8%, 4%, 0); }
}
@keyframes floatB {
from { transform: translate3d(6%, -3%, 0) scale(1); }
to { transform: translate3d(-8%, 10%, 0) scale(1.1); }
}
@media (min-width: 520px) {
.app { width: min(100%, 520px); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-stack { grid-template-columns: 1fr 1fr; }
}