@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;700&display=swap');

/* 添加星星样式 */
.star-top-left {
    position: absolute;
    top: 149px;
    right: 580px;
    width: 42px;
    height: auto;
    z-index: 5;
    animation: twinkle 3s infinite alternate;
}

.star-bottom-right {
    position: absolute;
    top: 414px;
    right: 152px;
    width: 40px;
    height: auto;
    z-index: 5;
    animation: twinkle 2.5s infinite alternate;
}

@keyframes twinkle {
    0% { opacity: 0.3; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

/* 添加一个全局圆形渐变背景 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 40% 30%, #0a3b66 0%, #000 65%);
    z-index: -10;
    pointer-events: none;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #000;
    color: #fff;
    overflow-x: auto;
    min-width: 1600px;
    position: relative;
}

.container {
    background-image: url('images/Back_1.png');
    background-size: contain;
    background-position: right;
    background-repeat: no-repeat;
    min-height: 100vh;
    padding: 40px 80px;
    position: relative;
}

.container::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 45%;
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 0 15px 5px white;
    opacity: 0.8;
}

.container::after {
    content: '✨';
    position: absolute;
    font-size: 30px;
    top: 20%;
    left: 80%;
    opacity: 0.9;
    transform: rotate(20deg);
}

.transition-bg {
position: absolute;
    bottom: -274px;
    left: 0;
    width: 26%;
    height: 649px;
    background-image: url('images/Back 2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 10;
    pointer-events: none;
}

header .logo {
    width: 60px;
}

main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 50px;
    max-width: 1550px;
    margin: 0 auto;
}

.left-content {
    flex-basis: 62%;
    animation: slideInFromLeft 1s ease-out;
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.left-main-area {
    display: flex;
    align-items: flex-end;
    gap: 20px;
}

.text-content {
    flex-grow: 1;
}

/* Changing all maxis.png image widths to 180px */
.left-content .maxis-title-image {
    width: 180px;
    margin-bottom: 20px;
}

.left-content h1 {
    font-size: 32px;
    font-weight: 500;
    color: #00A8E8;
    margin-bottom: 20px;
}

.left-content h2 {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
}

.left-content p {
    font-size: 16px;
    color: #a0a0a0;
    margin-bottom: 40px;
    max-width: 400px;
}

.stats {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 50px;
}

.stats .active-users {
    padding-right: 40px;
    border-right: 1px solid #444;
}

.stats > div p:first-child {
    color: #a0a0a0;
    font-size: 14px;
    margin-bottom: 10px;
}

.stat-value {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-icon {
    height: 20px;
}

.stat-value span {
    font-size: 24px;
    font-weight: 700;
}

.right-content {
    position: relative;
    flex-basis: 45%;
    min-height: 600px;
    animation: fadeIn 1.5s ease-in;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.hand-and-phone {
    width: 120%;
    position: absolute;
    top: -157px;
    right: -172px;
    z-index: 2;
}

.card1 {
    width: 200px;
    margin-top: 0;
    flex-shrink: 0;
}

.card2 {
    position: absolute;
    width: 324px;
    bottom: 65px;
    right: -6px;
    z-index: 3;
}


/* --- Strategy Section --- */

.strategy-section {
    padding: 0px 5%;
    background-color: transparent;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.strategy-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 80px;
}

.strategy-header .maxis-title-image {
    display: block;
    width: 180px;
    margin-bottom: 20px;
}

.strategy-header h1 {
    font-size: 36px;
    color: #00A8E8;
    margin-bottom: 20px;
}

.strategy-header h2 {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.5;
    max-width: 800px;
    margin: 0 auto;
}

.strategy-layout {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 4%;
    width: 100%;
    margin: 0 auto;
    height: 600px;
}

.features-list {
    flex: 0.8;
    position: relative;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: none;
}

.features-list::before {
    display: none;
}

.feature-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
    position: relative;
    padding-left: 25px;
}

.feature-item:first-child::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(to bottom, #8A2BE2, #4B0082);
    border-radius: 3px;
}

.feature-item:not(:first-child)::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background-color: #444;
    border-radius: 3px;
}

.feature-icon-container {
    width: auto;
    height: auto;
    background-color: transparent;
    border-radius: 0;
    display: block;
    margin-bottom: 20px;
}

.feature-icon-container img {
    width: 60px;
    height: auto;
    padding: 0;
    border: none;
    z-index: 1;
}

.feature-text h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: 500;
}

.feature-text p {
    margin: 0;
    color: #a0a0a0;
    font-size: 14px;
    line-height: 1.4;
    max-width: 350px;
}

.recommender-panel {
    flex: 1.2;
    background-color: #16162a;
    border-radius: 20px;
    padding: 0px 40px;
    padding-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    max-width: none;
    box-sizing: border-box;
}

.recommender-panel h3 {
    text-align: center;
    font-size: 20px;
    font-weight: 500;

}

.crypto-chart {
    width: 100%;
    margin-bottom: 19px;
    border-radius: 10px;
}

.recommender-panel .crypto-chart:last-child {
    margin-bottom: 0;
}

.robot-card {
    flex: 1;
    background-color: #0f0f24;
    background-image: url('images/Rectangle 34624988.png');
    background-size: cover;
    background-position: center;
    border-radius: 25px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
    max-width: none;
    border: 1px solid #333;
}

.robot-character-image {
    width: 100%;
    height: 111%;
    object-fit: contain;
    position: absolute;
    top: -64px;
}


/* --- Testimonials Section --- */

.testimonials-section {
    padding: 100px 5%;
    background-color: transparent;
    background-image: none;
    background-size: cover;
    background-position: center;
}

.testimonials-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 80px;
    color: #fff;
}

