Initial commit of BlackDice ROI toolkit
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
+580
@@ -0,0 +1,580 @@
|
||||
/* Ported verbatim from BlackDice_Campaign_Landing_Page.html */
|
||||
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
||||
:root {
|
||||
--teal: #013B49;
|
||||
--teal2: #0E4F63;
|
||||
--teal3: #1A6070;
|
||||
--green: #35B888;
|
||||
--green2: #2A9A70;
|
||||
--lgrey: #B0C8CE;
|
||||
--mgrey: #6B9BA8;
|
||||
--white: #FFFFFF;
|
||||
--offwhite: #F4F8F9;
|
||||
--text: #0E2841;
|
||||
}
|
||||
body { font-family: 'Ubuntu', sans-serif; background: var(--offwhite); color: var(--text); min-height: 100vh; }
|
||||
|
||||
/* ─── NAV ─── */
|
||||
.site-nav { background: var(--teal); position: relative; z-index: 100; border-bottom: 1px solid rgba(176,200,206,0.12); }
|
||||
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 48px; display: flex; align-items: center; height: 64px; gap: 0; }
|
||||
.nav-logo { flex-shrink: 0; margin-right: 40px; }
|
||||
.nav-logo img { height: 35px; width: auto; display: block; }
|
||||
.nav-links { display: flex; align-items: center; gap: 4px; flex: 1; }
|
||||
.nav-item { position: relative; }
|
||||
.nav-link { display: flex; align-items: center; gap: 4px; padding: 8px 14px; font-size: 13px; font-weight: 500; color: var(--lgrey); text-decoration: none; border-radius: 6px; transition: color 0.2s, background 0.2s; white-space: nowrap; font-family: 'Ubuntu', sans-serif; cursor: pointer; background: none; border: none; }
|
||||
.nav-link:hover, .nav-item:hover > .nav-link { color: var(--white); background: rgba(255,255,255,0.07); }
|
||||
.nav-link svg { width: 10px; height: 10px; fill: currentColor; transition: transform 0.2s; }
|
||||
.nav-item:hover > .nav-link svg { transform: rotate(180deg); }
|
||||
.nav-dropdown { position: absolute; top: calc(100% + 6px); left: 0; background: var(--teal2); border: 1px solid rgba(176,200,206,0.15); border-radius: 10px; padding: 8px; min-width: 200px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.2s, transform 0.2s, visibility 0.2s; box-shadow: 0 12px 40px rgba(0,0,0,0.3); z-index: 200; }
|
||||
.nav-item:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
|
||||
.nav-dropdown a { display: block; padding: 9px 14px; font-size: 13px; color: var(--lgrey); text-decoration: none; border-radius: 6px; transition: color 0.2s, background 0.2s; font-family: 'Ubuntu', sans-serif; }
|
||||
.nav-dropdown a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
|
||||
.nav-dropdown-label { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mgrey); padding: 4px 14px 6px; }
|
||||
.nav-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
|
||||
.nav-cta { background: var(--green); color: var(--teal); font-family: 'Ubuntu', sans-serif; font-size: 12px; font-weight: 700; padding: 8px 18px; border-radius: 6px; text-decoration: none; transition: background 0.2s; white-space: nowrap; }
|
||||
.nav-cta:hover { background: #2eaa7a; }
|
||||
|
||||
/* ─── HERO ─── */
|
||||
.hero { background: linear-gradient(135deg, var(--teal) 0%, var(--teal2) 60%, var(--teal3) 100%); position: relative; overflow: hidden; padding: 0; }
|
||||
.hero-hex {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 0;
|
||||
transform: translateY(-50%);
|
||||
width: 50%;
|
||||
height: auto;
|
||||
opacity: 0.38;
|
||||
pointer-events: none;
|
||||
z-index: 0;
|
||||
}
|
||||
.hero-inner { max-width: 620px; }
|
||||
.hero-container { max-width: 1200px; margin: 0 auto; padding: 56px 48px 48px; position: relative; z-index: 1; }
|
||||
.hero-badge { display: inline-block; background: rgba(53,184,136,0.18); border: 1px solid rgba(53,184,136,0.4); color: var(--green); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 14px; border-radius: 20px; margin-bottom: 18px; }
|
||||
.hero h1 { font-size: clamp(24px, 3.5vw, 38px); font-weight: 700; color: var(--white); line-height: 1.2; margin-bottom: 14px; }
|
||||
.hero h1 span { color: var(--green); }
|
||||
.hero p { font-size: 15px; font-weight: 300; color: var(--lgrey); line-height: 1.7; max-width: 560px; }
|
||||
|
||||
/* ─── SAVINGS RANKED NOTE ─── */
|
||||
.rank-bar { background: var(--teal2); border-top: 1px solid rgba(176,200,206,0.12); }
|
||||
.rank-bar-inner { max-width: 1200px; margin: 0 auto; padding: 10px 48px; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
|
||||
.rank-label { font-size: 11px; font-weight: 600; color: var(--mgrey); text-transform: uppercase; letter-spacing: 0.08em; margin-right: 8px; }
|
||||
.rank-item { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--lgrey); padding: 3px 10px; border-radius: 20px; background: rgba(255,255,255,0.05); }
|
||||
.rank-item .num { font-size: 10px; font-weight: 700; background: var(--green); color: var(--teal); width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
|
||||
.rank-sep { color: rgba(176,200,206,0.3); font-size: 11px; }
|
||||
|
||||
/* ─── MAIN ─── */
|
||||
.main { max-width: 1200px; margin: 0 auto; padding: 40px 48px 64px; display: grid; grid-template-columns: 1fr 400px; gap: 32px; align-items: start; }
|
||||
|
||||
/* ─── CARDS ─── */
|
||||
.input-col { display: flex; flex-direction: column; gap: 20px; }
|
||||
.card { background: var(--white); border-radius: 12px; padding: 26px 30px; border: 1px solid #dce8ec; box-shadow: 0 2px 12px rgba(1,59,73,0.06); }
|
||||
.card.highlight { border-color: rgba(53,184,136,0.4); box-shadow: 0 2px 12px rgba(1,59,73,0.06), 0 0 0 1px rgba(53,184,136,0.15); }
|
||||
.card-header { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid #eaf0f2; }
|
||||
.card-icon { width: 38px; height: 38px; border-radius: 9px; background: linear-gradient(135deg, var(--teal), var(--teal3)); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
|
||||
.card-icon.green { background: linear-gradient(135deg, var(--green2), var(--green)); }
|
||||
.card-icon svg { width: 18px; height: 18px; stroke: var(--white); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
|
||||
.card-num { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); margin-bottom: 2px; }
|
||||
.card-title { font-size: 15px; font-weight: 700; color: var(--teal); }
|
||||
.card-subtitle { font-size: 12px; color: var(--mgrey); margin-top: 2px; }
|
||||
.biggest-tag { display: inline-block; font-size: 10px; font-weight: 700; background: rgba(53,184,136,0.12); color: var(--green); padding: 2px 8px; border-radius: 10px; margin-left: 8px; vertical-align: middle; text-transform: uppercase; letter-spacing: 0.06em; }
|
||||
|
||||
/* Fields */
|
||||
.field-group { margin-bottom: 18px; }
|
||||
.field-group:last-child { margin-bottom: 0; }
|
||||
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
|
||||
label { display: block; font-size: 12px; font-weight: 600; color: var(--teal); margin-bottom: 7px; letter-spacing: 0.02em; }
|
||||
.field-hint { font-size: 11px; color: var(--mgrey); margin-top: 5px; font-weight: 300; line-height: 1.5; }
|
||||
.input-wrap { position: relative; display: flex; align-items: center; }
|
||||
.input-prefix { position: absolute; left: 12px; font-size: 13px; font-weight: 500; color: var(--mgrey); pointer-events: none; }
|
||||
.input-suffix { position: absolute; right: 12px; font-size: 12px; font-weight: 500; color: var(--mgrey); pointer-events: none; }
|
||||
input[type=number], select { width: 100%; padding: 11px 13px; border: 1.5px solid #c8dde3; border-radius: 8px; font-family: 'Ubuntu', sans-serif; font-size: 14px; color: var(--text); background: #f9fcfd; outline: none; transition: border-color 0.2s, box-shadow 0.2s; -moz-appearance: textfield; appearance: none; }
|
||||
input[type=number]::-webkit-outer-spin-button, input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; }
|
||||
input[type=number]:focus, select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(53,184,136,0.15); background: var(--white); }
|
||||
.has-prefix input { padding-left: 28px; }
|
||||
.has-suffix input { padding-right: 38px; }
|
||||
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B9BA8' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; cursor: pointer; }
|
||||
|
||||
/* Slider */
|
||||
.slider-val { font-size: 13px; font-weight: 700; color: var(--teal); text-align: right; margin-bottom: 7px; }
|
||||
input[type=range] { -webkit-appearance: none; width: 100%; height: 4px; background: linear-gradient(to right, var(--green) 0%, var(--green) var(--pct,50%), #c8dde3 var(--pct,50%)); border-radius: 4px; outline: none; cursor: pointer; border: none; padding: 0; box-shadow: none; }
|
||||
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 17px; height: 17px; border-radius: 50%; background: var(--teal); border: 3px solid var(--white); box-shadow: 0 1px 5px rgba(1,59,73,0.3); cursor: pointer; }
|
||||
.slider-labels { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--mgrey); margin-top: 5px; }
|
||||
|
||||
/* Optional note */
|
||||
.opt-note { background: #f0f8f4; border: 1px solid rgba(53,184,136,0.25); border-radius: 8px; padding: 11px 14px; font-size: 11.5px; color: var(--teal2); line-height: 1.6; margin-bottom: 18px; }
|
||||
.opt-note strong { color: var(--teal); }
|
||||
|
||||
/* Scenario tabs */
|
||||
.scenario-tabs { display: flex; gap: 6px; margin-bottom: 18px; }
|
||||
.scenario-tab { flex: 1; padding: 8px 4px; text-align: center; font-size: 12px; font-weight: 600; border: 1.5px solid #c8dde3; border-radius: 8px; cursor: pointer; transition: all 0.2s; color: var(--mgrey); background: var(--white); font-family: 'Ubuntu', sans-serif; }
|
||||
.scenario-tab.active { background: var(--teal); border-color: var(--teal); color: var(--white); }
|
||||
|
||||
/* ─── RESULTS ─── */
|
||||
.results-col { position: sticky; top: 24px; }
|
||||
.results-card { background: var(--teal); border-radius: 14px; overflow: hidden; box-shadow: 0 8px 40px rgba(1,59,73,0.25); }
|
||||
.results-header { background: linear-gradient(135deg, var(--teal2), var(--teal3)); padding: 22px 26px 20px; border-bottom: 1px solid rgba(176,200,206,0.12); position: relative; overflow: hidden; }
|
||||
.results-header-hex { position: absolute; top: -20%; right: -10%; width: 55%; height: 160%; /* background image set inline in Results.jsx */ background-size: 80%; background-repeat: no-repeat; background-position: top right; opacity: 0.25; pointer-events: none; }
|
||||
.results-header h2 { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lgrey); margin-bottom: 3px; position: relative; z-index: 1; }
|
||||
.results-header p { font-size: 11px; color: rgba(176,200,206,0.6); position: relative; z-index: 1; }
|
||||
|
||||
.results-body { padding: 20px 26px; }
|
||||
|
||||
/* Total */
|
||||
.total-block { text-align: center; padding: 22px 0 18px; border-bottom: 1px solid rgba(176,200,206,0.12); margin-bottom: 16px; }
|
||||
.total-label { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lgrey); margin-bottom: 6px; }
|
||||
.total-amount { font-size: clamp(20px, 2.8vw, 30px); font-weight: 700; color: var(--green); line-height: 1.1; letter-spacing: -0.5px; }
|
||||
.total-sep { color: rgba(176,200,206,0.35); margin: 0 8px; }
|
||||
.total-sub { font-size: 12px; color: var(--mgrey); margin-top: 5px; }
|
||||
|
||||
/* Breakdown */
|
||||
.breakdown { display: flex; flex-direction: column; gap: 8px; }
|
||||
.brow { background: rgba(255,255,255,0.05); border: 1px solid rgba(176,200,206,0.1); border-radius: 10px; padding: 12px 14px; display: flex; align-items: center; gap: 10px; }
|
||||
.brow-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
|
||||
.dot-green { background: var(--green); }
|
||||
.dot-teal { background: #4EA7C4; }
|
||||
.dot-blue { background: var(--lgrey); }
|
||||
.dot-grey { background: var(--mgrey); }
|
||||
.dot-orange { background: #E97132; }
|
||||
.brow-info { flex: 1; min-width: 0; }
|
||||
.brow-name { font-size: 11.5px; color: var(--lgrey); margin-bottom: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||||
.brow-val { font-size: 13.5px; font-weight: 700; color: var(--white); }
|
||||
.brow-val.muted { color: var(--mgrey); font-size: 11.5px; font-weight: 400; font-style: italic; }
|
||||
.assump-list.vis { display: block; }
|
||||
.assump-list a { color: rgba(53,184,136,0.7); }
|
||||
|
||||
/* Disclaimer */
|
||||
.disclaimer { max-width: 1200px; margin: 0 auto; padding: 0 48px 48px; font-size: 11px; color: #8aabb3; line-height: 1.7; }
|
||||
.disclaimer strong { color: var(--mgrey); }
|
||||
|
||||
/* Footer */
|
||||
.site-footer { background: var(--teal); padding: 22px 48px; text-align: center; font-size: 12px; color: rgba(176,200,206,0.5); }
|
||||
.site-footer a { color: var(--green); text-decoration: none; }
|
||||
|
||||
@media (max-width: 960px) {
|
||||
.main { grid-template-columns: 1fr; padding: 28px 24px 48px; }
|
||||
.results-col { position: static; }
|
||||
.hero, .rank-bar-inner, .disclaimer, .site-footer, .nav-inner { padding-left: 24px; padding-right: 24px; }
|
||||
.hero-container { padding-left: 24px; padding-right: 24px; padding-top: 40px; padding-bottom: 36px; }
|
||||
.field-row { grid-template-columns: 1fr; }
|
||||
}
|
||||
|
||||
|
||||
/* ═══════════════════════════════════════
|
||||
LANDING PAGE STYLES
|
||||
═══════════════════════════════════════ */
|
||||
#phase-preview { display: block; }
|
||||
#phase-access { display: none; }
|
||||
|
||||
/* HERO */
|
||||
.lp-hero {
|
||||
background: linear-gradient(135deg, var(--teal) 0%, var(--teal2) 60%, var(--teal3) 100%);
|
||||
position: relative; overflow: hidden; padding: 0;
|
||||
}
|
||||
.lp-hero-hex {
|
||||
position: absolute; top: 50%; left: 0;
|
||||
transform: translateY(-50%);
|
||||
width: 50%; height: auto;
|
||||
opacity: 0.38; pointer-events: none; z-index: 0;
|
||||
}
|
||||
.lp-hero-inner {
|
||||
max-width: 1200px; margin: 0 auto;
|
||||
padding: 72px 48px 64px;
|
||||
position: relative; z-index: 1;
|
||||
}
|
||||
.lp-hero-badge {
|
||||
display: inline-block;
|
||||
background: rgba(53,184,136,0.18);
|
||||
border: 1px solid rgba(53,184,136,0.4);
|
||||
color: var(--green);
|
||||
font-size: 0.72rem; font-weight: 700;
|
||||
letter-spacing: 0.1em; text-transform: uppercase;
|
||||
padding: 5px 12px; border-radius: 4px; margin-bottom: 20px;
|
||||
}
|
||||
.lp-hero h1 {
|
||||
font-size: clamp(1.9rem, 3.2vw, 2.8rem);
|
||||
font-weight: 700; color: var(--white);
|
||||
line-height: 1.15; margin-bottom: 20px; max-width: 700px;
|
||||
}
|
||||
.lp-hero h1 span { color: var(--green); }
|
||||
.lp-hero-sub {
|
||||
font-size: 1rem; color: var(--lgrey);
|
||||
line-height: 1.65; max-width: 580px; margin-bottom: 36px;
|
||||
}
|
||||
.lp-hero-proof { display: flex; gap: 40px; flex-wrap: wrap; }
|
||||
.lp-proof-item { display: flex; flex-direction: column; gap: 3px; }
|
||||
.lp-proof-num { font-size: 1.6rem; font-weight: 700; color: var(--green); }
|
||||
.lp-proof-label { font-size: 0.72rem; color: var(--lgrey); text-transform: uppercase; letter-spacing: 0.05em; }
|
||||
|
||||
/* WHAT YOU GET */
|
||||
.lp-what {
|
||||
background: #f8fafb;
|
||||
border-top: 1px solid #e2ecef;
|
||||
padding: 56px 0;
|
||||
}
|
||||
.lp-what-inner { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
|
||||
.lp-section-label {
|
||||
text-align: center; font-size: 0.72rem; font-weight: 700;
|
||||
letter-spacing: 0.12em; text-transform: uppercase;
|
||||
color: var(--green); margin-bottom: 12px;
|
||||
}
|
||||
.lp-section-title {
|
||||
text-align: center; font-size: 1.7rem; font-weight: 700;
|
||||
color: var(--teal); margin-bottom: 8px;
|
||||
}
|
||||
.lp-section-sub {
|
||||
text-align: center; font-size: 0.96rem; color: #556; margin-bottom: 48px;
|
||||
}
|
||||
.lp-assets { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
|
||||
.lp-asset-card {
|
||||
background: white; border: 1px solid #dde8eb;
|
||||
border-radius: 12px; overflow: hidden;
|
||||
box-shadow: 0 2px 12px rgba(1,59,73,0.06);
|
||||
}
|
||||
.lp-asset-preview {
|
||||
background: var(--teal); padding: 24px 24px 0;
|
||||
min-height: 210px; overflow: hidden;
|
||||
}
|
||||
.lp-asset-preview-calc {
|
||||
background: #f4f9fb; padding: 20px 20px 0;
|
||||
min-height: 210px; border-bottom: 1px solid #dde8eb;
|
||||
}
|
||||
.lp-slide-thumb {
|
||||
border-radius: 4px 4px 0 0; width: 100%;
|
||||
display: block; box-shadow: 0 4px 16px rgba(0,0,0,0.3);
|
||||
}
|
||||
.calc-mock {
|
||||
background: white; border-radius: 8px 8px 0 0;
|
||||
padding: 16px; box-shadow: 0 4px 16px rgba(0,0,0,0.1);
|
||||
}
|
||||
.calc-mock-header {
|
||||
background: var(--teal); color: white;
|
||||
padding: 10px 14px; border-radius: 6px;
|
||||
font-size: 0.75rem; font-weight: 600; margin-bottom: 10px;
|
||||
}
|
||||
.calc-mock-row {
|
||||
display: grid; grid-template-columns: 1fr 1fr;
|
||||
gap: 6px; margin-bottom: 6px;
|
||||
}
|
||||
.calc-mock-field {
|
||||
background: #f4f9fb; border: 1px solid #dde;
|
||||
border-radius: 4px; padding: 7px 10px;
|
||||
font-size: 0.7rem; color: #667;
|
||||
}
|
||||
.calc-mock-result {
|
||||
background: linear-gradient(135deg,var(--teal),var(--teal2));
|
||||
border-radius: 6px; padding: 10px 14px; margin-top: 8px;
|
||||
}
|
||||
.calc-mock-result-label { font-size: 0.65rem; color: var(--lgrey); margin-bottom: 2px; }
|
||||
.calc-mock-result-val { font-size: 1.1rem; font-weight: 700; color: var(--green); }
|
||||
|
||||
.lp-asset-info { padding: 24px; }
|
||||
.lp-asset-tag {
|
||||
display: inline-block; font-size: 0.65rem; font-weight: 700;
|
||||
text-transform: uppercase; letter-spacing: 0.1em;
|
||||
color: var(--green); background: rgba(53,184,136,0.1);
|
||||
border: 1px solid rgba(53,184,136,0.2);
|
||||
padding: 3px 8px; border-radius: 3px; margin-bottom: 10px;
|
||||
}
|
||||
.lp-asset-info h3 {
|
||||
font-size: 1.05rem; font-weight: 700; color: var(--teal); margin-bottom: 8px;
|
||||
}
|
||||
.lp-asset-info p {
|
||||
font-size: 0.87rem; color: #556; line-height: 1.6; margin-bottom: 16px;
|
||||
}
|
||||
.lp-asset-bullets {
|
||||
list-style: none; margin: 0; padding: 0;
|
||||
display: flex; flex-direction: column; gap: 6px;
|
||||
}
|
||||
.lp-asset-bullets li {
|
||||
font-size: 0.82rem; color: #445;
|
||||
display: flex; align-items: flex-start; gap: 8px;
|
||||
}
|
||||
.lp-asset-bullets li::before {
|
||||
content: ''; width: 6px; height: 6px;
|
||||
background: var(--green); border-radius: 50%;
|
||||
margin-top: 5px; flex-shrink: 0;
|
||||
}
|
||||
|
||||
/* REGISTRATION */
|
||||
.lp-reg {
|
||||
background: white; border-top: 1px solid #e2ecef; padding: 64px 0;
|
||||
}
|
||||
.lp-reg-inner { max-width: 760px; margin: 0 auto; padding: 0 48px; }
|
||||
.lp-reg-box {
|
||||
background: white; border: 1px solid #dde8eb;
|
||||
border-radius: 16px; padding: 40px 48px;
|
||||
box-shadow: 0 4px 24px rgba(1,59,73,0.08);
|
||||
}
|
||||
.lp-reg-title {
|
||||
font-size: 1.5rem; font-weight: 700; color: var(--teal);
|
||||
margin-bottom: 8px; text-align: center;
|
||||
}
|
||||
.lp-reg-sub {
|
||||
text-align: center; font-size: 0.9rem; color: #667; margin-bottom: 32px;
|
||||
}
|
||||
.lp-form-grid {
|
||||
display: grid; grid-template-columns: 1fr 1fr;
|
||||
gap: 16px; margin-bottom: 16px;
|
||||
}
|
||||
.lp-form-full { grid-column: 1 / -1; }
|
||||
.lp-field { display: flex; flex-direction: column; gap: 5px; }
|
||||
.lp-field label {
|
||||
font-size: 0.78rem; font-weight: 600; color: var(--teal);
|
||||
text-transform: uppercase; letter-spacing: 0.05em;
|
||||
}
|
||||
.lp-field input, .lp-field select {
|
||||
padding: 11px 14px; border: 1.5px solid #ccd8dc;
|
||||
border-radius: 7px; font-family: 'Ubuntu', sans-serif;
|
||||
font-size: 0.9rem; color: #334; background: white; outline: none;
|
||||
transition: border-color 0.15s;
|
||||
}
|
||||
.lp-field input:focus, .lp-field select:focus {
|
||||
border-color: var(--teal); box-shadow: 0 0 0 3px rgba(1,59,73,0.08);
|
||||
}
|
||||
.lp-submit {
|
||||
width: 100%; padding: 14px;
|
||||
background: var(--green); color: white;
|
||||
font-family: 'Ubuntu', sans-serif;
|
||||
font-size: 1rem; font-weight: 700;
|
||||
border: none; border-radius: 8px;
|
||||
cursor: pointer; margin-top: 8px;
|
||||
transition: background 0.15s, transform 0.1s;
|
||||
}
|
||||
.lp-submit:hover { background: var(--green2); transform: translateY(-1px); }
|
||||
.lp-privacy {
|
||||
text-align: center; font-size: 0.75rem; color: #889; margin-top: 16px;
|
||||
}
|
||||
.lp-privacy a { color: var(--mgrey); }
|
||||
#form-error {
|
||||
background: #fff0f0; border: 1px solid #fcc; color: #c00;
|
||||
padding: 10px 14px; border-radius: 6px; font-size: 0.85rem;
|
||||
margin-bottom: 12px; display: none;
|
||||
}
|
||||
|
||||
/* POST-REGISTRATION */
|
||||
.lp-access { background: #f4f8fa; }
|
||||
|
||||
.access-welcome {
|
||||
background: linear-gradient(135deg, var(--teal) 0%, var(--teal2) 100%);
|
||||
padding: 28px 48px;
|
||||
display: flex; align-items: center; gap: 20px;
|
||||
max-width: 100%;
|
||||
}
|
||||
.access-welcome-icon {
|
||||
width: 44px; height: 44px;
|
||||
background: rgba(53,184,136,0.2); border-radius: 50%;
|
||||
display: flex; align-items: center; justify-content: center; flex-shrink: 0;
|
||||
}
|
||||
.access-welcome-icon svg { width:22px; height:22px; stroke:var(--green); fill:none; stroke-width:2.5; }
|
||||
.access-welcome-text h2 { font-size: 1.05rem; font-weight: 700; color: white; margin-bottom: 2px; }
|
||||
.access-welcome-text p { font-size: 0.85rem; color: var(--lgrey); }
|
||||
|
||||
/* Tab navigation */
|
||||
.lp-tabs {
|
||||
max-width: 1200px; margin: 0 auto;
|
||||
padding: 32px 48px 0;
|
||||
display: flex; gap: 0; border-bottom: 2px solid #dde8eb;
|
||||
}
|
||||
.lp-tab {
|
||||
padding: 12px 28px 14px;
|
||||
font-family: 'Ubuntu', sans-serif;
|
||||
font-size: 0.95rem; font-weight: 600;
|
||||
color: #778; border: none;
|
||||
background: none; cursor: pointer;
|
||||
border-bottom: 3px solid transparent;
|
||||
margin-bottom: -2px;
|
||||
transition: color 0.15s, border-color 0.15s;
|
||||
display: flex; align-items: center; gap: 8px;
|
||||
}
|
||||
.lp-tab svg { width:16px; height:16px; stroke:currentColor; fill:none; stroke-width:2; }
|
||||
.lp-tab.active { color: var(--teal); border-bottom-color: var(--green); }
|
||||
.lp-tab:hover:not(.active) { color: var(--teal); }
|
||||
|
||||
.lp-tab-content { display: none; }
|
||||
.lp-tab-content.active { display: block; }
|
||||
|
||||
/* DECK VIEWER */
|
||||
.deck-viewer-wrap {
|
||||
max-width: 1200px; margin: 0 auto; padding: 36px 48px 56px;
|
||||
}
|
||||
.deck-viewer-top {
|
||||
display: flex; align-items: center; justify-content: space-between;
|
||||
margin-bottom: 20px; gap: 16px; flex-wrap: wrap;
|
||||
}
|
||||
.deck-viewer-title { font-size: 1.1rem; font-weight: 700; color: var(--teal); }
|
||||
.deck-viewer-sub { font-size: 0.85rem; color: #667; margin-top: 2px; }
|
||||
.deck-dl-btn {
|
||||
display: inline-flex; align-items: center; gap: 8px;
|
||||
background: var(--teal); color: white; text-decoration: none;
|
||||
padding: 11px 22px; border-radius: 8px;
|
||||
font-family: 'Ubuntu', sans-serif;
|
||||
font-weight: 700; font-size: 0.88rem;
|
||||
transition: background 0.15s; flex-shrink: 0;
|
||||
}
|
||||
.deck-dl-btn:hover { background: var(--teal2); }
|
||||
.deck-dl-btn svg { width:15px; height:15px; stroke:currentColor; fill:none; stroke-width:2.5; }
|
||||
|
||||
/* Slide viewer */
|
||||
.slide-viewer {
|
||||
background: #1a1a2e;
|
||||
border-radius: 12px; overflow: hidden;
|
||||
box-shadow: 0 8px 40px rgba(0,0,0,0.3);
|
||||
}
|
||||
.slide-display {
|
||||
position: relative;
|
||||
background: #111;
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
min-height: 400px;
|
||||
}
|
||||
.slide-display img {
|
||||
width: 100%; max-height: 600px;
|
||||
object-fit: contain; display: block;
|
||||
}
|
||||
.slide-nav-btn {
|
||||
position: absolute; top: 50%; transform: translateY(-50%);
|
||||
width: 44px; height: 44px;
|
||||
background: rgba(0,0,0,0.55); color: white;
|
||||
border: 1px solid rgba(255,255,255,0.15); border-radius: 50%;
|
||||
cursor: pointer; display: flex; align-items: center; justify-content: center;
|
||||
transition: background 0.15s; z-index: 2;
|
||||
font-family: 'Ubuntu', sans-serif; font-size: 1.1rem;
|
||||
}
|
||||
.slide-nav-btn:hover { background: rgba(0,0,0,0.8); }
|
||||
.slide-nav-btn.prev { left: 14px; }
|
||||
.slide-nav-btn.next { right: 14px; }
|
||||
.slide-nav-btn:disabled { opacity: 0.25; cursor: default; }
|
||||
|
||||
.slide-controls {
|
||||
background: #13131f;
|
||||
padding: 14px 20px;
|
||||
display: flex; align-items: center; justify-content: space-between; gap: 16px;
|
||||
}
|
||||
.slide-counter {
|
||||
font-size: 0.85rem; font-weight: 600; color: #aaa;
|
||||
min-width: 60px;
|
||||
}
|
||||
.slide-thumbs {
|
||||
display: flex; gap: 6px; overflow-x: auto;
|
||||
padding: 4px 0; flex: 1; justify-content: center;
|
||||
scrollbar-width: thin; scrollbar-color: #444 #13131f;
|
||||
}
|
||||
.slide-thumb-btn {
|
||||
width: 52px; height: 32px; flex-shrink: 0;
|
||||
border-radius: 3px; overflow: hidden; cursor: pointer;
|
||||
border: 2px solid transparent; padding: 0;
|
||||
transition: border-color 0.15s, opacity 0.15s;
|
||||
opacity: 0.5;
|
||||
}
|
||||
.slide-thumb-btn.active { border-color: var(--green); opacity: 1; }
|
||||
.slide-thumb-btn:hover { opacity: 0.85; }
|
||||
.slide-thumb-btn img { width: 100%; height: 100%; object-fit: cover; display: block; }
|
||||
|
||||
/* CALCULATOR TAB */
|
||||
.calc-tab-wrap {
|
||||
max-width: 1200px; margin: 0 auto; padding: 36px 48px 56px;
|
||||
}
|
||||
.calc-tab-header {
|
||||
margin-bottom: 24px; padding-bottom: 16px;
|
||||
border-bottom: 1px solid #e2ecef;
|
||||
}
|
||||
.calc-tab-header h2 {
|
||||
font-size: 1.2rem; font-weight: 700; color: var(--teal); margin-bottom: 4px;
|
||||
}
|
||||
.calc-tab-header p { font-size: 0.88rem; color: #667; }
|
||||
|
||||
/* Report download */
|
||||
.lp-report-bar {
|
||||
background: linear-gradient(135deg, #f0fdf7, #e8f8f1);
|
||||
border: 1.5px solid rgba(53,184,136,0.3);
|
||||
border-radius: 10px; padding: 24px 28px;
|
||||
display: flex; align-items: center; justify-content: space-between;
|
||||
gap: 24px; margin-top: 32px; flex-wrap: wrap;
|
||||
}
|
||||
.lp-report-bar-text h4 { font-size: 1rem; font-weight: 700; color: var(--teal); margin-bottom: 4px; }
|
||||
.lp-report-bar-text p { font-size: 0.85rem; color: #556; }
|
||||
.report-dl-btn {
|
||||
display: inline-flex; align-items: center; gap: 8px;
|
||||
background: var(--green); color: white; border: none;
|
||||
padding: 12px 24px; border-radius: 8px;
|
||||
font-family: 'Ubuntu', sans-serif; font-weight: 700; font-size: 0.9rem;
|
||||
cursor: pointer; transition: background 0.15s, opacity 0.15s; white-space: nowrap;
|
||||
}
|
||||
.report-dl-btn:disabled { opacity: 0.4; cursor: not-allowed; }
|
||||
.report-dl-btn:not(:disabled):hover { background: var(--green2); }
|
||||
.report-dl-btn svg { width:15px; height:15px; stroke:currentColor; fill:none; stroke-width:2.5; }
|
||||
.report-note { font-size: 0.75rem; color: #889; margin-top: 8px; }
|
||||
|
||||
/* FOOTER */
|
||||
.lp-footer {
|
||||
background: var(--teal); padding: 28px 48px; text-align: center;
|
||||
}
|
||||
.lp-footer p { font-size: 0.8rem; color: var(--lgrey); }
|
||||
.lp-footer a { color: var(--green); text-decoration: none; }
|
||||
|
||||
/* Responsive */
|
||||
@media (max-width: 900px) {
|
||||
.lp-hero-inner { padding: 48px 24px 40px; }
|
||||
.lp-assets { grid-template-columns: 1fr; }
|
||||
.lp-form-grid { grid-template-columns: 1fr; }
|
||||
.lp-reg-box { padding: 28px 24px; }
|
||||
.lp-reg-inner { padding: 0 24px; }
|
||||
.lp-what-inner { padding: 0 24px; }
|
||||
.lp-tabs { padding: 24px 24px 0; }
|
||||
.deck-viewer-wrap, .calc-tab-wrap { padding: 24px 24px 48px; }
|
||||
.access-welcome { padding: 20px 24px; }
|
||||
.main { grid-template-columns: 1fr !important; }
|
||||
.results-col { position: static !important; }
|
||||
.lp-report-bar { flex-direction: column; align-items: flex-start; }
|
||||
}
|
||||
|
||||
/* Assumptions */
|
||||
.assump-section { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(176,200,206,0.1); }
|
||||
.assump-toggle { font-size: 11px; color: var(--mgrey); cursor: pointer; display: flex; align-items: center; gap: 5px; background: none; border: none; padding: 0; font-family: 'Ubuntu', sans-serif; transition: color 0.2s; }
|
||||
.assump-toggle:hover { color: var(--lgrey); }
|
||||
.assump-toggle svg { width: 11px; height: 11px; stroke: currentColor; fill: none; transition: transform 0.2s; }
|
||||
.assump-toggle.open svg { transform: rotate(180deg); }
|
||||
.assump-list { display: none; margin-top: 10px; font-size: 10.5px; color: rgba(176,200,206,0.55); line-height: 1.9; }
|
||||
|
||||
/* ── Welcome bar inner alignment ── */
|
||||
.access-welcome { padding: 0; }
|
||||
.access-welcome-inner {
|
||||
max-width: 1200px; margin: 0 auto;
|
||||
padding: 22px 48px;
|
||||
display: flex; align-items: center; gap: 20px; width: 100%;
|
||||
}
|
||||
|
||||
/* ── Calculator tab layout alignment ── */
|
||||
.calc-tab-wrap .main {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
padding-top: 24px;
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
.calc-tab-wrap .rank-bar-inner {
|
||||
padding-left: 20px;
|
||||
padding-right: 20px;
|
||||
max-width: none;
|
||||
}
|
||||
/* Disclaimer alignment and spacing */
|
||||
.calc-tab-wrap .disclaimer {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
padding-bottom: 0;
|
||||
margin-top: 12px;
|
||||
}
|
||||
/* Report bar spacing */
|
||||
.calc-tab-wrap .lp-report-bar {
|
||||
margin-top: 14px;
|
||||
}
|
||||
@media (max-width: 900px) {
|
||||
.access-welcome-inner { padding: 18px 24px; }
|
||||
.calc-tab-wrap .rank-bar-inner { padding-left: 0; padding-right: 0; }
|
||||
}
|
||||
|
||||
/* ═══ React port additions ═══ */
|
||||
.lp-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
|
||||
.lp-submit:disabled { opacity: 0.6; cursor: wait; transform: none; }
|
||||
.welcome-reset { background: none; border: none; color: var(--green); font-family: 'Ubuntu', sans-serif; font-size: 0.8rem; cursor: pointer; padding: 0; margin-left: 6px; text-decoration: underline; }
|
||||
.report-error { color: #c00; }
|
||||
.report-dl-btn.busy { cursor: wait; }
|
||||
.lp-field-hint { font-size: 0.75rem; color: #889; line-height: 1.5; }
|
||||
Reference in New Issue
Block a user