Files
2026-03-26 15:52:12 +05:30

196 lines
4.5 KiB
CSS

/* ============================================================
HERO — LAYOUT B
Centered, full-width headline. No right-side card.
Email capture inline. Trust logos bar below.
============================================================ */
.hero-b {
background-color: var(--hero-bg);
background-image: var(--hero-gradient);
padding: 8rem 0 6rem;
text-align: center;
position: relative;
overflow: hidden;
transition: background-color 0.4s ease;
}
/* ── Grid lines ────────────────────────────────────────── */
.hero-b::before {
content: '';
position: absolute;
inset: 0;
background-image:
linear-gradient(var(--color-border) 1px, transparent 1px),
linear-gradient(90deg, var(--color-border) 1px, transparent 1px);
background-size: 60px 60px;
opacity: 0.2;
pointer-events: none;
}
.hero-b-inner {
max-width: 780px;
margin: 0 auto;
position: relative;
z-index: 1;
}
/* ── Badge ─────────────────────────────────────────────── */
.hero-b-badge {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.4rem 0.9rem;
background-color: var(--color-primary-soft);
border: 1px solid var(--color-primary);
border-radius: 99px;
font-size: 0.8rem;
font-weight: 600;
color: var(--color-primary);
letter-spacing: 0.04em;
margin-bottom: 2rem;
}
.hero-b-badge-dot {
width: 6px;
height: 6px;
border-radius: 50%;
background-color: var(--color-primary);
animation: pulse-dot 2s ease-in-out infinite;
}
/* ── Headline ──────────────────────────────────────────── */
.hero-b-title {
font-family: var(--font-heading);
font-size: clamp(3rem, 6vw, 5rem);
font-weight: 900;
line-height: 1.05;
color: var(--color-heading);
letter-spacing: -0.035em;
margin-bottom: 1.5rem;
}
.hero-b-title em {
font-style: normal;
color: var(--color-primary);
}
.hero-b-subtitle {
font-size: 1.15rem;
color: var(--color-text-muted);
line-height: 1.75;
max-width: 560px;
margin: 0 auto 2.5rem;
}
/* ── Email capture row ─────────────────────────────────── */
.hero-b-capture {
display: flex;
align-items: center;
gap: 0.75rem;
max-width: 480px;
margin: 0 auto 1.5rem;
background-color: var(--card-bg);
border: 1.5px solid var(--card-border);
border-radius: var(--radius-lg);
padding: 0.4rem 0.4rem 0.4rem 1.1rem;
transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.hero-b-capture:focus-within {
border-color: var(--color-primary);
box-shadow: 0 0 0 3px var(--color-primary-soft);
}
.hero-b-input {
flex: 1;
background: none;
border: none;
outline: none;
font-family: var(--font-body);
font-size: 0.92rem;
color: var(--color-text);
padding: 0.4rem 0;
min-width: 0;
}
.hero-b-input::placeholder {
color: var(--color-text-muted);
}
.hero-b-capture .btn {
flex-shrink: 0;
padding: 0.6rem 1.25rem;
font-size: 0.875rem;
}
.hero-b-note {
font-size: 0.8rem;
color: var(--color-text-muted);
margin-bottom: 3.5rem;
}
/* ── Stats row ─────────────────────────────────────────── */
.hero-b-stats {
display: flex;
align-items: center;
justify-content: center;
gap: 0;
border-top: 1px solid var(--color-border);
padding-top: 3rem;
flex-wrap: wrap;
}
.hero-b-stat {
flex: 1;
min-width: 140px;
padding: 0 2rem;
border-right: 1px solid var(--color-border);
}
.hero-b-stat:last-child {
border-right: none;
}
.hero-b-stat-value {
font-family: var(--font-heading);
font-size: 2rem;
font-weight: 900;
color: var(--color-primary);
line-height: 1;
margin-bottom: 0.35rem;
}
.hero-b-stat-label {
font-size: 0.8rem;
color: var(--color-text-muted);
font-weight: 500;
}
/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 600px) {
.hero-b-capture {
flex-direction: column;
padding: 0.75rem;
border-radius: var(--radius-md);
}
.hero-b-input {
width: 100%;
text-align: center;
}
.hero-b-capture .btn {
width: 100%;
justify-content: center;
}
.hero-b-stats {
gap: 1.5rem;
}
.hero-b-stat {
border-right: none;
min-width: 100px;
}
}