:root {
    --accent-color: #dd3333;
    --primary-text: #000000;
    --contrast-medium: #73757d;
    --contrast-low: #d6d6d6;
    --contrast-lower: #f7f7f7;
    --background-color: #ffffff;
    
    --primary-gradient: linear-gradient(135deg, var(--accent-color) 0%, #ff6b6b 100%);
    --secondary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --tertiary-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --quaternary-gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(115, 117, 125, 0.2);
    --glass-hover: rgba(255, 255, 255, 0.9);
    --text-primary: var(--primary-text);
    --text-secondary: var(--contrast-medium);
    --text-muted: var(--contrast-low);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    height: 100vh;
    overflow-x: hidden;
    background: var(--background-color);
    position: relative;
    color: var(--text-primary);
}

/* Enhanced background effects */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 15%, rgba(221, 51, 51, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 85% 85%, rgba(102, 126, 234, 0.06) 0%, transparent 45%),
        radial-gradient(circle at 45% 75%, rgba(79, 172, 254, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 75% 25%, rgba(67, 233, 123, 0.04) 0%, transparent 35%);
    pointer-events: none;
    z-index: 1;
    animation: aurora 20s ease-in-out infinite;
}

@keyframes aurora {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.glass-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(12px) saturate(1.2);
    background: rgba(247, 247, 247, 0.3);
    z-index: 2;
}

/* Animated particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--contrast-low);
    border-radius: 50%;
    animation: float-particle 8s ease-in-out infinite;
}

.particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { top: 60%; left: 85%; animation-delay: 1.5s; }
.particle:nth-child(3) { top: 35%; right: 20%; animation-delay: 3s; }
.particle:nth-child(4) { bottom: 30%; left: 75%; animation-delay: 4.5s; }
.particle:nth-child(5) { top: 75%; left: 25%; animation-delay: 6s; }
.particle:nth-child(6) { top: 45%; right: 10%; animation-delay: 2s; }

@keyframes float-particle {
    0%, 100% { 
        transform: translateY(0px) scale(1); 
        opacity: 0.6; 
    }
    50% { 
        transform: translateY(-25px) scale(1.3); 
        opacity: 1; 
    }
}

.container {
    position: relative;
    z-index: 3;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-align: center;
    background: linear-gradient(135deg, var(--accent-color) 0%, #ff6b6b 25%, #667eea 50%, #4facfe 75%, #43e97b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.025em;
    position: relative;
    animation: glow-text 3s ease-in-out infinite alternate;
}

@keyframes glow-text {
    from { text-shadow: 0 0 20px rgba(221, 51, 51, 0.3); }
    to { text-shadow: 0 0 40px rgba(221, 51, 51, 0.5), 0 0 60px rgba(221, 51, 51, 0.2); }
}

.subtitle {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    text-align: center;
    letter-spacing: 0.02em;
    max-width: 600px;
    line-height: 1.6;
}

.buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    width: 100%;
}

.glass-button {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3.5rem 2.5rem;
    border-radius: 28px;
    background: var(--glass-bg);
    backdrop-filter: blur(25px) saturate(1.8);
    border: 1.5px solid var(--glass-border);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    text-decoration: none;
    color: var(--text-primary);
    min-height: 220px;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.glass-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    opacity: 0;
    transition: all 0.5s ease;
    border-radius: 28px;
}

.glass-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(221, 51, 51, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: all 0.6s ease;
    transform: scale(0);
}

.glass-button:hover {
    transform: translateY(-12px) scale(1.03);
    background: var(--glass-hover);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 0 60px rgba(221, 51, 51, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(255, 255, 255, 0.8);
    border-color: var(--accent-color);
}

.glass-button:hover::before {
    opacity: 1;
}

.glass-button:hover::after {
    opacity: 1;
    transform: scale(1);
}

.button-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

.glass-button:hover .button-icon {
    transform: translateY(-4px) scale(1.15);
    filter: drop-shadow(0 8px 25px rgba(0, 0, 0, 0.2));
}

.button-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.02em;
    transition: all 0.4s ease;
    color: var(--text-secondary);
}

.glass-button:hover .button-title {
    color: var(--text-primary);
    text-shadow: 0 0 15px rgba(221, 51, 51, 0.3);
    transform: translateY(-2px);
}

/* Individual button styling */
.management .button-icon {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.management:hover .button-icon {
    filter: drop-shadow(0 8px 25px rgba(221, 51, 51, 0.3));
}

.speed .button-icon {
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.speed:hover .button-icon {
    filter: drop-shadow(0 8px 25px rgba(102, 126, 234, 0.3));
}

.ceo .button-icon {
    background: var(--tertiary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ceo:hover .button-icon {
    filter: drop-shadow(0 8px 25px rgba(79, 172, 254, 0.3));
}

.analys .button-icon {
    background: var(--quaternary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.analys:hover .button-icon {
    filter: drop-shadow(0 8px 25px rgba(67, 233, 123, 0.3));
}

/* Enhanced mobile responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
    }

    .logo {
        margin-bottom: 0.5rem;
    }

    .subtitle {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }

    .buttons-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 380px;
    }

    .glass-button {
        padding: 2.5rem 2rem;
        min-height: 180px;
        border-radius: 24px;
    }

    .button-icon {
        font-size: 3rem;
        margin-bottom: 1.2rem;
    }

    .button-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }

    .subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }

    .glass-button {
        padding: 2rem 1.5rem;
        min-height: 160px;
    }

    .button-icon {
        font-size: 2.5rem;
    }

    .button-title {
        font-size: 1.2rem;
    }
}

@media (min-width: 1200px) {
    .buttons-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
    }
}

/* Loading animation */
.fade-in {
    opacity: 0;
    animation: fadeIn 1.2s ease-out forwards;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1s; } 