/* =============================================
   HANDY TERMINAL PAGE STYLES
   ============================================= */

/* Hero Section */
.ht-hero {
    position: relative;
    min-height: 426px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ht-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.ht-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ht-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
}

.ht-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 50px 20px;
}

/* Hero Animation - Initial States */
.ht-hero-subtitle {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: #000;
    line-height: 1.21;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(20px);
}

.ht-hero-title {
    font-size: 32px;
    font-weight: 600;
    color: #000;
    line-height: 1.21;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
}

.ht-hero-desc {
    font-size: 20px;
    font-weight: 400;
    color: #000;
    line-height: 1.21;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
}

.ht-hero-btn {
    display: inline-block;
    background: #2194F3;
    color: #fff;
    padding: 12px 40px;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.ht-hero-btn:hover {
    background: #1a7fd4;
    color: #fff;
    transform: translateY(-2px);
}

.ht-hero-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px 0;
    opacity: 0;
    transform: translateY(20px);
    flex-wrap: wrap;
}

.ht-jump-label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #2194F3;
    line-height: 1.67;
}

.ht-jump-arrow {
    width: 24px;
    height: 24px;
    margin-left: 0;
}

.ht-jump-link {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #000;
    line-height: 1.67;
    text-decoration: none;
    padding: 6px 16px;
    border: 1px solid rgba(113, 113, 113, 0.5);
    border-radius: 20px;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.ht-jump-link:hover {
    background: #2194F3;
    color: #fff;
    border-color: #2194F3;
}

/* Hero Animation - Animated States */
.ht-hero-content.animate .ht-hero-subtitle {
    animation: htFadeInUp 0.6s ease-out forwards;
}

.ht-hero-content.animate .ht-hero-title {
    animation: htFadeInUp 0.6s ease-out 0.1s forwards;
}

.ht-hero-content.animate .ht-hero-desc {
    animation: htFadeInUp 0.6s ease-out 0.2s forwards;
}

.ht-hero-content.animate .ht-hero-btn {
    animation: htFadeInUp 0.6s ease-out 0.3s forwards;
}

.ht-hero-content.animate .ht-hero-nav {
    animation: htFadeInUp 0.6s ease-out 0.4s forwards;
}

@keyframes htFadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* What We Offer Section */
.ht-offer {
    background: var(--light-blue-grey);
    padding: 55px 0;
    position: relative;
    overflow: hidden;
}

.ht-offer-circle {
    position: absolute;
    width: 227px;
    height: 227px;
    border-radius: 50%;
    background: #2194F3;
}

.ht-offer-circle-top {
    top: -41px;
    right: -76px;
}

.ht-offer-circle-bottom {
    bottom: -57px;
    left: -31px;
}

.ht-offer-wrapper {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.ht-offer-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.ht-offer-image {
    flex-shrink: 0;
}

.ht-offer-image img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 20px;
}

.ht-offer-text {
    flex: 1;
}

.ht-offer-text p {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark-navy);
    line-height: 1.67;
    margin: 0;
}


/* Feature Sections */
.ht-feature {
    padding: 45px 74px;
}

.ht-feature-white {
    background: #fff;
}

.ht-feature-blue {
    background: #E6EBF4;
}

.ht-feature-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

.ht-feature-content.reverse {
    flex-direction: row-reverse;
}

.ht-feature-text {
    flex: 1;
}

.ht-feature-title {
    font-size: 32px;
    font-weight: 600;
    color: #2194F3;
    line-height: 1.25;
    margin-bottom: 20px;
}

.ht-feature-desc {
    font-size: 15px;
    font-weight: 400;
    color: #000;
    line-height: 1.67;
    margin-bottom: 25px;
}

.ht-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ht-feature-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #000;
    line-height: 1.33;
}

.ht-feature-list li i {
    color: #2194F3;
    font-size: 20px;
    flex-shrink: 0;
}

.ht-feature-image {
    flex-shrink: 0;
}

.ht-feature-image img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 25px;
}

