:root {
    --primary-color: #c3e612;
    --dark-text: #112742;
    --light-text: #fff;
    --card-bg: #f9f9f9;
    --footer-bg: #c3e612;
    --font-main: 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--dark-text);
    background-color: #fff;
    overflow-x: hidden; /* Ngăn cuộn ngang do AOS */
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.btn-appstore img,
.btn-playstore img {
    height: 70px; /* Điều chỉnh kích thước phù hợp */
    width: auto;
}

.section {
    padding: 60px 0;
}

.section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark-text);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 40px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

/* Header & home Section */
#home {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column; /* Để nav và content chồng lên nhau */
    align-items: center;
    justify-content: center; /* Căn giữa content theo chiều dọc */
    color: var(--light-text);
    text-align: center;
    overflow: hidden; /* Để parallax bg không tràn */
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Hiệu ứng parallax cơ bản */
    z-index: -1;
    /* Filter nhẹ cho ảnh nền để chữ nổi bật hơn */
    filter: brightness(0.6);
}

.top-nav {
    position: absolute; /* Hoặc fixed nếu muốn menu luôn ở trên cùng khi cuộn */
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background-color: rgba(0, 0, 0, 0.3); /* Nền mờ cho nav */
    z-index: 1000;
}

.top-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 2rem;
    font-weight: bold;
    color: var(--light-text); /* Logo màu trắng */
}

.segment-menu {
    display: flex;
}

.segment-menu li {
    margin-left: 25px;
}

.segment-menu li a {
    color: var(--light-text);
    font-size: 1rem;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.segment-menu li a:hover,
.segment-menu li a.active {
    background-color: var(--primary-color);
    color: var(--dark-text);
}

.mobile-menu-toggle {
    display: none; /* Ẩn trên desktop */
    background: none;
    border: none;
    color: var(--light-text);
    font-size: 2rem;
    cursor: pointer;
}

.home-content {
    position: relative; /* Để đảm bảo nằm trên parallax-bg */
    z-index: 1;
    padding-top: 80px; /* Khoảng cách với top-nav */
}

.home-content h1 {
    font-size: 4.5rem;
    margin-bottom: 10px;
    font-weight: bold;
    color: var(--primary-color);
    line-height: 1;
}

.home-logo-image {
    max-height: 100px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
}

.home-corner-logo-image {
    max-height: 40px; /* Bạn có thể điều chỉnh giá trị này */
    width: auto;
    vertical-align: middle; /* Căn chỉnh logo với các mục menu */
}

.home-content .subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.services-list {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.services-list span {
    margin: 0 5px;
}

.download-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* App Mockup Section */
#app-mockup {
    overflow-x: hidden; /* Ngăn cuộn ngang cho toàn bộ section */
}

#app-mockup .multi-mockup-container {
    display: flex;
    justify-content: center;
    align-items: center; /* Căn giữa các mockups theo chiều dọc */
    gap: 0px; /* Giảm khoảng cách để dễ dàng kiểm soát chồng lấp bằng margin */
    margin-bottom: 50px; /* Khoảng cách với feature-highlights */
    flex-wrap: wrap; /* Cho phép xuống hàng trên màn hình nhỏ */
}

#app-mockup .device-mockup {
    position: relative; /* Để tạo hiệu ứng nếu cần */
    /* Kích thước và bóng có thể tùy chỉnh thêm cho từng mockup nếu ảnh gốc của bạn có khung */
    overflow: visible; /* Cho phép hạt hiển thị bên ngoài */
}

#app-mockup .mockup-image {
    max-width: 480px; /* Tăng kích thước một chút */
    height: auto;
    /* border-radius: 20px; */ /* Bỏ bo góc */
    /* box-shadow: 0 10px 30px rgba(0,0,0,0.15); */ /* Bỏ bóng đổ */
}

/* Tùy chỉnh nhỏ cho vị trí của mockup để tạo cảm giác động hơn */
#app-mockup .mockup-left {
    position: relative; /* Đảm bảo z-index hoạt động */
    z-index: 1;
    /* transform: rotate(-5deg) translateY(10px); */ /* Ví dụ hiệu ứng */
}

