805 lines
14 KiB
CSS
805 lines
14 KiB
CSS
|
|
/* Home page
|
|
*/
|
|
|
|
/* Footer */
|
|
.footer {
|
|
background: #1f2937;
|
|
color: #f3f4f6;
|
|
padding: 4rem 2rem 2rem;
|
|
}
|
|
|
|
.footer-content {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
|
gap: 2rem;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.footer-section h3 {
|
|
color: #fff;
|
|
margin-bottom: 1rem;
|
|
font-size: 1.2rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.footer-section ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.footer-section ul li {
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.footer-section a {
|
|
color: #f3f4f6;
|
|
text-decoration: none;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.footer-section a:hover {
|
|
color: #fff;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.footer-bottom {
|
|
border-top: 1px solid #374151;
|
|
padding-top: 2rem;
|
|
text-align: center;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.footer-bottom a {
|
|
color: aquamarine;
|
|
}
|
|
|
|
.footer-section.contact {
|
|
width: 100%;
|
|
}
|
|
.footer-section .container {
|
|
padding: 0;
|
|
}
|
|
.footer-section .container.row .container.column {
|
|
padding: 1vh 2vw;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.footer-content {
|
|
grid-template-columns: 1fr;
|
|
text-align: center;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 540px) {
|
|
.nav-links {
|
|
display: none;
|
|
}
|
|
}
|
|
/* Common */
|
|
section {
|
|
padding: 2rem;
|
|
}
|
|
p {
|
|
width: 100%;
|
|
font-size: 16px;
|
|
}
|
|
p.section-title,
|
|
p.section-subtitle {
|
|
margin: 0 auto;
|
|
}
|
|
.section-subtitle {
|
|
font-size: 18px;
|
|
}
|
|
ul li {
|
|
font-size: 16px;
|
|
}
|
|
|
|
section.benefits .card.benefits,
|
|
section.social-proof .card.social-proof {
|
|
display: flex;
|
|
}
|
|
|
|
section.problem,
|
|
section.benefits,
|
|
section.solution,
|
|
section.testimonial {
|
|
padding: 4rem 2rem;
|
|
background: var(--colour-page-background-1);
|
|
}
|
|
section.problem .card.problem,
|
|
section.benefits .card.benefits,
|
|
section.solution .card.solution,
|
|
section.testimonial .card.testimonial {
|
|
background: var(--colour-text-background);
|
|
border-radius: 8px;
|
|
max-width: 800px;
|
|
margin: 3rem auto 0;
|
|
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
|
|
/* Hero Section */
|
|
.hero {
|
|
padding: 8rem 2rem 4rem;
|
|
background: linear-gradient(45deg, var(--colour-page-background-1), var(--colour-page-background-2)); /* linear-gradient(45deg, #f8fafc, #eff6ff); */
|
|
}
|
|
.hero-content {
|
|
max-width: 600px;
|
|
}
|
|
.hero h1 {
|
|
line-height: 1.2;
|
|
margin-bottom: 1.5rem;
|
|
color: var(--colour-text);
|
|
}
|
|
.hero p {
|
|
font-size: 1.25rem;
|
|
margin-bottom: 2rem;
|
|
color: var(--colour-secondary);
|
|
}
|
|
section.hero .button {
|
|
margin: 0 auto;
|
|
margin-bottom: 2vh;
|
|
display: block;
|
|
background-color: var(--colour-success-title);
|
|
color: var(--colour-text-background);
|
|
}
|
|
section.hero .button:hover {
|
|
background-color: var(--colour-success-highlight);
|
|
color: var(--colour-success-title);
|
|
}
|
|
|
|
|
|
/* Problem Section */
|
|
section.problem {
|
|
background-color: var(--colour-error-highlight);
|
|
}
|
|
section.problem h2 {
|
|
color: var(--colour-error-title);
|
|
}
|
|
section.problem .card {
|
|
border-left: 4px solid var(--colour-error-accent);
|
|
}
|
|
section.problem ul li {
|
|
list-style: none;
|
|
}
|
|
|
|
|
|
/*
|
|
section.problem .problem.card:hover {
|
|
transform: translateY(-5px);
|
|
}
|
|
*/
|
|
section.problem .section-subtitle {
|
|
/* font-size: 18px; */
|
|
font-weight: bold;
|
|
}
|
|
/*
|
|
section.problem ul li::before {
|
|
content: "😤";
|
|
position: absolute;
|
|
left: 0;
|
|
}
|
|
*/
|
|
|
|
|
|
/* Benefits Section * /
|
|
section.benefits .section-subtitle {
|
|
font-size: 18px;
|
|
font-weight: bold;
|
|
}
|
|
*/
|
|
section.benefits {
|
|
background-color: var(--colour-success-highlight);
|
|
}
|
|
section.benefits .container .card .container {
|
|
min-width: 250px;
|
|
}
|
|
section.benefits h2 {
|
|
color: var(--colour-success);
|
|
}
|
|
section.benefits .card {
|
|
border-left: 4px solid var(--colour-success);
|
|
}
|
|
|
|
/* Solution Section */
|
|
section.solution .container .card {
|
|
margin-top: 1vh;
|
|
max-width: min(2000px, 80vw);
|
|
}
|
|
|
|
section.benefits .card.benefits .container,
|
|
section.solution .container .card .container {
|
|
padding: 1vh 2vw;
|
|
max-width: min(500px, 80vw);
|
|
}
|
|
section.solution .container .card .container p {
|
|
margin-bottom: 1vh;
|
|
}
|
|
section.solution .project-thumbnail img {
|
|
max-width: min(500px, 80vw);
|
|
max-height: min(500px, 80vw);
|
|
border-radius: 1vh;
|
|
}
|
|
|
|
section.solution .project-thumbnail img {
|
|
overflow: hidden;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
section.solution .project-thumbnail:hover {
|
|
transform: scale(1.75);
|
|
}
|
|
|
|
/* Social Proof Section * /
|
|
section.social-proof {
|
|
padding: 6rem 0;
|
|
background: white;
|
|
}
|
|
|
|
section.social-proof .card.social-proof {
|
|
background: var(--colour-page-background);
|
|
padding: 2rem;
|
|
border-radius: 8px;
|
|
text-align: center;
|
|
max-width: 400px;
|
|
margin: 3rem auto 0;
|
|
}
|
|
|
|
section.social-proof ul {
|
|
list-style: none;
|
|
margin: 0;
|
|
}
|
|
* /
|
|
|
|
section.social-proof .section-subtitle {
|
|
font-size: 16px;
|
|
}
|
|
section.social-proof ul li {
|
|
font-size: 14px;
|
|
}
|
|
*/
|
|
section.social-proof {
|
|
padding: 4rem 0;
|
|
background: var(--colour-text-background);
|
|
}
|
|
section.social-proof .card.social-proof {
|
|
background: var(--colour-page-background);
|
|
border-radius: 8px;
|
|
transition: transform 0.3s ease;
|
|
padding: 1.5vh;
|
|
}
|
|
section.social-proof .section-title {
|
|
font-weight: bold;
|
|
color: var(--colour-text-link-visited);
|
|
margin-bottom: 0.25vh;
|
|
}
|
|
section.social-proof .section-subtitle {
|
|
margin: 0 1vw 1vh;
|
|
}
|
|
section.social-proof .container {
|
|
width: fit-content;
|
|
margin: 0 2vw;
|
|
min-width: 175px;
|
|
}
|
|
section.social-proof > .container {
|
|
max-width: min(900px, 90vw);
|
|
margin: 1vh auto;
|
|
}
|
|
|
|
/* Early Access Section * /
|
|
section.early-access {
|
|
padding: 6rem 0;
|
|
background: white;
|
|
}
|
|
|
|
section.early-access .card.early-access {
|
|
background: var(--colour-page-background);
|
|
padding: 2rem;
|
|
border-radius: 8px;
|
|
text-align: center;
|
|
max-width: 400px;
|
|
margin: 3rem auto 0;
|
|
}
|
|
|
|
section.early-access ul {
|
|
list-style: none;
|
|
margin: 0;
|
|
}
|
|
section.early-access a.button {
|
|
margin: 0.25rem;
|
|
}
|
|
*/
|
|
|
|
/* Features section * /
|
|
section.features .button {
|
|
margin-top: 0;
|
|
}
|
|
*/
|
|
|
|
/* Testimonials section */
|
|
section.testimonial p {
|
|
margin-bottom: 1vh;
|
|
}
|
|
section.testimonial h2 {
|
|
margin: 0 auto;
|
|
}
|
|
|
|
/* CTA Section */
|
|
.cta-1,
|
|
.cta-2 {
|
|
padding: 6rem 2rem;
|
|
background: linear-gradient(135deg, var(--colour-primary), var(--colour-text-link-visited));
|
|
color: white;
|
|
text-align: center;
|
|
}
|
|
|
|
section.cta-2 .button {
|
|
margin: 2vh 1vw;
|
|
}
|
|
section.cta-2 .card {
|
|
background-color: transparent;
|
|
margin: 1vh auto;
|
|
}
|
|
section.cta-2 .card .container {
|
|
background-color: var(--colour-page-background);
|
|
color: var(--colour-primary);
|
|
border-radius: 1vh;
|
|
padding: 1.5vh 3vw;
|
|
margin: 1vh;
|
|
min-width: 200px;
|
|
min-height: 120px;
|
|
}
|
|
section.cta-2 .card .container h3 {
|
|
margin: 0 auto;
|
|
}
|
|
section.cta-2 .container p {
|
|
margin-top: 1vh;
|
|
}
|
|
/* FAQs * /
|
|
section.faq .button {
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
*/
|
|
|
|
|
|
/* Animations */
|
|
/* Fallback styles to ensure content is visible without JS */
|
|
.reveal {
|
|
opacity: 1; /* Default visible state */
|
|
}
|
|
|
|
/* Only hide elements if browser supports Intersection Observer */
|
|
@supports (animation-name: fade) {
|
|
.reveal {
|
|
opacity: 0;
|
|
}
|
|
|
|
.reveal.active {
|
|
animation: fade-up 0.8s ease-out forwards;
|
|
}
|
|
}
|
|
|
|
@keyframes fade-up {
|
|
0% {
|
|
opacity: 0;
|
|
transform: translateY(30px);
|
|
}
|
|
100% {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.delay-1 { animation-delay: 0.1s; }
|
|
.delay-2 { animation-delay: 0.2s; }
|
|
.delay-3 { animation-delay: 0.3s; }
|
|
.delay-4 { animation-delay: 0.4s; }
|
|
|
|
/* Buttons */
|
|
.topnav .nav-links .button {
|
|
padding: 0.5vh 0.75vh;
|
|
}
|
|
.button {
|
|
padding: 0.75rem 1.5rem;
|
|
/* border-radius: 6px; * /
|
|
margin: 0.75rem; */
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.button-primary {
|
|
background: var(--colour-primary);
|
|
color: white;
|
|
}
|
|
|
|
.button-primary:hover {
|
|
background: var(--colour-secondary);
|
|
}
|
|
|
|
.button-light {
|
|
background: white;
|
|
color: var(--colour-primary);
|
|
}
|
|
|
|
.button-light:hover {
|
|
background: var(--colour-page-background);
|
|
}
|
|
|
|
.logo:hover{
|
|
cursor: pointer;
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
line-height: 1.6;
|
|
color: #333;
|
|
background-color: #f8f9fa;
|
|
}
|
|
|
|
/* Header */
|
|
.header {
|
|
background: linear-gradient(135deg, #2c5282 0%, #3182ce 100%);
|
|
color: white;
|
|
padding: 1rem 0;
|
|
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
.nav {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.logo {
|
|
font-size: 1.5rem;
|
|
font-weight: bold;
|
|
color: #ff6b35;
|
|
}
|
|
|
|
.nav-links {
|
|
display: flex;
|
|
list-style: none;
|
|
gap: 2rem;
|
|
}
|
|
|
|
.nav-links a {
|
|
color: white;
|
|
text-decoration: none;
|
|
transition: color 0.3s;
|
|
}
|
|
|
|
.nav-links a:hover {
|
|
color: #ff6b35;
|
|
}
|
|
|
|
.blog-header {
|
|
text-align: center;
|
|
padding: 2rem 0;
|
|
}
|
|
|
|
.blog-header h1 {
|
|
font-size: 2.5rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.blog-header p {
|
|
font-size: 1.2rem;
|
|
opacity: 0.9;
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
/* Main Content */
|
|
.main-content {
|
|
padding: 3rem 0;
|
|
}
|
|
|
|
.blog-grid {
|
|
display: grid;
|
|
grid-template-columns: 2fr 1fr;
|
|
gap: 3rem;
|
|
margin-bottom: 3rem;
|
|
}
|
|
|
|
/* Featured Post */
|
|
.featured-post {
|
|
background: white;
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
box-shadow: 0 4px 20px rgba(0,0,0,0.1);
|
|
transition: transform 0.3s, box-shadow 0.3s;
|
|
}
|
|
|
|
.featured-post:hover {
|
|
transform: translateY(-5px);
|
|
box-shadow: 0 8px 30px rgba(0,0,0,0.15);
|
|
}
|
|
|
|
.featured-image {
|
|
height: 300px;
|
|
background: linear-gradient(45deg, #ff6b35, #f093fb);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: white;
|
|
font-size: 3rem;
|
|
}
|
|
|
|
.featured-content {
|
|
padding: 2rem;
|
|
}
|
|
|
|
.post-category {
|
|
display: inline-block;
|
|
background: #ff6b35;
|
|
color: white;
|
|
padding: 0.3rem 1rem;
|
|
border-radius: 20px;
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.featured-content h2 {
|
|
font-size: 1.8rem;
|
|
margin-bottom: 1rem;
|
|
color: #2d3748;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
.post-excerpt {
|
|
color: #666;
|
|
margin-bottom: 1.5rem;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.post-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
font-size: 0.9rem;
|
|
color: #888;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.read-more {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
color: #3182ce;
|
|
text-decoration: none;
|
|
font-weight: 600;
|
|
transition: color 0.3s;
|
|
}
|
|
|
|
.read-more:hover {
|
|
color: #2c5282;
|
|
}
|
|
|
|
.read-more::after {
|
|
content: ' →';
|
|
margin-left: 0.5rem;
|
|
transition: margin-left 0.3s;
|
|
}
|
|
|
|
.read-more:hover::after {
|
|
margin-left: 1rem;
|
|
}
|
|
|
|
/* Sidebar */
|
|
.sidebar {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2rem;
|
|
}
|
|
|
|
.sidebar-widget {
|
|
background: white;
|
|
padding: 2rem;
|
|
border-radius: 12px;
|
|
box-shadow: 0 2px 15px rgba(0,0,0,0.08);
|
|
}
|
|
|
|
.widget-title {
|
|
font-size: 1.3rem;
|
|
margin-bottom: 1.5rem;
|
|
color: #2d3748;
|
|
border-bottom: 2px solid #ff6b35;
|
|
padding-bottom: 0.5rem;
|
|
}
|
|
|
|
.category-list {
|
|
list-style: none;
|
|
}
|
|
|
|
.category-list li {
|
|
padding: 0.8rem 0;
|
|
border-bottom: 1px solid #e2e8f0;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.category-list li:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.category-list a {
|
|
color: #4a5568;
|
|
text-decoration: none;
|
|
transition: color 0.3s;
|
|
}
|
|
|
|
.category-list a:hover {
|
|
color: #3182ce;
|
|
}
|
|
|
|
.post-count {
|
|
background: #e2e8f0;
|
|
color: #4a5568;
|
|
padding: 0.2rem 0.6rem;
|
|
border-radius: 12px;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.recent-posts {
|
|
list-style: none;
|
|
}
|
|
|
|
.recent-post-item {
|
|
padding: 1rem 0;
|
|
border-bottom: 1px solid #e2e8f0;
|
|
}
|
|
|
|
.recent-post-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.recent-post-title {
|
|
font-weight: 600;
|
|
color: #2d3748;
|
|
text-decoration: none;
|
|
transition: color 0.3s;
|
|
display: block;
|
|
margin-bottom: 0.3rem;
|
|
}
|
|
|
|
.recent-post-title:hover {
|
|
color: #3182ce;
|
|
}
|
|
|
|
.recent-post-date {
|
|
font-size: 0.8rem;
|
|
color: #888;
|
|
}
|
|
|
|
/* Blog Posts Grid */
|
|
.blog-posts-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
|
|
gap: 2rem;
|
|
margin-top: 2rem;
|
|
}
|
|
|
|
.blog-post-card {
|
|
background: white;
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
box-shadow: 0 2px 15px rgba(0,0,0,0.08);
|
|
transition: transform 0.3s, box-shadow 0.3s;
|
|
}
|
|
|
|
.blog-post-card:hover {
|
|
transform: translateY(-3px);
|
|
box-shadow: 0 6px 25px rgba(0,0,0,0.12);
|
|
}
|
|
|
|
.post-image {
|
|
height: 200px;
|
|
background: linear-gradient(45deg, #667eea, #764ba2);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: white;
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.post-content {
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
.post-content h3 {
|
|
font-size: 1.3rem;
|
|
margin-bottom: 1rem;
|
|
color: #2d3748;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
/* Newsletter Signup */
|
|
.newsletter-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.newsletter-input {
|
|
padding: 1rem;
|
|
border: 2px solid #e2e8f0;
|
|
border-radius: 8px;
|
|
font-size: 1rem;
|
|
transition: border-color 0.3s;
|
|
}
|
|
|
|
.newsletter-input:focus {
|
|
outline: none;
|
|
border-color: #3182ce;
|
|
}
|
|
|
|
.newsletter-btn {
|
|
background: #ff6b35;
|
|
color: white;
|
|
border: none;
|
|
padding: 1rem;
|
|
border-radius: 8px;
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: background 0.3s;
|
|
}
|
|
|
|
.newsletter-btn:hover {
|
|
background: #e55a2b;
|
|
}
|
|
|
|
/* Footer */
|
|
.footer {
|
|
background: #2d3748;
|
|
color: white;
|
|
text-align: center;
|
|
padding: 2rem 0;
|
|
margin-top: 4rem;
|
|
}
|
|
|
|
/* Responsive */
|
|
@media (max-width: 768px) {
|
|
.nav {
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.nav-links {
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
}
|
|
|
|
.blog-header h1 {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.blog-grid {
|
|
grid-template-columns: 1fr;
|
|
gap: 2rem;
|
|
}
|
|
|
|
.blog-posts-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.featured-content h2 {
|
|
font-size: 1.5rem;
|
|
}
|
|
}
|
|
|
|
|
|
/*# sourceMappingURL=blog_home.bundle.css.map*/ |