.testimonials-header .maxis-title-image {
    display: block;
    width: 180px;
    margin-bottom: 20px;
}

.testimonials-header h1 {
    font-size: 36px;
    color: #00A8E8;
    margin-bottom: 20px;
}

.testimonials-header h2 {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.5;
    max-width: 800px;
    margin: 0 auto;
}

.testimonials-layout {
    display: flex;
    gap: 40px;
    align-items: stretch;
}

.robot-card-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('images/Rectangle 34625008.png');
    background-size: cover;
    background-position: center;
    border-radius: 25px;
    padding: 20px;
    position: relative;
    overflow: visible;
}

.robot-side-image {
    width: 90%;
    max-width: 450px;
    height: auto;
    position: absolute;
    top: -40px;
}

.testimonials-image-container {
    flex:3;
}

.testimonials-grid-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
}

/* Remove old grid styles */
.testimonials-grid, .testimonial-card, .large-card, .testimonial-card .tag, .testimonial-card .quote, .testimonial-card .user-info, .testimonial-card .user-info img, .testimonial-card .user-details, .testimonial-card .user-details span:first-child, .testimonial-card .user-details span:last-child {
    display: none;
} 

/* --- Analysis Section --- */

.analysis-section {
    background-color: transparent;
    background-image: none;
    background-size: cover;
    background-position: center;
    padding: 100px 3%;
    position: relative;
}