#app-mockup .mockup-right {
    position: relative; /* Đảm bảo z-index hoạt động */
    z-index: 2; /* Cao hơn để chồng lên mockup trái */
    margin-left: -250px; /* Điều chỉnh giá trị này để có độ chồng lấp mong muốn */
    /* transform: rotate(3deg) translateY(-5px); */ /* Ví dụ hiệu ứng */
}

#app-mockup .feature-highlights {
    display: flex;
    justify-content: space-around; /* Phân bổ đều các feature items */
    align-items: flex-start;
    text-align: center;
    margin-top: 0px !important; /* Override margin-top cũ */
    flex-wrap: wrap;
    gap: 20px;
}

#app-mockup .feature-item {
    flex-basis: calc(33.333% - 20px); /* Chia 3 cột, có tính gap */
    min-width: 150px; /* Kích thước tối thiểu cho item */
}

/* Bỏ hoặc chỉnh sửa lại .feature-icon nếu không dùng ảnh nữa */
/* #app-mockup .feature-icon {
    width: 50px; 
    height: 50px;
    margin-bottom: 10px;
} */

#app-mockup .feature-emoji {
    font-size: 2.5rem; /* Kích thước emoji */
    display: block; /* Để margin bottom hoạt động */
    margin-bottom: 10px;
    line-height: 1; /* Đảm bảo emoji không quá cao */
}

#app-mockup .feature-item p {
    font-size: 0.95rem;
    color: var(--dark-text);
}

/* Services Section */
.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: #ffffff; /* Nền sáng cho card */
    color: var(--dark-text); /* Chữ tối cho card */
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center; /* Căn giữa icon và text */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.service-card .service-icon { /* Giữ lại nếu có class này, nếu không dùng emoji thì bỏ qua */
    font-size: 3rem; /* Kích thước icon */
    margin-bottom: 15px;
    color: var(--primary-color); /* Màu cho icon */
}

.service-card .service-emoji { /* Style cho emoji nếu dùng span với class này */
    font-size: 3rem; /* Điều chỉnh kích thước emoji */
    margin-bottom: 15px;
    line-height: 1; /* Đảm bảo emoji hiển thị đúng */
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--dark-text); /* Tiêu đề màu tối theo nền sáng mới */
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: var(--primary-color); /* Tiêu đề chuyển màu khi hover card */
}

.service-card p {
    font-size: 0.95rem;
    color: #555;
}

/* Merchant Section */
#merchant {
    background-color: #f0f4f8; /* Nền hơi khác để phân biệt */
}

/* Footer Section */
#footer {
    background-color: var(--footer-bg);
    padding: 40px 0;
    color: var(--dark-text); /* Đổi màu chữ trong footer nếu cần */
}

#footer .container {
    width: 100%;
    max-width: none;
    padding-left: 20px; /* Điều chỉnh nếu cần */
    padding-right: 20px; /* Điều chỉnh nếu cần */
    margin-left: 0; /* Ghi đè margin mặc định của .container */
    margin-right: 0; /* Ghi đè margin mặc định của .container */
}

.footer-content {
    display: flex;
    /* justify-content: space-between; */ /* Thuộc tính này đã bị xoá để đảm bảo căn trái */
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px; /* Tăng khoảng cách để bố cục thoáng hơn */
}

/* Xóa .gov-logo và thuộc tính flex: 1 khỏi nhóm này */
.footer-logo, .company-info, .footer-links {
    /* flex: 1; */ /* Thuộc tính này là nguyên nhân gây lỗi, đã được xoá */
    min-width: 250px;
}

.footer-logo {
    max-width: 150px;
    margin-right: 20px;
}

.company-info, .footer-links {
    text-align: left;
}

/* Thêm quy tắc riêng cho .gov-logo */
.gov-logo {
    text-align: left;
    align-self: center; /* Căn giữa theo chiều dọc */
}

