/* How It Works Page Specific Styles */

/* Hero Section */
.how-works-hero {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.how-works-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    animation: fadeIn 0.8s ease-out;
}

.how-works-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.3s forwards;
}

/* Steps Section */
.steps {
    padding: 80px 0;
    background-color: var(--white);
}

.step {
    display: flex;
    margin-bottom: 100px;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin-right: 30px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(33, 150, 243, 0.3);
    position: relative;
    z-index: 2;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 30px;
    top: 60px;
    width: 2px;
    height: calc(100% + 40px);
    background-color: var(--light-gray);
    z-index: 1;
}

.step-content {
    flex-grow: 1;
}

.step-content h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.step-content p {
    margin-bottom: 30px;
    max-width: 800px;
}

.step-image {
    margin-bottom: 30px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.step-action {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
}

.step-action:hover {
    background-color: #0d8bf2;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.3);
}

/* Browser Demo */
.demo-browser {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* Browser header has been removed */

.browser-content {
    position: relative;
}

.browser-content img {
    width: 100%;
    height: auto;
}

/* Toolbar overlay has been removed */

/* Tips Section */
.tips-tricks {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.tips-tricks h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
}

.tips-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.tip {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: flex-start;
    transition: var(--transition);
}

.tip:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.tip-icon {
    font-size: 2rem;
    margin-right: 15px;
    line-height: 1;
}

.tip-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.faq h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background-color: var(--white);
    border-radius: var(--radius);
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.accordion-header {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    position: relative;
    transition: var(--transition);
}

.accordion-header::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.accordion-item.active .accordion-header {
    background-color: var(--primary-color);
    color: var(--white);
}

.accordion-item.active .accordion-header::after {
    content: '-';
    color: var(--white);
}

.accordion-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
    padding: 0 20px 20px;
    max-height: 1000px;
}

/* Animation for drawing effect */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate(-50%, -20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .step {
        flex-direction: column;
    }
    
    .step-number {
        margin-bottom: 20px;
        margin-right: 0;
    }
    
    .step:not(:last-child)::after {
        left: 30px;
        top: 60px;
        height: calc(100% - 20px);
    }
    
    .tips-container {
        grid-template-columns: 1fr;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
} 