/* ========================================
   LANDING PAGE CSS - STARTING FROM SCRATCH
   FOUR ELEMENTS, SIMPLE LAYOUT
   ======================================== */

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: white;
    background: #1a202c;
    overflow: hidden;
}

/* ========================================
   HERO BLOCK
   ======================================== */

.hero {
    height: 100vh;
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    position: relative;
}

/* ========================================
   ELEMENT 1: LOGO - TOP RIGHT CORNER
   ======================================== */

.hero__logo {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    z-index: 100;
}

/* ========================================
   ELEMENT 2: BACKGROUND VIDEO - FULL SCREEN
   ======================================== */

.hero__video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
}

/* ========================================
   MAIN CONTAINER
   ======================================== */

.hero__container {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    gap: 40px;
    z-index: 2;
}

/* ========================================
   ELEMENT 3: CONTENT - HEADLINE + CTA
   ======================================== */

.hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.hero__headline {
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
}

.hero__cta {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border: none;
    padding: 20px 40px;
    font-size: 24px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
    transition: transform 0.2s ease;
    z-index: 10;
}

.hero__cta:hover {
    transform: translateY(-2px);
}

/* ========================================
   ELEMENT 4: DEMO VIDEO
   ======================================== */

.hero__video {
    display: flex;
    justify-content: center;
}

.hero__demo-video {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* ========================================
   RESPONSIVE BREAKPOINTS - SIMPLE & WORKING
   ======================================== */

/* ========================================
   MOBILE LAYOUT (0px - 767px)
   ======================================== */

@media screen and (max-width: 767px) {
    .hero__container {
        flex-direction: column;
        justify-content: space-evenly;
        padding: 40px 20px;
        gap: 30px;
    }
    
    .hero__content {
        width: 100%;
        align-items: center;
        order: 2;
        gap: 20px;
    }
    
    .hero__video {
        order: 1;
        width: 90%;
    }
    
    .hero__headline {
        font-size: 36px;
    }
    
    .hero__cta {
        padding: 16px 32px;
        font-size: 20px;
    }
}

/* ========================================
   SQUARE LAYOUT (768px - 1023px)
   ======================================== */

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .hero__container {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 40px;
        gap: 40px;
    }
    
    .hero__content {
        width: 40%;
        align-items: flex-start;
        gap: 25px;
    }
    
    .hero__headline {
        font-size: 32px;
        text-align: left;
        margin-bottom: 20px;
    }
    
    .hero__cta {
        padding: 18px 36px;
        font-size: 18px;
        align-self: flex-start;
    }
    
    .hero__video {
        width: 50%;
    }
}

/* ========================================
   LANDSCAPE LAYOUT (1024px - 1199px)
   ======================================== */

@media screen and (min-width: 1024px) and (max-width: 1199px) {
    .hero__container {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 40px;
        gap: 40px;
    }
    
    .hero__content {
        width: 40%;
        align-items: flex-start;
        gap: 25px;
    }
    
    .hero__headline {
        font-size: 28px;
        text-align: left;
        margin-bottom: 20px;
    }
    
    .hero__cta {
        padding: 18px 36px;
        font-size: 18px;
        align-self: flex-start;
    }
    
    .hero__video {
        width: 50%;
    }
}

/* ========================================
   DESKTOP LAYOUT (1200px+)
   ======================================== */

@media screen and (min-width: 1200px) {
    .hero__container {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 60px;
        gap: 60px;
    }
    
    .hero__content {
        width: 35%;
        align-items: flex-start;
        gap: 30px;
    }
    
    .hero__headline {
        font-size: 40px;
        text-align: left;
    }
    
    .hero__cta {
        padding: 24px 48px;
        font-size: 22px;
    }
    
    .hero__video {
        width: 40%;
    }
}