.company-info h3 {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.company-info p {
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: #ccc;
}

.footer-links h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--light-text); /* Hoặc một màu khác nổi bật hơn trên nền primary */
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section h2 {
        font-size: 2rem;
    }

    .home-content h1 {
        font-size: 3rem;
    }

    .home-content .subtitle {
        font-size: 1.2rem;
    }

    .services-list {
        font-size: 1rem;
    }

    .top-nav .container {
        flex-direction: row; /* Giữ logo và nút menu trên một hàng */
    }
    .segment-menu {
        display: none; /* Ẩn menu chính trên mobile */
        flex-direction: column;
        position: absolute;
        top: 70px; /* Vị trí của menu khi xổ xuống */
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        padding: 10px 0;
    }
    .segment-menu.active {
        display: flex; /* Hiện menu khi active */
    }
    .segment-menu li {
        margin: 10px 20px;
        text-align: center;
    }
    .mobile-menu-toggle {
        display: block; /* Hiện nút menu trên mobile */
    }

    .download-buttons {
        flex-wrap: nowrap;
        /* padding-left: 10px; */ /* Optional: if buttons are too close to screen edges */
        /* padding-right: 10px; */ /* Optional: if buttons are too close to screen edges */
    }

    .download-buttons .btn img { /* Adjusted selector to target images within .btn inside .download-buttons */
        height: 55px;
        min-width: 120px; /* Ensure button image doesn't get too small */
        object-fit: contain;
        width: auto; /* Allow width to adjust based on height and aspect ratio */
    }

    .download-buttons .btn {
        flex-shrink: 0; /* Prevent buttons from shrinking */
        /* display: flex; */ /* Already inline-block, flex might not be needed directly on 'a' if img handles size */
        /* align-items: center; */
        /* justify-content: center; */
    }

    .service-cards-grid {
        grid-template-columns: 1fr; /* 1 cột trên mobile */
    }

    .footer-content {
        flex-direction: column; /* Xếp chồng lên nhau trên màn hình nhỏ */
        align-items: flex-start; /* Căn các mục về bên trái */
    }
    .company-info, .footer-links, .footer-logo {
        flex-basis: 100%; /* Mỗi mục chiếm toàn bộ chiều rộng */
        text-align: left; /* Căn trái nội dung cho đồng nhất */
        margin-bottom: 20px; /* Thêm khoảng cách dưới mỗi mục */
    }
    .footer-logo {
        text-align: center; /* Căn giữa logo trên mobile */
        justify-content: center; /* Căn giữa logo nếu dùng flex */
    }
    .footer-links ul {
        padding-left: 0;
    }

    #app-mockup .multi-mockup-container {
        flex-direction: row; /* Đảm bảo các item nằm ngang */
        justify-content: center; /* Căn giữa để tạo hiệu ứng chồng lấp */
        align-items: center; /* Căn giữa theo chiều dọc */
        position: relative; 
        height: 500px; /* Tăng chiều cao để chứa ảnh lớn hơn */
        margin-bottom: 20px;
        padding: 0 5px; /* Giảm padding để có nhiều không gian hơn */
    }

    #app-mockup .mockup-image {
        max-width: 280px; /* Giữ nguyên kích thước gốc */
    }

    #app-mockup .mockup-left {
        position: relative;
        margin-left: 0;
        transform: translateX(-10%); /* Dịch nhẹ sang trái */
        z-index: 1;
    }

    #app-mockup .mockup-right {
        position: absolute; /* Quay lại absolute để chồng lấp */
        left: 55%; /* Điều chỉnh vị trí để chồng lấp */
        transform: translateX(-25%); /* Dịch để tạo hiệu ứng chồng lấp */
        margin-left: 0;
        z-index: 2; /* Nằm trên mockup-left */
    }

    #app-mockup .feature-highlights {
        flex-direction: column; /* Chuyển thành 1 cột */
        align-items: center; /* Căn giữa các items */
    }

    #app-mockup .feature-item {
        flex-basis: 100%; /* Mỗi item chiếm toàn bộ chiều rộng */
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .home-content h1 {
        font-size: 2.5rem;
    }
    #home {
        padding-top: 60px; /* Đảm bảo content không bị nav che */
    }
    .home-content {
        padding-top: 20px;
    }

    .download-buttons {
        gap: 10px; /* Có thể giảm thêm nếu cần, ví dụ 5px */
        /* Để đảm bảo các nút được căn giữa nếu chúng co lại đáng kể */
        /* justify-content: center; */ /* Đã có sẵn ở global style */
    }

    .download-buttons .btn {
        padding-top: 8px; /* Điều chỉnh padding cho phù hợp */
        padding-bottom: 8px;
        padding-left: 10px; /* Giảm padding ngang */
        padding-right: 10px; /* Giảm padding ngang */
        /* flex-shrink: 0; đã được kế thừa từ media query 768px */
        /* Điều này đảm bảo nút không co nhỏ hơn nội dung của nó */
    }

    /* Ghi đè min-width toàn cục cho các nút này trong .download-buttons */
    .download-buttons .btn-appstore,
    .download-buttons .btn-playstore {
        min-width: auto; /* Cho phép nút co lại theo nội dung + padding mới */
    }

    .download-buttons .btn img { /* Adjusted selector */
        height: 50px;
        min-width: 100px; /* Giữ nguyên min-width của ảnh */
                           /* Nếu vẫn quá rộng, có thể giảm xuống 80-90px */
    }
}

