-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
201 lines (183 loc) · 15.5 KB
/
Copy pathstyle.css
File metadata and controls
201 lines (183 loc) · 15.5 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
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600&family=DM+Sans:wght@300;400;500&family=Space+Grotesk:wght@400;500;600&display=swap');
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
--primary: #5B6EF5;
--primary-dark: #3A4ED4;
--primary-light: #E8EAFF;
--primary-100: #C5CAF9;
--pink: #E8619A;
--pink-light: #FCE4EF;
--pink-dark: #C0426F;
--purple: #8B5CF6;
--purple-light: #EDE9FE;
--bg: #F8F7FF;
--text: #1A1A2E;
--text-muted: #5C5C80;
--border: rgba(91,110,245,0.15);
--white: #ffffff;
--coral: #F97316;
--coral-light: #FEF0E6;
--radius: 14px;
--radius-lg: 20px;
--card-bg: #ffffff;
--nav-bg: rgba(248,247,255,0.88);
}
/* DARK MODE VARS */
body.dark-mode {
--bg: #0E0E1A;
--text: #E8E8FF;
--text-muted: #8888BB;
--border: rgba(91,110,245,0.2);
--card-bg: #16162A;
--nav-bg: rgba(14,14,26,0.9);
--primary-light: #1E1E3A;
--pink-light: #2A1020;
--purple-light: #1A1030;
--coral-light: #2A1500;
}
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--bg); color: var(--text); line-height: 1.7; overflow-x: hidden; transition: background 0.3s, color 0.3s; }
/* NAV */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 1rem 2rem; display: flex; align-items: center; justify-content: space-between; background: var(--nav-bg); backdrop-filter: blur(12px); border-bottom: 0.5px solid var(--border); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 36px; height: 36px; background: linear-gradient(135deg, var(--primary), var(--pink)); border-radius: 10px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.logo-mark::before { content: ''; position: absolute; width: 18px; height: 18px; border: 2.5px solid white; border-radius: 50%; }
.logo-mark::after { content: ''; position: absolute; bottom: 6px; right: 5px; width: 8px; height: 8px; background: rgba(255,255,255,0.7); border-radius: 50%; }
.logo-text { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 1.1rem; color: var(--primary-dark); letter-spacing: -0.02em; }
body.dark-mode .logo-text { color: var(--primary-100); }
.logo-text span { color: var(--pink); }
nav ul { list-style: none; display: flex; align-items: center; gap: 1.75rem; }
nav ul a { text-decoration: none; color: var(--text-muted); font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
nav ul a:hover { color: var(--primary); }
.nav-cta { background: linear-gradient(135deg, var(--primary), var(--pink)) !important; color: white !important; padding: 0.5rem 1.25rem; border-radius: 8px; }
.nav-cta:hover { opacity: 0.9; color: white !important; }
/* THEME TOGGLE */
.theme-btn-round { background: var(--primary-light); border: 0.5px solid var(--border); border-radius: 20px; padding: 0.3rem 0.75rem; cursor: pointer; font-size: 0.85rem; color: var(--primary); transition: all 0.2s; }
.theme-btn-round:hover { background: var(--primary); color: white; }
/* HERO */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 8rem 2rem 4rem; max-width: 1100px; margin: 0 auto; gap: 4rem; }
.hero-left { flex: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--pink-light); color: var(--pink-dark); font-size: 0.8rem; font-weight: 500; padding: 0.4rem 1rem; border-radius: 20px; border: 0.5px solid #F0A8C4; margin-bottom: 1.5rem; }
.hero-badge::before { content: ''; width: 6px; height: 6px; background: var(--pink); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.4)} }
h1, .hero-title { font-family: 'Playfair Display', serif; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.15; color: var(--text); margin-bottom: 1.25rem; }
h1 em, .hero-title em { font-style: normal; background: linear-gradient(135deg, var(--primary), var(--pink)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { font-size: 1.05rem; color: var(--text-muted); max-width: 480px; margin-bottom: 2rem; line-height: 1.8; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--pink)); color: white; padding: 0.85rem 2rem; border-radius: var(--radius); font-size: 1rem; font-weight: 500; text-decoration: none; border: none; cursor: pointer; transition: opacity 0.2s, transform 0.15s; display: inline-block; }
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--primary); padding: 0.85rem 2rem; border-radius: var(--radius); font-size: 1rem; font-weight: 500; text-decoration: none; border: 1.5px solid var(--primary-100); cursor: pointer; transition: all 0.2s; display: inline-block; }
.btn-secondary:hover { background: var(--primary-light); }
.hero-stats { display: flex; gap: 2rem; margin-top: 2.5rem; }
.stat-num { font-family: 'Space Grotesk', sans-serif; font-size: 1.6rem; font-weight: 600; background: linear-gradient(135deg, var(--primary), var(--pink)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { font-size: 0.8rem; color: var(--text-muted); }
/* HERO VISUAL */
.hero-right { flex: 1; display: flex; justify-content: center; align-items: center; position: relative; }
.hero-card { background: var(--card-bg); border-radius: var(--radius-lg); padding: 1.5rem; border: 0.5px solid var(--border); width: 320px; box-shadow: 0 4px 32px rgba(91,110,245,0.1); animation: float 4s ease-in-out infinite; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
.card-top { display: flex; align-items: center; gap: 10px; margin-bottom: 1rem; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--primary-100), var(--pink-light)); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 0.9rem; color: var(--primary-dark); }
.card-name { font-weight: 500; font-size: 0.9rem; color: var(--text); }
.card-role { font-size: 0.75rem; color: var(--text-muted); }
.progress-label { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.4rem; display: flex; justify-content: space-between; }
.progress-bar { height: 6px; background: var(--primary-light); border-radius: 3px; overflow: hidden; margin-bottom: 0.75rem; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--pink)); border-radius: 3px; transition: width 1.5s ease; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 0.75rem; }
.tag { background: var(--primary-light); color: var(--primary); font-size: 0.7rem; padding: 3px 10px; border-radius: 12px; border: 0.5px solid var(--primary-100); }
.tag.new { background: var(--pink-light); color: var(--pink-dark); border-color: #F0A8C4; }
.floating-pill { position: absolute; background: var(--card-bg); border-radius: 12px; padding: 0.5rem 0.85rem; font-size: 0.75rem; border: 0.5px solid var(--border); display: flex; align-items: center; gap: 6px; box-shadow: 0 2px 12px rgba(91,110,245,0.08); color: var(--text); }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.pill-1 { top: 10%; right: -5%; animation: float 4s ease-in-out infinite 1s; }
.pill-2 { bottom: 15%; left: -8%; animation: float 4s ease-in-out infinite 2s; }
/* SECTIONS */
.section { padding: 6rem 2rem; max-width: 1100px; margin: 0 auto; }
.section-eyebrow { font-size: 0.8rem; font-weight: 500; color: var(--pink); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--text); margin-bottom: 1rem; }
.section-sub { color: var(--text-muted); max-width: 520px; margin-bottom: 3rem; }
/* FLIP CARDS */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.feature-card { perspective: 1000px; height: 220px; cursor: pointer; }
.card-inner { position: relative; width: 100%; height: 100%; transition: transform 0.6s cubic-bezier(0.4,0,0.2,1); transform-style: preserve-3d; }
.feature-card.flipped .card-inner { transform: rotateY(180deg); }
.card-front, .card-back { position: absolute; inset: 0; border-radius: var(--radius-lg); padding: 1.75rem; border: 0.5px solid var(--border); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.card-front { background: var(--card-bg); }
.card-back { background: linear-gradient(135deg, var(--primary), var(--purple)); color: white; transform: rotateY(180deg); display: flex; flex-direction: column; justify-content: center; }
.feature-card:hover .card-front { border-color: var(--primary-100); box-shadow: 0 4px 20px rgba(91,110,245,0.1); }
.feature-icon { width: 44px; height: 44px; background: var(--primary-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 0.75rem; }
.feature-title { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 1rem; color: var(--text); margin-bottom: 0.4rem; }
.feature-desc { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }
.feature-badge { display: inline-block; margin-top: 0.6rem; font-size: 0.7rem; background: var(--primary-light); color: var(--primary); padding: 2px 8px; border-radius: 8px; }
.feature-badge.unique { background: var(--pink-light); color: var(--pink-dark); }
.back-title { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.6rem; }
.back-desc { font-size: 0.82rem; line-height: 1.65; opacity: 0.92; }
.action-hint { font-size: 0.72rem; opacity: 0.7; margin-top: 0.75rem; display: block; }
/* HOW IT WORKS */
.how-section { background: var(--card-bg); padding: 6rem 2rem; border-top: 0.5px solid var(--border); border-bottom: 0.5px solid var(--border); }
.how-inner { max-width: 1100px; margin: 0 auto; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; margin-top: 3rem; }
.step { text-align: center; }
.step-num { width: 48px; height: 48px; background: linear-gradient(135deg, var(--primary), var(--pink)); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 1.1rem; margin: 0 auto 1rem; }
.step-title { font-weight: 500; font-size: 0.95rem; color: var(--text); margin-bottom: 0.4rem; }
.step-desc { font-size: 0.83rem; color: var(--text-muted); }
/* SDG BANNER */
.sdg-banner { background: linear-gradient(135deg, #1A1A3E, #2D1B4E); color: white; padding: 4rem 2rem; text-align: center; }
.sdg-inner { max-width: 700px; margin: 0 auto; }
.sdg-tag { display: inline-block; background: rgba(255,255,255,0.1); border: 0.5px solid rgba(255,255,255,0.2); color: #C5CAF9; font-size: 0.8rem; padding: 0.3rem 1rem; border-radius: 20px; margin-bottom: 1rem; }
.sdg-title { font-family: 'Playfair Display', serif; font-size: 2rem; margin-bottom: 1rem; }
.sdg-desc { color: #C5CAF9; font-size: 0.95rem; line-height: 1.8; }
/* CTA */
.cta-section { padding: 6rem 2rem; text-align: center; max-width: 700px; margin: 0 auto; }
.cta-section h2 { font-family: 'Playfair Display', serif; font-size: 2.4rem; color: var(--text); margin-bottom: 1rem; }
.cta-section p { color: var(--text-muted); margin-bottom: 2rem; }
/* FOOTER */
footer { background: linear-gradient(135deg, #1A1A3E, #2D1B4E); color: #C5CAF9; padding: 2rem; text-align: center; font-size: 0.85rem; }
/* ONBOARDING */
.onboarding-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 6rem 1.5rem 3rem; }
.onboarding-card { background: var(--card-bg); border-radius: var(--radius-lg); border: 0.5px solid var(--border); padding: 2.5rem; max-width: 600px; width: 100%; }
.progress-steps { display: flex; gap: 4px; margin-bottom: 2.5rem; }
.step-dot { flex: 1; height: 4px; background: var(--primary-light); border-radius: 2px; transition: background 0.3s; }
.step-dot.active { background: var(--primary); }
.step-dot.done { background: var(--pink); }
.step-label { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.25rem; }
.step-question { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--text); margin-bottom: 0.5rem; }
.step-hint { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.75rem; }
.form-group { margin-bottom: 1.25rem; }
label { display: block; font-size: 0.85rem; font-weight: 500; color: var(--primary-dark); margin-bottom: 0.4rem; }
body.dark-mode label { color: var(--primary-100); }
input, select, textarea { width: 100%; padding: 0.75rem 1rem; border: 0.5px solid var(--border); border-radius: var(--radius); font-family: 'DM Sans', sans-serif; font-size: 0.9rem; color: var(--text); background: var(--bg); outline: none; transition: border-color 0.2s; }
input:focus, select:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(91,110,245,0.1); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 0.45rem 1rem; border-radius: 20px; font-size: 0.82rem; border: 0.5px solid var(--border); background: var(--bg); color: var(--text-muted); cursor: pointer; transition: all 0.2s; }
.chip.selected { background: var(--primary-light); border-color: var(--primary); color: var(--primary); }
.form-nav { display: flex; justify-content: space-between; margin-top: 2rem; }
.btn-back { background: transparent; border: 0.5px solid var(--border); color: var(--text-muted); padding: 0.75rem 1.5rem; border-radius: var(--radius); cursor: pointer; font-size: 0.9rem; transition: all 0.2s; }
.btn-back:hover { border-color: var(--primary); color: var(--primary); }
.step-page { display: none; }
.step-page.active { display: block; }
/* FILE UPLOAD */
.file-upload-wrapper { }
.file-upload-wrapper .btn-secondary { font-size: 0.9rem; }
/* DASHBOARD */
.dashboard-wrap { min-height: 100vh; padding: 6rem 2rem 3rem; max-width: 1100px; margin: 0 auto; }
.dash-header { margin-bottom: 2.5rem; }
.dash-greeting { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--text); }
.dash-sub { color: var(--text-muted); margin-top: 0.25rem; }
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.dash-card { background: var(--card-bg); border-radius: var(--radius-lg); border: 0.5px solid var(--border); padding: 1.5rem; }
.dash-card.full { grid-column: 1 / -1; }
.dash-card-title { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 0.95rem; color: var(--text); margin-bottom: 1rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dash-card-title .icon { font-size: 1rem; }
.loading-state { color: var(--text-muted); font-size: 0.9rem; display: flex; align-items: center; gap: 8px; }
.spinner { width: 16px; height: 16px; border: 2px solid var(--primary-light); border-top-color: var(--primary); border-radius: 50%; animation: spin 0.8s linear infinite; flex-shrink: 0; }
@keyframes spin { to{transform:rotate(360deg)} }
.result-content { font-size: 0.875rem; color: var(--text); line-height: 1.8; }
.unique-badge { font-size: 0.65rem; background: var(--pink-light); color: var(--pink-dark); padding: 2px 6px; border-radius: 6px; margin-left: 4px; }
@media (max-width: 768px) {
.hero { flex-direction: column; text-align: center; }
.hero-right { width: 100%; }
.hero-stats { justify-content: center; }
.hero-sub { margin: 0 auto 2rem; }
nav ul { display: none; }
.dash-grid { grid-template-columns: 1fr; }
.feature-card { height: 260px; }
}