Files
UAS_SIG/assets/css/landing.css
T
2026-06-02 03:16:26 +00:00

657 lines
12 KiB
CSS

body.landing-page {
min-height: 100vh;
overflow-x: hidden;
overflow-y: auto;
color: #102033;
background:
radial-gradient(circle at 12% 10%, rgba(15, 76, 129, 0.14), transparent 34%),
radial-gradient(circle at 88% 18%, rgba(13, 148, 136, 0.13), transparent 32%),
linear-gradient(180deg, #f8fbff 0%, #eef7ff 48%, #f8fafc 100%);
}
.landing-page a { text-decoration: none; }
.landing-nav {
position: sticky;
top: 18px;
z-index: 50;
width: min(1120px, calc(100% - 40px));
margin: 18px auto 0;
padding: 12px 14px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 22px;
border: 1px solid rgba(219, 228, 239, 0.92);
background: rgba(255,255,255,0.78);
backdrop-filter: blur(18px);
border-radius: 999px;
box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}
.landing-brand {
display: flex;
align-items: center;
gap: 11px;
color: #102033;
min-width: 170px;
}
.landing-brand > span {
width: 40px;
height: 40px;
border-radius: 15px;
display: grid;
place-items: center;
color: white;
background: linear-gradient(135deg, #0f4c81, #0d9488);
font-size: 21px;
font-weight: 950;
box-shadow: 0 12px 24px rgba(15, 76, 129, 0.2);
}
.landing-brand b {
font-size: 16px;
letter-spacing: 0.5px;
}
.landing-menu,
.landing-actions,
.hero-buttons {
display: flex;
align-items: center;
gap: 10px;
flex-wrap: wrap;
}
.landing-menu a {
color: #64748b;
font-size: 13px;
font-weight: 850;
padding: 10px 12px;
border-radius: 999px;
}
.landing-menu a:hover {
color: #0f4c81;
background: #eff6ff;
}
.btn-pill,
.cta-primary,
.cta-secondary {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 44px;
padding: 0 20px;
border-radius: 999px;
font-size: 13px;
font-weight: 950;
transition: .2s ease;
}
.btn-pill.solid,
.cta-primary {
color: white;
background: linear-gradient(135deg, #0f4c81, #0d9488);
box-shadow: 0 14px 32px rgba(15, 76, 129, 0.22);
}
.btn-pill.ghost,
.cta-secondary {
color: #0f4c81;
background: rgba(239, 246, 255, 0.9);
border: 1px solid #dbeafe;
}
.btn-pill:hover,
.cta-primary:hover,
.cta-secondary:hover {
transform: translateY(-1px);
}
.landing-toast {
width: min(560px, calc(100% - 40px));
margin: 18px auto 0;
padding: 12px 16px;
border-radius: 18px;
color: #166534;
background: #dcfce7;
border: 1px solid #86efac;
font-size: 13px;
font-weight: 850;
text-align: center;
}
.hero-section,
.landing-section,
.access-section,
.landing-footer {
width: min(1120px, calc(100% - 40px));
margin-left: auto;
margin-right: auto;
}
.hero-section {
min-height: 620px;
padding: 78px 0 54px;
display: grid;
grid-template-columns: 0.92fr 1.08fr;
gap: 64px;
align-items: center;
}
.eyebrow {
display: inline-flex;
align-items: center;
padding: 8px 13px;
margin-bottom: 22px;
border: 1px solid #dbeafe;
color: #0f4c81;
background: rgba(239, 246, 255, 0.78);
border-radius: 999px;
font-size: 12px;
font-weight: 950;
}
.hero-copy h1 {
max-width: 710px;
font-size: clamp(42px, 5.6vw, 72px);
line-height: .98;
letter-spacing: -2.6px;
margin-bottom: 22px;
}
.hero-copy p {
max-width: 560px;
color: #64748b;
font-size: 18px;
line-height: 1.75;
margin-bottom: 32px;
}
.hero-visual {
min-height: 540px;
display: grid;
place-items: center;
}
.map-card {
position: relative;
width: min(100%, 610px);
height: 510px;
overflow: hidden;
border-radius: 38px;
background: linear-gradient(140deg, rgba(219, 234, 254, 0.92), rgba(236, 253, 245, 0.88));
border: 1px solid rgba(226, 232, 240, 0.95);
box-shadow: 0 34px 85px rgba(15, 23, 42, 0.17);
}
.map-grid {
position: absolute;
inset: 0;
opacity: .44;
background-image:
linear-gradient(rgba(15,76,129,.08) 1px, transparent 1px),
linear-gradient(90deg, rgba(15,76,129,.08) 1px, transparent 1px);
background-size: 46px 46px;
}
.map-river {
position: absolute;
left: -12%;
top: 45%;
width: 124%;
height: 92px;
transform: rotate(-9deg);
background: rgba(56,189,248,.34);
border-top: 2px solid rgba(14,165,233,.18);
border-bottom: 2px solid rgba(14,165,233,.18);
}
.map-radius {
position: absolute;
border: 2px solid rgba(37,99,235,.34);
background: rgba(37,99,235,.10);
border-radius: 50%;
}
.r1 { width: 260px; height: 260px; left: 17%; top: 20%; }
.r2 { width: 210px; height: 210px; right: 14%; bottom: 15%; }
.pin {
position: absolute;
width: 26px;
height: 26px;
display: grid;
place-items: center;
border-radius: 50% 50% 50% 0;
transform: rotate(-45deg);
border: 3px solid white;
box-shadow: 0 14px 26px rgba(15,23,42,.22);
font-size: 8px;
font-weight: 950;
color: white;
}
.pin::before {
content: attr(class);
display: none;
}
.pin.ri {
width: 42px;
height: 42px;
background: #2563eb;
}
.pin.ri { transform: rotate(-45deg); }
.pin.ri { color: transparent; }
.pin.ri::after {
content: 'RI';
color: white;
transform: rotate(45deg);
}
.pin.ok { background: #16a34a; }
.pin.wait { background: #f59e0b; }
.pin.danger { background: #dc2626; }
.p1 { left: 32%; top: 36%; }
.p2 { right: 25%; bottom: 27%; }
.p3 { left: 25%; top: 29%; }
.p4 { right: 33%; bottom: 39%; }
.p5 { right: 14%; top: 20%; }
.route {
position: absolute;
left: 31%;
top: 29%;
width: 276px;
height: 214px;
border-left: 5px dashed rgba(124,58,237,.78);
border-bottom: 5px dashed rgba(124,58,237,.78);
border-radius: 0 0 0 82px;
transform: rotate(8deg);
}
.map-stat {
position: absolute;
left: 24px;
bottom: 24px;
width: 156px;
padding: 17px 18px;
border-radius: 24px;
background: rgba(255,255,255,.86);
border: 1px solid rgba(226,232,240,.9);
box-shadow: 0 18px 42px rgba(15,23,42,.12);
backdrop-filter: blur(14px);
}
.map-stat small,
.map-stat b {
display: block;
}
.map-stat small {
color: #64748b;
font-size: 12px;
font-weight: 900;
}
.map-stat b {
color: #0f172a;
margin-top: 4px;
font-size: 32px;
}
.landing-section {
padding: 74px 0 0;
}
.section-heading {
max-width: 660px;
margin: 0 auto 30px;
text-align: center;
}
.section-heading.left {
text-align: left;
margin: 0;
}
.section-heading small,
.access-section small {
color: #0f4c81;
font-size: 12px;
font-weight: 950;
text-transform: uppercase;
letter-spacing: .12em;
}
.section-heading h2,
.access-section h2 {
margin-top: 10px;
color: #0f172a;
font-size: clamp(30px, 3.6vw, 46px);
line-height: 1.08;
letter-spacing: -1.35px;
}
.section-heading p,
.access-section p {
margin-top: 13px;
color: #64748b;
line-height: 1.7;
}
.clean-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 18px;
}
.feature-card {
padding: 26px;
border-radius: 30px;
background: rgba(255,255,255,.86);
border: 1px solid #e2e8f0;
box-shadow: 0 18px 44px rgba(15,23,42,.06);
}
.feature-icon {
width: 48px;
height: 48px;
display: grid;
place-items: center;
border-radius: 18px;
color: white;
font-size: 22px;
font-weight: 950;
margin-bottom: 22px;
}
.blue-icon { background: #2563eb; }
.green-icon { background: #16a34a; }
.red-icon { background: #dc2626; }
.purple-icon { background: #7c3aed; }
.feature-card h3 {
font-size: 18px;
margin-bottom: 10px;
}
.feature-card p {
color: #64748b;
font-size: 14px;
line-height: 1.7;
}
.flow-section {
display: grid;
grid-template-columns: .8fr 1.2fr;
gap: 44px;
align-items: center;
}
.flow-cards {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 14px;
}
.flow-cards article {
min-height: 156px;
padding: 22px;
display: flex;
flex-direction: column;
justify-content: space-between;
border-radius: 28px;
background: white;
border: 1px solid #e2e8f0;
box-shadow: 0 18px 44px rgba(15,23,42,.06);
}
.flow-cards b {
width: 44px;
height: 44px;
display: grid;
place-items: center;
border-radius: 16px;
color: white;
background: linear-gradient(135deg, #0f4c81, #0d9488);
}
.flow-cards span {
color: #0f172a;
font-size: 16px;
font-weight: 900;
line-height: 1.35;
}
.clean-access {
margin-top: 88px;
padding: 46px;
display: grid;
grid-template-columns: 1fr auto;
gap: 28px;
align-items: center;
border-radius: 36px;
color: white;
background: linear-gradient(135deg, #0f4c81, #0d9488);
box-shadow: 0 28px 70px rgba(15,76,129,.22);
}
.clean-access small,
.clean-access h2,
.clean-access p {
color: white;
}
.clean-access p {
max-width: 580px;
opacity: .86;
}
.clean-access .cta-primary {
color: #0f4c81;
background: white;
box-shadow: none;
}
.clean-access .cta-secondary {
color: white;
background: rgba(255,255,255,.12);
border-color: rgba(255,255,255,.24);
}
.landing-footer {
padding: 34px 0 44px;
color: #64748b;
font-size: 13px;
text-align: center;
}
/* Auth pages */
.login-card {
max-width: 420px;
padding: 34px;
}
.login-card h1 {
font-size: 28px;
letter-spacing: -0.6px;
}
.login-card p {
margin-bottom: 18px;
}
.login-back {
display: inline-flex;
margin-bottom: 14px;
color: #0f4c81;
font-weight: 900;
font-size: 13px;
}
@media (max-width: 980px) {
.landing-menu { display: none; }
.hero-section,
.flow-section,
.clean-access {
grid-template-columns: 1fr;
}
.hero-section {
padding-top: 54px;
gap: 36px;
}
.clean-grid,
.flow-cards {
grid-template-columns: repeat(2, 1fr);
}
.clean-access {
padding: 34px;
}
}
@media (max-width: 640px) {
.landing-nav {
top: 10px;
width: min(100% - 24px, 1120px);
border-radius: 26px;
align-items: flex-start;
}
.landing-brand { min-width: auto; }
.landing-actions { justify-content: flex-end; }
.btn-pill { min-height: 38px; padding: 0 14px; }
.hero-section,
.landing-section,
.access-section,
.landing-footer {
width: min(100% - 24px, 1120px);
}
.hero-copy h1 {
font-size: 42px;
letter-spacing: -1.8px;
}
.hero-copy p {
font-size: 16px;
}
.hero-visual { min-height: auto; }
.map-card { height: 360px; border-radius: 30px; }
.clean-grid,
.flow-cards {
grid-template-columns: 1fr;
}
.clean-access {
padding: 28px;
border-radius: 30px;
}
}
.login-card.register-card {
max-width: 560px;
}
/* Final auth refinement */
.login-page {
min-height: 100vh;
overflow-y: auto;
display: grid;
place-items: center;
padding: 32px 18px;
}
.login-card {
width: min(100%, 430px);
max-width: 430px;
background: rgba(255,255,255,.94);
backdrop-filter: blur(18px);
border: 1px solid rgba(219,228,239,.94);
box-shadow: 0 28px 70px rgba(15,23,42,.12);
}
.login-card.register-card {
width: min(100%, 880px);
max-width: 880px;
}
.login-card.register-card form {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 0 16px;
}
.login-card.register-card form > .info-box,
.login-card.register-card form > .role-picker,
.login-card.register-card form > .role-extra,
.login-card.register-card form > .btn {
grid-column: 1 / -1;
}
.role-select-hidden {
position: absolute;
width: 1px;
height: 1px;
opacity: 0;
pointer-events: none;
}
.role-picker {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 10px;
margin: 8px 0 12px;
}
.role-card-option {
text-align: left;
border: 1px solid #dbe4ef;
background: #ffffff;
border-radius: 18px;
padding: 14px;
cursor: pointer;
transition: .18s ease;
min-height: 94px;
}
.role-card-option b,
.role-card-option span {
display: block;
}
.role-card-option b {
color: #0f172a;
font-size: 14px;
margin-bottom: 6px;
}
.role-card-option span {
color: #64748b;
font-size: 12px;
line-height: 1.4;
}
.role-card-option:hover,
.role-card-option.active {
border-color: #0f4c81;
background: #eff6ff;
box-shadow: 0 10px 24px rgba(15, 76, 129, .11);
}
.role-card-option.active b {
color: #0f4c81;
}
@media (max-width: 640px) {
.login-card.register-card form {
display: block;
}
.role-picker {
grid-template-columns: 1fr;
}
}