/* AOS Animations - Mặc định là ẩn đi để AOS có thể làm hiện ra */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

/* Thêm style cho hình ảnh placeholder nếu cần */
.iphone-mockup {
    background-color: #e0e0e0; /* Màu nền cho placeholder */
    /* Có thể thêm kích thước cố định nếu ảnh thật chưa có */
    /* width: 250px; */
    /* height: 500px; */ 
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #555;
    text-align: center;
}

/* Placeholder cho các nút tải app */
.btn-appstore,
.btn-playstore {
    min-width: 150px; /* Đảm bảo nút có độ rộng tối thiểu */
    /* background-color: #555; */ /* Màu nền tạm thời nếu chưa có ảnh */
    /* color: white; */
    /* padding: 12px 20px; */
    /* border-radius: 8px; */
}

.btn-appstore img,
.btn-playstore img {
    vertical-align: middle;
}

/* Fix logo Zodi color */
.logo a {
    color: var(--primary-color); /* Or var(--light-text) if on dark background */
}

.top-nav.scrolled {
    background-color: rgba(0, 0, 0, 0.8); /* Nền đậm hơn khi cuộn */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

body.nav-fixed-padding {

}

/* Dark theme for services section */
.theme-dark {
  background-color: #112742;
  color: #FFFFFF;
  padding-top: 60px;
  padding-bottom: 60px;
}

.theme-dark h2,
.theme-dark h3,
.theme-dark p {
  color: #FFFFFF;
}

.theme-dark .service-card {
  background-color: #1e3b5f;
  border: 1px solid #133155;
}

.theme-dark .service-emoji {
  
}

.theme-dark .service-card p {
    color: #e0e0e0; /* Hoặc màu chữ sáng hơn phù hợp với nền tối */
}

/* Particle Styles */
.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
    pointer-events: none; /* Hạt không tương tác được */
    opacity: 1;
    will-change: transform, opacity;
    z-index: 10;
}

@keyframes spray-left {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.9;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        transform: translate(-100px, var(--vy)) scale(0.3);
        opacity: 0;
    }
}

@keyframes spray-right {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.9;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        transform: translate(100px, var(--vy)) scale(0.3);
        opacity: 0;
    }
}

/* Custom styles for footer text */
.company-info h3,
.company-info p,
.company-info p b,
.footer-links h4,
.footer-links ul li a {
    color: var(--dark-text) !important; /* Sử dụng !important để đảm bảo ghi đè các style khác nếu cần */
}

/* Điều chỉnh màu cho thẻ <a> trong .footer-links khi hover để giữ màu --dark-text */
.footer-links ul li a:hover {
    color: var(--dark-text) !important;
    opacity: 0.7; /* Thêm chút hiệu ứng hover */
} 

.multi-mockup-container {
    position: relative;
    /* Đảm bảo đây là context định vị */
}

.decorative-circle {
    position: absolute;
    top: 0%;
    left: 20%;
    width: 600px;
    height: 600px;
    background-color: #c3e614;
    border-radius: 50%;
    border: 60px solid #d0f41d;
    z-index: 0;
}

.device-mockup {
    /* Áp dụng cho cả mockup-left và mockup-right */
    position: relative;
    /* Cần thiết để z-index hoạt động đúng */
    z-index: 1;
    /* Đảm bảo mockup nằm trên vòng tròn */
}

