﻿  /* --- CSS VARIABLES & RESET --- */
  :root {
    --mcolor: #d2b723; /* Vàng - Action/Highlight */
    --scolor: #2e53af; /* Xanh - Trust/Primary */
    --dark: #1a2b4e;
    --light: #f8f9fa;
    --white: #ffffff;
    --gray: #6c757d;
    --error: #dc3545;
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.sp{display:none;}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: #333;
    background-color: var(--white);
}

a { text-decoration: none; transition: 0.3s; }
ul { list-style: none; }

/* --- UTILITIES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--mcolor);
    color: #fff; /* Text trắng để tương phản tốt trên nền vàng đậm */
    box-shadow: 0 4px 15px rgba(210, 183, 35, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background-color: #bfa51f;
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--scolor);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--scolor);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--gray);
    font-size: 1.1rem;
}

section {
    padding: 80px 0;
}

/* --- HEADER --- */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--scolor);
}

.logo span { color: var(--mcolor); }

.nav-links a {
    margin-left: 20px;
    color: var(--dark);
    font-weight: 500;
}

.nav-links .btn-login {
    background: var(--scolor);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
}
.nav-links .btn-register {
    background-color: var(--mcolor);
    color: #fff;
    box-shadow: 0 4px 15px rgba(210, 183, 35, 0.4);
    padding: 8px 20px;
    border-radius: 20px;
}
/* --- HERO SECTION --- */
.hero {
    background: linear-gradient(135deg, var(--scolor) 0%, #1a3a8a 100%);
    color: var(--white);
    padding: 160px 0 100px;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.hero-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 280px;
    height: 550px;
    background: #fff;
    border-radius: 40px;
    border: 8px solid #333;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    overflow: hidden;
    position: relative;
}

/* Placeholder bên trong điện thoại */
.phone-screen {
    background: #f4f4f4;
    height: 100%;
    padding: 20px;
    text-align: center;
}
.phone-avatar { width: 80px; height: 80px; background: #ddd; border-radius: 50%; margin: 20px auto; }
.phone-bar { height: 40px; background: var(--scolor); margin-bottom: 10px; border-radius: 8px; }

/* --- PROBLEM SECTION --- */
.problem { background: var(--white); }
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.problem-card {
    padding: 30px;
    background: var(--light);
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
}
.problem-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.problem-icon {
    font-size: 2.5rem;
    color: #d9534f; /* Màu cảnh báo */
    margin-bottom: 20px;
}
.solution-highlight {
    text-align: center;
    margin-top: 50px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--scolor);
}

/* --- FEATURES SECTION --- */
.features { background: var(--light); }
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.feature-item {
    background: var(--white);
    padding: 25px;
    border-left: 5px solid var(--mcolor);
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.feature-item i {
    font-size: 1.5rem;
    color: var(--scolor);
    margin-right: 15px;
    width: 40px;
    text-align: center;
}
.feature-item h4 { margin: 0; font-size: 1.1rem; }

/* --- BENEFITS SECTION --- */
.benefits-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}
.benefits-img { flex: 1; min-width: 300px; text-align: center; }
.benefits-img img { max-width: 100%; border-radius: 15px; box-shadow: 0 15px 30px rgba(46, 83, 175, 0.2); }
.benefits-list { flex: 1; min-width: 300px; }
.benefit-point { margin-bottom: 30px; }
.benefit-point h3 { color: var(--scolor); margin-bottom: 10px; display: flex; align-items: center; }
.benefit-point h3 i { color: var(--mcolor); margin-right: 10px; }

/* --- USER SEGMENTS --- */
.users { background: var(--light); }
.user-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}
.user-tag {
    background: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    border: 2px solid var(--scolor);
    color: var(--scolor);
    font-weight: 600;
    font-size: 1.1rem;
}
.user-tag:hover {
    background: var(--scolor);
    color: var(--white);
}

/* --- DEMO SECTION --- */
.demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}
.demo-item {
    text-align: center;
}
.demo-preview {
    height: 350px;
    background: #e9ecef;
    border-radius: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    border: 1px solid #ddd;
}
.demo-item h4 { color: var(--dark); margin-bottom: 10px; }

/* --- COMPARISON SECTION --- */
.comparison { overflow-x: auto; }
.comp-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}
.comp-table th, .comp-table td {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}
.comp-table th { background: #f8f9fa; font-size: 1.2rem; }
.comp-eprofile {
    background: rgba(210, 183, 35, 0.1);
    border: 2px solid var(--mcolor);
    border-bottom: 2px solid var(--mcolor) !important;
    position: relative;
}
.comp-eprofile::before {
    content: 'KHUYÊN DÙNG';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--mcolor);
    color: #fff;
    padding: 5px 10px;
    font-size: 0.8rem;
    border-radius: 10px;
    font-weight: bold;
}
.check { color: #28a745; font-size: 1.2rem; }
.cross { color: #dc3545; font-size: 1.2rem; }

/* --- PRICING --- */
.pricing { background: linear-gradient(to bottom, #fff, #f4f6f9); }
.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}
.price-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    width: 350px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
}
.price-card.premium {
    border: 2px solid var(--scolor);
}
.price-header { text-align: center; margin-bottom: 30px; }
.price-header h3 { font-size: 1.8rem; margin-bottom: 10px; }
.price-list li { margin-bottom: 15px; display: flex; align-items: center; }
.price-list li i { color: var(--mcolor); margin-right: 10px; }

/* --- FAQ --- */
.faq-item {
    background: var(--light);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    cursor: pointer;
}
.faq-question { font-weight: 700; color: var(--scolor); display: flex; justify-content: space-between; }
.faq-answer { margin-top: 15px; color: var(--gray); display: none; }
.faq-item.active .faq-answer { display: block; }

/* --- CTA FOOTER --- */
.cta-footer {
    background: var(--scolor);
    color: var(--white);
    text-align: center;
    padding: 100px 0;
}
.cta-footer h2 { font-size: 2.5rem; margin-bottom: 20px; }

/* --- FOOTER --- */
footer {
    background: var(--dark);
    color: #aaa;
    padding: 50px 0 20px;
    text-align: center;
}
.footer-links { margin-bottom: 20px; }
.footer-links a { color: var(--white); margin: 0 10px; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .pc{display: none;}
    .sp{display:block;}
    .sp_register{padding: 5px;font-size: 21px;}
    .hero {padding: 40px 0 100px;}
    .hero-text h1 { font-size: 2.2rem; }
    .hero-buttons { flex-direction: column; }
    .hero-image { margin-top: 50px; /* Ẩn ảnh trên mobile nhỏ để gọn hoặc chỉnh lại layout */ }
    .nav-links { display: none; /* Cần JS để làm burger menu, tạm ẩn */ }
    .logo { flex: 1; text-align: center; }
}
@media (max-width: 480px) {
    .section-title h2, .cta-footer h2{font-size: 2rem;line-height: 1.4;}
    .user-tag{
        padding: 10px 15px;font-size: 1rem;
    }
    .comp-table{min-width: auto;}
    .comp-table th, .comp-table td{padding: 10px 5px;}
    .comp-table th{font-size: 1rem;}
    .comp-table td{font-size: 0.7rem;}
    
    .comp-eprofile::before{
       
   
        padding:5px;font-size: 0.5rem;    width: 65px;
    }
    tbody .comp-eprofile::before{
       display: none;
    }
    section, .cta-footer{
        padding:40px 0;
    }
}