Sure! Here's the fully fleshed-out CSS with more detailed styles and attention to typography, spacing, responsiveness, hover effects, and overall structure. I'll stick to the principles mentioned earlier—minimalism, 60-30-10 rule, modern aesthetics, and mobile-first responsiveness.
CSS (Detailed and Complete)
/* General Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', sans-serif;
line-height: 1.6;
color: #333;
background-color: #F8F9FA; /* Primary Background */
overflow-x: hidden;
scroll-behavior: smooth;
}
h1, h2, h3, h4, h5, h6 {
margin-bottom: 16px;
font-weight: 700;
}
/* Containers - Golden Ratio Spacing */
.container {
width: 90%;
max-width: 1200px;
margin: 0 auto;
padding: 24px 0;
}
/* Navbar */
.navbar {
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px 48px;
background-color: #FFFFFF;
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
position: sticky;
top: 0;
z-index: 10;
}
.nav-links {
display: flex;
list-style: none;
gap: 24px;
font-size: 1rem;
}
.nav-links a {
color: #333;
text-decoration: none;
transition: color 0.3s;
}
.nav-links a:hover {
color: #0056D2; /* Secondary Blue */
}
.logo {
font-size: 1.5rem;
font-weight: 600;
color: #0056D2;
}
.btn-primary {
background-color: #FF754C; /* Accent Coral */
color: #fff;
padding: 12px 24px;
text-decoration: none;
border-radius: 8px;
font-weight: 600;
font-size: 1rem;
transition: background 0.3s, transform 0.2s;
}
.btn-primary:hover {
background-color: #FF5733;
transform: scale(1.05);
}
.btn-secondary {
background-color: #FFFFFF;
color: #0056D2;
border: 2px solid #0056D2;
padding: 10px 20px;
text-decoration: none;
border-radius: 8px;
font-weight: 600;
transition: background 0.3s, transform 0.2s;
}
.btn-secondary:hover {
background-color: #0056D2;
color: #FFFFFF;
transform: scale(1.05);
}
/* Hero Section */
.hero {
display: flex;
flex-direction: column-reverse;
align-items: center;
justify-content: center;
text-align: center;
gap: 48px;
padding: 64px 16px;
}
.hero-text h1 {
font-size: 2.5rem;
color: #0056D2; /* Secondary Blue */
margin-bottom: 16px;
}
.hero-text p {
font-size: 1.2rem;
margin-bottom: 24px;
color: #333;
}
.hero-image img {
max-width: 100%;
height: auto;
border-radius: 16px;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}
/* Features Section */
.features {
background-color: #FFFFFF;
padding: 48px 16px;
}
.features h2 {
font-size: 2rem;
color: #0056D2;
text-align: center;
margin-bottom: 32px;
}
.features-container {
display: flex;
flex-wrap: wrap;
gap: 32px;
justify-content: space-around;
}
.feature {
background-color: #F8F9FA;
border: 1px solid rgba(0, 0, 0, 0.1);
border-radius: 12px;
padding: 24px;
flex: 1 1 30%;
text-align: center;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
transition: transform 0.3s, box-shadow 0.3s;
}
.feature:hover {
transform: translateY(-8px);
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}
.feature h3 {
font-size: 1.5rem;
color: #FF754C; /* Accent Coral */
margin-bottom: 16px;
}
.feature p {
font-size: 1rem;
color: #555;
}
/* Pricing Section */
.pricing {
padding: 48px 16px;
background-color: #F8F9FA;
}
.pricing h2 {
font-size: 2rem;
color: #0056D2;
text-align: center;
margin-bottom: 32px;
}
.pricing-tiers {
display: flex;
flex-wrap: wrap;
gap: 32px;
justify-content: center;
}
.price-tier {
background-color: #FFFFFF;
border: 1px solid rgba(0, 0, 0, 0.1);
border-radius: 12px;
padding: 24px;
text-align: center;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
flex: 1 1 45%;
max-width: 300px;
transition: transform 0.3s, box-shadow 0.3s;
}
.price-tier:hover {
transform: translateY(-8px);
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}
.price-tier h3 {
font-size: 1.5rem;
color: #FF754C;
}
.price-tier p {
font-size: 1rem;
margin: 16px 0;
}
.price-tier .btn-secondary {
display: inline-block;
margin-top: 16px;
}
/* Footer */
footer {
padding: 16px;
text-align: center;
background-color: #FFFFFF;
color: #555;
border-top: 1px solid rgba(0, 0, 0, 0.1);
}
footer p {
font-size: 0.9rem;
}
/* Responsive Design */
@media screen and (max-width: 768px) {
.navbar {
flex-wrap: wrap;
padding: 16px;
}
.nav-links {
display: none; /* Replace with dropdown in real implementations. */
}
.btn-primary {
padding: 10px 20px;
}
.hero {
flex-direction: column;
padding: 32px 16px;
}
.features-container,
.pricing-tiers {
flex-direction: column;
gap: 16px;
}
.price-tier {
flex: 1 1 90%;
}
}
Explanation of Styles
-
Headers and Texts:
- Used clear, well-spaced typography, with bold fonts for headings and readable body text.
-
Buttons:
- Primary and secondary buttons are styled distinctly with hover feedback and rounded corners for a modern look.
-
Hero Design:
- A large headline and compelling text paired with an illustrative image (or product mockup).
- Mobile-first design ensures text/image stacks nicely on smaller screens.
-
Features Section:
- Cards with hover animations (lift on hover) to add interactivity.
- Icons or visuals can be added easily inside feature cards.
-
Pricing Section:
- Pricing tiers are styled as clean cards, visually distinct but consistent in layout.
-
Mobile Responsiveness:
- Navigation turns minimal.
- Layouts stack vertically as the screen size shrinks.
This detailed styling ensures a polished look, creating a high-quality, professional website that reflects the power and ease of the SaaS tool effectively. Let me know if you want further customization or tweaks!