HondaVert/src/components/MapSensor.module.css
2026-03-27 22:04:14 +05:30

180 lines
5.4 KiB
CSS

.wrapper {
background-color: var(--neutral);
min-height: 100vh;
}
.container {
max-width: 1400px;
width: 100%;
margin: 0 auto;
padding: 0 4rem;
}
/* 1. HERO */
.hero {
position: relative;
min-height: 80vh;
display: flex;
align-items: center;
overflow: hidden;
padding-top: 100px;
}
.bgWrapper {
position: absolute;
inset: 0;
z-index: 1;
}
.heroImg {
object-fit: contain;
filter: saturate(0.5) contrast(1.1) brightness(0.6);
}
.heroOverlay {
position: absolute;
inset: 0;
background: linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 100%);
z-index: 2;
}
.heroGrid {
position: relative;
z-index: 3;
display: grid;
grid-template-columns: 1.5fr 1fr;
gap: 5rem;
align-items: center;
}
.heroLabel {
font-size: 0.65rem;
font-weight: 900;
color: #555;
letter-spacing: 0.2rem;
display: block;
margin-bottom: 2rem;
}
.heroTitle {
font-size: clamp(4rem, 8vw, 6.5rem);
font-weight: 900;
line-height: 0.85;
letter-spacing: -0.05em;
margin-bottom: 2.5rem;
text-transform: uppercase;
}
.red { color: var(--primary); font-style: italic; }
.heroDesc {
font-size: 1.1rem;
color: #888;
line-height: 1.6;
margin-bottom: 3.5rem;
max-width: 600px;
}
.heroActions { display: flex; gap: 1rem; }
.primaryBtn {
background-color: var(--primary);
padding: 1.2rem 2.2rem;
border-radius: 4px;
font-size: 0.7rem;
font-weight: 900;
letter-spacing: 0.1em;
color: #fff;
display: flex;
align-items: center;
gap: 1.2rem;
cursor: pointer;
border: none;
}
.secondaryBtn {
background-color: rgba(255, 255, 255, 0.02);
border: 1px solid var(--border);
padding: 1.2rem 2.2rem;
border-radius: 4px;
font-size: 0.7rem;
font-weight: 900;
letter-spacing: 0.1em;
color: #fff;
display: flex;
align-items: center;
gap: 1.2rem;
cursor: pointer;
}
.specBox {
background-color: rgba(18, 18, 18, 0.4);
border: 1px solid rgba(255, 255, 255, 0.05);
backdrop-filter: blur(10px);
padding: 3rem;
width: 100%;
max-width: 400px;
border-radius: 4px;
position: relative;
overflow: hidden;
}
.progressLine {
position: absolute;
top: 0; left: 0; width: 60%;
height: 2px;
background-color: var(--primary);
}
.specItem { margin-bottom: 2.5rem; }
.specItem:last-child { margin-bottom: 0; }
.specLabel {
font-size: 0.55rem;
font-weight: 900;
color: #444;
letter-spacing: 0.1em;
display: block;
margin-bottom: 0.8rem;
}
.specItem h3 { font-size: 1.3rem; font-weight: 900; font-style: italic; }
/* 2. OVERVIEW */
.overview { padding: 120px 0; background-color: var(--neutral); }
.overviewGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8rem; align-items: center; }
.overviewContent h2 { font-size: 3rem; font-weight: 900; letter-spacing: -0.05em; margin-bottom: 3rem; line-height: 0.9; text-transform: uppercase; }
.featuresGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem 4rem; }
.featureItem { display: flex; flex-direction: column; gap: 1.2rem; }
.fIcon { width: 32px; height: 32px; color: var(--primary); }
.featureItem h3 { font-size: 0.85rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.1em; }
.featureItem p { font-size: 0.75rem; color: #777; line-height: 1.5; font-weight: 500; }
.hwImg { width: 100%; height: auto; border-radius: 4px; filter: saturate(0.8) contrast(1.1); }
/* 3. CALIBRATION (COMPATIBILITY FORMAT) */
.calibration { padding: 120px 0; background-color: var(--secondary); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.compGrid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 4rem; align-items: start; }
.compBox { background-color: var(--neutral); border: 1px solid var(--border); padding: 4rem; border-radius: 4px; width: 100%; height: 100%; }
.compBox h2 { font-size: 1.2rem; font-weight: 900; margin-bottom: 3.5rem; border-bottom: 1px solid var(--border); padding-bottom: 1.2rem; letter-spacing: 0.05em; text-align: center; }
.graphContainer { width: 100%; display: flex; align-items: center; justify-content: center; background-color: #fff; padding: 1.5rem; border-radius: 4px; border: 1px solid rgba(255,255,255,0.1); }
.graphImg { width: 100%; height: auto; object-fit: contain; }
.vList { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 3rem; }
.vItem { display: flex; justify-content: space-between; font-size: 1rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(255, 255, 255, 0.03); align-items: center; }
.vTag { font-family: monospace; color: var(--primary); font-weight: 900; font-size: 1.5rem; text-transform: uppercase; }
.note { display: flex; gap: 1rem; color: var(--primary); font-size: 0.85rem; margin-top: 2rem; font-weight: 700; opacity: 0.8; line-height: 1.6; }
.ecuSupported { margin-top: 2.5rem; background-color: rgba(255,255,255,0.02); padding: 2rem; border-radius: 4px; border: 1px solid var(--border); text-align: center; }
.ecuRow { display: flex; flex-direction: column; gap: 1rem; }
.ecuRegion { font-size: 0.75rem; font-weight: 900; color: var(--primary); letter-spacing: 0.1em; }
.ecuVer { font-size: 0.9rem; color: #bbb; line-height: 1.6; }
@media (max-width: 1024px) {
.heroGrid, .overviewGrid { grid-template-columns: 1fr; gap: 4rem; }
.featuresGrid { grid-template-columns: 1fr; }
}