body, html {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', 'Inter', Arial, sans-serif;
    background: linear-gradient(0deg, #b3caff, #ffb3ca, #b3ffca, #caf7b3, #cab3ff, #ffd6b3, #b3caff, #fff);
    background-size: 400% 400%;
    animation: gradient-animate 18s ease-in-out infinite;
}

@keyframes gradient-animate {
    0% { background-position: 0% 50%; }
    25% { background-position: 50% 100%; }
    50% { background-position: 100% 50%; }
    75% { background-position: 50% 0%; }
    100% { background-position: 0% 50%; }
}

.home-ai-hero {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 40px;
}

.ai-hero-bg {
    width: 100vw; /* full width trang */
    left: 50%;
    right: 0;
    transform: translateX(-50%);
    max-width: none;
    margin: 0;
    position: relative;
    text-align: center;
    overflow: hidden;
}

/* Lá»›p phá»§ gradient tráº¯ng ná»­a dÆ°á»›i lÃªn trÃªn */
.ai-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(
        to top,
        rgb(255 255 255) 0%,
        rgb(255 255 255) 30%,
        rgb(255 255 255) 50%,
        rgb(255 255 255) 70%,
        rgba(255,255,255,0) 100%
    );
}

/* Äáº£m báº£o ná»™i dung náº±m trÃªn lá»›p phá»§ */
.ai-hero-icons,
.ai-hero-content,
.ai-hero-features {
    position: relative;
    z-index: 2;
}

.ai-hero-icons {
    position: absolute;
    width: 100%;
    max-width: 1600px;
    left: 0;
    right: 0;
    margin: 0 auto;
    pointer-events: none;
}

.ai-hero-icon {
    position: absolute;
    width: 180px;
    height: auto;
    z-index: 2;
}

.ai-hero-icon-left {
    left: 0;
    top: 340px;
    width: 200px;
}

.ai-hero-icon-right {
    right: 0;
    top: 40px;
    width: 220px;
}

.ai-hero-icon-bottom {
    right: 40px;
    top: 477px;
    /* width: 120px; */
}

.ai-hero-content {
    padding-top: 160px;
    padding-bottom: 40px;
}

.ai-hero-title {
    font-size: 3.2rem;
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 900;
    color: #222;
    margin-bottom: 18px;
    line-height: 1.2;
}

.ai-hero-title span {
    display: block;
    font-size: 3.2rem;
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 900;
}

.ai-hero-desc {
    font-size: 1.5rem;
    color: #444;
    margin-bottom: 32px;
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 400;
}

.ai-hero-video-wrap {
    display: flex;
    justify-content: center;
    margin: 0 auto 40px auto;
}

.ai-hero-video {
    width: 820px;
    height: auto;
    background: #aaa;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.08);
}

.ai-hero-features {
    display: flex;
    flex-direction: column;
    gap: 49px;
    margin-top: 30px;
    margin-bottom: 130px;
    align-items: center;
}

