Skip to content

Commit 43fb902

Browse files
feat: enhance homepage and documentation with improved content, navigation links, and visual layout adjustments
1 parent 567bbe8 commit 43fb902

7 files changed

Lines changed: 534 additions & 287 deletions

File tree

assets/css/style.css

Lines changed: 203 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* SentraCore — marketing site (GitHub Pages) — elevated UI */
2-
31
:root {
42
--bg: #eef2ff;
53
--bg-deep: #0c1222;
@@ -68,7 +66,6 @@ a:hover {
6866
text-decoration: underline;
6967
}
7068

71-
/* --- Matrix canvas background (hero only) --- */
7269
.matrix-canvas {
7370
position: absolute;
7471
inset: 0;
@@ -79,7 +76,6 @@ a:hover {
7976
pointer-events: none;
8077
}
8178

82-
/* --- Header --- */
8379
.site-header {
8480
position: sticky;
8581
top: 0;
@@ -229,7 +225,6 @@ main {
229225
z-index: 1;
230226
}
231227

232-
/* --- Hero (dark + mesh) --- */
233228
.hero-wrap {
234229
position: relative;
235230
overflow: hidden;
@@ -315,10 +310,51 @@ main {
315310
.hero {
316311
position: relative;
317312
padding: 4.5rem 0 5rem;
318-
text-align: center;
313+
text-align: left;
314+
}
315+
316+
.hero-split {
317+
display: grid;
318+
gap: 2.5rem;
319+
align-items: center;
320+
}
321+
322+
@media (min-width: 960px) {
323+
.hero-split {
324+
grid-template-columns: 1fr minmax(300px, 40%);
325+
gap: 3rem;
326+
}
327+
328+
.hero-visual {
329+
justify-self: end;
330+
width: 100%;
331+
max-width: 440px;
332+
}
333+
}
334+
335+
@media (max-width: 959px) {
336+
.hero {
337+
text-align: center;
338+
}
339+
340+
.hero-copy {
341+
max-width: 36rem;
342+
margin-left: auto;
343+
margin-right: auto;
344+
}
345+
346+
.hero-actions {
347+
justify-content: center;
348+
}
349+
350+
.hero-visual {
351+
max-width: 400px;
352+
margin-left: auto;
353+
margin-right: auto;
354+
}
319355
}
320356

321-
.hero-badge {
357+
.hero-copy .hero-badge {
322358
display: inline-block;
323359
font-size: 0.75rem;
324360
font-weight: 700;
@@ -334,7 +370,7 @@ main {
334370
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
335371
}
336372

337-
.hero h1 {
373+
.hero-copy h1 {
338374
margin: 0 0 1.15rem;
339375
font-size: clamp(2.1rem, 5.5vw, 3.25rem);
340376
font-weight: 800;
@@ -344,16 +380,16 @@ main {
344380
text-shadow: 0 2px 40px rgba(0, 0, 0, 0.35);
345381
}
346382

347-
.hero h1 span {
383+
.hero-copy h1 span {
348384
background: linear-gradient(105deg, #e0e7ff 0%, #67e8f9 50%, #c4b5fd 100%);
349385
-webkit-background-clip: text;
350386
background-clip: text;
351387
color: transparent;
352388
}
353389

354390
.hero-lead {
355-
margin: 0 auto 2.25rem;
356-
max-width: 38rem;
391+
margin: 0 0 2rem;
392+
max-width: 36rem;
357393
font-size: 1.125rem;
358394
color: rgba(226, 232, 240, 0.88);
359395
line-height: 1.65;
@@ -363,10 +399,134 @@ main {
363399
display: flex;
364400
flex-wrap: wrap;
365401
gap: 0.875rem;
366-
justify-content: center;
402+
justify-content: flex-start;
403+
}
404+
405+
.hero-visual {
406+
position: relative;
407+
perspective: 1200px;
408+
}
409+
410+
.hero-visual-frame {
411+
position: relative;
412+
border-radius: 20px;
413+
border: 1px solid rgba(255, 255, 255, 0.18);
414+
background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
415+
backdrop-filter: blur(18px) saturate(160%);
416+
box-shadow:
417+
0 32px 64px rgba(0, 0, 0, 0.35),
418+
0 0 0 1px rgba(255, 255, 255, 0.06) inset,
419+
0 0 100px rgba(79, 70, 229, 0.2);
420+
overflow: hidden;
421+
transform-style: preserve-3d;
422+
}
423+
424+
.hero-visual-top {
425+
display: flex;
426+
align-items: center;
427+
gap: 0.5rem;
428+
padding: 0.65rem 0.9rem;
429+
border-bottom: 1px solid rgba(255, 255, 255, 0.12);
430+
background: rgba(15, 23, 42, 0.4);
431+
}
432+
433+
.hero-visual-title {
434+
margin-left: 0.25rem;
435+
font-size: 0.8rem;
436+
font-weight: 700;
437+
color: rgba(226, 232, 240, 0.92);
438+
}
439+
440+
.hero-visual-body {
441+
padding: 1rem 1rem 1.15rem;
442+
}
443+
444+
.hero-visual-chart {
445+
position: relative;
446+
height: 100px;
447+
border-radius: 12px;
448+
border: 1px solid rgba(255, 255, 255, 0.12);
449+
background: linear-gradient(180deg, rgba(15, 23, 42, 0.45), rgba(30, 27, 75, 0.3));
450+
margin-bottom: 1rem;
451+
overflow: hidden;
452+
}
453+
454+
.hero-visual-line {
455+
position: absolute;
456+
left: 8%;
457+
right: 8%;
458+
bottom: 28%;
459+
height: 3px;
460+
border-radius: 999px;
461+
background: linear-gradient(90deg, rgba(99, 102, 241, 0.2), rgba(99, 102, 241, 0.9), rgba(34, 211, 238, 0.85));
462+
opacity: 0.9;
463+
transform-origin: left center;
464+
}
465+
466+
.hero-visual-line--b {
467+
bottom: 48%;
468+
opacity: 0.45;
469+
transform: scaleX(0.75);
470+
}
471+
472+
.hero-visual-dot {
473+
position: absolute;
474+
right: 18%;
475+
bottom: 26%;
476+
width: 10px;
477+
height: 10px;
478+
border-radius: 50%;
479+
background: #67e8f9;
480+
box-shadow: 0 0 20px rgba(34, 211, 238, 0.8);
481+
}
482+
483+
.hero-visual-stats {
484+
display: flex;
485+
gap: 1rem;
486+
margin-bottom: 0.85rem;
487+
}
488+
489+
.hero-stat {
490+
flex: 1;
491+
padding: 0.65rem 0.75rem;
492+
border-radius: 12px;
493+
border: 1px solid rgba(255, 255, 255, 0.14);
494+
background: rgba(255, 255, 255, 0.06);
495+
}
496+
497+
.hero-stat-label {
498+
display: block;
499+
font-size: 0.68rem;
500+
font-weight: 800;
501+
letter-spacing: 0.1em;
502+
text-transform: uppercase;
503+
color: rgba(226, 232, 240, 0.65);
504+
}
505+
506+
.hero-stat-num {
507+
display: block;
508+
font-size: 1.35rem;
509+
font-weight: 900;
510+
color: #f8fafc;
511+
letter-spacing: -0.03em;
512+
}
513+
514+
.hero-visual-caption {
515+
margin: 0;
516+
font-size: 0.8rem;
517+
line-height: 1.45;
518+
color: rgba(226, 232, 240, 0.72);
519+
}
520+
521+
.hero-visual .showcase-shadow {
522+
width: min(380px, 90vw);
523+
bottom: -14px;
524+
}
525+
526+
.hero-visual-frame {
527+
transition: transform 0.18s ease;
367528
}
368529

369-
/* --- Hero showcase (3D-ish product rendering) --- */
370530
.hero-showcase {
371531
margin: 2.25rem auto 0;
372532
max-width: 980px;
@@ -624,7 +784,6 @@ main {
624784
pointer-events: none;
625785
}
626786

627-
/* --- Buttons --- */
628787
.btn {
629788
display: inline-flex;
630789
align-items: center;
@@ -724,7 +883,6 @@ main {
724883
box-shadow: var(--shadow-glow), var(--shadow-lg);
725884
}
726885

727-
/* --- Features --- */
728886
.section {
729887
padding: 4rem 0;
730888
position: relative;
@@ -761,49 +919,13 @@ main {
761919
font-size: 1.05rem;
762920
}
763921

764-
@keyframes card-in {
765-
from {
766-
opacity: 0;
767-
transform: translateY(18px) rotateX(-6deg);
768-
}
769-
to {
770-
opacity: 1;
771-
transform: translateY(0) rotateX(0);
772-
}
773-
}
774-
775922
.feature-grid {
776923
display: grid;
777924
grid-template-columns: 1fr;
778925
gap: 1.5rem;
779926
perspective: 1200px;
780927
}
781928

782-
@media (prefers-reduced-motion: no-preference) {
783-
.feature-grid .card {
784-
animation: card-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) backwards;
785-
}
786-
787-
.feature-grid .card:nth-child(1) {
788-
animation-delay: 0.04s;
789-
}
790-
.feature-grid .card:nth-child(2) {
791-
animation-delay: 0.1s;
792-
}
793-
.feature-grid .card:nth-child(3) {
794-
animation-delay: 0.16s;
795-
}
796-
.feature-grid .card:nth-child(4) {
797-
animation-delay: 0.22s;
798-
}
799-
.feature-grid .card:nth-child(5) {
800-
animation-delay: 0.28s;
801-
}
802-
.feature-grid .card:nth-child(6) {
803-
animation-delay: 0.34s;
804-
}
805-
}
806-
807929
@media (min-width: 640px) {
808930
.feature-grid {
809931
grid-template-columns: repeat(2, 1fr);
@@ -889,7 +1011,6 @@ main {
8891011
border: 1px solid rgba(99, 102, 241, 0.2);
8901012
}
8911013

892-
/* --- Inner pages hero --- */
8931014
.page-hero {
8941015
padding: 3.5rem 0 2.25rem;
8951016
position: relative;
@@ -939,6 +1060,36 @@ main {
9391060
max-width: 42rem;
9401061
}
9411062

1063+
.prose-wide {
1064+
max-width: 52rem;
1065+
margin-left: auto;
1066+
margin-right: auto;
1067+
}
1068+
1069+
.page-block {
1070+
margin-top: 2.5rem;
1071+
padding: 1.75rem 1.5rem;
1072+
background: rgba(255, 255, 255, 0.7);
1073+
border: 1px solid var(--border);
1074+
border-radius: var(--radius);
1075+
box-shadow: var(--shadow);
1076+
}
1077+
1078+
.page-block h3 {
1079+
margin: 0 0 0.75rem;
1080+
font-size: 1.1rem;
1081+
font-weight: 800;
1082+
color: var(--text);
1083+
}
1084+
1085+
.page-block p:last-child {
1086+
margin-bottom: 0;
1087+
}
1088+
1089+
.download-followup {
1090+
margin-top: 3rem;
1091+
}
1092+
9421093
.prose h2 {
9431094
margin: 2rem 0 0.75rem;
9441095
font-size: 1.28rem;
@@ -967,7 +1118,6 @@ main {
9671118
border: 1px solid rgba(99, 102, 241, 0.15);
9681119
}
9691120

970-
/* --- Download --- */
9711121
.download-grid {
9721122
display: grid;
9731123
grid-template-columns: 1fr;
@@ -1102,7 +1252,6 @@ main {
11021252
position: relative;
11031253
}
11041254

1105-
/* --- Footer --- */
11061255
.site-footer {
11071256
margin-top: auto;
11081257
padding: 2.5rem 1.5rem;

assets/js/config.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
/**
2-
* GitHub "owner/repo" for release links and footer (matches `git remote` origin).
3-
*/
41
window.SENTRACORE_GITHUB = "AsieduDevelopmentHub/SentraCore";

0 commit comments

Comments
 (0)