:root {
    --bg-color: #050810;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-primary: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.4);
    --card-bg: rgba(30, 41, 59, 0.4);
    --card-border: rgba(148, 163, 184, 0.1);
    --card-hover-bg: rgba(51, 65, 85, 0.6);
    --success-green: #10b981;
    --transition-speed: 0.3s;
}

/* Service Colors (Deprioritized but kept for potential future use) */
:root {
    --nextcloud-color: #0082c9;
    --immich-color: #ff9d00;
    --mailcow-color: #56a3e2;
    --gitea-color: #609926;
    --authentik-color: #fd4b2d;
    --portainer-color: #13beff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Background Glow */
.glow-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: 
        radial-gradient(circle at 10% 10%, rgba(59, 130, 246, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(139, 92, 246, 0.05) 0%, transparent 40%);
}

/* Header & Hero */
header {
    padding: 6rem 0 2rem;
    text-align: center;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(30, 41, 59, 0.6);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--card-border);
    margin-bottom: 2rem;
    font-size: 0.85rem;
    font-weight: 500;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--success-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--success-green);
}

.pulsing {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

h1 {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 1rem;
    background: linear-gradient(to bottom, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h1 span {
    color: var(--accent-primary);
    -webkit-text-fill-color: var(--accent-primary);
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
}

/* CTA Section */
.cta-section {
    padding: 2rem 0 6rem;
    text-align: center;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--accent-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.6);
    filter: brightness(1.1);
}

.cta-button i {
    width: 20px;
    height: 20px;
}

/* Infrastructure Section */
.infra-details {
    padding: 0 0 6rem;
}

.infra-card {
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 3rem;
    backdrop-filter: blur(10px);
}

.infra-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.infra-header i {
    color: var(--accent-primary);
    width: 32px;
    height: 32px;
}

.infra-header h2 {
    font-size: 1.75rem;
    font-weight: 600;
}

.infra-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat .label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

.stat .value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--card-border);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

footer p {
    color: var(--text-secondary);
}

footer a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: all var(--transition-speed);
}

footer a:hover {
    color: var(--accent-primary);
    border-bottom-color: var(--accent-primary);
}

.copyright {
    font-size: 0.85rem;
    color: #475569;
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    header { padding: 4rem 0 2rem; }
    .infra-card { padding: 2rem; }
    .cta-section { padding: 1rem 0 4rem; }
}