/* Wrapper gradient border vá»›i border-radius */
.ai-hero-feature-gradient {
    background: linear-gradient(90deg, #9246da 0%, #2196d2 100%);
    padding: 2px;
    border-radius: 16px;
    display: inline-block;
}

/* BÃªn trong lÃ  ná»n tráº¯ng vÃ  bo gÃ³c */
.ai-hero-feature {
    background: #fff;
    border-radius: 14px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.5rem;
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 500;
    box-shadow: 0 2px 12px 0 rgba(179,202,255,0.10);
    max-width: fit-content;
    width: 100%;
    border: none; /* bá» border cÅ© */
}

.ai-hero-feature img {
    width: 36px;
    height: auto;
    flex-shrink: 0;
}

/* Tablet styles */
@media (max-width: 1024px) {
    .ai-hero-bg {
        padding: 0 16px;
    }
    .ai-hero-icons {
        max-width: 100vw;
    }
    .ai-hero-icon {
        width: 120px;
    }
    .ai-hero-icon-left {
        left: -20px;
        top: 220px;
        width: 130px;
    }
    .ai-hero-icon-right {
        right: -20px;
        top: 20px;
        width: 140px;
    }
    .ai-hero-icon-bottom {
        right: 10px;
        top: 340px;
        width: 100px;
    }
    .ai-hero-content {
        padding-top: 90px;
        padding-bottom: 24px;
    }
    .ai-hero-title,
    .ai-hero-title span {
        font-size: 2.1rem;
    }
    .ai-hero-desc {
        font-size: 1.1rem;
    }
    .ai-hero-video {
        width: 100%;
        max-width: 500px;
    }
    .ai-hero-features {
        gap: 28px;
        margin-bottom: 60px;
    }
    .ai-hero-feature {
        font-size: 1.1rem;
        padding: 14px 12px;
        gap: 10px;
    }
    .ai-hero-feature img {
        width: 28px;
    }
}

/* Mobile styles */
@media (max-width: 767px) {
    .home-ai-hero {
        padding-top: 12px;
    }
    .ai-hero-bg {
        padding: 10px;
    }
    .ai-hero-icons {
        display: none;
    }
    .ai-hero-content {
        padding: 12px;
    }
    .ai-hero-title,
    .ai-hero-title span {
        font-size: 2.3rem;
        line-height: 1.25;
    }
    .ai-hero-desc {
        font-size: 1.2rem;
        margin-bottom: 18px;
    }
    .ai-hero-video-wrap {
        margin-bottom: 18px;
    }
    .ai-hero-video {
        width: 100%;
        max-width: 98vw;
        border-radius: 7px;
    }
    .ai-hero-features {
        gap: 16px;
        padding: 10px;
    }
    .ai-hero-feature-gradient {
        border-radius: 10px;
        padding: 1px;
    }
    .ai-hero-feature {
        border-radius: 8px;
        padding: 10px 7px;
        font-size: 0.98rem;
        gap: 7px;
        text-align: left;
    }
    .ai-hero-feature img {
        width: 50px;
        margin-right: 10px;
    }
}
/* --- Why Choose Us --- */
.ai-why-choose {
    margin: 60px auto 0 auto;
    max-width: 1300px;
    background: #f1eeff;
    border-radius: 18px;
    box-shadow: 0 2px 24px 0 rgba(146,70,218,0.07);
    padding: 38px 32px 28px 32px;
    text-align: center;
}
.ai-why-choose h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #9246da;
    margin-bottom: 18px;
}
.ai-why-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ai-why-list li {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 12px;
    font-weight: 500;
    letter-spacing: 0.01em;
}

