2026-02-17 23:03:48 -05:00

738 lines
13 KiB
CSS

/* ═══════════════════════════════════════════════
A2P Compliance Wizard - Generated Site Styles
Premium SaaS-quality landing page
═══════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
:root {
--primary: #2563EB;
--primary-dark: #1D4ED8;
--primary-light: #EFF6FF;
--accent: #F59E0B;
--gray-50: #F9FAFB;
--gray-100: #F3F4F6;
--gray-200: #E5E7EB;
--gray-300: #D1D5DB;
--gray-400: #9CA3AF;
--gray-500: #6B7280;
--gray-600: #4B5563;
--gray-700: #374151;
--gray-800: #1F2937;
--gray-900: #111827;
--radius: 12px;
--radius-lg: 16px;
--radius-xl: 24px;
}
html { scroll-behavior: smooth; }
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
color: var(--gray-900);
line-height: 1.6;
background: white;
-webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
.container {
max-width: 1140px;
margin: 0 auto;
padding: 0 24px;
}
/* ── Navigation ── */
.nav {
position: sticky;
top: 0;
z-index: 100;
background: rgba(255,255,255,0.85);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border-bottom: 1px solid var(--gray-200);
padding: 0 24px;
}
.nav-inner {
max-width: 1140px;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
height: 64px;
}
.nav-brand {
display: flex;
align-items: center;
gap: 10px;
font-weight: 800;
font-size: 18px;
color: var(--gray-900);
text-decoration: none;
}
.nav-brand img {
height: 36px;
width: auto;
border-radius: 6px;
}
.nav-links {
display: flex;
align-items: center;
gap: 32px;
list-style: none;
}
.nav-links a {
font-size: 14px;
font-weight: 500;
color: var(--gray-600);
text-decoration: none;
transition: color 0.2s;
}
.nav-links a:hover {
color: var(--primary);
text-decoration: none;
}
.nav-cta {
background: var(--primary) !important;
color: white !important;
padding: 8px 20px;
border-radius: 8px;
font-weight: 600 !important;
transition: all 0.2s ease !important;
}
.nav-cta:hover {
background: var(--primary-dark) !important;
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}
.nav-mobile-toggle {
display: none;
background: none;
border: none;
cursor: pointer;
padding: 8px;
color: var(--gray-700);
}
/* ── Hero ── */
.hero {
padding: 100px 0 80px;
text-align: center;
background:
radial-gradient(ellipse at 30% 0%, rgba(37,99,235,0.07) 0%, transparent 50%),
radial-gradient(ellipse at 70% 100%, rgba(37,99,235,0.05) 0%, transparent 50%),
white;
position: relative;
overflow: hidden;
}
.hero::before {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: radial-gradient(circle, rgba(37,99,235,0.03) 1px, transparent 1px);
background-size: 40px 40px;
z-index: 0;
}
.hero .container {
position: relative;
z-index: 1;
}
.hero-badge {
display: inline-flex;
align-items: center;
gap: 6px;
background: var(--primary-light);
color: var(--primary);
font-size: 13px;
font-weight: 600;
padding: 6px 16px;
border-radius: 100px;
margin-bottom: 24px;
}
.hero h1 {
font-size: clamp(36px, 6vw, 60px);
font-weight: 900;
line-height: 1.1;
letter-spacing: -0.03em;
margin-bottom: 20px;
max-width: 700px;
margin-left: auto;
margin-right: auto;
}
.hero-subtitle {
font-size: clamp(17px, 2.5vw, 20px);
color: var(--gray-500);
max-width: 560px;
margin: 0 auto 36px;
line-height: 1.6;
}
.hero-cta {
display: inline-flex;
align-items: center;
gap: 8px;
background: var(--primary);
color: white;
font-size: 17px;
font-weight: 700;
padding: 16px 36px;
border-radius: var(--radius);
text-decoration: none;
transition: all 0.3s ease;
box-shadow: 0 4px 14px rgba(37,99,235,0.3);
}
.hero-cta:hover {
background: var(--primary-dark);
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(37,99,235,0.35);
text-decoration: none;
color: white;
}
.hero-cta svg {
width: 20px;
height: 20px;
}
/* ── Section common ── */
.section {
padding: 80px 0;
}
.section-alt {
background: var(--gray-50);
}
.section-header {
text-align: center;
margin-bottom: 56px;
}
.section-header h2 {
font-size: clamp(28px, 4vw, 40px);
font-weight: 800;
letter-spacing: -0.02em;
margin-bottom: 12px;
}
.section-header p {
font-size: 17px;
color: var(--gray-500);
max-width: 520px;
margin: 0 auto;
}
/* ── Pain Points ── */
.painpoints-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 24px;
}
.painpoint-card {
background: white;
border: 1px solid var(--gray-200);
border-radius: var(--radius-lg);
padding: 32px;
transition: all 0.3s ease;
}
.section-alt .painpoint-card {
background: white;
}
.painpoint-card:hover {
transform: translateY(-4px);
box-shadow: 0 12px 32px rgba(0,0,0,0.08);
border-color: transparent;
}
.painpoint-icon {
width: 52px;
height: 52px;
border-radius: 14px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 20px;
background: var(--primary-light);
color: var(--primary);
}
.painpoint-card h3 {
font-size: 18px;
font-weight: 700;
margin-bottom: 8px;
color: var(--gray-900);
}
.painpoint-card p {
font-size: 15px;
color: var(--gray-500);
line-height: 1.6;
}
/* ── How It Works ── */
.steps-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 32px;
position: relative;
}
.steps-grid::before {
content: '';
position: absolute;
top: 44px;
left: 15%;
right: 15%;
height: 2px;
background: linear-gradient(90deg, var(--primary), var(--gray-300), var(--primary));
z-index: 0;
}
.step-card {
text-align: center;
position: relative;
z-index: 1;
}
.step-number {
width: 56px;
height: 56px;
border-radius: 50%;
background: var(--primary);
color: white;
font-size: 22px;
font-weight: 800;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 20px;
box-shadow: 0 4px 14px rgba(37,99,235,0.3);
}
.step-card h3 {
font-size: 18px;
font-weight: 700;
margin-bottom: 8px;
}
.step-card p {
font-size: 15px;
color: var(--gray-500);
max-width: 280px;
margin: 0 auto;
line-height: 1.6;
}
/* ── FAQ ── */
.faq-list {
max-width: 720px;
margin: 0 auto;
display: flex;
flex-direction: column;
gap: 12px;
}
.faq-item {
background: white;
border: 1px solid var(--gray-200);
border-radius: var(--radius);
overflow: hidden;
transition: all 0.2s ease;
}
.faq-item:hover {
border-color: var(--gray-300);
}
.faq-question {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
padding: 20px 24px;
background: none;
border: none;
cursor: pointer;
font-family: inherit;
font-size: 16px;
font-weight: 600;
color: var(--gray-900);
text-align: left;
transition: color 0.2s;
}
.faq-question:hover {
color: var(--primary);
}
.faq-icon {
width: 24px;
height: 24px;
flex-shrink: 0;
color: var(--gray-400);
transition: transform 0.3s ease;
}
.faq-item.open .faq-icon {
transform: rotate(45deg);
color: var(--primary);
}
.faq-answer {
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease;
}
.faq-answer-inner {
padding: 0 24px 20px;
font-size: 15px;
color: var(--gray-500);
line-height: 1.7;
}
/* ── CTA Section ── */
.cta-section {
padding: 80px 0;
text-align: center;
background: linear-gradient(135deg, var(--gray-900) 0%, #1e3a5f 100%);
color: white;
}
.cta-section h2 {
font-size: clamp(28px, 4vw, 40px);
font-weight: 800;
margin-bottom: 16px;
}
.cta-section p {
font-size: 17px;
color: rgba(255,255,255,0.7);
max-width: 480px;
margin: 0 auto 32px;
}
.cta-section .hero-cta {
background: white;
color: var(--gray-900);
box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}
.cta-section .hero-cta:hover {
background: var(--gray-100);
color: var(--gray-900);
}
/* ── Contact / Opt-in Form ── */
.contact-section {
padding: 80px 0;
}
.contact-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 56px;
align-items: start;
}
.contact-info h2 {
font-size: 32px;
font-weight: 800;
margin-bottom: 16px;
}
.contact-info p {
font-size: 16px;
color: var(--gray-500);
margin-bottom: 32px;
line-height: 1.6;
}
.contact-detail {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 16px;
font-size: 15px;
color: var(--gray-600);
}
.contact-detail-icon {
width: 40px;
height: 40px;
border-radius: 10px;
background: var(--primary-light);
color: var(--primary);
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.contact-form-card {
background: white;
border: 1px solid var(--gray-200);
border-radius: var(--radius-lg);
padding: 36px;
box-shadow: var(--shadow-lg);
}
.contact-form .form-group {
margin-bottom: 16px;
}
.contact-form label {
font-size: 13px;
font-weight: 600;
color: var(--gray-700);
margin-bottom: 6px;
display: block;
}
.contact-form input,
.contact-form textarea {
width: 100%;
padding: 11px 14px;
font-size: 15px;
font-family: inherit;
border: 1.5px solid var(--gray-300);
border-radius: 10px;
background: white;
color: var(--gray-900);
outline: none;
transition: all 0.2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
border-color: var(--primary);
box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}
.consent-group {
display: flex;
align-items: flex-start;
gap: 12px;
padding: 16px;
background: var(--gray-50);
border: 1px solid var(--gray-200);
border-radius: 10px;
margin-top: 20px;
}
.consent-group input[type="checkbox"] {
width: 20px;
height: 20px;
margin-top: 2px;
flex-shrink: 0;
accent-color: var(--primary);
cursor: pointer;
}
.consent-text {
font-size: 12px;
color: var(--gray-500);
line-height: 1.6;
}
.contact-form .btn-submit {
width: 100%;
padding: 14px 28px;
font-size: 16px;
font-weight: 700;
font-family: inherit;
color: white;
background: var(--primary);
border: none;
border-radius: 10px;
cursor: pointer;
margin-top: 20px;
transition: all 0.2s ease;
}
.contact-form .btn-submit:hover {
background: var(--primary-dark);
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}
/* ── Legal Pages ── */
.legal-page {
padding: 60px 0 80px;
}
.legal-page .container {
max-width: 780px;
}
.legal-page h1 {
font-size: 36px;
font-weight: 800;
margin-bottom: 8px;
}
.legal-meta {
font-size: 14px;
color: var(--gray-500);
margin-bottom: 40px;
padding-bottom: 24px;
border-bottom: 1px solid var(--gray-200);
}
.legal-content {
font-size: 15px;
color: var(--gray-600);
line-height: 1.8;
}
.legal-content h2 {
font-size: 22px;
font-weight: 700;
color: var(--gray-900);
margin: 36px 0 12px;
}
.legal-content h3 {
font-size: 18px;
font-weight: 600;
color: var(--gray-800);
margin: 28px 0 8px;
}
.legal-content p {
margin-bottom: 16px;
}
.legal-content ul, .legal-content ol {
margin: 12px 0 16px 24px;
}
.legal-content li {
margin-bottom: 8px;
}
/* ── Footer ── */
.footer {
background: var(--gray-900);
color: rgba(255,255,255,0.6);
padding: 48px 0;
}
.footer-inner {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 20px;
}
.footer-brand {
font-size: 16px;
font-weight: 700;
color: white;
}
.footer-links {
display: flex;
gap: 24px;
list-style: none;
}
.footer-links a {
font-size: 14px;
color: rgba(255,255,255,0.5);
text-decoration: none;
transition: color 0.2s;
}
.footer-links a:hover {
color: white;
text-decoration: none;
}
.footer-copy {
width: 100%;
text-align: center;
font-size: 13px;
margin-top: 24px;
padding-top: 24px;
border-top: 1px solid rgba(255,255,255,0.1);
}
/* ── Mobile ── */
@media (max-width: 768px) {
.nav-links { display: none; }
.nav-mobile-toggle { display: block; }
.nav-links.open {
display: flex;
flex-direction: column;
position: absolute;
top: 64px;
left: 0;
right: 0;
background: white;
border-bottom: 1px solid var(--gray-200);
padding: 16px 24px;
gap: 16px;
box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.steps-grid {
grid-template-columns: 1fr;
gap: 40px;
}
.steps-grid::before { display: none; }
.contact-grid {
grid-template-columns: 1fr;
gap: 40px;
}
.hero { padding: 60px 0 50px; }
.section { padding: 60px 0; }
.footer-inner {
flex-direction: column;
text-align: center;
}
}
/* ── SVG Icon helpers ── */
.icon-svg {
width: 24px;
height: 24px;
}