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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 0;
}

.pretutorial-container {
    width: 1440px;
    height: 1024px;
    position: relative;
    background-color: #FFFFFF;
    margin: 0 auto;
}

.screen {
    width: 1440px;
    height: 1024px;
    position: relative;
    background-color: #FFFFFF;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.screen-content {
    width: 100%;
    height: 100%;
    position: relative;
    padding: 0;
}

/* ============ SCREEN 1: LET'S LEARN ============ */

.header-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 64px;
    background-color: #FFFFFF;
}

.lets-learn {
    font-size: 72px;
    font-weight: 700;
    color: #2b2b2b;
    margin: 0;
    text-align: center;
}

.btn-close {
    position: absolute;
    right: 64px;
    width: 66px;
    height: 64px;
    background-color: transparent;
    border: none;
    font-size: 36px;
    color: #2b2b2b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-close:hover {
    opacity: 0.7;
}

.main-content {
    position: absolute;
    top: 120px;
    left: 0;
    right: 0;
    bottom: 200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 25px;
}

.left-section,
.right-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.big-text {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 200px;
    font-weight: 700;
    color: #000000;
    line-height: 1;
    height: 300px;
    font-family: 'Limelight', serif;
}


.center-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-frame {
    width: 637px;
    height: 637px;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.featured-image {
    width: 150%;
    height: 150%;
    object-fit: contain;
}

.recipe-title {
    position: absolute;
    bottom: 120px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 64px;
}

.recipe-left,
.recipe-right {
    font-size: 72px;
    font-weight: 700;
    color: #2b2b2b;
    letter-spacing: 8px;
    margin: 0;
    font-family: 'Limelight', serif;
}

.recipe-left {
    text-align: left;
}

.recipe-right {
    text-align: right;
}

.btn-play {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 150px;
    background-color: #A3B18A;
    border: none;
    border-radius: 50%;
    font-size: 48px;
    color: #FFFFFF;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-play:hover {
    background-color: #A2B19F;
    transform: translateX(-50%) scale(1.05);
}

/* ============ SCREEN 2: BEFORE YOU START ============ */

.section-title {
    position: absolute;
    top: 25px;
    left: 64px;
    font-size: 64px;
    font-weight: 700;
    color: #2b2b2b;
    margin: 0;
    font-family: 'Limelight', serif;
}

.ingredients-container {
    position: absolute;
    top: 140px;
    left: 64px;
    right: 64px;
    height: 650px;
    width: calc(100% - 128px);
    font-family: 'Limelight', serif;
    
}

.carousel-wrapper {
    width: 100%;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    background-color: #FFFFFF;
    scroll-behavior: smooth;
}

.carousel {
    display: flex;
    gap: 30px;
    height: 100%;
    min-width: min-content;
    padding: 0;
}

.ingredient-card {
    flex: 0 0 auto;
    width: 476px;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.ingredient-image {
    width: 476px;
    height: 450px;
    background-color: #EDE0D4;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ingredient-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ingredient-label {
    width: 476px;
    height: 129px;
    background-color: #A2B19F;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 700;
    color: #FFFFFF;
    text-align: center;
}
.carousel-progress-bar {
    position: absolute;
    bottom: 140px;
    left: 64px;
    right: 64px;
    width: calc(100% - 128px);
    height: 8px;
    background-color: #EDE0D4;
    border-radius: 4px;
    overflow: hidden;
}

.carousel-progress {
    height: 100%;
    background-color: #A2B19F;
    width: 20%;
    transition: width 0.1s ease;
    border-radius: 4px;
}
/* ============ SCREEN 3: OVERVIEW ============ */

.overview-grid {
    position: absolute;
    top: 140px;
    left: 64px;
    right: 64px;
    height: 750px;
    width: calc(100% - 128px);
}

.dotted-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.steps-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    height: 100%;
    align-content: center;
    padding: 40px;
    z-index: 2;
}

.step-btn {
    width: 312px;
    height: 110px;
    background-color: #A3B18A;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.step-btn:hover {
    background-color: #A2B19F;
    transform: scale(1.05);
}

.step-number {
    font-size: 36px;
    font-weight: 700;
    color: #FFFFFF;
    text-align: center;
    font-family: 'Limelight', serif;
}

/* ============ BUTTONS GROUP ============ */

.button-group {
    position: absolute;
    bottom: 40px;
    left: 64px;
    right: 64px;
    display: flex;
    justify-content: space-between;
    gap: 804px;
}

.btn-secondary,
.btn-primary {
    width: 307px;
    height: 91px;
    font-size: 25px;
    font-weight: 500;
    border: none;
    border-radius: 60px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-secondary {
    background-color: #EDE0D4;
    color: #2b2b2b;
}

.btn-secondary:hover {
    background-color: #A2B19F;
    color: #FFFFFF;
}

.btn-primary {
    background-color: #A3B18A;
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: #A2B19F;
    box-shadow: 0 4px 12px rgba(163, 177, 138, 0.3);
}
