Files
Media.JoshHeaps.Net/Media.JoshHeaps.Net/wwwroot/css/landing.css
T
2026-01-02 17:13:39 -07:00

345 lines
6.0 KiB
CSS

/* Landing Page Styles */
.landing-wrapper {
min-height: 100vh;
background: var(--bg-primary);
display: flex;
align-items: center;
justify-content: center;
padding: 2rem;
}
.landing-container {
width: 100%;
max-width: 1000px;
margin: 0 auto;
}
/* Header Section */
.landing-header {
text-align: center;
margin-bottom: 4rem;
}
.logo-area {
display: flex;
flex-direction: column;
align-items: center;
gap: 1rem;
}
.logo-circle {
width: 72px;
height: 72px;
background: linear-gradient(135deg, var(--accent-primary), #3d8bdb);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 0.5rem;
box-shadow: 0 4px 12px rgba(88, 166, 255, 0.3);
}
.logo-circle svg {
width: 36px;
height: 36px;
color: white;
}
.landing-header h1 {
font-size: 2.75rem;
font-weight: 700;
color: var(--text-primary);
margin: 0;
letter-spacing: -0.02em;
}
.landing-header .subtitle {
font-size: 1.125rem;
color: var(--text-secondary);
margin: 0;
font-weight: 400;
}
/* Cards Grid */
.cards-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 1.5rem;
margin-bottom: 3rem;
}
/* Card Styles */
.landing-card {
background: var(--bg-secondary);
border: 1px solid var(--border-primary);
border-radius: 16px;
padding: 0;
text-decoration: none;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
display: flex;
flex-direction: column;
position: relative;
overflow: hidden;
min-height: 280px;
}
.landing-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(135deg,
rgba(88, 166, 255, 0.05) 0%,
rgba(88, 166, 255, 0) 50%);
opacity: 0;
transition: opacity 0.3s ease;
pointer-events: none;
}
.landing-card:hover {
transform: translateY(-4px);
border-color: var(--accent-primary);
box-shadow:
0 12px 24px -10px rgba(88, 166, 255, 0.2),
0 0 0 1px var(--accent-primary);
}
.landing-card:hover::before {
opacity: 1;
}
.landing-card:active {
transform: translateY(-2px);
}
/* Card Content */
.card-content {
padding: 2rem;
flex: 1;
display: flex;
flex-direction: column;
gap: 1.25rem;
}
.card-icon-wrapper {
display: flex;
align-items: center;
justify-content: flex-start;
}
.card-icon {
width: 56px;
height: 56px;
background: linear-gradient(135deg,
rgba(88, 166, 255, 0.15),
rgba(88, 166, 255, 0.05));
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
color: var(--accent-primary);
transition: all 0.3s ease;
}
.landing-card:hover .card-icon {
transform: scale(1.05);
background: linear-gradient(135deg,
rgba(88, 166, 255, 0.2),
rgba(88, 166, 255, 0.1));
}
.card-icon svg {
width: 28px;
height: 28px;
}
.card-text {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.landing-card h2 {
font-size: 1.5rem;
font-weight: 600;
color: var(--text-primary);
margin: 0;
letter-spacing: -0.01em;
}
.card-description {
font-size: 0.9375rem;
color: var(--text-secondary);
line-height: 1.6;
margin: 0;
}
/* Card Footer */
.card-footer {
padding: 1.25rem 2rem;
border-top: 1px solid var(--border-primary);
display: flex;
align-items: center;
justify-content: space-between;
background: rgba(88, 166, 255, 0.02);
transition: background 0.3s ease;
}
.landing-card:hover .card-footer {
background: rgba(88, 166, 255, 0.05);
}
.card-link-text {
font-size: 0.875rem;
font-weight: 500;
color: var(--accent-primary);
transition: color 0.2s ease;
}
.landing-card:hover .card-link-text {
color: var(--accent-hover);
}
.card-arrow {
width: 20px;
height: 20px;
color: var(--accent-primary);
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
}
.landing-card:hover .card-arrow {
transform: translateX(4px);
color: var(--accent-hover);
}
.card-arrow svg {
width: 100%;
height: 100%;
}
/* Footer */
.landing-footer {
text-align: center;
padding-top: 2rem;
border-top: 1px solid var(--border-primary);
display: flex;
align-items: center;
justify-content: center;
gap: 1rem;
}
.footer-link {
color: var(--text-secondary);
text-decoration: none;
font-size: 0.875rem;
transition: color 0.2s ease;
}
.footer-link:hover {
color: var(--accent-primary);
}
.footer-separator {
color: var(--border-primary);
font-size: 0.875rem;
}
/* Responsive Design */
@media (max-width: 768px) {
.landing-wrapper {
padding: 1.5rem;
}
.landing-header {
margin-bottom: 3rem;
}
.logo-circle {
width: 64px;
height: 64px;
}
.logo-circle svg {
width: 32px;
height: 32px;
}
.landing-header h1 {
font-size: 2.25rem;
}
.landing-header .subtitle {
font-size: 1rem;
}
.cards-grid {
grid-template-columns: 1fr;
gap: 1.25rem;
margin-bottom: 2.5rem;
}
.landing-card {
min-height: 260px;
}
.card-content {
padding: 1.75rem;
}
.card-icon {
width: 48px;
height: 48px;
}
.card-icon svg {
width: 24px;
height: 24px;
}
.landing-card h2 {
font-size: 1.375rem;
}
.card-footer {
padding: 1rem 1.75rem;
}
}
@media (max-width: 480px) {
.landing-wrapper {
padding: 1rem;
}
.landing-header {
margin-bottom: 2.5rem;
}
.logo-circle {
width: 56px;
height: 56px;
}
.logo-circle svg {
width: 28px;
height: 28px;
}
.landing-header h1 {
font-size: 1.875rem;
}
.card-content {
padding: 1.5rem;
}
.card-footer {
padding: 1rem 1.5rem;
}
}