diff --git a/frontend/src/pages/Home/sections/TechnogenSection.tsx b/frontend/src/pages/Home/sections/TechnogenSection.tsx index 23e4ff9..f1d1e69 100644 --- a/frontend/src/pages/Home/sections/TechnogenSection.tsx +++ b/frontend/src/pages/Home/sections/TechnogenSection.tsx @@ -49,15 +49,43 @@ export default function TechnogenSection() { id="technogen" dir={isFa ? 'rtl' : 'ltr'} style={{ - background: 'var(--paper)', - borderTop: '1px solid var(--rule-thin)', - borderBottom: '1px solid var(--rule-thin)', - padding: '44px 0 52px', + background: 'linear-gradient(180deg, #021a30 0%, #042442 50%, #021629 100%)', + borderTop: '1px solid rgba(205,158,83,0.3)', + borderBottom: '1px solid rgba(205,158,83,0.3)', + padding: '48px 0 54px', position: 'relative', overflow: 'hidden', }} > -
+ {/* Background ambient lighting */} +
+
+ +
{/* ── Section Header with Gold Accent Line ── */}
@@ -66,7 +94,7 @@ export default function TechnogenSection() { style={{ fontSize: 'clamp(20px, 2.2vw, 28px)', fontWeight: 900, - color: NAVY, + color: '#FFFFFF', margin: 0, letterSpacing: isFa ? '-0.5px' : '-0.2px', lineHeight: 1.3, @@ -78,7 +106,7 @@ export default function TechnogenSection() {

- {/* Subtle background glow */} -

- {/* Cover Thumbnail */}
- {/* Meta Pills */} + {/* Tag Pill */}
{isFa ? 'مطالعه تطبیقی ویژه' : 'Flagship Study'} - {featured.code && ( - - {featured.code} - - )} - - {isFa ? (featured.pagesFa || '۳۰ صفحه') : (featured.pagesEn || '30 Pages')} -
{/* Title */} @@ -298,7 +295,7 @@ export default function TechnogenSection() { alignItems: 'center', gap: 6, background: 'rgba(255,255,255,0.08)', - border: '1px solid rgba(255,255,255,0.18)', + border: '1px solid rgba(255,255,255,0.22)', color: '#fff', fontSize: 12, fontWeight: 700, @@ -337,10 +334,11 @@ export default function TechnogenSection() { transition={{ duration: 0.4, ease: EASE, delay: idx * 0.08 }} whileHover={{ y: -2 }} style={{ - background: '#FFFFFF', + background: 'linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%)', borderRadius: 14, - border: '1px solid rgba(3,35,64,0.08)', - boxShadow: '0 4px 14px -4px rgba(3,35,64,0.05)', + border: '1px solid rgba(255,255,255,0.1)', + boxShadow: '0 8px 20px -6px rgba(0,0,0,0.3)', + backdropFilter: 'blur(8px)', padding: '12px 14px', display: 'flex', alignItems: 'center', @@ -357,8 +355,8 @@ export default function TechnogenSection() { aspectRatio: '1 / 1.414', borderRadius: 6, overflow: 'hidden', - boxShadow: '0 4px 10px rgba(0,0,0,0.15)', - border: '1px solid rgba(3,35,64,0.1)', + boxShadow: '0 6px 14px rgba(0,0,0,0.35)', + border: '1px solid rgba(255,255,255,0.15)', background: NAVY, cursor: 'pointer', }} @@ -373,25 +371,10 @@ export default function TechnogenSection() { {/* Content */}
- {note.code && ( - - {note.code} - - )} {isFa ? (note.tagFa || 'یادداشت تحلیلی') : (note.tagEn || 'Analytical Note')} - - {isFa ? (note.pagesFa || '۴ صفحه') : (note.pagesEn || '4 Pages')} -

@@ -477,12 +457,12 @@ export default function TechnogenSection() { height: 32, borderRadius: 8, background: 'transparent', - border: '1px solid rgba(3,35,64,0.15)', - color: NAVY, + border: '1px solid rgba(255,255,255,0.2)', + color: '#FFFFFF', cursor: 'pointer', transition: 'all 0.15s', }} - className="hover:!border-navy" + className="hover:!border-gold" title={isFa ? 'مشاهده آنلاین' : 'Preview'} > @@ -559,7 +539,7 @@ export default function TechnogenSection() {
- {selectedReport.code} · {isFa ? selectedReport.tagFa : (selectedReport.tagEn || selectedReport.tagFa)} + {isFa ? selectedReport.tagFa : (selectedReport.tagEn || selectedReport.tagFa)}