.theme-dark h2,
.theme-dark .section-subtitle {
    color: var(--light-text); /* Chữ trắng cho tiêu đề và phụ đề của section */
}

.parallax-image-section {
    background-image: url('../images/delivery.jpg');
    height: 620px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Styles for individual word fade-up effect */
.word-fade-up {
    display: inline-block; /* Ensures transform works correctly and spaces are maintained */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.25s ease-out, transform 0.25s ease-out;
}

.word-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced App Mockup Section Animations */
#app-mockup {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Animated Background Elements */
.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* Floating Shapes */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), #d4e815);
    opacity: 0.1;
    animation: float 8s ease-in-out infinite;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
    animation-duration: 6s;
}

.shape-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
    animation-duration: 8s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    top: 30%;
    left: 80%;
    animation-delay: 4s;
    animation-duration: 7s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    bottom: 20%;
    left: 10%;
    animation-delay: 1s;
    animation-duration: 9s;
}

.shape-5 {
    width: 40px;
    height: 40px;
    top: 20%;
    right: 30%;
    animation-delay: 3s;
    animation-duration: 5s;
}

/* Gradient Orbs */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    animation: orbMove 12s ease-in-out infinite;
}

.orb-1 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(195, 230, 18, 0.3) 0%, rgba(195, 230, 18, 0.1) 70%);
    top: 15%;
    left: -5%;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(17, 39, 66, 0.2) 0%, rgba(17, 39, 66, 0.05) 70%);
    bottom: 10%;
    right: -10%;
    animation-delay: 6s;
}

/* Enhanced Container */
#app-mockup .container {
    position: relative;
    z-index: 1;
}

/* Enhanced Title */
#app-title {
    background: linear-gradient(45deg, var(--dark-text), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    margin-bottom: 30px;
}

#app-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    border-radius: 2px;
    animation: titleUnderline 2s ease-in-out infinite;
}

/* Enhanced Subtitle */
.enhanced-subtitle {
    position: relative;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(195, 230, 18, 0.2);
}

/* Enhanced Mockup Container */
.enhanced-mockup-container {
    perspective: 1000px;
    transform-style: preserve-3d;
}

/* Enhanced Circle */
.enhanced-circle {
    background: linear-gradient(45deg, var(--primary-color), #d4e815);
    box-shadow: 
        0 0 50px rgba(195, 230, 18, 0.3),
        inset 0 0 50px rgba(255, 255, 255, 0.2);
    animation: circleFloat 6s ease-in-out infinite;
}

/* Enhanced Mockups */
.enhanced-mockup {
    transition: all 0.5s ease;
    animation: mockupFloat 4s ease-in-out infinite;
}

.enhanced-mockup:hover {
    transform: translateY(-20px) rotateY(10deg) scale(1.05);
    z-index: 10;
}

.mockup-wrapper {
    position: relative;
    /* Đã bỏ border-radius, overflow, box-shadow, background */
    /* border-radius: 25px; */
    /* overflow: hidden; */
    /* box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15); */
    /* background: transparent; */
}

/* .mockup-wrapper::before - Đã bỏ overlay để ảnh 3D hiển thị tự nhiên */
/* 
.mockup-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.02), transparent);
    pointer-events: none;
    z-index: 2;
    opacity: 0.3;
}
*/

.mockup-image {
    position: relative;
    z-index: 1;
    transition: transform 0.5s ease;
}

.enhanced-mockup:hover .mockup-image {
    transform: scale(1.02);
}

/* Mockup Glow Effect */
.mockup-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
    filter: blur(20px);
}

.enhanced-mockup:hover .mockup-glow {
    opacity: 0.3;
}

/* Mockup Reflection */
.mockup-reflection {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), transparent);
    transform: scaleY(-1);
    opacity: 0.3;
    filter: blur(2px);
}

/* Interactive Dots */
.interactive-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.6;
    animation: dotPulse 3s ease-in-out infinite;
}