/* See How It Works Section */
.ht-works {
    background: #1E2024;
    padding: 52px 0 50px;
    position: relative;
    overflow: hidden;
}

.ht-works-glow {
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    filter: blur(250px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.ht-works-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
}

.ht-works-title {
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    line-height: 1.21;
    margin-bottom: 30px;
}

.ht-works-desc {
    font-size: 20px;
    font-weight: 400;
    color: #fff;
    line-height: 1.21;
    margin-bottom: 50px;
}

.ht-works-images {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: 325px;
    margin-bottom: 40px;
}

.ht-device-1 {
    width: 229px;
    height: auto;
    position: relative;
    z-index: 2;
}

.ht-device-2 {
    width: 223px;
    height: auto;
    margin-left: -97px;
    position: relative;
    z-index: 3;
}

.ht-works-subtitle {
    font-size: 32px;
    font-weight: 600;
    color: #fff;
    line-height: 1.21;
    margin: 0;
}

/* Scroll Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.visible,
.fade-in-left.visible,
.fade-in-right.visible {
    opacity: 1;
    transform: translate(0);
}

/* =============================================
   RESPONSIVE STYLES
   ============================================= */
@media (max-width: 991px) {
    .ht-hero {
        min-height: 380px;
    }
    
    .ht-hero-content {
        padding: 40px 20px;
    }
    
    .ht-hero-subtitle {
        font-size: 16px;
    }
    
    .ht-hero-title {
        font-size: 26px;
    }
    
    .ht-hero-desc {
        font-size: 16px;
    }
    
    .ht-offer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .ht-jump-link {
        padding: 5px 12px;
        font-size: 0.875rem;
        margin-left: 5px;
    }
    
    .ht-feature {
        padding: 40px 30px;
    }
    
    .ht-feature-content,
    .ht-feature-content.reverse {
        flex-direction: column;
    }
    
    .ht-feature-title {
        font-size: 26px;
    }
    
    .ht-works-title {
        font-size: 32px;
    }
    
    .ht-works-desc {
        font-size: 16px;
    }
    
    .ht-works-subtitle {
        font-size: 26px;
    }
    
    .ht-device-1 {
        width: 180px;
    }
    
    .ht-device-2 {
        width: 175px;
        margin-left: -70px;
    }
}

@media (max-width: 767px) {
    .ht-hero {
        min-height: 350px;
    }
    
    .ht-hero-content {
        padding: 30px 15px;
    }
    
    .ht-hero-subtitle {
        font-size: 14px;
    }
    
    .ht-hero-title {
        font-size: 22px;
    }
    
    .ht-hero-desc {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    .ht-hero-btn {
        padding: 10px 30px;
        font-size: 14px;
    }
    
    .ht-hero-nav {
        gap: 12px 6px;
    }
    
    .ht-jump-label {
        width: 100%;
        text-align: center;
        margin-bottom: 0.5rem;
    }
    
    .ht-jump-arrow {
        display: none;
    }
    
    .ht-jump-link {
        margin-left: 0;
        font-size: 0.8125rem;
        padding: 4px 10px;
    }
    
    .ht-offer {
        padding: 40px 0;
    }
    
    .ht-offer-circle {
        width: 150px;
        height: 150px;
    }
    
    .ht-offer-text p {
        font-size: 14px;
    }
    
    .ht-feature {
        padding: 30px 20px;
    }
    
    .ht-feature-title {
        font-size: 22px;
    }
    
    .ht-feature-desc {
        font-size: 14px;
    }
    
    .ht-feature-list li {
        font-size: 14px;
    }
    
    .ht-works {
        padding: 40px 0;
    }
    
    .ht-works-title {
        font-size: 26px;
    }
    
    .ht-works-desc {
        font-size: 14px;
        margin-bottom: 30px;
    }
    
    .ht-works-images {
        min-height: 250px;
        margin-bottom: 30px;
    }
    
    .ht-device-1 {
        width: 150px;
    }
    
    .ht-device-2 {
        width: 145px;
        margin-left: -55px;
    }
    
    .ht-works-subtitle {
        font-size: 22px;
    }
}