railwayka-landing/style.css

300 lines
5.3 KiB
CSS

/* Reset and base styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--bg-dark: #0a0e17;
--bg-card: #1a1f2e;
--bg-card-hover: #252a3a;
--text-primary: #e0e6ed;
--text-secondary: #9ca3af;
--accent: #3b82f6;
--accent-hover: #2563eb;
--rust: #f74c00;
--border: #2d3748;
--success: #10b981;
--planned: #6366f1;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
background: var(--bg-dark);
color: var(--text-primary);
line-height: 1.6;
min-height: 100vh;
}
/* Loading screen */
#loading {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: var(--bg-dark);
display: flex;
align-items: center;
justify-content: center;
z-index: 9999;
}
.loader {
font-size: 1.2rem;
color: var(--text-secondary);
animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
0%, 100% { opacity: 0.5; }
50% { opacity: 1; }
}
.error {
padding: 2rem;
text-align: center;
color: var(--rust);
}
/* Container */
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
}
/* Hero Section */
.hero {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
background: linear-gradient(135deg, #0a0e17 0%, #1a1f2e 100%);
position: relative;
overflow: hidden;
}
.hero::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
}
.hero .container {
position: relative;
z-index: 1;
}
.hero-title {
font-size: clamp(3rem, 8vw, 6rem);
font-weight: 700;
margin-bottom: 1rem;
background: linear-gradient(135deg, var(--accent) 0%, var(--planned) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.hero-subtitle {
font-size: clamp(1.2rem, 3vw, 1.5rem);
color: var(--text-secondary);
margin-bottom: 2rem;
max-width: 600px;
margin-left: auto;
margin-right: auto;
}
.hero-badge {
display: inline-block;
padding: 0.75rem 1.5rem;
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 2rem;
font-size: 1rem;
color: var(--text-primary);
animation: float 3s ease-in-out infinite;
}
@keyframes float {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-10px); }
}
/* Section Styles */
section {
padding: 5rem 0;
}
.section-title {
font-size: 2.5rem;
margin-bottom: 3rem;
text-align: center;
color: var(--text-primary);
}
/* Services Section */
.services {
background: var(--bg-dark);
}
.services-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 1.5rem;
}
.service-card {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 0.75rem;
padding: 1.5rem;
transition: all 0.3s ease;
text-decoration: none;
color: inherit;
display: block;
}
.service-card:hover {
background: var(--bg-card-hover);
border-color: var(--accent);
transform: translateY(-4px);
box-shadow: 0 10px 25px rgba(59, 130, 246, 0.2);
}
.service-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 0.75rem;
}
.service-card h3 {
font-size: 1.25rem;
color: var(--text-primary);
flex: 1;
}
.status-badge {
font-size: 1.5rem;
flex-shrink: 0;
margin-left: 0.5rem;
}
.service-description {
color: var(--text-secondary);
font-size: 0.95rem;
line-height: 1.6;
}
/* Tech Section */
.tech {
background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-card) 100%);
}
.tech-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
}
.tech-item {
text-align: center;
padding: 2rem 1rem;
}
.tech-item h3 {
font-size: 1.5rem;
margin-bottom: 0.75rem;
color: var(--accent);
}
.tech-item p {
color: var(--text-secondary);
font-size: 0.95rem;
}
/* Footer */
.footer {
background: var(--bg-card);
border-top: 1px solid var(--border);
padding: 3rem 0;
text-align: center;
}
.footer p {
color: var(--text-secondary);
margin-bottom: 1.5rem;
}
.rust-love {
color: var(--rust);
font-weight: 600;
}
.footer-links {
display: flex;
justify-content: center;
gap: 2rem;
flex-wrap: wrap;
}
.footer-links a {
color: var(--accent);
text-decoration: none;
transition: color 0.3s ease;
font-size: 0.95rem;
}
.footer-links a:hover {
color: var(--accent-hover);
text-decoration: underline;
}
/* Responsive adjustments */
@media (max-width: 768px) {
.container {
padding: 0 1.5rem;
}
section {
padding: 3rem 0;
}
.services-grid,
.tech-grid {
grid-template-columns: 1fr;
}
.hero {
min-height: 80vh;
}
.footer-links {
flex-direction: column;
gap: 1rem;
}
}
/* Smooth scrolling */
html {
scroll-behavior: smooth;
}
/* Selection color */
::selection {
background: var(--accent);
color: white;
}
::-moz-selection {
background: var(--accent);
color: white;
}