|
1 | | -/* === CSS Variables for Dark/Light themes === */ |
2 | | -:root { |
3 | | - --color-bg: #0f0f0f; |
4 | | - --color-text: #ffffff; |
5 | | - --color-accent: #d4af37; |
6 | | - --color-secondary: #c0c0c0; |
7 | | - --color-card: #1a1a1a; |
8 | | - --color-border: #333; |
9 | | -} |
10 | | - |
11 | | -[data-theme="light"] { |
12 | | - --color-bg: #ffffff; |
13 | | - --color-text: #111111; |
14 | | - --color-accent: #b79025; |
15 | | - --color-secondary: #555555; |
16 | | - --color-card: #f5f5f5; |
17 | | - --color-border: #ddd; |
18 | | -} |
19 | | - |
20 | | -* { |
21 | | - margin: 0; |
22 | | - padding: 0; |
23 | | - box-sizing: border-box; |
24 | | -} |
25 | | - |
26 | | -body { |
27 | | - background-color: var(--color-bg); |
28 | | - color: var(--color-text); |
29 | | - font-family: 'Montserrat', sans-serif; |
30 | | - line-height: 1.6; |
31 | | - transition: background-color 0.4s, color 0.4s; |
32 | | -} |
33 | | - |
34 | | -h1, h2, h3, h4 { |
35 | | - font-family: 'DM Serif Display', serif; |
36 | | -} |
37 | | - |
38 | | -a { |
39 | | - color: var(--color-accent); |
40 | | - text-decoration: none; |
41 | | -} |
42 | | -a:hover { |
43 | | - text-decoration: underline; |
44 | | -} |
45 | | - |
46 | | -.container { |
47 | | - max-width: 1200px; |
48 | | - margin: 0 auto; |
49 | | - padding: 0 20px; |
50 | | -} |
51 | | - |
52 | | -header { |
53 | | - padding: 40px 0; |
54 | | - display: flex; |
55 | | - justify-content: space-between; |
56 | | - align-items: center; |
57 | | -} |
58 | | -header .logo { |
59 | | - font-size: 32px; |
60 | | - font-weight: bold; |
61 | | - letter-spacing: 2px; |
62 | | -} |
63 | | -header nav ul { |
64 | | - list-style: none; |
65 | | - display: flex; |
66 | | - gap: 30px; |
67 | | - align-items: center; |
68 | | -} |
69 | | -header nav ul li a, |
70 | | -header nav ul li button { |
71 | | - font-size: 16px; |
72 | | - color: var(--color-accent); |
73 | | - background: none; |
74 | | - border: none; |
75 | | - cursor: pointer; |
76 | | -} |
77 | | - |
78 | | -.hero { |
79 | | - height: 80vh; |
80 | | - display: flex; |
81 | | - flex-direction: column; |
82 | | - justify-content: center; |
83 | | - align-items: flex-start; |
84 | | - padding-left: 20px; |
85 | | -} |
86 | | -.hero h1 { |
87 | | - font-size: 64px; |
88 | | - font-weight: 700; |
89 | | - max-width: 700px; |
90 | | - line-height: 1.1; |
91 | | -} |
92 | | -.hero p { |
93 | | - font-size: 20px; |
94 | | - margin-top: 20px; |
95 | | - max-width: 500px; |
96 | | - color: var(--color-secondary); |
97 | | -} |
98 | | - |
99 | | -section { |
100 | | - padding: 80px 0; |
101 | | -} |
102 | | - |
103 | | -.features { |
104 | | - display: grid; |
105 | | - grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); |
106 | | - gap: 40px; |
107 | | - text-align: center; |
108 | | -} |
109 | | -.feature-card { |
110 | | - background-color: var(--color-card); |
111 | | - padding: 40px 20px; |
112 | | - border-radius: 8px; |
113 | | - transition: transform 0.3s, box-shadow 0.3s; |
114 | | -} |
115 | | -.feature-card:hover { |
116 | | - transform: translateY(-8px); |
117 | | - box-shadow: 0 10px 30px rgba(0,0,0,0.5); |
118 | | -} |
119 | | -.feature-card h3 { |
120 | | - margin-top: 20px; |
121 | | - font-size: 22px; |
122 | | - color: var(--color-text); |
123 | | -} |
124 | | -.feature-card p { |
125 | | - margin-top: 10px; |
126 | | - color: var(--color-secondary); |
127 | | - font-size: 16px; |
128 | | -} |
129 | | - |
130 | | -.how-it-works { |
131 | | - display: flex; |
132 | | - flex-direction: column; |
133 | | - gap: 60px; |
134 | | -} |
135 | | -.step { |
136 | | - display: flex; |
137 | | - align-items: center; |
138 | | - gap: 40px; |
139 | | -} |
140 | | -.step:nth-child(even) { |
141 | | - flex-direction: row-reverse; |
142 | | -} |
143 | | -.step .step-icon { |
144 | | - font-size: 48px; |
145 | | - color: var(--color-accent); |
146 | | -} |
147 | | -.step .step-content h4 { |
148 | | - font-size: 24px; |
149 | | - margin-bottom: 10px; |
150 | | -} |
151 | | -.step .step-content p { |
152 | | - color: var(--color-secondary); |
153 | | - font-size: 16px; |
154 | | - max-width: 500px; |
155 | | -} |
156 | | - |
157 | | -.pricing-cards { |
158 | | - display: grid; |
159 | | - grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); |
160 | | - gap: 40px; |
161 | | -} |
162 | | -.pricing-card { |
163 | | - background-color: var(--color-card); |
164 | | - border: 1px solid var(--color-border); |
165 | | - padding: 40px; |
166 | | - border-radius: 8px; |
167 | | - text-align: center; |
168 | | - transition: transform 0.3s, box-shadow 0.3s; |
169 | | -} |
170 | | -.pricing-card:hover { |
171 | | - transform: translateY(-8px); |
172 | | - box-shadow: 0 10px 30px rgba(0,0,0,0.5); |
173 | | -} |
174 | | -.pricing-card h3 { |
175 | | - font-size: 24px; |
176 | | - color: var(--color-text); |
177 | | -} |
178 | | -.pricing-card .price { |
179 | | - font-size: 48px; |
180 | | - color: var(--color-accent); |
181 | | - margin: 20px 0; |
182 | | -} |
183 | | -.pricing-card ul { |
184 | | - list-style: none; |
185 | | - text-align: left; |
186 | | - margin: 20px 0; |
187 | | - padding: 0; |
188 | | - color: var(--color-secondary); |
189 | | -} |
190 | | -.pricing-card ul li { |
191 | | - margin-bottom: 10px; |
192 | | -} |
193 | | -.pricing-card .btn { |
194 | | - margin-top: 20px; |
195 | | - padding: 12px 25px; |
196 | | - font-size: 18px; |
197 | | - font-weight: 600; |
198 | | - color: var(--color-bg); |
199 | | - background-color: var(--color-accent); |
200 | | - border: none; |
201 | | - border-radius: 4px; |
202 | | - cursor: pointer; |
203 | | - transition: background-color 0.3s; |
204 | | -} |
205 | | -.pricing-card .btn:hover { |
206 | | - background-color: #b28f2f; |
207 | | -} |
208 | | - |
209 | | -footer { |
210 | | - background-color: #0a0a0a; |
211 | | - color: var(--color-secondary); |
212 | | - text-align: center; |
213 | | - padding: 40px 0; |
214 | | - font-size: 14px; |
215 | | -} |
216 | | - |
217 | | -/* 🔘 Тема переключения */ |
218 | | -#theme-toggle.small { |
219 | | - padding: 8px 16px; |
220 | | - font-size: 14px; |
221 | | - border: 1px solid var(--color-accent); |
222 | | - border-radius: 30px; |
223 | | - color: var(--color-accent); |
224 | | - background: transparent; |
225 | | - transition: all 0.3s; |
226 | | -} |
227 | | -#theme-toggle.small:hover { |
228 | | - background-color: var(--color-accent); |
229 | | - color: var(--color-bg); |
230 | | -} |
231 | | - |
232 | | -/* 🔥 АНИМИРОВАННАЯ VIP-КНОПКА */ |
233 | | -.btn-animated { |
234 | | - display: inline-block; |
235 | | - padding: 15px 35px; |
236 | | - font-size: 18px; |
237 | | - font-weight: 600; |
238 | | - color: var(--color-accent); |
239 | | - border: 2px solid var(--color-accent); |
240 | | - border-radius: 50px; |
241 | | - background-color: transparent; |
242 | | - text-decoration: none; |
243 | | - position: relative; |
244 | | - overflow: hidden; |
245 | | - transition: all 0.4s ease-in-out; |
246 | | - z-index: 1; |
247 | | -} |
248 | | -.btn-animated::before { |
249 | | - content: ""; |
250 | | - position: absolute; |
251 | | - width: 100%; |
252 | | - height: 100%; |
253 | | - background: linear-gradient(120deg, #d4af37, #ffd700, #d4af37); |
254 | | - top: 0; |
255 | | - left: -100%; |
256 | | - z-index: -1; |
257 | | - transition: all 0.4s ease-in-out; |
258 | | -} |
259 | | -.btn-animated:hover { |
260 | | - color: #0f0f0f; |
261 | | - border-color: #ffd700; |
262 | | -} |
263 | | -.btn-animated:hover::before { |
264 | | - left: 0; |
265 | | -} |
266 | | - |
267 | | -@media (max-width: 768px) { |
268 | | - .hero h1 { |
269 | | - font-size: 48px; |
270 | | - } |
271 | | - .hero p { |
272 | | - font-size: 18px; |
273 | | - } |
274 | | - header nav ul { |
275 | | - flex-direction: column; |
276 | | - gap: 10px; |
277 | | - } |
| 1 | +:root{ |
| 2 | + --bg:#0a0a0b; |
| 3 | + --bg-elev:#111114; |
| 4 | + --text:#e8e8ea; |
| 5 | + --muted:#9aa0a6; |
| 6 | + --outline:#2a2a31; |
| 7 | + --primary:#e3c35b; /* premium gold */ |
| 8 | + --primary-ink:#0b0b0e; |
| 9 | + --accent:#47d1c4; /* turquoise rise */ |
| 10 | +} |
| 11 | +html[data-theme="light"]{ |
| 12 | + --bg:#f7f7f9; |
| 13 | + --bg-elev:#ffffff; |
| 14 | + --text:#111215; |
| 15 | + --muted:#495057; |
| 16 | + --outline:#e5e7eb; |
| 17 | + --primary:#b08a1e; |
| 18 | + --primary-ink:#ffffff; |
| 19 | + --accent:#0ea5a3; |
| 20 | +} |
| 21 | +*{box-sizing:border-box} |
| 22 | +html,body{height:100%} |
| 23 | +body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif} |
| 24 | + |
| 25 | +.container{max-width:1100px;margin:0 auto;padding:0 20px} |
| 26 | + |
| 27 | +/* Header */ |
| 28 | +.site-header{position:sticky;top:0;z-index:40;background:color-mix(in oklab, var(--bg) 90%, transparent); |
| 29 | + backdrop-filter:blur(10px);border-bottom:1px solid var(--outline)} |
| 30 | +.site-header .container{display:flex;align-items:center;justify-content:space-between;height:64px} |
| 31 | +.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--text)} |
| 32 | +.brand-logo{width:34px;height:34px;border-radius:10px;display:grid;place-items:center; |
| 33 | + background: radial-gradient(120% 120% at 50% 100%, var(--accent) 0%, #0c2a27 40%, #0a0a0b 70%), |
| 34 | + linear-gradient(180deg, #0b0b0e 0%, #0a0a0b 100%); |
| 35 | + border:1px solid var(--outline);font-weight:800;box-shadow:0 10px 30px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.05)} |
| 36 | +.brand-text{font-weight:700;letter-spacing:.2px} |
| 37 | +.nav{display:flex;align-items:center;gap:16px} |
| 38 | +.nav a{color:var(--text);text-decoration:none;font-weight:600} |
| 39 | +.nav a:hover{opacity:.8} |
| 40 | +.btn{display:inline-flex;align-items:center;justify-content:center;height:38px;padding:0 14px;border-radius:12px;border:1px solid var(--outline); |
| 41 | + background:var(--bg-elev);color:var(--text);font-weight:600} |
| 42 | +.btn-ghost{background:transparent} |
| 43 | + |
| 44 | +/* Hero */ |
| 45 | +.hero{padding:72px 0} |
| 46 | +.hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:32px;align-items:center} |
| 47 | +.hero-copy h1{margin:0 0 10px;font-size:46px;line-height:1.05} |
| 48 | +.lead{color:var(--muted);font-size:18px;margin:0 0 18px} |
| 49 | +.cta-row{display:flex;gap:12px;flex-wrap:wrap;margin:8px 0 14px} |
| 50 | +.btn-primary{background:linear-gradient(180deg, color-mix(in oklab, var(--primary) 92%, #fff) 0%, var(--primary) 100%);color:var(--primary-ink);border-color:color-mix(in oklab, var(--primary) 60%, var(--outline))} |
| 51 | +.btn-outline{background:transparent} |
| 52 | +.hero-bullets{margin:10px 0 0 0;padding:0;list-style:none;display:grid;gap:6px;color:var(--muted)} |
| 53 | +.hero-visual{border:1px solid var(--outline);border-radius:24px;min-height:300px;display:grid;place-items:center; |
| 54 | + background: radial-gradient(80% 90% at 50% 100%, color-mix(in oklab, var(--accent) 25%, transparent) 0%, transparent 60%), |
| 55 | + linear-gradient(180deg, var(--bg-elev), transparent); |
| 56 | + box-shadow:0 30px 80px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.03)} |
| 57 | +.shield{width:180px;height:220px;border-radius:32px/40px;position:relative;border:1px solid var(--outline); |
| 58 | + background: radial-gradient(120% 120% at 50% 90%, var(--accent) 0%, rgba(0,0,0,0) 60%), |
| 59 | + linear-gradient(180deg, #0b0b0e 0%, #0a0a0b 100%); |
| 60 | + display:grid;place-items:center;box-shadow: inset 0 1px 0 rgba(255,255,255,.04), inset 0 -30px 50px rgba(0,0,0,.5)} |
| 61 | +.shield-m{font-weight:800;font-size:80px;color:var(--primary);text-shadow:0 10px 30px rgba(0,0,0,.5)} |
| 62 | + |
| 63 | +/* Sections */ |
| 64 | +.section{padding:40px 0} |
| 65 | +.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:16px} |
| 66 | +.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px} |
| 67 | +.card{background:var(--bg-elev);border:1px solid var(--outline);border-radius:16px;padding:16px} |
| 68 | +.section-title{text-align:center;margin:0 0 16px} |
| 69 | +.pricing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px} |
| 70 | +.plan{background:var(--bg-elev);border:1px solid var(--outline);border-radius:16px;padding:16px;text-align:center} |
| 71 | +.plan-pro{box-shadow:0 10px 30px rgba(0,0,0,.25)} |
| 72 | +.price{font-size:22px;font-weight:700} |
| 73 | + |
| 74 | +/* Footer */ |
| 75 | +.site-footer{border-top:1px solid var(--outline);padding:16px 0;color:var(--muted)} |
| 76 | + |
| 77 | +/* Responsive */ |
| 78 | +@media (max-width: 900px){ |
| 79 | + .hero-grid{grid-template-columns:1fr} |
278 | 80 | } |
0 commit comments