245 lines
5.4 KiB
CSS
245 lines
5.4 KiB
CSS
/* ============================================================
|
|
HERO — LAYOUT C
|
|
Asymmetric 60/40. Left: large headline + feature pill list.
|
|
Right: stacked notification-style cards. Bold & editorial.
|
|
============================================================ */
|
|
|
|
.hero-c {
|
|
background-color: var(--hero-bg);
|
|
background-image: var(--hero-gradient);
|
|
padding: 6rem 0 5rem;
|
|
position: relative;
|
|
overflow: hidden;
|
|
transition: background-color 0.4s ease;
|
|
}
|
|
|
|
/* ── Decorative large bg text ──────────────────────────── */
|
|
.hero-c::after {
|
|
content: 'HERO';
|
|
position: absolute;
|
|
bottom: -2rem;
|
|
right: -1rem;
|
|
font-family: var(--font-heading);
|
|
font-size: clamp(8rem, 16vw, 14rem);
|
|
font-weight: 900;
|
|
color: var(--color-primary);
|
|
opacity: 0.03;
|
|
line-height: 1;
|
|
pointer-events: none;
|
|
user-select: none;
|
|
letter-spacing: -0.05em;
|
|
}
|
|
|
|
.hero-c-inner {
|
|
display: grid;
|
|
grid-template-columns: 3fr 2fr;
|
|
gap: 4rem;
|
|
align-items: center;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
/* ── Left: content ─────────────────────────────────────── */
|
|
.hero-c-content {}
|
|
|
|
.hero-c-eyebrow {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.hero-c-eyebrow-line {
|
|
width: 32px;
|
|
height: 2px;
|
|
background-color: var(--color-primary);
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.hero-c-eyebrow-text {
|
|
font-size: 0.78rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.12em;
|
|
text-transform: uppercase;
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
.hero-c-title {
|
|
font-family: var(--font-heading);
|
|
font-size: clamp(2.8rem, 5.5vw, 4.5rem);
|
|
font-weight: 900;
|
|
line-height: 1.05;
|
|
color: var(--color-heading);
|
|
letter-spacing: -0.035em;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.hero-c-title em {
|
|
font-style: normal;
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
.hero-c-subtitle {
|
|
font-size: 1.05rem;
|
|
color: var(--color-text-muted);
|
|
line-height: 1.75;
|
|
max-width: 480px;
|
|
margin-bottom: 2.5rem;
|
|
}
|
|
|
|
/* ── Feature pill list ─────────────────────────────────── */
|
|
.hero-c-features {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.6rem;
|
|
margin-bottom: 2.5rem;
|
|
}
|
|
|
|
.hero-c-feature {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
font-size: 0.92rem;
|
|
color: var(--color-text);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.hero-c-feature-check {
|
|
width: 20px;
|
|
height: 20px;
|
|
border-radius: 50%;
|
|
background-color: var(--color-primary-soft);
|
|
border: 1.5px solid var(--color-primary);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
|
|
.hero-c-feature-check svg {
|
|
width: 10px;
|
|
height: 10px;
|
|
stroke: var(--color-primary);
|
|
fill: none;
|
|
stroke-width: 3;
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
transition: stroke 0.3s ease;
|
|
}
|
|
|
|
.hero-c-feature:hover .hero-c-feature-check {
|
|
background-color: var(--color-primary);
|
|
}
|
|
|
|
.hero-c-feature:hover .hero-c-feature-check svg {
|
|
stroke: var(--color-btn-text);
|
|
}
|
|
|
|
/* ── Actions ───────────────────────────────────────────── */
|
|
.hero-c-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
/* ── Right: notification cards stack ──────────────────── */
|
|
.hero-c-visual {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.85rem;
|
|
position: relative;
|
|
}
|
|
|
|
.hero-c-notif {
|
|
background-color: var(--card-bg);
|
|
border: 1px solid var(--card-border);
|
|
border-radius: var(--radius-lg);
|
|
padding: 1rem 1.25rem;
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 0.85rem;
|
|
transition: border-color 0.3s ease, transform 0.3s ease;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.hero-c-notif::before {
|
|
content: '';
|
|
position: absolute;
|
|
left: 0; top: 0; bottom: 0;
|
|
width: 3px;
|
|
background-color: var(--color-primary);
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
.hero-c-notif:hover {
|
|
border-color: var(--card-hover-border);
|
|
transform: translateX(4px);
|
|
}
|
|
|
|
.hero-c-notif:hover::before {
|
|
opacity: 1;
|
|
}
|
|
|
|
/* Offset cards for depth */
|
|
.hero-c-notif:nth-child(2) { margin-left: 1.5rem; }
|
|
.hero-c-notif:nth-child(3) { margin-left: 0.75rem; }
|
|
.hero-c-notif:nth-child(4) { margin-left: 2rem; }
|
|
|
|
.hero-c-notif-icon {
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: var(--radius-md);
|
|
background-color: var(--color-primary-soft);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
font-size: 1rem;
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
|
|
.hero-c-notif:hover .hero-c-notif-icon {
|
|
background-color: var(--color-primary);
|
|
}
|
|
|
|
.hero-c-notif-body {}
|
|
|
|
.hero-c-notif-title {
|
|
font-size: 0.85rem;
|
|
font-weight: 700;
|
|
color: var(--color-heading);
|
|
margin-bottom: 0.15rem;
|
|
}
|
|
|
|
.hero-c-notif-text {
|
|
font-size: 0.78rem;
|
|
color: var(--color-text-muted);
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.hero-c-notif-time {
|
|
font-size: 0.7rem;
|
|
color: var(--color-text-muted);
|
|
margin-left: auto;
|
|
flex-shrink: 0;
|
|
padding-top: 2px;
|
|
}
|
|
|
|
/* ── Responsive ─────────────────────────────────────────── */
|
|
@media (max-width: 900px) {
|
|
.hero-c-inner {
|
|
grid-template-columns: 1fr;
|
|
gap: 3rem;
|
|
}
|
|
|
|
.hero-c-notif:nth-child(2),
|
|
.hero-c-notif:nth-child(3),
|
|
.hero-c-notif:nth-child(4) {
|
|
margin-left: 0;
|
|
}
|
|
}
|