Skip to content

Commit 84277d2

Browse files
committed
Add features page
1 parent dd50bcc commit 84277d2

4 files changed

Lines changed: 720 additions & 2 deletions

File tree

css/styles.css

Lines changed: 174 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ ul {
7777
padding: 0 1.5rem;
7878
}
7979

80+
/* ------------------------------- */
81+
/* NAVIGATION & HEADER */
82+
/* ------------------------------- */
83+
8084
.header {
8185
position: fixed;
8286
top: 0;
@@ -146,7 +150,8 @@ ul {
146150
transition: color var(--transition-fast);
147151
}
148152

149-
.nav-link:hover {
153+
.nav-link:hover,
154+
.nav-link.active-nav {
150155
color: var(--color-text);
151156
}
152157

@@ -163,6 +168,10 @@ ul {
163168
background: var(--color-bg-tertiary);
164169
}
165170

171+
/* ------------------------------- */
172+
/* BUTTONS */
173+
/* ------------------------------- */
174+
166175
.btn {
167176
display: inline-flex;
168177
align-items: center;
@@ -212,6 +221,10 @@ ul {
212221
background: rgba(93, 229, 249, 0.1);
213222
}
214223

224+
/* ------------------------------- */
225+
/* HERO SECTION */
226+
/* ------------------------------- */
227+
215228
.hero {
216229
padding: 8rem 0 4rem;
217230
min-height: 100vh;
@@ -320,6 +333,10 @@ ul {
320333
display: block;
321334
}
322335

336+
/* ------------------------------- */
337+
/* SECTIONS */
338+
/* ------------------------------- */
339+
323340
.section-header {
324341
text-align: center;
325342
margin-bottom: 4rem;
@@ -342,6 +359,10 @@ ul {
342359
margin: 0 auto;
343360
}
344361

362+
/* ------------------------------- */
363+
/* FEATURES GRID (INDEX PAGE) */
364+
/* ------------------------------- */
365+
345366
.features {
346367
padding: 6rem 0;
347368
background: var(--color-bg-secondary);
@@ -391,6 +412,10 @@ ul {
391412
line-height: 1.7;
392413
}
393414

415+
/* ------------------------------- */
416+
/* SCREENSHOTS */
417+
/* ------------------------------- */
418+
394419
.screenshots {
395420
padding: 6rem 0;
396421
}
@@ -446,6 +471,10 @@ ul {
446471
padding: 0 1.5rem 1.5rem;
447472
}
448473

474+
/* ------------------------------- */
475+
/* CTA */
476+
/* ------------------------------- */
477+
449478
.cta {
450479
padding: 6rem 0;
451480
background:
@@ -478,6 +507,10 @@ ul {
478507
gap: 1rem;
479508
}
480509

510+
/* ------------------------------- */
511+
/* FOOTER */
512+
/* ------------------------------- */
513+
481514
.footer {
482515
padding: 4rem 0 2rem;
483516
background: var(--color-bg);
@@ -543,6 +576,10 @@ ul {
543576
font-size: 0.875rem;
544577
}
545578

579+
/* ------------------------------- */
580+
/* RESPONSIVE */
581+
/* ------------------------------- */
582+
546583
@media (max-width: 1024px) {
547584
.hero .container {
548585
grid-template-columns: 1fr;
@@ -675,6 +712,10 @@ ul {
675712
}
676713
}
677714

715+
/* ------------------------------- */
716+
/* ANIMATIONS */
717+
/* ------------------------------- */
718+
678719
@keyframes fadeInUp {
679720
from {
680721
opacity: 0;
@@ -702,3 +743,135 @@ ul {
702743
.animate-float {
703744
animation: float 6s ease-in-out infinite;
704745
}
746+
747+
/* ========================================================= */
748+
/* FEATURES + COMPARISON PAGE ADDITIONS */
749+
/* ========================================================= */
750+
751+
.features-hero {
752+
padding: 6.5rem 0 3.5rem;
753+
text-align: center;
754+
}
755+
756+
.feature-compare-container {
757+
padding: 3rem 0 6rem;
758+
}
759+
760+
.feature-row {
761+
display: grid;
762+
grid-template-columns: 1fr 220px;
763+
gap: 1rem;
764+
align-items: center;
765+
padding: 1rem;
766+
background: var(--color-surface);
767+
border: 1px solid var(--color-border);
768+
border-radius: var(--radius-xl);
769+
margin-bottom: 1rem;
770+
transition: all var(--transition-base);
771+
}
772+
773+
.feature-row:hover {
774+
border-color: var(--color-cyan);
775+
box-shadow: var(--shadow-lg), 0 0 30px rgba(93,229,249,0.10);
776+
}
777+
778+
.feature-title-compare {
779+
font-weight: 700;
780+
font-size: 1.125rem;
781+
margin-bottom: 0.5rem;
782+
}
783+
784+
.feature-desc-compare {
785+
color: var(--color-text-secondary);
786+
font-size: 0.95rem;
787+
line-height: 1.5;
788+
}
789+
790+
.compare-grid {
791+
display: grid;
792+
grid-template-columns: 1fr;
793+
gap: 0.5rem;
794+
}
795+
796+
.compare-entry {
797+
display: flex;
798+
align-items: center;
799+
justify-content: space-between;
800+
padding: 0.45rem 0.6rem;
801+
border-radius: var(--radius-md);
802+
background: rgba(255,255,255,0.02);
803+
font-size: 0.9rem;
804+
}
805+
806+
.compare-entry .label {
807+
font-weight: 600;
808+
}
809+
810+
.compare-badge {
811+
padding: 0.25rem 0.55rem;
812+
font-size: 0.8rem;
813+
border-radius: 999px;
814+
font-weight: 700;
815+
}
816+
817+
.badge-yes {
818+
background: rgba(93,229,249,0.12);
819+
color: var(--color-cyan);
820+
border: 1px solid rgba(93,229,249,0.18);
821+
}
822+
823+
.badge-partial {
824+
background: rgba(168,85,247,0.1);
825+
color: var(--color-purple);
826+
border: 1px solid rgba(168,85,247,0.15);
827+
}
828+
829+
.badge-no {
830+
background: rgba(110,119,129,0.06);
831+
color: var(--color-text-muted);
832+
border: 1px solid rgba(110,119,129,0.10);
833+
}
834+
835+
.compare-controls {
836+
display: flex;
837+
gap: 1rem;
838+
align-items: center;
839+
margin-bottom: 1.25rem;
840+
flex-wrap: wrap;
841+
}
842+
843+
.search-input {
844+
min-width: 240px;
845+
padding: 0.6rem 0.75rem;
846+
border-radius: var(--radius-md);
847+
border: 1px solid var(--color-border);
848+
background: var(--color-bg-tertiary);
849+
color: var(--color-text);
850+
}
851+
852+
.chip {
853+
padding: 0.35rem 0.6rem;
854+
border-radius: 999px;
855+
border: 1px solid var(--color-border);
856+
background: transparent;
857+
font-weight: 600;
858+
cursor: pointer;
859+
font-size: 0.85rem;
860+
}
861+
862+
.chip.active {
863+
border-color: var(--color-cyan);
864+
background: rgba(93,229,249,0.06);
865+
color: var(--color-cyan);
866+
}
867+
868+
/* Responsive adjustments for comparison page */
869+
@media (max-width: 768px) {
870+
.feature-row {
871+
grid-template-columns: 1fr;
872+
}
873+
874+
.compare-grid {
875+
grid-template-columns: 1fr 1fr;
876+
}
877+
}

0 commit comments

Comments
 (0)