Files
justvitamin/html/css/style.css

1210 lines
26 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/* ════════════════════════════════════════════════════════════════
JustVitamin × QuikCue — AI Content Engine Proposal
Dark premium theme. Conversion-optimized.
════════════════════════════════════════════════════════════════ */
:root {
--bg: #050a08;
--bg-alt: #0a100e;
--bg-card: #0d1613;
--bg-card-hover: #111d19;
--bg-glass: rgba(13, 22, 19, 0.7);
--text: #e4e4e7;
--text-muted: #8b9a94;
--text-dim: #4a5d55;
--accent: #10b981;
--accent-bright: #34d399;
--accent-dim: #059669;
--accent-glow: rgba(16, 185, 129, 0.12);
--accent-glow-strong: rgba(16, 185, 129, 0.25);
--cta: #ef4444;
--cta-hover: #f87171;
--cta-glow: rgba(239, 68, 68, 0.2);
--gold: #f59e0b;
--gold-dim: #d97706;
--blue: #3b82f6;
--purple: #8b5cf6;
--border: #162822;
--border-light: #1e3830;
--border-accent: rgba(16, 185, 129, 0.2);
--font-mono: 'SF Mono','Fira Code','JetBrains Mono','Cascadia Code',monospace;
--font-sans: 'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',system-ui,sans-serif;
--max-w: 1100px;
--max-w-narrow: 780px;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
background: var(--bg);
color: var(--text);
font-family: var(--font-sans);
line-height: 1.65;
min-height: 100vh;
-webkit-font-smoothing: antialiased;
overflow-x: hidden;
}
/* ── Animations ── */
@keyframes fadeUp {
from { opacity: 0; transform: translateY(30px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes slideRight {
from { opacity: 0; transform: translateX(-20px); }
to { opacity: 1; transform: translateX(0); }
}
@keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.5; }
}
@keyframes glow {
0%, 100% { box-shadow: 0 0 20px var(--accent-glow); }
50% { box-shadow: 0 0 40px var(--accent-glow-strong); }
}
@keyframes shimmer {
0% { background-position: -200% 0; }
100% { background-position: 200% 0; }
}
@keyframes countUp {
from { opacity: 0; transform: scale(0.5); }
to { opacity: 1; transform: scale(1); }
}
@keyframes cardReveal {
from { opacity: 0; transform: translateY(20px) scale(0.95); }
to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes typing {
from { width: 0; }
to { width: 100%; }
}
@keyframes blink {
50% { border-color: transparent; }
}
@keyframes gradientShift {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
.animate-on-scroll {
opacity: 0;
transform: translateY(30px);
transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-on-scroll.visible {
opacity: 1;
transform: translateY(0);
}
/* ── Nav ── */
nav {
position: sticky;
top: 0;
z-index: 100;
background: rgba(5, 10, 8, 0.88);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border-bottom: 1px solid var(--border);
padding: 0.75rem 1.5rem;
}
.nav-inner {
max-width: var(--max-w);
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
}
.logo {
font-family: var(--font-mono);
font-size: 0.95rem;
font-weight: 700;
color: var(--accent);
text-decoration: none;
letter-spacing: -0.02em;
display: flex;
align-items: center;
gap: 0.35rem;
}
.logo .dot { color: var(--text-dim); font-weight: 400; }
.logo .brand { color: var(--text); font-weight: 600; }
.nav-links {
display: flex;
gap: 0.25rem;
}
.nav-links a {
font-family: var(--font-mono);
font-size: 0.78rem;
color: var(--text-muted);
text-decoration: none;
padding: 0.35rem 0.65rem;
border-radius: 6px;
transition: all 0.15s ease;
}
.nav-links a:hover, .nav-links a.active {
color: var(--text);
background: var(--bg-card);
}
/* ── Page Container ── */
.page {
max-width: var(--max-w);
margin: 0 auto;
padding: 0 1.5rem;
}
/* ── Section ── */
.section {
padding: 6rem 0;
position: relative;
}
.section + .section {
border-top: 1px solid var(--border);
}
.section-label {
font-family: var(--font-mono);
font-size: 0.72rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.12em;
color: var(--accent-dim);
margin-bottom: 1rem;
display: flex;
align-items: center;
gap: 0.5rem;
}
.section-label::before {
content: '';
display: inline-block;
width: 24px;
height: 1px;
background: var(--accent-dim);
}
/* ── Typography ── */
h1 {
font-family: var(--font-sans);
font-size: clamp(2.4rem, 6vw, 3.8rem);
font-weight: 800;
line-height: 1.1;
letter-spacing: -0.03em;
color: var(--text);
margin-bottom: 1.25rem;
}
h1 .accent { color: var(--accent); }
h1 .accent-gold { color: var(--gold); }
h2 {
font-family: var(--font-sans);
font-size: clamp(1.6rem, 4vw, 2.2rem);
font-weight: 700;
line-height: 1.2;
letter-spacing: -0.02em;
color: var(--text);
margin-bottom: 1rem;
}
h3 {
font-family: var(--font-sans);
font-size: 1.15rem;
font-weight: 600;
color: var(--text);
margin-bottom: 0.5rem;
}
.subtitle {
font-size: 1.15rem;
color: var(--text-muted);
line-height: 1.7;
max-width: 640px;
}
.subtitle-sm {
font-size: 0.95rem;
color: var(--text-muted);
line-height: 1.7;
max-width: 540px;
}
/* ── Hero ── */
.hero {
padding: 5rem 0 4rem;
position: relative;
}
.hero::before {
content: '';
position: absolute;
top: -20%;
right: -10%;
width: 600px;
height: 600px;
background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
pointer-events: none;
z-index: 0;
}
.hero > * { position: relative; z-index: 1; }
.hero-eyebrow {
font-family: var(--font-mono);
font-size: 0.82rem;
font-weight: 600;
color: var(--accent);
margin-bottom: 1.25rem;
display: flex;
align-items: center;
gap: 0.5rem;
}
.hero-eyebrow .pill {
font-size: 0.68rem;
background: var(--accent-glow-strong);
color: var(--accent-bright);
padding: 0.2rem 0.6rem;
border-radius: 99px;
border: 1px solid var(--border-accent);
}
.hero .subtitle {
font-size: 1.2rem;
max-width: 600px;
}
.hero-stats {
display: flex;
gap: 2.5rem;
margin-top: 2.5rem;
flex-wrap: wrap;
}
.hero-stat {
display: flex;
flex-direction: column;
gap: 0.15rem;
}
.hero-stat-value {
font-family: var(--font-mono);
font-size: 1.6rem;
font-weight: 800;
color: var(--accent);
}
.hero-stat-label {
font-size: 0.78rem;
color: var(--text-dim);
font-weight: 500;
}
/* ── Buttons ── */
.btn-row {
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
margin-top: 2rem;
}
.btn {
display: inline-flex;
align-items: center;
gap: 0.4rem;
font-family: var(--font-sans);
font-size: 0.88rem;
font-weight: 600;
padding: 0.7rem 1.4rem;
border-radius: 10px;
text-decoration: none;
transition: all 0.2s ease;
cursor: pointer;
border: none;
position: relative;
overflow: hidden;
}
.btn-primary {
background: var(--accent);
color: #050a08;
}
.btn-primary:hover {
background: var(--accent-bright);
transform: translateY(-2px);
box-shadow: 0 8px 25px var(--accent-glow-strong);
}
.btn-cta {
background: var(--cta);
color: #fff;
font-size: 0.95rem;
padding: 0.85rem 1.8rem;
}
.btn-cta:hover {
background: var(--cta-hover);
transform: translateY(-2px);
box-shadow: 0 8px 25px var(--cta-glow);
}
.btn-cta-large {
background: var(--cta);
color: #fff;
font-size: 1.05rem;
font-weight: 700;
padding: 1rem 2.4rem;
border-radius: 12px;
}
.btn-cta-large:hover {
background: var(--cta-hover);
transform: translateY(-3px);
box-shadow: 0 12px 35px var(--cta-glow);
}
.btn-outline {
background: transparent;
color: var(--text-muted);
border: 1px solid var(--border-light);
}
.btn-outline:hover {
color: var(--text);
border-color: var(--text-muted);
transform: translateY(-1px);
}
.btn-ghost {
background: transparent;
color: var(--accent);
border: 1px solid var(--border-accent);
}
.btn-ghost:hover {
background: var(--accent-glow);
transform: translateY(-1px);
}
/* ── Cards ── */
.card {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 12px;
padding: 1.5rem;
transition: all 0.2s ease;
}
.card:hover {
border-color: var(--border-light);
transform: translateY(-2px);
}
.card-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 1rem;
margin-top: 1.5rem;
}
.card-grid-3 {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1rem;
margin-top: 1.5rem;
}
/* ── Dashboard Section ── */
.dashboard-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 1rem;
margin-top: 2rem;
}
.stat-card {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 12px;
padding: 1.5rem;
text-align: center;
position: relative;
overflow: hidden;
}
.stat-card::before {
content: '';
position: absolute;
top: 0; left: 0; right: 0;
height: 2px;
background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.stat-card.gold::before {
background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.stat-card.blue::before {
background: linear-gradient(90deg, transparent, var(--blue), transparent);
}
.stat-card.purple::before {
background: linear-gradient(90deg, transparent, var(--purple), transparent);
}
.stat-number {
font-family: var(--font-mono);
font-size: 2.2rem;
font-weight: 800;
color: var(--accent);
line-height: 1.1;
margin-bottom: 0.35rem;
}
.stat-card.gold .stat-number { color: var(--gold); }
.stat-card.blue .stat-number { color: var(--blue); }
.stat-card.purple .stat-number { color: var(--purple); }
.stat-label {
font-size: 0.82rem;
color: var(--text-muted);
font-weight: 500;
}
.stat-delta {
font-family: var(--font-mono);
font-size: 0.72rem;
font-weight: 600;
color: var(--accent);
margin-top: 0.5rem;
display: inline-flex;
align-items: center;
gap: 0.2rem;
padding: 0.15rem 0.5rem;
background: var(--accent-glow);
border-radius: 99px;
}
/* ── Comparison Chart ── */
.chart-container {
margin-top: 2.5rem;
padding: 2rem;
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 12px;
}
.chart-title {
font-family: var(--font-mono);
font-size: 0.82rem;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.08em;
margin-bottom: 1.5rem;
}
.chart-bars {
display: flex;
flex-direction: column;
gap: 1.25rem;
}
.chart-row {
display: grid;
grid-template-columns: 140px 1fr 60px;
align-items: center;
gap: 1rem;
}
.chart-row-label {
font-size: 0.82rem;
color: var(--text-muted);
font-weight: 500;
text-align: right;
}
.chart-bar-track {
height: 32px;
background: var(--bg-alt);
border-radius: 8px;
overflow: hidden;
position: relative;
}
.chart-bar-fill {
height: 100%;
border-radius: 8px;
transition: width 1.5s ease;
width: 0;
display: flex;
align-items: center;
padding-left: 0.75rem;
}
.chart-bar-fill.green { background: linear-gradient(90deg, var(--accent-dim), var(--accent)); }
.chart-bar-fill.dim { background: linear-gradient(90deg, #1a2420, #243330); }
.chart-bar-fill.gold { background: linear-gradient(90deg, var(--gold-dim), var(--gold)); }
.chart-bar-fill.blue { background: linear-gradient(90deg, #2563eb, var(--blue)); }
.chart-row-value {
font-family: var(--font-mono);
font-size: 0.82rem;
font-weight: 700;
color: var(--text);
}
/* ── Offer Section ── */
.offer-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2rem;
margin-top: 2rem;
}
.offer-card {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 16px;
padding: 2rem;
position: relative;
overflow: hidden;
}
.offer-card.featured {
border-color: var(--accent-dim);
box-shadow: 0 0 40px var(--accent-glow);
}
.offer-card.featured::before {
content: 'RECOMMENDED';
position: absolute;
top: 0; right: 0;
font-family: var(--font-mono);
font-size: 0.65rem;
font-weight: 700;
color: #050a08;
background: var(--accent);
padding: 0.25rem 0.75rem 0.25rem 1rem;
border-radius: 0 0 0 10px;
}
.offer-price {
font-family: var(--font-mono);
font-size: 2rem;
font-weight: 800;
color: var(--text);
margin: 1rem 0;
}
.offer-price span {
font-size: 0.9rem;
font-weight: 400;
color: var(--text-dim);
}
.offer-list {
list-style: none;
display: flex;
flex-direction: column;
gap: 0.6rem;
margin: 1.5rem 0;
}
.offer-list li {
font-size: 0.88rem;
color: var(--text-muted);
padding-left: 1.5rem;
position: relative;
}
.offer-list li::before {
content: '✓';
position: absolute;
left: 0;
color: var(--accent);
font-weight: 700;
}
.offer-list li.highlight {
color: var(--text);
font-weight: 600;
}
/* ── Demo Sections ── */
.demo-section {
padding: 5rem 0;
border-top: 1px solid var(--border);
}
.demo-badge {
font-family: var(--font-mono);
font-size: 0.68rem;
font-weight: 700;
padding: 0.25rem 0.7rem;
border-radius: 6px;
display: inline-flex;
align-items: center;
gap: 0.35rem;
margin-bottom: 1rem;
}
.demo-badge.a { background: rgba(239, 68, 68, 0.15); color: var(--cta); border: 1px solid rgba(239, 68, 68, 0.25); }
.demo-badge.b { background: rgba(59, 130, 246, 0.15); color: var(--blue); border: 1px solid rgba(59, 130, 246, 0.25); }
.demo-badge.c { background: rgba(139, 92, 246, 0.15); color: var(--purple); border: 1px solid rgba(139, 92, 246, 0.25); }
.demo-header {
margin-bottom: 2rem;
}
.demo-header h2 {
margin-bottom: 0.5rem;
}
/* ── Demo A: Input + Generate ── */
.demo-input-area {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 12px;
padding: 1.5rem;
margin-bottom: 1.5rem;
}
.demo-input-row {
display: flex;
gap: 0.75rem;
align-items: flex-end;
}
.demo-input-group {
flex: 1;
display: flex;
flex-direction: column;
gap: 0.35rem;
}
.demo-input-group label {
font-family: var(--font-mono);
font-size: 0.72rem;
font-weight: 600;
color: var(--text-dim);
text-transform: uppercase;
letter-spacing: 0.06em;
}
.demo-input {
background: var(--bg);
border: 1px solid var(--border-light);
border-radius: 8px;
padding: 0.7rem 1rem;
color: var(--text);
font-family: var(--font-sans);
font-size: 0.9rem;
outline: none;
transition: border-color 0.2s;
width: 100%;
}
.demo-input:focus {
border-color: var(--accent);
box-shadow: 0 0 0 3px var(--accent-glow);
}
.demo-input::placeholder {
color: var(--text-dim);
}
textarea.demo-input {
resize: vertical;
min-height: 100px;
}
.btn-generate {
background: var(--cta);
color: #fff;
font-family: var(--font-mono);
font-size: 0.88rem;
font-weight: 700;
padding: 0.7rem 1.5rem;
border: none;
border-radius: 8px;
cursor: pointer;
white-space: nowrap;
transition: all 0.2s ease;
min-width: 180px;
}
.btn-generate:hover {
background: var(--cta-hover);
transform: translateY(-2px);
box-shadow: 0 8px 25px var(--cta-glow);
}
.btn-generate:active {
transform: translateY(0);
}
.btn-generate.loading {
background: #7f1d1d;
pointer-events: none;
}
.btn-generate.loading::after {
content: '';
display: inline-block;
width: 14px;
height: 14px;
border: 2px solid rgba(255,255,255,0.3);
border-top-color: #fff;
border-radius: 50%;
animation: spin 0.6s linear infinite;
margin-left: 0.5rem;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
/* ── Asset Bundle Output ── */
.bundle-output {
display: none;
margin-top: 1rem;
}
.bundle-output.active {
display: block;
}
.bundle-counter {
font-family: var(--font-mono);
font-size: 0.82rem;
color: var(--accent);
margin-bottom: 1rem;
display: flex;
align-items: center;
gap: 0.5rem;
}
.bundle-counter .count {
font-weight: 800;
font-size: 1.1rem;
}
.asset-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 1rem;
}
.asset-card {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 10px;
padding: 1.25rem;
opacity: 0;
transform: translateY(15px);
transition: all 0.4s ease;
}
.asset-card.revealed {
opacity: 1;
transform: translateY(0);
}
.asset-card-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 0.75rem;
}
.asset-type {
font-family: var(--font-mono);
font-size: 0.7rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.08em;
padding: 0.15rem 0.5rem;
border-radius: 4px;
}
.asset-type.hero { background: rgba(239, 68, 68, 0.15); color: var(--cta); }
.asset-type.pdp { background: rgba(16, 185, 129, 0.15); color: var(--accent); }
.asset-type.ad { background: rgba(245, 158, 11, 0.15); color: var(--gold); }
.asset-type.email { background: rgba(59, 130, 246, 0.15); color: var(--blue); }
.asset-type.video { background: rgba(139, 92, 246, 0.15); color: var(--purple); }
.asset-type.blog { background: rgba(236, 72, 153, 0.15); color: #ec4899; }
.asset-type.seo { background: rgba(99, 102, 241, 0.15); color: #6366f1; }
.asset-type.a11y { background: rgba(107, 114, 128, 0.15); color: #9ca3af; }
.asset-card-number {
font-family: var(--font-mono);
font-size: 0.68rem;
color: var(--text-dim);
}
.asset-content {
font-size: 0.85rem;
color: var(--text-muted);
line-height: 1.6;
}
.asset-content strong {
color: var(--text);
font-weight: 600;
}
.asset-content ul {
list-style: none;
margin-top: 0.5rem;
}
.asset-content ul li {
padding-left: 1rem;
position: relative;
margin-bottom: 0.3rem;
}
.asset-content ul li::before {
content: '';
position: absolute;
left: 0;
color: var(--accent);
font-weight: 700;
}
.bundle-download {
margin-top: 1.5rem;
display: none;
align-items: center;
gap: 1rem;
}
.bundle-download.active {
display: flex;
}
.bundle-download .btn {
animation: glow 2s ease infinite;
}
/* ── Demo B: Split Screen ── */
.split-screen {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 0;
margin-top: 1.5rem;
border: 1px solid var(--border);
border-radius: 12px;
overflow: hidden;
min-height: 500px;
}
.split-side {
padding: 1.5rem;
position: relative;
}
.split-left {
background: #0d0a0a;
border-right: 1px solid var(--border);
}
.split-right {
background: var(--bg-card);
}
.split-label {
font-family: var(--font-mono);
font-size: 0.68rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.1em;
margin-bottom: 1rem;
padding: 0.25rem 0.6rem;
border-radius: 4px;
display: inline-block;
}
.split-label.competitor {
background: rgba(239, 68, 68, 0.15);
color: var(--cta);
}
.split-label.yours {
background: rgba(16, 185, 129, 0.15);
color: var(--accent);
}
.split-content {
opacity: 0;
transition: opacity 0.5s ease;
}
.split-content.revealed {
opacity: 1;
}
.xray-item {
margin-bottom: 1.25rem;
}
.xray-item-label {
font-family: var(--font-mono);
font-size: 0.7rem;
font-weight: 600;
color: var(--text-dim);
text-transform: uppercase;
letter-spacing: 0.06em;
margin-bottom: 0.35rem;
}
.xray-item-value {
font-size: 0.88rem;
color: var(--text-muted);
line-height: 1.6;
}
.xray-item-value strong { color: var(--text); }
.xray-item-value.gap {
color: var(--cta);
font-weight: 600;
}
.xray-tactics {
list-style: none;
display: flex;
flex-direction: column;
gap: 0.4rem;
}
.xray-tactics li {
font-size: 0.85rem;
color: var(--text-muted);
padding-left: 1.25rem;
position: relative;
}
.xray-tactics li::before {
content: '';
position: absolute;
left: 0;
top: 0.5rem;
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--cta);
}
.improved-hero {
background: var(--bg);
border: 1px solid var(--border-accent);
border-radius: 10px;
padding: 1.5rem;
margin-top: 1rem;
}
.improved-hero h4 {
font-size: 1.1rem;
font-weight: 700;
color: var(--accent-bright);
margin-bottom: 0.75rem;
line-height: 1.3;
}
.improved-hero p {
font-size: 0.85rem;
color: var(--text-muted);
line-height: 1.6;
}
.differentiator-list {
list-style: none;
margin-top: 1rem;
}
.differentiator-list li {
padding: 0.6rem 0;
border-bottom: 1px solid var(--border);
font-size: 0.85rem;
display: flex;
align-items: flex-start;
gap: 0.5rem;
}
.differentiator-list li:last-child { border: none; }
.diff-icon {
font-size: 0.8rem;
flex-shrink: 0;
margin-top: 0.1rem;
}
.diff-text { color: var(--text-muted); }
.diff-text strong { color: var(--text); }
.compliance-notes {
margin-top: 1rem;
padding: 1rem;
background: rgba(239, 68, 68, 0.05);
border: 1px solid rgba(239, 68, 68, 0.15);
border-radius: 8px;
}
.compliance-notes h5 {
font-family: var(--font-mono);
font-size: 0.72rem;
color: var(--cta);
text-transform: uppercase;
letter-spacing: 0.08em;
margin-bottom: 0.5rem;
}
.compliance-notes ul {
list-style: none;
}
.compliance-notes ul li {
font-size: 0.82rem;
color: #f87171;
padding-left: 1rem;
position: relative;
margin-bottom: 0.25rem;
}
.compliance-notes ul li::before {
content: '✕';
position: absolute;
left: 0;
font-weight: 700;
}
/* ── Demo C: Before/After Slider ── */
.slider-container {
margin-top: 1.5rem;
position: relative;
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 12px;
overflow: hidden;
}
.slider-wrapper {
position: relative;
min-height: 460px;
user-select: none;
}
.slider-before, .slider-after {
padding: 2rem;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
overflow: hidden;
}
.slider-before {
z-index: 1;
background: #0d0a0a;
}
.slider-after {
z-index: 2;
clip-path: inset(0 50% 0 0);
background: var(--bg-card);
}
.slider-handle {
position: absolute;
top: 0;
bottom: 0;
left: 50%;
width: 4px;
background: var(--accent);
z-index: 10;
cursor: ew-resize;
transform: translateX(-50%);
}
.slider-handle::before {
content: '⟨⟩';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 36px;
height: 36px;
background: var(--accent);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.7rem;
font-weight: 700;
color: #050a08;
box-shadow: 0 0 20px var(--accent-glow-strong);
}
.slider-side-label {
font-family: var(--font-mono);
font-size: 0.68rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.1em;
padding: 0.25rem 0.6rem;
border-radius: 4px;
display: inline-block;
margin-bottom: 1rem;
}
.slider-side-label.before {
background: rgba(239, 68, 68, 0.15);
color: var(--cta);
}
.slider-side-label.after {
background: rgba(16, 185, 129, 0.15);
color: var(--accent);
}
.slider-copy {
font-size: 0.9rem;
color: var(--text-muted);
line-height: 1.8;
}
.slider-copy h4 {
font-size: 1rem;
color: var(--text);
font-weight: 700;
margin: 0.75rem 0 0.5rem;
}
.slider-copy .highlight {
background: var(--accent-glow);
border-left: 2px solid var(--accent);
padding: 0.3rem 0.5rem;
margin: 0.35rem 0;
display: block;
border-radius: 0 4px 4px 0;
}
.slider-copy .lowlight {
background: rgba(239, 68, 68, 0.08);
border-left: 2px solid var(--cta);
padding: 0.3rem 0.5rem;
margin: 0.35rem 0;
display: block;
border-radius: 0 4px 4px 0;
text-decoration: line-through;
text-decoration-color: rgba(239, 68, 68, 0.4);
}
.annotation {
font-family: var(--font-mono);
font-size: 0.68rem;
color: var(--accent);
background: var(--accent-glow);
padding: 0.2rem 0.5rem;
border-radius: 4px;
display: inline-block;
margin: 0.3rem 0;
}
/* ── Style Toggles ── */
.toggle-group {
display: flex;
gap: 0.5rem;
margin-top: 1.5rem;
flex-wrap: wrap;
}
.toggle-btn {
font-family: var(--font-mono);
font-size: 0.78rem;
font-weight: 600;
padding: 0.5rem 1rem;
border: 1px solid var(--border-light);
border-radius: 8px;
background: transparent;
color: var(--text-muted);
cursor: pointer;
transition: all 0.2s;
}
.toggle-btn:hover {
border-color: var(--text-dim);
color: var(--text);
}
.toggle-btn.active {
background: var(--accent-glow);
border-color: var(--accent-dim);
color: var(--accent);
}
.toggle-btn.active.premium {
background: rgba(139, 92, 246, 0.12);
border-color: rgba(139, 92, 246, 0.3);
color: var(--purple);
}
.toggle-btn.active.dr {
background: rgba(239, 68, 68, 0.12);
border-color: rgba(239, 68, 68, 0.3);
color: var(--cta);
}
.toggle-btn.active.medical {
background: rgba(59, 130, 246, 0.12);
border-color: rgba(59, 130, 246, 0.3);
color: var(--blue);
}
/* ── CTA Section ── */
.cta-section {
text-align: center;
padding: 6rem 0;
}
.cta-section h2 {
margin-bottom: 0.75rem;
}
.cta-section .subtitle {
margin: 0 auto 2rem;
text-align: center;
}
.cta-actions {
display: flex;
flex-direction: column;
align-items: center;
gap: 1rem;
}
.cta-note {
font-family: var(--font-mono);
font-size: 0.72rem;
color: var(--text-dim);
margin-top: 0.5rem;
}
/* ── Footer ── */
footer {
margin-top: 0;
padding: 2rem 0;
border-top: 1px solid var(--border);
display: flex;
align-items: center;
justify-content: space-between;
}
footer p {
font-family: var(--font-mono);
font-size: 0.75rem;
color: var(--text-dim);
}
footer a {
color: var(--accent-dim);
text-decoration: none;
}
footer a:hover {
color: var(--accent);
}
/* ── Responsive ── */
@media (max-width: 900px) {
.dashboard-grid { grid-template-columns: repeat(2, 1fr); }
.offer-grid { grid-template-columns: 1fr; }
.split-screen { grid-template-columns: 1fr; }
.split-left { border-right: none; border-bottom: 1px solid var(--border); }
.card-grid-3 { grid-template-columns: 1fr; }
.chart-row { grid-template-columns: 100px 1fr 50px; }
}
@media (max-width: 640px) {
.page { padding: 0 1rem; }
.section { padding: 3.5rem 0; }
.hero { padding: 3rem 0 2rem; }
h1 { font-size: clamp(1.8rem, 7vw, 2.4rem); }
.hero-stats { gap: 1.5rem; }
.demo-input-row { flex-direction: column; }
.btn-generate { width: 100%; }
.dashboard-grid { grid-template-columns: 1fr 1fr; }
.asset-grid { grid-template-columns: 1fr; }
.btn-row { flex-direction: column; }
.btn-row .btn { width: 100%; justify-content: center; }
.slider-wrapper { min-height: 600px; }
.toggle-group { justify-content: center; }
footer { flex-direction: column; gap: 0.5rem; text-align: center; }
}
@media (max-width: 420px) {
.dashboard-grid { grid-template-columns: 1fr; }
.hero-stats { flex-direction: column; gap: 1rem; }
.nav-links a { font-size: 0.7rem; padding: 0.25rem 0.4rem; }
}