sentimeter / css /index.css
rhmnsae's picture
add
04b72bb
/* ═══════════════════════════════════════════════
intro.css β€” SentiMeter Intro Page (Simplified)
═══════════════════════════════════════════════ */
.ih-hero {
position: relative;
padding: 100px 48px 60px;
text-align: center;
overflow: hidden;
}
.ih-hero-glow {
/* Removed to keep the background perfectly clean and prevent any cutoff lines */
display: none;
}
.ih-hero-inner {
position: relative;
z-index: 1;
max-width: 700px;
margin: 0 auto;
}
/* Badge */
.ih-badge {
display: inline-block;
padding: 5px 16px;
background: rgba(108, 143, 255, 0.1);
border: 1px solid rgba(108, 143, 255, 0.25);
border-radius: 100px;
font-size: 12px;
font-weight: 600;
letter-spacing: 0.3px;
color: #6c8fff;
margin-bottom: 22px;
}
/* Title */
.ih-title {
font-size: clamp(34px, 5.5vw, 64px);
font-weight: 800;
letter-spacing: -2px;
line-height: 1.1;
color: var(--tx1);
margin: 0 0 18px;
}
.ih-grad {
background: linear-gradient(135deg, #6c8fff 0%, #a78bfa 50%, #60d9f9 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.gradient-text {
background: linear-gradient(135deg, #6c8fff 0%, #a78bfa 50%, #60d9f9 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
/* Subtitle */
.ih-sub {
font-size: 16px;
line-height: 1.7;
color: var(--tx2);
max-width: 560px;
margin: 0 auto 12px;
}
/* Disclaimer */
.ih-disclaimer {
display: flex;
align-items: flex-start;
gap: 12px;
max-width: 580px;
margin: 0 auto 32px;
padding: 14px 18px;
background: var(--bg-card2);
border: 1px solid var(--border);
border-radius: 14px;
text-align: left;
}
.ih-disclaimer svg {
width: 20px;
height: 20px;
color: var(--ora);
flex-shrink: 0;
margin-top: 2px;
}
.ih-disclaimer span {
font-size: 12.5px;
line-height: 1.6;
color: var(--tx2);
}
.ih-disclaimer strong {
color: var(--tx1);
font-weight: 700;
}
/* Hero Buttons */
.ih-hero-btns {
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
flex-wrap: wrap;
margin-bottom: 52px;
}
/* Stats bar */
.ih-stats {
display: inline-flex;
align-items: center;
justify-content: center;
background: var(--bg-card2);
border: none;
border-radius: 20px;
padding: 24px 40px;
box-shadow: var(--shadow-sm);
gap: 0;
flex-wrap: nowrap;
}
.ih-stat {
display: flex;
flex-direction: column;
align-items: center;
padding: 0 40px;
gap: 6px;
}
.ih-stat b {
font-size: 32px;
font-weight: 800;
color: var(--tx1);
letter-spacing: -1px;
line-height: 1;
}
.ih-stat span {
font-size: 11px;
color: var(--tx3);
font-weight: 500;
text-transform: uppercase;
letter-spacing: 0.5px;
white-space: nowrap;
}
.ih-stat-sep {
width: 1px;
height: 36px;
background: var(--border);
flex-shrink: 0;
}
/* ── REVEAL ANIMATION ─────────────────────────── */
.reveal-up {
opacity: 0;
transform: translateY(24px);
transition:
opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
transition-delay: var(--d, 0ms);
}
.reveal-up.visible {
opacity: 1;
transform: translateY(0);
}
/* ── SECTIONS ─────────────────────────────────── */
.ih-section {
padding: 72px 48px;
max-width: 1120px;
margin: 0 auto;
}
.ih-sec-head {
text-align: center;
margin-bottom: 48px;
}
.ih-sec-label {
font-size: 11px;
font-weight: 700;
letter-spacing: 2px;
text-transform: uppercase;
color: #6c8fff;
margin: 0 0 8px;
}
.ih-sec-head h2 {
font-size: clamp(24px, 3.5vw, 36px);
font-weight: 800;
letter-spacing: -1px;
color: var(--tx1);
margin: 0 0 10px;
}
.ih-sec-sub {
font-size: 15px;
color: var(--tx2);
margin: 0;
}
/* ── STEPS ────────────────────────────────────── */
.ih-steps {
display: grid;
grid-template-columns: 1fr auto 1fr auto 1fr;
align-items: start;
gap: 0;
}
.ih-step {
background: var(--bg-card2);
border: none;
border-radius: 20px;
padding: 28px 24px;
transition: transform 0.2s, box-shadow 0.2s;
}
.ih-step:hover {
transform: translateY(-3px);
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}
.ih-step-num {
display: inline-flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
border-radius: 10px;
font-size: 15px;
font-weight: 800;
letter-spacing: -0.5px;
margin-bottom: 14px;
}
.ih-step-num.blue { background: rgba(108,143,255,0.12); color: #6c8fff; }
.ih-step-num.green { background: rgba(52,211,153,0.12); color: #34d399; }
.ih-step-num.purple { background: rgba(167,139,250,0.12); color: #a78bfa; }
.ih-step h3 {
font-size: 16px;
font-weight: 700;
color: var(--tx1);
margin: 0 0 8px;
}
.ih-step p {
font-size: 13px;
color: var(--tx2);
line-height: 1.6;
margin: 0 0 16px;
}
.ih-step-link {
font-size: 13px;
font-weight: 600;
color: #6c8fff;
text-decoration: none;
}
.ih-step-link:hover { text-decoration: underline; }
.ih-step-chevron {
display: flex;
align-items: center;
justify-content: center;
padding: 0 16px;
font-size: 28px;
color: var(--tx3);
opacity: 0.35;
margin-top: 60px;
}
/* ── XSCRAPER ─────────────────────────────────── */
.ih-xs-section {
padding-top: 0;
}
.ih-xs-card {
display: grid;
grid-template-columns: 1fr 380px;
gap: 48px;
background: var(--bg-card2);
border: none;
border-radius: 24px;
padding: 44px 44px;
position: relative;
overflow: hidden;
}
.ih-xs-card::before {
content: '';
position: absolute;
inset: 0;
background: radial-gradient(ellipse 60% 80% at 100% 50%, rgba(108,143,255,0.05) 0%, transparent 60%);
pointer-events: none;
}
.ih-xs-badge {
display: inline-block;
font-size: 11px;
font-weight: 700;
letter-spacing: 1px;
text-transform: uppercase;
color: #fbbf24;
background: rgba(251,191,36,0.1);
border: 1px solid rgba(251,191,36,0.2);
border-radius: 100px;
padding: 4px 14px;
margin-bottom: 20px;
}
.ih-xs-brand {
display: flex;
align-items: center;
gap: 14px;
margin-bottom: 16px;
}
/* Logo removed */
.ih-xs-name {
font-size: 28px;
font-weight: 800;
letter-spacing: -1px;
color: var(--tx1);
margin: 0 0 2px;
}
.ih-xs-url {
font-size: 13px;
color: #6c8fff;
font-weight: 500;
margin: 0;
}
.ih-xs-desc {
font-size: 14px;
color: var(--tx2);
line-height: 1.7;
margin: 0 0 20px;
}
.ih-xs-list {
list-style: none;
padding: 0;
margin: 0 0 24px;
display: flex;
flex-direction: column;
gap: 8px;
}
.ih-xs-list li {
font-size: 13px;
color: var(--tx2);
padding-left: 18px;
position: relative;
}
.ih-xs-list li::before {
content: 'βœ“';
position: absolute;
left: 0;
color: #34d399;
font-weight: 700;
font-size: 12px;
}
.ih-xs-actions {
display: flex;
align-items: center;
gap: 12px;
}
.ih-xs-url-chip {
font-size: 12px;
color: var(--tx3);
font-family: monospace;
background: var(--surface);
border: 1px solid var(--border);
padding: 8px 14px;
border-radius: 8px;
}
/* CSV Preview */
.ih-xs-right {
display: flex;
align-items: center;
}
.ih-csv-preview {
width: 100%;
background: #0d1117;
border-radius: 12px;
border: 1px solid rgba(255,255,255,0.07);
overflow: hidden;
font-family: 'Fira Code', 'Courier New', monospace;
font-size: 11px;
}
.ih-csv-topbar {
display: flex;
align-items: center;
gap: 8px;
padding: 10px 14px;
background: rgba(255,255,255,0.03);
border-bottom: 1px solid rgba(255,255,255,0.05);
}
.ih-csv-dot {
width: 10px; height: 10px;
border-radius: 50%;
background: rgba(255,255,255,0.15);
}
.ih-csv-dot:nth-child(1) { background: #ff5f57; }
.ih-csv-dot:nth-child(2) { background: #febc2e; }
.ih-csv-dot:nth-child(3) { background: #28c840; }
.ih-csv-fname {
font-size: 11px;
color: rgba(255,255,255,0.35);
font-family: 'Inter', sans-serif;
}
.ih-csv-body {
padding: 14px;
min-height: 200px;
}
.csv-row {
display: grid;
grid-template-columns: 18px 1.6fr 1fr 0.9fr 0.6fr;
gap: 6px;
margin-bottom: 7px;
line-height: 1.5;
}
.csv-lnum { color: rgba(255,255,255,0.2); }
.csv-h { color: #ff9580; font-weight: 600; }
.csv-text { color: #c9d1d9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.csv-user { color: #79c0ff; }
.csv-date { color: #7ee787; }
.csv-num { color: #e3b341; }
.csv-cursor { display: inline-block; width: 7px; height: 13px; background: #6c8fff; border-radius: 1px; animation: blink 1s step-end infinite; vertical-align: middle; }
@keyframes blink {
0%,50% { opacity: 1; }
51%,100% { opacity: 0; }
}
/* ── FEATURES GRID ────────────────────────────── */
.ih-feat-grid {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 18px;
}
.ih-feat {
flex: 1 1 300px;
max-width: 360px;
background: var(--bg-card2);
border: none;
border-radius: 20px;
padding: 26px 22px;
position: relative;
overflow: hidden;
transition: transform 0.2s, box-shadow 0.2s;
display: flex;
flex-direction: column;
}
.ih-feat:hover {
transform: translateY(-3px);
box-shadow: 0 14px 40px rgba(0,0,0,0.12);
}
/* removed colored top borders */
.ih-feat h3 {
font-size: 16px;
font-weight: 700;
color: var(--tx1);
margin: 0 0 8px;
}
.ih-feat p {
font-size: 13px;
color: var(--tx2);
line-height: 1.6;
margin: 0 0 20px;
min-height: 64px; /* Normalizes height for 3 lines of text */
}
.ih-feat ul {
list-style: none;
padding: 0;
margin: 0 0 16px;
display: flex;
flex-direction: column;
gap: 5px;
}
.ih-feat ul li {
font-size: 12px;
color: var(--tx3);
padding-left: 14px;
position: relative;
}
.ih-feat ul li::before {
content: 'β†’';
position: absolute;
left: 0;
opacity: 0.5;
}
.ih-feat-link {
font-size: 13px;
font-weight: 600;
color: #6c8fff;
text-decoration: none;
margin-top: auto;
display: inline-block;
padding-top: 10px;
}
.ih-feat-link:hover { text-decoration: underline; }
/* ── PIPELINE ─────────────────────────────────── */
.ih-pipeline {
max-width: 800px;
margin: 0 auto;
text-align: center;
}
.ih-pipe-io {
display: inline-block;
padding: 14px 24px;
border-radius: 10px;
font-size: 13px;
font-family: monospace;
color: var(--tx1);
max-width: 600px;
text-align: left;
}
.ih-pipe-raw {
background: rgba(248,113,113,0.07);
border: 1px solid rgba(248,113,113,0.18);
}
.ih-pipe-clean {
background: rgba(52,211,153,0.07);
border: 1px solid rgba(52,211,153,0.18);
}
.ih-pipe-arrow {
font-size: 22px;
color: var(--tx3);
opacity: 0.4;
margin: 10px 0;
}
.ih-pipe-steps {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 10px;
margin: 12px 0;
text-align: left;
}
.ih-pipe-step {
display: flex;
flex-direction: column;
gap: 2px;
background: var(--bg-card2);
border: none;
border-radius: 12px;
padding: 14px 14px 14px 48px;
position: relative;
transition: transform 0.2s;
}
.ih-pipe-step:hover { transform: translateY(-2px); }
.ih-pipe-n {
position: absolute;
left: 12px;
top: 14px;
width: 24px;
height: 24px;
background: rgba(108,143,255,0.12);
color: #6c8fff;
border-radius: 6px;
display: flex;
align-items: center;
justify-content: center;
font-size: 11px;
font-weight: 800;
}
.ih-pipe-step b {
font-size: 12px;
font-weight: 700;
color: var(--tx1);
}
.ih-pipe-step s {
font-size: 11px;
color: var(--tx3);
text-decoration: none;
}
/* ── CTA ──────────────────────────────────────── */
.ih-cta-section {
padding: 0 48px 80px;
max-width: 1120px;
margin: 0 auto;
}
.ih-cta-box {
padding: 60px 20px;
text-align: center;
}
.ih-cta-box h2 {
font-size: clamp(22px, 3.2vw, 34px);
font-weight: 800;
letter-spacing: -1px;
color: var(--tx1);
margin: 0 0 12px;
position: relative;
}
.ih-cta-box p {
font-size: 15px;
color: var(--tx2);
margin: 0 0 30px;
position: relative;
}
.ih-cta-box-btns {
display: flex;
justify-content: center;
align-items: center;
gap: 12px;
flex-wrap: wrap;
position: relative;
}
/* ── RESPONSIVE ───────────────────────────────── */
@media (max-width: 900px) {
.ih-hero {
padding: 60px 16px 40px;
}
.ih-title {
font-size: clamp(26px, 7vw, 42px);
letter-spacing: -1.2px;
margin-bottom: 14px;
line-height: 1.15;
}
.ih-sub {
font-size: 14px;
line-height: 1.6;
margin-bottom: 12px;
padding: 0 4px;
}
.ih-disclaimer {
padding: 12px;
margin-bottom: 24px;
}
.ih-disclaimer span {
font-size: 11.5px;
}
.ih-stats {
padding: 16px;
display: grid;
grid-template-columns: 1fr;
gap: 12px;
width: 100%;
max-width: 320px;
margin: 0 auto 40px;
}
.ih-stat {
padding: 10px 12px;
flex-direction: row;
justify-content: space-between;
width: 100%;
align-items: center;
}
.ih-stat b {
font-size: 20px;
}
.ih-stat span {
text-align: right;
}
.ih-stat-sep {
display: block;
width: 100%;
height: 1px;
background: var(--border-s);
}
.ih-section,
.ih-cta-section {
padding: 48px 16px;
}
.ih-steps {
grid-template-columns: 1fr;
gap: 12px;
}
.ih-step {
padding: 20px;
}
.ih-step-chevron {
display: none;
}
.ih-xs-card {
grid-template-columns: 1fr;
padding: 24px 20px;
gap: 24px;
}
.ih-xs-right {
display: none;
}
.ih-xs-name {
font-size: 22px;
}
.ih-feat-grid {
gap: 16px;
}
.ih-feat {
padding: 24px;
flex: 1 1 100%;
}
.ih-pipe-steps {
grid-template-columns: 1fr;
gap: 8px;
}
.ih-pipe-io {
font-size: 12px;
padding: 12px 16px;
}
.ih-cta-box {
padding: 32px 16px;
}
}
@media (max-width: 480px) {
.ih-hero-inner {
padding-top: 10px;
}
.ih-badge {
font-size: 11px;
padding: 4px 12px;
margin-bottom: 16px;
}
.ih-hero-btns {
flex-direction: column;
width: 100%;
gap: 10px;
}
.ih-hero-btns .btn {
width: 100%;
justify-content: center;
}
}