.dot-1 {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.dot-2 {
    top: 70%;
    right: 20%;
    animation-delay: 0.6s;
}

.dot-3 {
    top: 40%;
    left: 70%;
    animation-delay: 1.2s;
}

.dot-4 {
    bottom: 30%;
    left: 30%;
    animation-delay: 1.8s;
}

.dot-5 {
    top: 60%;
    left: 50%;
    animation-delay: 2.4s;
}

/* Enhanced Features */
.enhanced-features {
    padding: 40px 0;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    margin-top: 60px; /* Reset margin bình thường */
    margin-bottom: -150px !important; /* Loại bỏ khoảng trống phía dưới */
    position: relative;
    z-index: 10; /* Đảm bảo nằm trên mockups */
    transform: translateY(-150px) !important; /* Sử dụng transform thay vì margin */
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: none !important; /* Bỏ transition để không bị animation override */
}

.enhanced-feature-item {
    transition: all 0.3s ease;
    padding: 20px;
    border-radius: 15px;
    position: relative;
    cursor: pointer;
}

.enhanced-feature-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.enhanced-feature-item .feature-emoji {
    font-size: 3rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.enhanced-feature-item:hover .feature-emoji {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 5px 15px rgba(195, 230, 18, 0.4));
}

/* Feature Ripple Effect */
.feature-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.6;
    animation: ripple 2s ease-out infinite;
}

/* Keyframe Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@keyframes orbMove {
    0%, 100% {
        transform: translateX(0px) translateY(0px);
    }
    25% {
        transform: translateX(20px) translateY(-30px);
    }
    50% {
        transform: translateX(-10px) translateY(-20px);
    }
    75% {
        transform: translateX(-20px) translateY(10px);
    }
}

@keyframes titleUnderline {
    0%, 100% {
        width: 80px;
        opacity: 0.8;
    }
    50% {
        width: 120px;
        opacity: 1;
    }
}

@keyframes circleFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-15px) scale(1.02);
    }
}

@keyframes mockupFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.mockup-left {
    animation-delay: 0s;
}

.mockup-right {
    animation-delay: 2s;
}

@keyframes dotPulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

@keyframes ripple {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .floating-shape {
        display: none;
    }
    
    .gradient-orb {
        width: 150px !important;
        height: 150px !important;
    }
    
    .enhanced-mockup:hover {
        transform: translateY(-10px) scale(1.02);
    }
    
    #app-title::after {
        width: 60px;
    }
    
    .enhanced-subtitle {
        padding: 15px;
        margin-bottom: 30px;
    }
    
    .interactive-dots {
        display: none;
    }
    
    .enhanced-features {
        transform: translateY(-100px) !important; /* Giảm độ di chuyển trên mobile */
        margin-bottom: -100px !important; /* Loại bỏ khoảng trống trên mobile */
        backdrop-filter: blur(12px); /* Giảm nhẹ blur trên mobile */
    }
}

@media (max-width: 480px) {
    .enhanced-circle {
        width: 300px !important;
        height: 300px !important;
    }
    
    .enhanced-feature-item:hover {
        transform: translateY(-5px);
    }
    
    .enhanced-feature-item .feature-emoji {
        font-size: 2.5rem;
    }
    
    .orb-1, .orb-2 {
        width: 100px !important;
        height: 100px !important;
    }
    
    /* Cập nhật cho mockups trên màn hình rất nhỏ */
    #app-mockup .mockup-image {
        max-width: 320px; /* Giữ kích thước lớn hơn cho màn hình nhỏ */
    }
    
    #app-mockup .multi-mockup-container {
        height: 400px; /* Tăng chiều cao để chứa ảnh lớn hơn */
        padding: 0 2px; /* Giảm padding tối thiểu */
    }
    
    #app-mockup .mockup-left {
        transform: translateX(-35%); /* Dịch nhiều hơn cho màn hình nhỏ */
    }

    #app-mockup .mockup-right {
        left: 30%; /* Điều chỉnh vị trí cho màn hình nhỏ */
        transform: translateX(-35%); /* Điều chỉnh transform cho màn hình nhỏ */
    }
    
    .enhanced-features {
        transform: translateY(-80px) !important; /* Giảm độ di chuyển cho màn hình nhỏ */
        margin-bottom: -80px !important; /* Loại bỏ khoảng trống cho màn hình nhỏ */
        backdrop-filter: blur(10px); /* Giảm blur cho performance */
        padding: 30px 0; /* Giảm padding */
    }
}