.analysis-layout {
    display: flex;
    align-items: flex-start;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.analysis-left {
    flex: 1;
    position: relative;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.decorative-arrow {
    position: absolute;
    width: 100px;
    bottom: 130px;
    left: -2%;
    z-index: 1;
}

.hand-phone-image-2 {
    width: 95%;
    max-width: none;
    position: relative;
    z-index: 2;
    margin-left: 25px;
    margin-top: -101px;
}

.analysis-right {
    flex: 1.5;
}

.analysis-header {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.analysis-header .star {
    position: absolute;
    top: -20px;
    right: 0;
    width: 60px;
}

.analysis-header .maxis-title-image {
    display: block;
    width: 180px;
    margin-bottom: 20px;
}

.analysis-header h1 {
    font-size: 36px;
    color: #00A8E8;
    margin-bottom: 20px;
}

.analysis-header h2 {
    font-size: 28px;
    font-weight: 500;
    line-height: 1.4;
    color: #fff;
    margin-bottom: 40px;
}

.main-chart-image {
    width: 100%;
    margin-bottom: 40px;
}

.analysis-features {
    display: flex;
    gap: 60px;
    justify-content: flex-start;
    align-items: flex-start;
    margin-top: 40px;
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    flex: 1;
}

.feature-card-icon {
    background-color: #000000;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-card-icon img {
    width: 24px;
    height: auto;
}

.feature-card-text h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.feature-card-text p {
    font-size: 16px;
    color: #a0a0a0;
    margin: 0;
    line-height: 1.6;
}

.feature-image {
    display: none;
}

/* Remove old feature box styles */
.feature-box, .feature-box img, .feature-box h3, .feature-box p {
    display: none;
} 

/* --- Final Section --- */

.final-section {
    background-color: transparent;
    padding: 80px 2%;
    position: relative;
    overflow: hidden;
}

.final-section::before {
content: '';
    position: absolute;
    bottom: -123px;
    left: 0px;
    width: 756px;
    height: 839px;
    background-image: url('images/Back 5.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom left;
    z-index: 0;
}

.final-layout {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1500px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.final-left {
    flex: 2;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 3%;
}

.large-logo {
    width: 100px;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.final-left .maxis-title-image {
    display: block;
    width: 180px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.final-left h1 {
    font-size: 36px;
    color: #00A8E8;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.final-left h2 {
    font-size: 28px;
    font-weight: 500;
    line-height: 1.5;
    color: #fff;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
    max-width: 90%;
}

.risk-prediction-image {
    width: 85%;
    max-width: 550px;
    position: relative;
    z-index: 1;
}

.final-right {
    flex: 1;
    position: relative;
    text-align: right;
    min-height: 600px;
    margin-right: -3%;
}

.hand-phone-image-3 {
    width: 859px;
    position: absolute;
    top: -146px;
    right: -53px;
    z-index: 3;
}

.decorative-arrow-2 {
    position: absolute;
    width: 80px;
    top: 30px;
    right: -2px;
    z-index: 4;
}

/* --- Download Section --- */

.download-section {
    background-color: transparent;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.download-section::before {
    content: '';
    position: absolute;
    top: 52%;
    left: 0;
    width: 100%;
    height: 372px;
    background-image: url('images/Rectangle 34625010.png');
    background-size: cover;
    background-position: center;
    transform: translateY(-50%);
    z-index: 1;
}

.download-layout {
    display: flex;
    align-items: center;
    max-width: 100%;
    width: 100%;
    margin: 0;
    position: relative;
    z-index: 2;
}

.download-left {
    flex: 1.5;
    position: relative;
    margin-left: -1%;
    display: flex;
    justify-content: flex-start;
}

.download-left img {
    width: 130%;
    max-width: 800px;
    margin-bottom: -10px;
    position: relative;
    left: 1%;
}

.download-right {
    flex: 1;
    padding-right: 8%;
}

.download-right h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.download-right p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 400px;
}

.store-buttons {
    display: flex;
    gap: 20px;
}

.store-buttons img {
    height: 50px;
    cursor: pointer;
}

/* 添加页脚前的分隔线 */
.footer-separator {
    width: 100%;
    height: 1px;
    background-color: #333;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
}

/* --- Footer --- */

footer {
    background-color: transparent;
    color: #a0a0a0;
    padding: 30px 5%;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 14px;
}

.footer-links a {
    color: #a0a0a0;
    text-decoration: none;
    margin-left: 30px;
    pointer-events: none;
    cursor: default;
}

.footer-links a:hover {
    color: #a0a0a0;
}

/* General rule for all maxis logo images */
.maxis-title-image {
    display: block;
    width: 180px;
    margin-bottom: 20px;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex: 1;
}

.feature-card-icon {
    font-size: 24px;
    background-color: #000;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #fff;
}

.feature-card-text h3 {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 10px 0;
}

.feature-card-text p {
    font-size: 14px;
    color: #a0a0a0;
    margin: 0;
    line-height: 1.5;
}
