File size: 8,047 Bytes
7dd18c9
 
 
 
7886b93
 
 
 
7dd18c9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3617631
7dd18c9
 
 
7886b93
7dd18c9
 
 
3617631
 
7dd18c9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3617631
 
7dd18c9
 
 
 
 
 
 
 
3617631
7dd18c9
 
 
 
 
 
 
 
 
 
 
 
5b0d739
 
7dd18c9
 
3617631
7dd18c9
 
 
3617631
7dd18c9
3617631
 
7dd18c9
3617631
 
 
 
 
7dd18c9
 
3617631
7dd18c9
 
3617631
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
/* ── Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&display=swap');

@tailwind base;
@tailwind components;
@tailwind utilities;

/* ══════════════════════════════════════════════
   LIGHT MODE (default β€” white + light blue)
══════════════════════════════════════════════ */
:root {
  --cn-bg:               #f8fafc;
  --cn-surface:          #ffffff;
  --cn-surface-elevated: #f1f5f9;
  --cn-surface-glass:    rgba(255,255,255,0.85);
  --cn-border:           #e2e8f0;
  --cn-border-strong:    #cbd5e1;
  --cn-text:             #0f172a;
  --cn-muted:            #64748b;
  --cn-accent:           #2563eb;
  --cn-accent-hover:     #1d4ed8;
  --cn-success:          #16a34a;
  --cn-success-bg:       rgba(22,163,74,0.08);
  --cn-info:             #0891b2;
  --cn-info-bg:          rgba(8,145,178,0.08);
  --cn-danger:           #dc2626;
  --cn-danger-bg:        rgba(220,38,38,0.08);
  --cn-warn:             #d97706;
  --cn-warn-bg:          rgba(217,119,6,0.08);
  --cn-purple:           #7c3aed;
  --cn-shadow:           0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --cn-shadow-md:        0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --cn-shadow-lg:        0 10px 30px rgba(0,0,0,0.1), 0 4px 10px rgba(0,0,0,0.05);
}

/* ══════════════════════════════════════════════
   DARK MODE
══════════════════════════════════════════════ */
.dark {
  --cn-bg:               #0a0f1e;
  --cn-surface:          #111827;
  --cn-surface-elevated: #1e2a3d;
  --cn-surface-glass:    rgba(17,24,39,0.9);
  --cn-border:           #1f3050;
  --cn-border-strong:    #2d4470;
  --cn-text:             #e2e8f0;
  --cn-muted:            #8b9dc3;
  --cn-accent:           #3b82f6;
  --cn-accent-hover:     #60a5fa;
  --cn-success:          #22c55e;
  --cn-success-bg:       rgba(34,197,94,0.1);
  --cn-info:             #22d3ee;
  --cn-info-bg:          rgba(34,211,238,0.1);
  --cn-danger:           #f87171;
  --cn-danger-bg:        rgba(248,113,113,0.1);
  --cn-warn:             #fbbf24;
  --cn-warn-bg:          rgba(251,191,36,0.1);
  --cn-purple:           #a78bfa;
  --cn-shadow:           0 1px 3px rgba(0,0,0,0.3), 0 1px 2px rgba(0,0,0,0.2);
  --cn-shadow-md:        0 4px 12px rgba(0,0,0,0.35), 0 2px 4px rgba(0,0,0,0.2);
  --cn-shadow-lg:        0 10px 30px rgba(0,0,0,0.4), 0 4px 10px rgba(0,0,0,0.25);
}

/* ══════════════════════════════════════════════
   BASE
══════════════════════════════════════════════ */
body {
  background-color: var(--cn-bg);
  color: var(--cn-text);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: rgba(37,99,235,0.15); color: inherit; }

/* ══════════════════════════════════════════════
   COMPONENTS
══════════════════════════════════════════════ */
.card {
  background: var(--cn-surface);
  border: 1px solid var(--cn-border);
  border-radius: 0.875rem;
  box-shadow: var(--cn-shadow);
}

.card-glass {
  background: var(--cn-surface-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--cn-border);
  border-radius: 0.875rem;
  box-shadow: var(--cn-shadow);
}

.input-base {
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid var(--cn-border);
  background: var(--cn-surface);
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  color: var(--cn-text);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input-base::placeholder { color: var(--cn-muted); }
.input-base:focus {
  border-color: var(--cn-accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--cn-accent);
  color: white;
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  box-shadow: 0 2px 8px rgba(37,99,235,0.25);
}
.btn-primary:hover {
  background: var(--cn-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37,99,235,0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--cn-surface);
  color: var(--cn-text);
  border: 1px solid var(--cn-border);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.btn-secondary:hover {
  border-color: var(--cn-border-strong);
  background: var(--cn-surface-elevated);
}

/* ══════════════════════════════════════════════
   LANDING PAGE HELPERS
══════════════════════════════════════════════ */
.glass-nav {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.stripe-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 100% 0%, #eef2ff 0%, transparent 40%),
    radial-gradient(circle at 0% 100%, #f0fdf4 0%, transparent 30%);
}

.linear-grid {
  background-size: 40px 40px;
  background-image:
    linear-gradient(to right, rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.03) 1px, transparent 1px);
}

.code-window {
  background: #1e1e1e;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  border: 1px solid #333;
  font-family: 'JetBrains Mono', monospace;
  overflow: hidden;
}

.code-header {
  background: #2d2d2d;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #3a3a3a;
}

/* ══════════════════════════════════════════════
   SCROLLBAR
══════════════════════════════════════════════ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--cn-border-strong); border-radius: 9999px; }
::-webkit-scrollbar-thumb:hover { background: var(--cn-muted); }

/* ══════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in { animation: fadeIn 0.3s ease-out; }

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.skeleton {
  background: linear-gradient(90deg, var(--cn-surface-elevated) 25%, var(--cn-border) 50%, var(--cn-surface-elevated) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite;
  border-radius: 0.5rem;
}