/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    background-color: #a55edf;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

/* Header styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 10px 0;
}

.logo {
    display: flex;
    align-items: center;
    color: white;
    font-weight: 600;
    font-size: 18px;
}

.logo svg {
    margin-right: 8px;
}

.add-button {
    background-color: white;
    color: #333;
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    font-weight: 500;
}

/* Main content styles */
.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    margin-top: 20px;
    flex: 1;
}

h1 {
    color: white;
    font-size: 32px;
    text-align: center;
    margin-bottom: 10px;
}

.subtitle {
    color: white;
    font-size: 18px;
    text-align: center;
    margin-bottom: 30px;
}

/* Horizontal steps section */
.steps-section {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-bottom: 270px;
}

/* Steps section wrapper */
.steps-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    margin-bottom: 40px;
}

/* Step container */
.step-container {
    width: 33%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Step cards */
.step-card {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 240px;
    width: 100%;
    justify-content: flex-start;
    z-index: 2;
}

.step-hover-area:hover + .step-card {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Arrow styling */
.arrow-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 0 15px;
    align-self: flex-start;
    height: 240px;
    z-index: 3;
}

.arrow {
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-top: 100px;
}

.step-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    background-color: #a55edf;
    color: white;
    border-radius: 50%;
    font-size: 36px;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.step-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.step-title {
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.step-title svg {
    margin-right: 10px;
    flex-shrink: 0;
    color: #a55edf;
    stroke-width: 2;
}

.step-description {
    color: #333;
    font-size: 16px;
    line-height: 1.6;
}

/* Desktop central image container */
.central-image-container {
    width: calc(28% * 3);
    height: 230px;
    position: absolute;
    top: 250px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    pointer-events: none;
}

/* Individual image styles */
.step-image {
    width: 100%;
    height: 230px;
    background-color: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Adjust z-index for step 2 image */
.step-container[data-step="2"]:hover ~ .central-image-container .step2-image {
    z-index: 2;
}

/* Show specific image when its step is hovered */
.step-container[data-step="1"]:hover ~ .central-image-container .step1-image,
.step-container[data-step="2"]:hover ~ .central-image-container .step2-image,
.step-container[data-step="3"]:hover ~ .central-image-container .step3-image {
    opacity: 1;
}

.step-image img {
    max-width: 100%;
    max-height: 150px;
    object-fit: contain;
    border-radius: 5px;
    display: block;
}

.step-image-caption {
    color: #333;
    font-size: 14px;
    margin-top: 10px;
    text-align: center;
    font-weight: 500;
}

/* OR divider */
.divider {
    display: flex;
    align-items: center;
    color: white;
    margin: 20px 0;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* Alternative method section */
.alt-method {
    background-color: white;
    border-radius: 10px;
    width: 100%;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
}

.alt-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Get started button */
.get-started {
    background-color: white;
    color: #333;
    border: none;
    border-radius: 20px;
    padding: 10px 24px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 500;
    margin: 20px 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
}

.get-started:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

/* Footer */
footer {
    color: white;
    font-size: 14px;
    margin-top: 20px;
    text-align: center;
}

/* Desktop styles */
.mobile-step-image {
    display: none;
}

.step-hover-area {
    position: absolute;
    width: 100%;
    height: 530px;
    z-index: 10;
    cursor: pointer;
}

/* Mobile styles */
@media (max-width: 900px) {
    .steps-section {
        flex-direction: column;
        align-items: center;
        margin-bottom: 40px;
    }
    
    .step-container {
        width: 100%;
        max-width: 500px;
        margin-bottom: 20px;
        position: relative;
    }

    .mobile-step-image {
        display: flex !important;
        width: 100%;
        height: 230px;
        background-color: white;
        border-radius: 10px;
        padding: 15px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        margin-top: 20px;
        margin-bottom: 40px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: relative;
        z-index: 2;
    }

    .mobile-step-image img {
        max-width: 100%;
        max-height: 150px;
        object-fit: contain;
        border-radius: 5px;
    }

    .mobile-step-image .step-image-caption {
        color: #333;
        font-size: 14px;
        margin-top: 10px;
        text-align: center;
        font-weight: 500;
    }

    .step-hover-area {
        height: 490px;
    }

    .arrow-container {
        height: 40px;
        width: 40px;
        transform: rotate(90deg);
        margin: -20px auto 20px;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 3;
    }

    .arrow {
        width: 40px;
        height: 40px;
        margin: 0;
        background-color: white;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    .step-container:last-child .mobile-step-image {
        margin-bottom: 20px;
    }

    .central-image-container {
        display: none;
    }

    body {
        -webkit-overflow-scrolling: touch;
        touch-action: manipulation;
        height: auto;
        position: relative;
        overflow-y: auto;
    }

    .main-container {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .steps-section {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
} 