:root {
    --gradient-start: #4f46e5;
    --gradient-middle: #9333ea;
    --gradient-end: #db2777;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --card-bg: rgba(255, 255, 255, 0.1);
    --card-hover: rgba(255, 255, 255, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-middle), var(--gradient-end));
    color: var(--text-primary);
    overflow-x: hidden;
}

.background {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.floating-orbs {
    position: absolute;
    inset: 0;
}

.container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.hero {
    text-align: center;
    margin-bottom: 5rem;
}

.title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.slide-from-left {
    opacity: 0;
    transform: translateX(-100%);
    animation: slideFromLeft 1s ease-out 0.5s forwards;
    background: linear-gradient(to right, #60a5fa, #9333ea);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 900;
    letter-spacing: 1px;
    text-shadow: 
        3px 3px 6px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(96, 165, 250, 0.4);
}

.fade-in-scale {
    opacity: 0;
    transform: scale(0.5);
    animation: fadeInScale 0.5s ease-out forwards;
    color: white;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.slide-from-right {
    opacity: 0;
    transform: translateX(100%);
    animation: slideFromRight 1s ease-out 0.5s forwards;
    background: linear-gradient(to right, #9333ea, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 900;
    letter-spacing: 1px;
    text-shadow: 
        3px 3px 6px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(236, 72, 153, 0.4);
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #4f46e5, #9333ea, #db2777);
    background-size: 200% 200%;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(147, 51, 234, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    animation: gradientShift 5s ease infinite;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 60%);
    transform: rotate(45deg);
    transition: all 0.3s ease;
    opacity: 0;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(147, 51, 234, 0.4),
        inset 0 0 25px rgba(255, 255, 255, 0.2);
}

.cta-button:hover::before {
    opacity: 1;
    animation: shine 1.5s ease infinite;
}

.sparkle-icon {
    font-size: 1.4em;
    animation: sparkle 2s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes shine {
    0% { transform: rotate(45deg) translateY(0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: rotate(45deg) translateY(100%); opacity: 0; }
}

@keyframes sparkle {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.feature {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    padding: 2rem;
    border-radius: 1rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.feature:hover {
    transform: translateY(-8px);
    background: var(--card-hover);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-middle));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon i {
    font-size: 1.5rem;
}

.feature h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature p {
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.stat {
    text-align: center;
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    padding: 2rem;
    border-radius: 1rem;
}

.stat-icon {
    font-size: 2rem;
    color: #60a5fa;
    margin-bottom: 1rem;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(to right, #60a5fa, #9333ea);
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
}

/* Animations */
@keyframes slideFromLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

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

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
}