.how-it-works-page {
    background: #f8fafc;
}

.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.3rem;
    max-width: 650px;
    margin: 0 auto 3rem;
    opacity: 0.95;
}

.video-placeholder {
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-xl);
    padding: 4rem 2rem;
    margin: 2rem auto;
    max-width: 500px;
    backdrop-filter: blur(10px);
}

.steps-section {
    padding: 6rem 0;
    background: white;
}

.steps-grid {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 2rem;
}

.step-item {
    flex: 0 0 380px;
    background: #f8fafc;
    border-radius: var(--radius-2xl);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    opacity: 0.6;
    transition: all 0.4s ease;
    scroll-snap-align: start;
}

.step-item.active {
    opacity: 1;
    background: white;
    box-shadow: var(--shadow-xl);
    transform: scale(1.05);
}

.step-number {
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 4rem;
    height: 4rem;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.step-icon {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.step-item h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.step-demo {
    margin-top: 1.5rem;
    height: 120px;
    background: var(--color-bg-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.step-demo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.steps-indicator {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--color-primary);
    transform: scale(1.2);
}

.content-types-section {
    padding: 6rem 0;
    background: var(--color-bg-light);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.use-case {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.use-case:hover {
    transform: translateY(-8px);
}

.use-case-icon {
    width: 80px;
    height: 80px;
    background: var(--color-primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--color-primary);
}

.dynamic-section {
    padding: 6rem 0;
}

.dynamic-grid {
    display: grid;
    grid-template-columns: 1fr 500px;
    gap: 4rem;
    align-items: center;
}

.dynamic-comparison {
    display: flex;
    gap: 3rem;
    margin: 3rem 0;
}

.comparison-item {
    flex: 1;
    padding: 2rem;
    border-radius: var(--radius-xl);
    text-align: center;
}

.comparison-item.static {
    background: #fef2f2;
    border: 2px solid #fecaca;
}

.comparison-item.dynamic {
    background: #f0fdf4;
    border: 2px solid #bbf7d0;
}

.qr-mockup {
    width: 120px;
    height: 120px;
    margin: 1rem auto;
    border-radius: 12px;
    position: relative;
}

.static-qr {
    background: linear-gradient(45deg, #333 25%, transparent 25%), 
                linear-gradient(-45deg, #333 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #333 75%), 
                linear-gradient(-45deg, transparent 75%, #333 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.dynamic-qr {
    background: linear-gradient(45deg, var(--color-primary) 25%, transparent 25%), 
                linear-gradient(-45deg, var(--color-primary) 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, var(--color-primary) 75%), 
                linear-gradient(-45deg, transparent 75%, var(--color-primary) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

.faq-section {
    padding: 6rem 0;
    background: white;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f9fafb;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f3f4f6;
}

.faq-question h4 {
    margin: 0;
    font-size: 1.1rem;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 2rem 2rem;
    display: none;
    color: var(--color-text-light);
}

.faq-item.active .faq-answer {
    display: block;
}

.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, #5b67f7 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .steps-grid {
        flex-direction: column;
    }
    
    .dynamic-grid {
        grid-template-columns: 1fr;
    }
    
    .dynamic-comparison {
        flex-direction: column;
        gap: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
}
