/* --- FONT & RESET --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap');

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    overflow-x: hidden; /* Chống vỡ layout ngang */
}

/* Biến màu sắc */
:root {
    --primary-color: #0066CC; /* Sẽ được ghi đè bởi Controller */
    --gradient-start: #0f2027;
    --gradient-mid: #203a43;
    --gradient-end: #2c5364;
    --text-white: #ffffff;
    --text-muted: #aab8c2;
}

/* --- 1. HERO SECTION --- */
.ms-hero {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    padding: 120px 0 150px 0; /* Padding lớn để tạo khoảng thở */
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

/* Hiệu ứng nền mạch điện tử (Background Pattern) - Optional */
.ms-hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/circuit-board.png'); /* Pattern mạch điện */
    opacity: 0.05;
    pointer-events: none;
}

.ms-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
}

.ms-hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 90%;
}

.ms-btn {
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.ms-btn-primary {
    background: linear-gradient(90deg, #00C6FF 0%, #0072FF 100%);
    color: white;
    border: none;
    box-shadow: 0 10px 20px rgba(0, 114, 255, 0.3);
}

.ms-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0, 114, 255, 0.5);
    color: white;
}

.ms-btn-outline {
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    margin-left: 15px;
}

.ms-btn-outline:hover {
    border-color: white;
    background: rgba(255,255,255,0.1);
    color: white;
}

/* Ảnh Mockup App 3D */
.ms-hero-img img {
    max-width: 100%;
    height: auto;
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg) scale(0.9);
    box-shadow: -20px 20px 50px rgba(0,0,0,0.5); /* Bóng đổ đậm */
    border-radius: 30px;
    transition: transform 0.5s ease;
}

.ms-hero-img img:hover {
    transform: perspective(1000px) rotateY(0deg) scale(0.95); /* Hiệu ứng xoay lại khi hover */
}

/* --- 2. FEATURES SECTION --- */
.ms-features {
    padding: 100px 0;
    background: #f8fbfd;
}

.ms-section-title {
    text-align: center;
    margin-bottom: 60px;
}

.ms-section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.ms-feature-card {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03); /* Bóng đổ nhẹ tinh tế */
    transition: all 0.3s;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.ms-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.ms-feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    /* Nếu không có ảnh, dùng placeholder */
    background: #e6f4ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ms-feature-icon img {
    width: 40px;
    height: 40px;
}

.ms-feature-card h4 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.ms-feature-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- 3. BENEFITS (DARK SECTION) --- */
.ms-benefits {
    background: #0b1a24;
    padding: 100px 0;
    color: white;
}
.ms-benefits h2 { color: white; }
.ms-benefits img { max-width: 100%; }

/* --- 4. ECOSYSTEM & TESTIMONIALS --- */
.ms-ecosystem {
    padding: 60px 0;
    border-bottom: 1px solid #eee;
}
.ms-ecosystem img {
    filter: grayscale(100%); /* Logo đen trắng cho sang */
    opacity: 0.6;
    max-height: 40px;
    transition: all 0.3s;
}
.ms-ecosystem img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.ms-testimonials {
    padding: 100px 0;
    background: white;
}
.ms-quote-card {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}
.ms-quote-card p { font-style: italic; color: #555; }
.ms-quote-author { font-weight: bold; margin-top: 15px; display: block; }

/* --- 5. CTA FOOTER --- */
.ms-cta-footer {
    background: linear-gradient(90deg, #00C6FF 0%, #0072FF 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
    margin-top: 50px;
    border-radius: 20px 20px 0 0; /* Bo tròn góc trên */
}