* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 2;
    padding: 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator::after {
    content: '↓';
    font-size: 2rem;
    opacity: 0.7;
}

.how-it-works {
    padding: 100px 20px;
    background: #0a0a0a;
    position: relative;
}

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

.section-title {
    text-align: center;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.section-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.animated-gradient-text {
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #667eea);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

.section-title p {
    font-size: 1.2rem;
    color: #999;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.step-card {
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid #222;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease-out;
    cursor: pointer;
}

.step-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s;
}

.step-card:hover::before {
    left: 100%;
}

.step-card:hover {
    transform: translateY(-10px);
    border-color: #667eea;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 25px;
    position: relative;
    animation: pulse 2s infinite;
}

.step-card h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.step-card p {
    color: #aaa;
    line-height: 1.6;
}

.features-section {
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a2e 100%);
    padding: 100px 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s ease-out;
}

.feature-box.visible {
    opacity: 1;
    transform: scale(1);
}

.feature-box:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-box h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.feature-box p {
    color: #ccc;
    font-size: 0.95rem;
}

.timeline-section {
    padding: 100px 20px;
    background: #0a0a0a;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 50px auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #667eea, #764ba2);
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 50px;
    position: relative;
    opacity: 0;
    transition: all 0.8s ease-out;
}

.timeline-item.visible {
    opacity: 1;
}

.timeline-item:nth-child(odd) {
    padding-right: 50%;
    text-align: right;
    transform: translateX(-50px);
}

.timeline-item:nth-child(even) {
    padding-left: 50%;
    transform: translateX(50px);
}

.timeline-item.visible {
    transform: translateX(0);
}

.timeline-content {
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #667eea;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: #667eea;
    border-radius: 50%;
    border: 4px solid #0a0a0a;
    z-index: 1;
}

.cta-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
}

.cta-button {
    display: inline-block;
    padding: 18px 50px;
    background: #fff;
    color: #667eea;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s;
    margin-top: 30px;
}

.cta-button:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    z-index: 9999;
    transition: width 0.1s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
    }

    50% {
        box-shadow: 0 0 0 20px rgba(102, 126, 234, 0);
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: 60px;
        padding-right: 0;
        text-align: left;
    }

    .timeline-dot {
        left: 20px;
    }
}
