/* How To Page Specific Styles */

.howto-section {
    min-height: calc(100vh - 300px);
    padding: 3rem 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.howto-container {
    max-width: 900px;
    margin: 0 auto;
}

.howto-heading {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #7d1bd1, #5a0fa3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out;
}

.howto-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #555555;
    margin-bottom: 4rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* Steps Container */
.steps-container {
    margin-bottom: 5rem;
}

.step-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.6s ease-out forwards;
}

.step-card[data-step="1"] {
    animation-delay: 0.2s;
}

.step-card[data-step="2"] {
    animation-delay: 0.4s;
}

.step-card[data-step="3"] {
    animation-delay: 0.6s;
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(125, 27, 209, 0.15);
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #7d1bd1, #5a0fa3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(125, 27, 209, 0.3);
    transition: all 0.3s ease;
}

.step-card:hover .step-number {
    transform: scale(1.1) rotate(5deg);
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #222222;
    margin-bottom: 1rem;
}

.step-description {
    font-size: 1.1rem;
    color: #555555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.step-tips {
    background: #f8f9fa;
    border-left: 4px solid #7d1bd1;
    padding: 1.25rem;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.tip-title {
    font-weight: 600;
    color: #333333;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.step-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-tips li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #555555;
}

.step-tips li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #7d1bd1;
    font-weight: bold;
}

.step-action {
    margin-top: 1.5rem;
}

/* FAQ Section */
.faq-section {
    background: #ffffff;
    border-radius: 16px;
    padding: 3rem 2rem;
    margin-bottom: 4rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.faq-heading {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2.5rem;
    color: #222222;
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 0.5rem;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.25rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
    font-family: inherit;
}

.faq-question:hover {
    color: #7d1bd1;
}

.faq-icon {
    font-size: 1.5rem;
    color: #7d1bd1;
    transition: transform 0.3s ease;
    font-weight: 300;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 1.25rem;
}

.faq-answer p {
    color: #555555;
    line-height: 1.7;
    font-size: 1rem;
}

/* CTA Section */
.howto-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #7d1bd1 0%, #5a0fa3 100%);
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(125, 27, 209, 0.3);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.howto-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

.cta-heading {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.howto-cta .btn {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.howto-cta .btn-primary {
    background: #ffffff;
    color: #7d1bd1;
    border: 2px solid #ffffff;
}

.howto-cta .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.howto-cta .btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.howto-cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .step-card {
        flex-direction: column;
        padding: 2rem 1.5rem;
        text-align: center;
    }

    .step-number {
        margin: 0 auto 1.5rem;
    }

    .step-tips {
        text-align: left;
    }

    .howto-heading {
        font-size: 2rem;
    }

    .step-title {
        font-size: 1.5rem;
    }

    .faq-section {
        padding: 2rem 1.5rem;
    }

    .cta-heading {
        font-size: 1.75rem;
    }
}

/* Tablet and Desktop Responsive */
@media (min-width: 768px) {
    .howto-section {
        padding: 4rem 2rem;
    }

    .howto-heading {
        font-size: 3rem;
    }

    .cta-buttons {
        flex-direction: row;
        justify-content: center;
        max-width: none;
    }

    .cta-buttons .btn {
        min-width: 180px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 0.5; 
    }
    50% { 
        transform: scale(1.1); 
        opacity: 0.8; 
    }
}