/* --- How It Works --- */
.ai-how-works {
    margin: 60px auto 0 auto;
    max-width: 1300px;
    background: #f1eeff;
    border-radius: 18px;
    box-shadow: 0 2px 24px 0 rgba(33,150,210,0.07);
    padding: 38px 32px 28px 32px;
    text-align: center;
}
.ai-how-works h2 {
    font-size: 2.1rem;
    font-weight: 800;
    color: #9246da;
    margin-bottom: 18px;
}
.ai-how-steps {
    display: flex;
    justify-content: center;
    gap: 36px;
    margin-top: 18px;
}
.ai-step {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px 0 rgba(33,150,210,0.08);
    padding: 22px 18px;
    min-width: 160px;
    max-width: 220px;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.ai-step-num {
    display: inline-block;
    background: linear-gradient(90deg, #9246da 0%, #2196d2 100%);
    color: #fff;
    font-weight: 700;
    font-size: 1.5rem;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    line-height: 38px;
    margin-bottom: 10px;
}
.ai-step p {
    font-size: 1.08rem;
    color: #333;
    margin: 0;
}

/* --- Pricing --- */
.ai-pricing {
    margin: 60px auto 0 auto;
    max-width: 900px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 24px 0 rgba(33,150,210,0.07);
    padding: 38px 32px 28px 32px;
    text-align: center;
}
.ai-pricing h2 {
    font-size: 2.1rem;
    font-weight: 800;
    color: #2196d2;
    margin-bottom: 18px;
}
.ai-pricing-tiers {
    display: flex;
    gap: 28px;
    justify-content: center;
    margin-top: 24px;
    flex-wrap: wrap;
}
.ai-pricing-tier {
    background: #f8f6ff;
    border-radius: 14px;
    box-shadow: 0 2px 12px 0 rgba(146,70,218,0.08);
    padding: 28px 24px 22px 24px;
    min-width: 180px;
    max-width: 240px;
    flex: 1 1 0;
    margin-bottom: 12px;
    border: 2px solid transparent;
    transition: border 0.2s;
}
.ai-pricing-tier-popular {
    border: 2px solid #9246da;
    background: #fff6ff;
    position: relative;
}
.ai-pricing-tier-popular::before {
    content: "Popular";
    position: absolute;
    top: 12px;
    right: 18px;
    background: #9246da;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 8px;
    letter-spacing: 0.02em;
}
.ai-pricing-tier h3 {
    font-size: 1.3rem;
    color: #9246da;
    margin-bottom: 10px;
    font-weight: 700;
}
.ai-pricing-tier p {
    font-size: 1.1rem;
    color: #333;
    margin: 0;
}
.ai-pricing-tier strong {
    font-size: 1.5rem;
    color: #2196d2;
    font-weight: 900;
}

/* --- FAQ --- */
.ai-faq {
    margin: 60px auto 0 auto;
    max-width: 1300px;
    background: #f1eeff;
    border-radius: 18px;
    box-shadow: 0 2px 24px 0 rgba(146,70,218,0.07);
    padding: 38px 32px 28px 32px;
    text-align: center;
}
.ai-faq h2 {
    font-size: 2.1rem;
    font-weight: 800;
    color: #9246da;
    margin-bottom: 18px;
}
.imgaipress-faq-list {
    margin: 0 auto;
    max-width: 700px;
    text-align: left;
}
.imgaipress-faq-item {
    background: #ffffff;
    border-radius: 10px;
    margin-bottom: 14px;
    box-shadow: 0 2px 8px 0 rgba(146,70,218,0.05);
    cursor: pointer;
    transition: background 0.2s;
    padding: 0 18px;
}
.imgaipress-faq-item h3 {
    font-size: 1.08rem;
    color: #473f4f;
    margin: 0;
    padding: 18px 0 12px 0;
    font-weight: 700;
    cursor: pointer;
    position: relative;
}
.imgaipress-faq-item h3::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 18px;
    font-size: 1.2rem;
    color: #9246da;
    transition: transform 0.2s;
}
.imgaipress-faq-item.open h3::after {
    content: "-";
    transform: rotate(180deg);
}
.imgaipress-faq-answer {
    display: none;
    font-size: 1.05rem;
    color: #333;
    padding-bottom: 16px;
    padding-right: 18px;
    padding-left: 2px;
}
.imgaipress-faq-item.open .imgaipress-faq-answer {
    display: block;
    animation: fadeInFaq 0.3s;
}
@keyframes fadeInFaq {
    from { opacity: 0; transform: translateY(-8px);}
    to { opacity: 1; transform: translateY(0);}
}

/* --- Call to Action --- */
.ai-cta {
    margin: 60px auto 60px auto;
    max-width: 900px;
    background: linear-gradient(90deg, #9246da 0%, #2196d2 100%);
    border-radius: 18px;
    box-shadow: 0 2px 24px 0 rgba(33,150,210,0.10);
    padding: 38px 32px 38px 32px;
    text-align: center;
    color: #fff;
}
.ai-cta h2 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 22px;
    color: #fff;
}
.ai-cta-btn {
    display: inline-block;
    background: #fff;
    color: #9246da;
    font-size: 1.25rem;
    font-weight: 800;
    padding: 16px 38px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 2px 12px 0 rgba(146,70,218,0.10);
    transition: background 0.2s, color 0.2s;
    margin-top: 10px;
}
.ai-cta-btn:hover {
    background: #2196d2;
    color: #fff;
}
.ai-why-choose,
.ai-how-works,
.ai-pricing,
.ai-faq,
.ai-cta {
    position: relative;
    z-index: 2;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .ai-why-choose,
    .ai-how-works,
    .ai-pricing,
    .ai-faq,
    .ai-cta {
        padding: 22px 10px 18px 10px;
        border-radius: 12px;
    }
    .ai-how-steps {
        gap: 16px;
    }
    .ai-step {
        min-width: 100px;
        padding: 14px 6px;
    }
    .ai-pricing-tiers {
        gap: 12px;
    }
    .ai-pricing-tier {
        padding: 14px 8px 12px 8px;
        min-width: 120px;
    }
}

@media (max-width: 767px) {
    .ai-why-choose,
    .ai-how-works,
    .ai-pricing,
    .ai-faq,
    .ai-cta {
        padding: 12px;
        border-radius: 7px;
        margin: 32px auto 0 auto;
    }
    .ai-how-steps {
        flex-direction: column;
        gap: 10px;
    }
    .ai-step {
        min-width: unset;
        max-width: unset;
        width: 100%;
        margin-bottom: 8px;
    }
    .ai-pricing-tiers {
        flex-direction: column;
        gap: 10px;
    }
    .ai-pricing-tier {
        min-width: unset;
        max-width: unset;
        width: 100%;
    }
    .ai-why-list {
        text-align: left;
    }
}