:root {
    --primary-bg: #1a1d23;
    --secondary-bg: #242831;
    --card-bg: #2d3139;
    --accent-blue: #4fc3f7;
    --accent-green: #66bb6a;
    --accent-orange: #ffb74d;
    --accent-red: #ef5350;
    --accent-gold: #ffd700;
    --accent-purple: #ab47bc;
    --text-primary: #ffffff;
    --text-secondary: #b0bec5;
    --text-muted: #78909c;
    --border-subtle: #37414b;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-lifted: 0 8px 32px rgba(0, 0, 0, 0.4);
    --glow-blue: rgba(79, 195, 247, 0.3);
    --glow-green: rgba(102, 187, 106, 0.3);
    --glow-gold: rgba(255, 215, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.1;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    filter: blur(1px);
}

.shape-1 {
    width: 60px;
    height: 60px;
    background: var(--accent-blue);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 80px;
    height: 80px;
    background: var(--accent-green);
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 40px;
    height: 40px;
    background: var(--accent-gold);
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Header */
.header {
    background: rgba(45, 49, 57, 0.8);
    backdrop-filter: blur(20px);
    padding: 24px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-subtle);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    margin-bottom: 8px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(45deg, var(--accent-blue), var(--accent-green));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 16px rgba(79, 195, 247, 0.3);
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 4px 16px rgba(79, 195, 247, 0.3); }
    50% { box-shadow: 0 8px 32px rgba(79, 195, 247, 0.6); }
}

.title {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(45deg, var(--accent-blue), var(--accent-green), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.subtitle {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 8px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 24px;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(45deg, var(--text-primary), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-description {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 48px;
    line-height: 1.6;
}

/* Services Grid */
.services {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 32px;
    border: 1px solid var(--border-subtle);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(79, 195, 247, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lifted);
    border-color: var(--accent-blue);
}

.service-card.servers:hover {
    box-shadow: 0 8px 32px var(--glow-blue);
    border-color: var(--accent-blue);
}

.service-card.train:hover {
    box-shadow: 0 8px 32px var(--glow-green);
    border-color: var(--accent-green);
}

.service-card.soon:hover {
    box-shadow: 0 8px 32px var(--glow-gold);
    border-color: var(--accent-gold);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.service-card.servers .service-icon {
    background: linear-gradient(45deg, var(--accent-blue), rgba(79, 195, 247, 0.8));
    box-shadow: 0 4px 20px rgba(79, 195, 247, 0.4);
}

.service-card.train .service-icon {
    background: linear-gradient(45deg, var(--accent-green), rgba(102, 187, 106, 0.8));
    box-shadow: 0 4px 20px rgba(102, 187, 106, 0.4);
}

.service-card.soon .service-icon {
    background: linear-gradient(45deg, var(--accent-gold), rgba(255, 183, 77, 0.8));
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
}


.service-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
}

.service-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.service-features {
    list-style: none;
    position: relative;
    z-index: 2;
}

.service-features li {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-features li::before {
    content: '→';
    color: var(--accent-blue);
    font-weight: bold;
    font-size: 16px;
}

.service-card.train .service-features li::before {
    color: var(--accent-green);
}

.service-card.soon .service-features li::before {
    color: var(--accent-gold);
}

.service-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(79, 195, 247, 0.2);
    color: var(--accent-blue);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(79, 195, 247, 0.3);
}

.service-card.train .service-badge {
    background: rgba(102, 187, 106, 0.2);
    color: var(--accent-green);
    border-color: rgba(102, 187, 106, 0.3);
}

.service-card.soon .service-badge {
    background: rgba(255, 215, 0, 0.2);
    color: var(--accent-gold);
    border-color: rgba(255, 215, 0, 0.3);
}

/* Status Bar */
.status-bar {
    background: var(--secondary-bg);
    padding: 20px 24px;
    border-top: 1px solid var(--border-subtle);
    margin-top: 40px;
}

.status-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-green);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-description {
        font-size: 18px;
    }

    .hero {
        padding: 60px 16px;
    }

    .services {
        padding: 0 16px 60px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card {
        padding: 24px;
    }

    .header-content {
        padding: 0 16px;
    }

    .title {
        font-size: 24px;
    }

    .status-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Tablet Adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(79, 195, 247, 0.8);
}