Skip to content

Commit f0553fe

Browse files
Thomas StrombergThomas Stromberg
authored andcommitted
improve product placement
1 parent b369ad3 commit f0553fe

File tree

2 files changed

+330
-128
lines changed

2 files changed

+330
-128
lines changed

src/assets/css/style.css

Lines changed: 227 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -691,6 +691,59 @@ button,
691691
color: var(--black) !important;
692692
}
693693

694+
.support-hero-card h2 {
695+
color: #333 !important;
696+
margin-top: 40px;
697+
margin-bottom: 20px;
698+
font-size: 28px;
699+
}
700+
701+
.support-hero-card h2:first-of-type {
702+
margin-top: 0;
703+
}
704+
705+
.support-hero-card h3 {
706+
color: #333 !important;
707+
margin-top: 35px;
708+
margin-bottom: 15px;
709+
font-size: 22px;
710+
font-weight: 600;
711+
}
712+
713+
.support-hero-card p {
714+
color: #333 !important;
715+
margin-bottom: 15px;
716+
line-height: 1.6;
717+
}
718+
719+
.support-hero-card ul {
720+
margin: 15px 0 20px 0;
721+
padding-left: 0;
722+
list-style: none;
723+
}
724+
725+
.support-hero-card li {
726+
color: #333 !important;
727+
margin-bottom: 10px;
728+
padding-left: 25px;
729+
position: relative;
730+
line-height: 1.6;
731+
}
732+
733+
.support-hero-card li::before {
734+
content: "•";
735+
position: absolute;
736+
left: 8px;
737+
color: #10b981;
738+
font-weight: 700;
739+
font-size: 20px;
740+
}
741+
742+
.support-hero-card a {
743+
color: #0066cc !important;
744+
font-weight: 600;
745+
}
746+
694747
.support-section {
695748
background: var(--black);
696749
border: 4px solid var(--cyan);
@@ -732,6 +785,180 @@ button,
732785
align-items: center;
733786
}
734787

788+
/* ROI Calculator Form */
789+
.roi-calculator {
790+
background: rgba(16, 185, 129, 0.1);
791+
border: 2px solid rgba(16, 185, 129, 0.3);
792+
border-radius: 12px;
793+
padding: 30px;
794+
margin: 30px 0;
795+
}
796+
797+
.roi-calculator h3 {
798+
margin-top: 0;
799+
margin-bottom: 15px;
800+
color: #10b981;
801+
font-size: 20px;
802+
}
803+
804+
.roi-calculator p {
805+
margin-bottom: 20px;
806+
font-size: 16px;
807+
color: #333;
808+
}
809+
810+
.roi-form {
811+
display: flex;
812+
gap: 12px;
813+
align-items: flex-end;
814+
flex-wrap: wrap;
815+
}
816+
817+
.roi-form-group {
818+
flex: 1;
819+
min-width: 250px;
820+
}
821+
822+
.roi-form-label {
823+
display: block;
824+
margin-bottom: 8px;
825+
font-weight: 600;
826+
font-size: 14px;
827+
color: var(--white);
828+
}
829+
830+
.roi-form-input {
831+
width: 100%;
832+
padding: 12px 16px;
833+
border: 2px solid rgba(16, 185, 129, 0.3);
834+
border-radius: 8px;
835+
background: var(--white);
836+
color: #333;
837+
font-size: 16px;
838+
font-family: inherit;
839+
transition: border-color 0.2s;
840+
}
841+
842+
.roi-form-input:focus {
843+
outline: none;
844+
border-color: #10b981;
845+
}
846+
847+
.roi-form-input::placeholder {
848+
color: rgba(0, 0, 0, 0.4);
849+
}
850+
851+
.roi-form-button {
852+
padding: 12px 24px;
853+
background: #10b981;
854+
color: var(--white);
855+
border: none;
856+
border-radius: 8px;
857+
font-weight: 700;
858+
font-size: 16px;
859+
cursor: pointer;
860+
transition: transform 0.2s, box-shadow 0.2s;
861+
box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
862+
}
863+
864+
.roi-form-button:hover {
865+
transform: translateY(-2px);
866+
box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
867+
}
868+
869+
.roi-form-button:active {
870+
transform: translateY(0);
871+
}
872+
873+
/* Product Page Video */
874+
.product-video {
875+
margin: 40px 0;
876+
}
877+
878+
.product-video h2 {
879+
margin-bottom: 20px;
880+
}
881+
882+
.video-container {
883+
position: relative;
884+
padding-bottom: 56.25%; /* 16:9 aspect ratio */
885+
height: 0;
886+
overflow: hidden;
887+
border-radius: 12px;
888+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
889+
}
890+
891+
.video-container iframe {
892+
position: absolute;
893+
top: 0;
894+
left: 0;
895+
width: 100%;
896+
height: 100%;
897+
border: 0;
898+
}
899+
900+
/* Product Page Sections */
901+
.product-content {
902+
margin: 30px 0;
903+
}
904+
905+
.product-content h2 {
906+
margin-bottom: 15px;
907+
color: var(--yellow);
908+
font-size: 28px;
909+
}
910+
911+
.product-content h3 {
912+
margin: 25px 0 15px;
913+
color: var(--cyan);
914+
font-size: 22px;
915+
}
916+
917+
.product-content p {
918+
margin-bottom: 15px;
919+
line-height: 1.6;
920+
}
921+
922+
.product-content ul {
923+
margin: 15px 0;
924+
padding-left: 0;
925+
list-style: none;
926+
}
927+
928+
.product-content ul li {
929+
margin-bottom: 12px;
930+
padding-left: 25px;
931+
position: relative;
932+
line-height: 1.6;
933+
}
934+
935+
.product-content ul li::before {
936+
content: "→";
937+
position: absolute;
938+
left: 0;
939+
color: var(--cyan);
940+
font-weight: 700;
941+
}
942+
943+
.feature-grid {
944+
display: grid;
945+
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
946+
gap: 20px;
947+
margin: 30px 0;
948+
}
949+
950+
.feature-item h4 {
951+
color: var(--yellow);
952+
margin: 0 0 8px 0;
953+
font-size: 18px;
954+
}
955+
956+
.feature-item p {
957+
margin: 0;
958+
font-size: 15px;
959+
line-height: 1.5;
960+
}
961+
735962
/* Info Boxes for Product Pages */
736963
.info-box {
737964
background: rgba(255, 255, 255, 0.95);

0 commit comments

Comments
 (0)