Skip to content

Commit c635e9c

Browse files
rascaclaude
andcommitted
Redesign tech section with striking visual effects
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 3c65d6b commit c635e9c

2 files changed

Lines changed: 72 additions & 15 deletions

File tree

app/globals.css

Lines changed: 68 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -219,22 +219,81 @@ a { color: inherit; text-decoration: none; }
219219
.app-card.moldcord .status-badge { border-color: rgba(74, 202, 151, 0.3); color: var(--green); }
220220
.app-card.moderation .status-badge { border-color: rgba(188, 162, 255, 0.4); color: var(--purple); }
221221

222-
.tech-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
222+
/* Tech section — full-width tinted background */
223+
#tech {
224+
max-width: none;
225+
padding: var(--space-8) var(--site-margin);
226+
background: linear-gradient(180deg, #faf8ff 0%, #fff5f8 50%, #faf8ff 100%);
227+
position: relative;
228+
overflow: hidden;
229+
}
230+
#tech::before {
231+
content: '';
232+
position: absolute;
233+
top: 50%;
234+
left: 50%;
235+
transform: translate(-50%, -50%);
236+
width: 900px;
237+
height: 900px;
238+
background: radial-gradient(circle, rgba(255, 48, 123, 0.06) 0%, rgba(188, 162, 255, 0.04) 40%, transparent 70%);
239+
pointer-events: none;
240+
}
241+
#tech .section-header,
242+
#tech .tech-grid {
243+
max-width: 1200px;
244+
margin-left: auto;
245+
margin-right: auto;
246+
}
247+
#tech .section-header {
248+
margin-bottom: var(--space-7);
249+
}
250+
#tech .section-header h2 {
251+
font-size: var(--fs-h1);
252+
font-weight: 900;
253+
letter-spacing: -0.03em;
254+
line-height: 1.05;
255+
}
256+
#tech .section-header p {
257+
max-width: 600px;
258+
font-size: clamp(1rem, 0.909rem + 0.455vw, 1.125rem);
259+
}
260+
261+
.tech-grid {
262+
display: grid;
263+
grid-template-columns: repeat(2, 1fr);
264+
gap: var(--space-5);
265+
position: relative;
266+
z-index: 1;
267+
}
223268
.tech-card {
224-
background-color: var(--bg-card); border: var(--border-width) solid var(--border);
225-
border-radius: var(--radius-sm); padding: var(--space-5);
226-
transition: border-color 0.3s ease, opacity 0.3s ease; position: relative;
269+
background-color: rgba(255, 255, 255, 0.85);
270+
backdrop-filter: blur(12px);
271+
-webkit-backdrop-filter: blur(12px);
272+
border: var(--border-width) solid var(--border);
273+
border-left: 3px solid var(--red);
274+
border-radius: var(--radius-md);
275+
padding: clamp(1.75rem, 1.5rem + 1.25vw, 2.5rem);
276+
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
277+
box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
278+
border-color 0.3s ease,
279+
opacity 0.3s ease;
280+
position: relative;
281+
}
282+
.tech-card:hover {
283+
transform: translateY(-4px);
284+
border-color: rgba(255, 48, 123, 0.3);
285+
box-shadow: 0 8px 32px rgba(255, 48, 123, 0.1), 0 2px 8px rgba(0, 0, 0, 0.04);
227286
}
228-
.tech-card:hover { border-color: #bbb; }
229287
.tech-grid:hover .tech-card:not(:hover) { opacity: 0.5; }
230288
.tech-icon {
231-
width: 56px; height: 56px; border-radius: var(--radius-sm);
289+
width: 64px; height: 64px; border-radius: var(--radius-md);
232290
display: flex; align-items: center; justify-content: center;
233-
background-color: rgba(255, 48, 123, 0.06); color: var(--red);
291+
background: linear-gradient(135deg, rgba(255, 48, 123, 0.1) 0%, rgba(188, 162, 255, 0.12) 100%);
292+
color: var(--red);
234293
margin-bottom: var(--space-4);
235294
}
236-
.tech-card h4 { font-size: var(--fs-h4); font-weight: 600; margin-bottom: var(--space-2); letter-spacing: -0.01em; }
237-
.tech-card p { color: var(--text-2); font-size: var(--fs-small); line-height: 1.6; }
295+
.tech-card h4 { font-size: var(--fs-h4); font-weight: 700; margin-bottom: var(--space-2); letter-spacing: -0.01em; }
296+
.tech-card p { color: var(--text-2); font-size: var(--fs-small); line-height: 1.7; }
238297

239298
.footer {
240299
border-top: var(--border-width) solid var(--border);

app/page.tsx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,6 @@ export default function Home() {
8383
</div>
8484
</section>
8585

86-
<hr className="section-divider" />
87-
8886
<section className="section" id="tech">
8987
<div className="section-header">
9088
<div className="section-label">Trust Infrastructure</div>
@@ -95,7 +93,7 @@ export default function Home() {
9593
<div className="tech-grid">
9694
<div className="tech-card">
9795
<div className="tech-icon">
98-
<svg width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round">
96+
<svg width="36" height="36" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round">
9997
<path d="M12 3v18" /><path d="M3 12h18" /><path d="M5.5 5.5l13 13" /><path d="M18.5 5.5l-13 13" /><circle cx="12" cy="12" r="9" />
10098
</svg>
10199
</div>
@@ -104,7 +102,7 @@ export default function Home() {
104102
</div>
105103
<div className="tech-card">
106104
<div className="tech-icon">
107-
<svg width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round">
105+
<svg width="36" height="36" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round">
108106
<path d="M8 21h8" /><path d="M12 17v4" /><path d="M7 4h10" /><path d="M12 4v6" /><path d="M17 4l-3 6" /><path d="M7 4l3 6" /><circle cx="6" cy="13" r="3" /><circle cx="18" cy="13" r="3" />
109107
</svg>
110108
</div>
@@ -113,7 +111,7 @@ export default function Home() {
113111
</div>
114112
<div className="tech-card">
115113
<div className="tech-icon">
116-
<svg width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round">
114+
<svg width="36" height="36" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round">
117115
<path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z" /><path d="M9 12l2 2 4-4" />
118116
</svg>
119117
</div>
@@ -122,7 +120,7 @@ export default function Home() {
122120
</div>
123121
<div className="tech-card">
124122
<div className="tech-icon">
125-
<svg width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round">
123+
<svg width="36" height="36" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round">
126124
<circle cx="12" cy="12" r="10" /><path d="M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20" /><path d="M2 12h20" />
127125
</svg>
128126
</div>

0 commit comments

Comments
 (0)