Files

481 lines
9.9 KiB
CSS

/* ============================================================
Portal WebGIS — Landing Page
============================================================ */
:root {
--bg-dark: #0a0e17;
--bg-card: #121826;
--bg-card-hover: #181f30;
--border: rgba(255, 255, 255, 0.07);
--border-hover: rgba(255, 255, 255, 0.14);
--text-primary: #f1f5f9;
--text-secondary:#94a3b8;
--text-muted: #64748b;
--accent-orange: #f97316;
--accent-indigo: #6366f1;
--accent-purple: #a855f7;
--radius-lg: 16px;
--radius-md: 10px;
--shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}
*, *::before, *::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', sans-serif;
background: var(--bg-dark);
color: var(--text-primary);
min-height: 100vh;
display: flex;
flex-direction: column;
position: relative;
overflow-x: hidden;
}
/* ── Background effects ── */
.bg-grid {
position: fixed;
inset: 0;
background-image:
linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
background-size: 48px 48px;
pointer-events: none;
z-index: 0;
}
.bg-glow {
position: fixed;
border-radius: 50%;
filter: blur(120px);
pointer-events: none;
z-index: 0;
}
.bg-glow-1 {
width: 600px;
height: 600px;
background: rgba(99, 102, 241, 0.12);
top: -200px;
right: -100px;
}
.bg-glow-2 {
width: 500px;
height: 500px;
background: rgba(168, 85, 247, 0.08);
bottom: -150px;
left: -100px;
}
/* ── Header ── */
.site-header {
position: relative;
z-index: 10;
display: flex;
align-items: center;
justify-content: space-between;
padding: 20px 40px;
border-bottom: 1px solid var(--border);
backdrop-filter: blur(12px);
background: rgba(10, 14, 23, 0.8);
}
.logo {
display: flex;
align-items: center;
gap: 12px;
}
.logo-icon {
font-size: 28px;
}
.logo strong {
display: block;
font-size: 15px;
font-weight: 700;
letter-spacing: -0.02em;
}
.logo span {
font-size: 12px;
color: var(--text-muted);
}
.header-badge {
display: flex;
align-items: center;
gap: 8px;
font-size: 12px;
color: var(--text-secondary);
background: rgba(255, 255, 255, 0.04);
border: 1px solid var(--border);
padding: 6px 14px;
border-radius: 999px;
}
.pulse-dot {
width: 7px;
height: 7px;
border-radius: 50%;
background: #22c55e;
box-shadow: 0 0 8px #22c55e;
animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
0%, 100% { opacity: 1; transform: scale(1); }
50% { opacity: 0.6; transform: scale(0.85); }
}
/* ── Main ── */
main {
position: relative;
z-index: 10;
flex: 1;
max-width: 1100px;
width: 100%;
margin: 0 auto;
padding: 48px 24px 64px;
}
/* ── Hero ── */
.hero {
text-align: center;
margin-bottom: 48px;
}
.hero-label {
display: inline-block;
font-size: 12px;
font-weight: 600;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--accent-indigo);
background: rgba(99, 102, 241, 0.12);
border: 1px solid rgba(99, 102, 241, 0.25);
padding: 4px 14px;
border-radius: 999px;
margin-bottom: 20px;
}
.hero h1 {
font-size: clamp(2rem, 5vw, 3rem);
font-weight: 800;
line-height: 1.15;
letter-spacing: -0.03em;
margin-bottom: 16px;
}
.gradient-text {
background: linear-gradient(135deg, #818cf8, #a855f7, #f97316);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.hero-desc {
font-size: 15px;
color: var(--text-secondary);
max-width: 560px;
margin: 0 auto;
line-height: 1.7;
}
/* ── Cards Grid ── */
.cards-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
margin-bottom: 40px;
}
.project-card {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
padding: 28px;
display: flex;
flex-direction: column;
gap: 14px;
transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
position: relative;
overflow: hidden;
}
.project-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 3px;
border-radius: var(--radius-lg) var(--radius-lg) 0 0;
opacity: 0.8;
}
.project-card[data-accent="orange"]::before { background: linear-gradient(90deg, var(--accent-orange), #fb923c); }
.project-card[data-accent="indigo"]::before { background: linear-gradient(90deg, var(--accent-indigo), #818cf8); }
.project-card[data-accent="purple"]::before { background: linear-gradient(90deg, var(--accent-purple), #c084fc); }
.project-card:hover {
transform: translateY(-4px);
border-color: var(--border-hover);
box-shadow: var(--shadow);
background: var(--bg-card-hover);
}
.card-wide {
grid-column: 1 / -1;
}
.card-top {
display: flex;
align-items: center;
justify-content: space-between;
}
.card-icon {
font-size: 32px;
line-height: 1;
}
.card-tag {
font-size: 11px;
font-weight: 600;
letter-spacing: 0.04em;
text-transform: uppercase;
color: var(--text-muted);
background: rgba(255, 255, 255, 0.04);
border: 1px solid var(--border);
padding: 3px 10px;
border-radius: 999px;
}
.project-card h2 {
font-size: 18px;
font-weight: 700;
letter-spacing: -0.02em;
}
.project-card > p {
font-size: 13.5px;
color: var(--text-secondary);
line-height: 1.65;
}
.card-features {
list-style: none;
display: flex;
flex-direction: column;
gap: 6px;
flex: 1;
}
.card-features li {
font-size: 12.5px;
color: var(--text-muted);
padding-left: 16px;
position: relative;
}
.card-features li::before {
content: '✓';
position: absolute;
left: 0;
font-size: 11px;
font-weight: 700;
}
.project-card[data-accent="orange"] .card-features li::before { color: var(--accent-orange); }
.project-card[data-accent="indigo"] .card-features li::before { color: var(--accent-indigo); }
.project-card[data-accent="purple"] .card-features li::before { color: var(--accent-purple); }
.card-footer {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin-top: 4px;
padding-top: 16px;
border-top: 1px solid var(--border);
}
.card-footer-multi {
flex-wrap: wrap;
}
.tech-stack {
font-size: 11px;
color: var(--text-muted);
font-weight: 500;
}
.btn-primary,
.btn-secondary {
display: inline-flex;
align-items: center;
gap: 6px;
font-size: 13px;
font-weight: 600;
text-decoration: none;
border-radius: var(--radius-md);
padding: 9px 16px;
transition: all 0.2s ease;
white-space: nowrap;
}
.btn-primary {
color: #fff;
background: linear-gradient(135deg, #6366f1, #8b5cf6);
border: none;
box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}
.btn-primary:hover {
transform: translateY(-1px);
box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}
.project-card[data-accent="orange"] .btn-primary {
background: linear-gradient(135deg, #ea580c, #f97316);
box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
}
.project-card[data-accent="orange"] .btn-primary:hover {
box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5);
}
.project-card[data-accent="indigo"] .btn-primary {
background: linear-gradient(135deg, #4f46e5, #6366f1);
box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}
.project-card[data-accent="indigo"] .btn-primary:hover {
box-shadow: 0 6px 20px rgba(79, 70, 229, 0.5);
}
.project-card[data-accent="purple"] .btn-primary {
background: linear-gradient(135deg, #7c3aed, #a855f7);
box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
}
.project-card[data-accent="purple"] .btn-primary:hover {
box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5);
}
.btn-secondary {
color: var(--text-secondary);
background: rgba(255, 255, 255, 0.04);
border: 1px solid var(--border);
}
.btn-secondary:hover {
color: var(--text-primary);
border-color: var(--border-hover);
background: rgba(255, 255, 255, 0.08);
}
.btn-group {
display: flex;
align-items: center;
gap: 8px;
flex-wrap: wrap;
}
/* ── Info Bar ── */
.info-bar {
display: flex;
align-items: center;
justify-content: center;
gap: 0;
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
padding: 20px 32px;
flex-wrap: wrap;
gap: 8px 0;
}
.info-item {
display: flex;
flex-direction: column;
align-items: center;
gap: 2px;
padding: 0 28px;
}
.info-num {
font-size: 15px;
font-weight: 700;
color: var(--text-primary);
}
.info-label {
font-size: 11px;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.06em;
}
.info-divider {
width: 1px;
height: 36px;
background: var(--border);
}
/* ── Footer ── */
.site-footer {
position: relative;
z-index: 10;
text-align: center;
padding: 20px;
border-top: 1px solid var(--border);
font-size: 12px;
color: var(--text-muted);
}
/* ── Responsive ── */
@media (max-width: 768px) {
.site-header {
padding: 16px 20px;
flex-direction: column;
gap: 12px;
align-items: flex-start;
}
main {
padding: 32px 16px 48px;
}
.cards-grid {
grid-template-columns: 1fr;
}
.card-wide {
grid-column: auto;
}
.card-footer {
flex-direction: column;
align-items: flex-start;
}
.info-bar {
padding: 16px;
}
.info-item {
padding: 8px 16px;
}
.info-divider {
display: none;
}
}