Files
tenderpilot/public/backup-20260214/styles.css
Peter Foster f969ecae04 feat: visual polish, nav login link, pricing badge fix, cursor fix, button contrast
- Hero mockup: enhanced 3D perspective and shadow
- Testimonials: illustrated SVG avatars
- Growth pricing card: visual prominence (scale, gradient, badge)
- Most Popular badge: repositioned to avoid overlapping heading
- Nav: added Log In link next to Start Free Trial
- Fixed btn-primary text colour on anchor tags (white on blue)
- Fixed cursor: default on all non-interactive elements
- Disabled user-select on non-form content to prevent text caret
2026-02-14 14:17:15 +00:00

910 lines
16 KiB
CSS

/* Reset and Base Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--primary: #1e40af;
--primary-dark: #1e3a8a;
--primary-light: #3b82f6;
--accent: #f59e0b;
--text-primary: #1f2937;
--text-secondary: #6b7280;
--text-light: #9ca3af;
--bg-primary: #ffffff;
--bg-secondary: #f9fafb;
--bg-alt: #f3f4f6;
--border: #e5e7eb;
--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
color: var(--text-primary);
line-height: 1.6;
background: var(--bg-primary);
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 1.5rem;
}
/* Header */
.header {
position: sticky;
top: 0;
background: rgba(255, 255, 255, 0.98);
backdrop-filter: blur(10px);
border-bottom: 1px solid var(--border);
z-index: 1000;
box-shadow: var(--shadow-sm);
}
.nav {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.875rem 1.5rem;
min-height: 72px;
}
.nav-brand {
display: flex;
align-items: center;
gap: 0.75rem;
font-weight: 700;
font-size: 1.25rem;
color: var(--primary);
text-decoration: none;
}
.logo-icon {
width: auto;
height: 65px;
color: var(--primary);
display: block;
}
.logo-text {
color: var(--text-primary);
}
.nav-menu {
display: flex;
list-style: none;
align-items: center;
gap: 2rem;
}
.nav-menu a {
color: var(--text-secondary);
text-decoration: none;
font-weight: 500;
transition: color 0.2s;
font-size: 0.9375rem;
}
.nav-menu a:hover {
color: var(--primary);
}
.mobile-toggle {
display: none;
flex-direction: column;
gap: 4px;
background: none;
border: none;
cursor: pointer;
padding: 0.5rem;
}
.mobile-toggle span {
width: 24px;
height: 2px;
background: var(--text-primary);
transition: all 0.3s;
}
/* Buttons */
.btn {
display: inline-block;
padding: 0.625rem 1.5rem;
border-radius: 0.5rem;
font-weight: 600;
text-decoration: none;
text-align: center;
transition: all 0.2s;
border: none;
cursor: pointer;
font-size: 1rem;
line-height: 1.5;
}
.btn-primary {
background: var(--primary);
color: white;
}
.btn-primary:hover {
background: var(--primary-dark);
transform: translateY(-1px);
box-shadow: var(--shadow-md);
}
.btn-secondary {
background: transparent;
color: var(--primary);
border: 2px solid var(--primary);
}
.btn-secondary:hover {
background: var(--primary);
color: white;
transform: translateY(-1px);
}
.btn-outline {
background: transparent;
color: var(--primary);
border: 2px solid var(--primary);
}
.btn-outline:hover {
background: var(--primary);
color: white;
transform: translateY(-1px);
}
.btn-sm {
padding: 0.5rem 1.25rem;
font-size: 0.875rem;
}
.btn-lg {
padding: 0.875rem 2rem;
font-size: 1.0625rem;
}
/* Hero Section */
.hero {
padding: 5rem 0 6rem;
background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}
.hero-content {
text-align: center;
max-width: 900px;
margin: 0 auto;
}
.badge {
display: inline-block;
padding: 0.5rem 1rem;
background: var(--accent);
color: white;
border-radius: 2rem;
font-size: 0.875rem;
font-weight: 600;
margin-bottom: 1.75rem;
}
.hero-title {
font-size: 3.5rem;
font-weight: 700;
line-height: 1.15;
color: var(--text-primary);
margin-bottom: 1.5rem;
letter-spacing: -0.02em;
}
.hero-subtitle {
font-size: 1.25rem;
color: var(--text-secondary);
margin-bottom: 2.5rem;
line-height: 1.7;
max-width: 760px;
margin-left: auto;
margin-right: auto;
}
.hero-cta {
display: flex;
gap: 0.875rem;
justify-content: center;
margin-bottom: 4.5rem;
flex-wrap: wrap;
}
.hero-stats {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 3rem;
max-width: 800px;
margin: 0 auto;
padding: 2.5rem 0 0;
border-top: 1px solid rgba(30, 64, 175, 0.1);
}
.stat {
text-align: center;
}
.stat-number {
font-size: 2.75rem;
font-weight: 700;
color: var(--primary);
line-height: 1;
margin-bottom: 0.625rem;
}
.stat-label {
font-size: 0.9375rem;
color: var(--text-secondary);
line-height: 1.4;
}
/* Section Styles */
.section {
padding: 5rem 0;
}
.section-alt {
background: var(--bg-secondary);
}
.section-header {
text-align: center;
margin-bottom: 4rem;
}
.section-title {
font-size: 2.5rem;
font-weight: 700;
color: var(--text-primary);
margin-bottom: 1rem;
letter-spacing: -0.01em;
}
.section-subtitle {
font-size: 1.125rem;
color: var(--text-secondary);
line-height: 1.6;
}
/* Features Section */
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 2rem;
}
.feature-card {
background: white;
padding: 2rem;
border-radius: 1rem;
box-shadow: var(--shadow-sm);
transition: all 0.3s ease;
border: 1px solid var(--border);
}
.feature-card:hover {
transform: translateY(-4px);
box-shadow: var(--shadow-lg);
border-color: var(--primary-light);
}
.feature-icon {
width: 48px;
height: 48px;
color: var(--primary);
margin-bottom: 1.5rem;
}
.feature-card h3 {
font-size: 1.375rem;
font-weight: 600;
margin-bottom: 0.875rem;
color: var(--text-primary);
}
.feature-card p {
color: var(--text-secondary);
line-height: 1.7;
font-size: 0.9375rem;
}
/* How It Works Section */
.steps {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 3rem;
max-width: 1100px;
margin: 0 auto;
}
.step {
text-align: center;
}
.step-number {
width: 72px;
height: 72px;
margin: 0 auto 1.5rem;
background: var(--primary);
color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 2rem;
font-weight: 700;
box-shadow: var(--shadow-md);
}
.step h3 {
font-size: 1.375rem;
font-weight: 600;
margin-bottom: 0.875rem;
color: var(--text-primary);
}
.step p {
color: var(--text-secondary);
line-height: 1.7;
font-size: 0.9375rem;
}
/* Pricing Section */
.pricing-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
max-width: 1100px;
margin: 0 auto;
align-items: start;
}
.pricing-card {
background: white;
border: 2px solid var(--border);
border-radius: 1rem;
padding: 2.5rem;
text-align: center;
position: relative;
transition: all 0.3s ease;
}
.pricing-card:hover {
transform: translateY(-4px);
box-shadow: var(--shadow-xl);
border-color: var(--primary-light);
}
.pricing-card-featured {
border-color: var(--primary);
box-shadow: var(--shadow-lg);
transform: scale(1.05);
}
.pricing-card-featured:hover {
transform: scale(1.05) translateY(-4px);
}
.pricing-badge {
position: absolute;
top: -16px;
left: 50%;
transform: translateX(-50%);
background: var(--accent);
color: white;
padding: 0.5rem 1.25rem;
border-radius: 2rem;
font-size: 0.875rem;
font-weight: 600;
box-shadow: var(--shadow-md);
}
.pricing-header h3 {
font-size: 1.75rem;
font-weight: 600;
margin-bottom: 1.25rem;
color: var(--text-primary);
}
.price {
font-size: 3rem;
font-weight: 700;
color: var(--primary);
margin-bottom: 2rem;
line-height: 1;
}
.currency {
font-size: 1.75rem;
vertical-align: super;
font-weight: 600;
}
.period {
font-size: 1.125rem;
color: var(--text-secondary);
font-weight: 400;
}
.pricing-features {
list-style: none;
text-align: left;
margin-bottom: 2rem;
}
.pricing-features li {
padding: 0.875rem 0;
border-bottom: 1px solid var(--border);
color: var(--text-secondary);
position: relative;
padding-left: 2rem;
font-size: 0.9375rem;
}
.pricing-features li:before {
content: "✓";
position: absolute;
left: 0;
color: var(--primary);
font-weight: 700;
font-size: 1.125rem;
}
.pricing-features li:last-child {
border-bottom: none;
}
/* Testimonials Section */
.testimonials-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 2rem;
}
.testimonial-card {
background: white;
padding: 2.25rem;
border-radius: 1rem;
box-shadow: var(--shadow-sm);
border: 1px solid var(--border);
transition: all 0.3s ease;
}
.testimonial-card:hover {
transform: translateY(-2px);
box-shadow: var(--shadow-md);
}
.testimonial-quote {
font-size: 1.0625rem;
color: var(--text-primary);
margin-bottom: 1.5rem;
line-height: 1.7;
font-style: italic;
}
.testimonial-quote:before {
content: '"';
font-size: 3.5rem;
color: var(--primary);
opacity: 0.3;
line-height: 0;
display: block;
margin-bottom: 1rem;
font-style: normal;
}
.testimonial-author {
margin-top: 1.5rem;
padding-top: 1.25rem;
border-top: 1px solid var(--border);
}
.testimonial-name {
font-weight: 600;
color: var(--text-primary);
font-size: 1rem;
margin-bottom: 0.25rem;
}
.testimonial-company {
font-size: 0.875rem;
color: var(--text-secondary);
}
/* FAQ Section */
.faq-list {
max-width: 800px;
margin: 0 auto;
}
.faq-item {
border-bottom: 1px solid var(--border);
}
.faq-item:last-child {
border-bottom: none;
}
.faq-question {
width: 100%;
padding: 1.5rem 0;
background: none;
border: none;
text-align: left;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
gap: 1.5rem;
font-size: 1.0625rem;
font-weight: 600;
color: var(--text-primary);
transition: color 0.2s;
}
.faq-question:hover {
color: var(--primary);
}
.faq-icon {
width: 24px;
height: 24px;
min-width: 24px;
color: var(--primary);
transition: transform 0.3s ease;
}
.faq-item.active .faq-icon {
transform: rotate(180deg);
}
.faq-answer {
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease;
}
.faq-item.active .faq-answer {
max-height: 500px;
padding-bottom: 1.5rem;
}
.faq-answer p {
color: var(--text-secondary);
line-height: 1.7;
font-size: 0.9375rem;
}
/* Signup Section */
.signup {
background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
color: white;
}
.signup-content {
max-width: 700px;
margin: 0 auto;
text-align: center;
}
.signup-title {
font-size: 2.5rem;
font-weight: 700;
margin-bottom: 1rem;
letter-spacing: -0.01em;
}
.signup-subtitle {
font-size: 1.25rem;
margin-bottom: 2.5rem;
opacity: 0.95;
line-height: 1.6;
}
.signup-form {
max-width: 600px;
margin: 0 auto;
}
.form-group {
display: flex;
gap: 0.875rem;
margin-bottom: 1rem;
}
.form-group input {
flex: 1;
padding: 1rem 1.5rem;
border: 2px solid transparent;
border-radius: 0.5rem;
font-size: 1rem;
outline: none;
transition: border-color 0.2s;
}
.form-group input:focus {
border-color: var(--accent);
}
.form-note {
font-size: 0.875rem;
opacity: 0.85;
margin-top: 1rem;
line-height: 1.5;
}
.form-message {
margin-top: 1rem;
padding: 1rem;
border-radius: 0.5rem;
display: none;
}
.form-message.success {
display: block;
background: rgba(34, 197, 94, 0.2);
border: 1px solid rgba(34, 197, 94, 0.4);
color: #dcfce7;
}
.form-message.error {
display: block;
background: rgba(239, 68, 68, 0.2);
border: 1px solid rgba(239, 68, 68, 0.4);
color: #fecaca;
}
/* Footer */
.footer {
background: var(--text-primary);
color: white;
padding: 4rem 0 2rem;
}
.footer-grid {
display: grid;
grid-template-columns: 2fr 1fr 1fr 1fr;
gap: 3rem;
margin-bottom: 3rem;
}
.footer-brand {
display: flex;
align-items: center;
gap: 0.75rem;
font-weight: 700;
font-size: 1.25rem;
margin-bottom: 1rem;
}
.footer-brand .logo-icon {
height: 52px;
}
.footer-desc {
color: var(--text-light);
line-height: 1.7;
font-size: 0.9375rem;
}
.footer-col h4 {
margin-bottom: 1.125rem;
font-size: 1.0625rem;
font-weight: 600;
}
.footer-col ul {
list-style: none;
}
.footer-col ul li {
margin-bottom: 0.75rem;
}
.footer-col a {
color: var(--text-light);
text-decoration: none;
transition: color 0.2s;
font-size: 0.9375rem;
}
.footer-col a:hover {
color: white;
}
.footer-bottom {
padding-top: 2rem;
border-top: 1px solid rgba(255, 255, 255, 0.1);
text-align: center;
color: var(--text-light);
font-size: 0.875rem;
}
/* Responsive */
@media (max-width: 968px) {
.pricing-grid {
grid-template-columns: 1fr;
max-width: 420px;
}
.pricing-card-featured {
transform: scale(1);
}
}
@media (max-width: 768px) {
.mobile-toggle {
display: flex;
}
.nav {
padding: 0.75rem 1.5rem;
}
.nav-menu {
position: absolute;
top: 100%;
left: 0;
right: 0;
background: white;
flex-direction: column;
padding: 1.5rem;
box-shadow: var(--shadow-lg);
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease;
gap: 0;
}
.nav-menu.active {
max-height: 500px;
border-bottom: 1px solid var(--border);
}
.nav-menu li {
width: 100%;
padding: 0.75rem 0;
border-bottom: 1px solid var(--border);
}
.nav-menu li:last-child {
border-bottom: none;
}
.nav-menu a {
display: block;
}
.hero {
padding: 4rem 0 5rem;
}
.hero-title {
font-size: 2.5rem;
}
.hero-subtitle {
font-size: 1.125rem;
}
.hero-cta {
flex-direction: column;
max-width: 300px;
margin-left: auto;
margin-right: auto;
}
.hero-cta .btn {
width: 100%;
}
.hero-stats {
grid-template-columns: 1fr;
gap: 2rem;
max-width: 300px;
}
.section-title {
font-size: 2rem;
}
.section {
padding: 4rem 0;
}
.features-grid,
.steps,
.testimonials-grid {
grid-template-columns: 1fr;
}
.form-group {
flex-direction: column;
}
.form-group .btn {
width: 100%;
}
.footer-grid {
grid-template-columns: 1fr;
gap: 2.5rem;
}
}
@media (max-width: 480px) {
.hero {
padding: 3rem 0 4rem;
}
.hero-title {
font-size: 2rem;
line-height: 1.2;
}
.hero-subtitle {
font-size: 1rem;
}
.section {
padding: 3rem 0;
}
.section-title {
font-size: 1.75rem;
}
.btn-lg {
padding: 0.75rem 1.5rem;
font-size: 1rem;
}
.stat-number {
font-size: 2.25rem;
}
.stat-label {
font-size: 0.875rem;
}
}
/* Enhanced Logo Styling */
.nav-brand .logo-icon,
.header .logo-icon,
img.logo-icon {
width: auto !important;
height: 70px !important;
max-height: 70px !important;
color: var(--primary);
display: block;
}
/* Ensure all stat numbers are styled consistently */
.hero-stats .stat .stat-number {
font-size: 2.75rem !important;
font-weight: 700 !important;
color: var(--primary) !important;
line-height: 1;
}
/* Force all stat numbers to use the same blue color - ultra specific */
.hero .hero-stats .stat .stat-number,
.hero-content .hero-stats .stat .stat-number,
div.stat div.stat-number {
color: #1e40af !important;
font-size: 2.75rem !important;
font-weight: 700 !important;
}