/* Main Content */
.main-content {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0;
    position: relative;
    padding-top: 80px;
}

.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 50px;
}

.hero-text {
    flex: 1;
    max-width: 70%;
    margin-top: -16%;
    margin-left: 30px;
    left: 40px;
    display: flex;
}

.hero-text h1 {
    font-size: 5.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
    color: var(--text-color);
    text-align: left;
}

.scramble-text {
    color: var(--accent-color-text);
    display: inline-block;
    min-width: 200px;
    text-align: left;
    font-family: inherit;
    letter-spacing: 1px;
}

.phone-mockup {
    flex: 1;
    display: flex;
    margin-top: -80px;
    margin-right: 130px;
    max-width: 320px;
}

.phone-render {
    max-width: 350px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.8;
    z-index: 100;
}

.scroll-icon {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-color);
    border-radius: 15px;
    position: relative;
}

.scroll-icon::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 12px;
    background-color: var(--text-color);
    border-radius: 4px;
    animation: scroll 3s infinite;
}

.scroll-text {
    font-size: 14px;
    color: var(--subtext-color);
    font-weight: 400;
}

@keyframes scroll {
    0% { transform: translateX(-50%) translateY(0); opacity: 0; }
    30% { opacity: 1; }
    70% { opacity: 1; }
    100% { transform: translateX(-50%) translateY(15px); opacity: 0; }
}

/* Responsive */
@media (max-width: 1340px) {
    .hero-text h1 {
        font-size: 4.5rem;
    }

    .phone-mockup {
        margin-right: 100px;
    }
    
    .phone-render {
        max-width: 290px;
    }
}

@media (max-width: 1200px) {
    .hero-text h1 {
        font-size: 4rem;
    }

    .phone-mockup {
        margin-right: 110px;
    }
    
    .phone-render {
        max-width: 280px;
    }
}

@media (max-width: 1000px) {
    .hero-text h1 {
        font-size: 3.6rem;
    }
    
    .phone-mockup {
        margin-right: 40px;
    }

    .phone-render {
        max-width: 280px;
    }
}

@media (max-width: 810px) {
    .header {
        padding: 8px 20px;
    }

    .nav {
        gap: 28px;
    }

    .nav-link {
        font-size: 14px;
    }

    .contact-btn {
        padding: 10px 18px;
        font-size: 14px;
    }

    .main-content {
        padding: 80px 0 0;
        flex-direction: column;
        text-align: center;
    }

    .hero-section {
        margin-top: 140px;
        flex-direction: column;
        gap: 40px;
        padding: 0 20px;
    }

    .hero-text {
        max-width: 100%;
        padding-right: 0;
    }

    .hero-text h1 {
        font-size: 3.5rem;
        text-align: center;
    }

    .phone-mockup {
        max-width: 100%;
        margin-top: -20px;
        margin-right: -10px;
    }

    .phone-render {
        max-width: 280px;
    }

    .scroll-icon {
        border: 2px solid var(--background-color);
    }

    .scroll-icon::before {
        background-color: var(--background-color);
    }

    .scroll-text {
        color: var(--background-color);
    }
}

@media (max-width: 480px) {
    .logo-text {
        display: none;
    }

    .nav {
        gap: 15px;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .phone-render {
        max-width: 250px;
    }
}