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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #f8fafc;
}

/*Máy POS thông minh cho doanh nghiệp hiện đại*/
:root {
    --main-color: #258cfb;
}

.reviews-section {
    padding: 80px 20px;
    background: #f4f9ff;
    text-align: center;
    font-family: Arial, sans-serif;

}

.reviews-section h2 {
    font-size: 40px;
    margin-bottom: 10px;
    color: #111;
    justify-content: center;
    text-align: center;
    align-items: center;
}

.reviews-section .rating-summary .stars {
    font-size: 26px;
    color: var(--main-color);
    display: block;
    text-align: center;
    line-height: 1;
    margin-bottom: 10px;
}

.reviews-section h2 span {
    color: var(--main-color);
}

.subtitle {
    color: #555;
    margin-bottom: 30px;
}

.rating-summary .stars {
    font-size: 26px;
    color: var(--main-color);
}

.rating-summary .score {
    font-size: 36px;
    font-weight: bold;
    margin-top: 5px;
    color: #111;
}

.rating-summary .count {
    color: #666;
    margin-bottom: 50px;
}

.review-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: auto;
}

.review-card {
    background: #fff;
    padding: 26px;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(37, 140, 251, 0.12);
    text-align: left;
    position: relative;
    transition: 0.3s ease;
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(37, 140, 251, 0.2);
}

.card-stars {
    color: var(--main-color);
    font-size: 18px;
    margin-bottom: 14px;
}

.content {
    font-size: 15px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 14px;
}

.product {
    color: var(--main-color);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 42px;
    height: 42px;
    background: var(--main-color);
    color: #fff;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user span {
    display: block;
    font-size: 13px;
    color: #666;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 30px;
    }
}

@media (max-width: 480px) {
    .stats-container {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 34px;
    }

    .stat-suffix {
        font-size: 20px;
    }
}

/* ================= POS HERO ================= */
.pos-hero {
    margin-top: 20px;
    padding: 80px 0;
    background: radial-gradient(circle at center, #eaf7f6 0%, #ffffff 70%);
}

.pos-hero__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.pos-hero__title {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.2;
    color: #0f172a;
}

.pos-hero__title--blue {
    color: #258cfb;
    ;
}

.pos-hero__title--teal {
    color: #0ea5a4;
}

.pos-hero__subtitle {
    margin-top: 14px;
    font-size: 18px;
    color: #64748b;
}

/* ================= LAYOUT ================= */
.pos-hero__content {
    margin-top: 60px;
    display: grid;
    grid-template-columns: 1fr 420px 1fr;
    gap: 30px;
    align-items: center;

}

.pos-hero__col {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.pos-hero__col--left {
    align-items: flex-end;
}

.pos-hero__col--right {
    align-items: flex-start;
}

/* ================= CARD ================= */
.pos-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    gap: 18px;

    width: 100%;
    max-width: 360px;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.25s ease;
}

.pos-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
}

.pos-card--reverse {
    flex-direction: row-reverse;
}

.pos-card__icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 22px;
    color: #ffffff;
    background: linear-gradient(135deg, #258cfb, #ccfbf1);
    flex-shrink: 0;
}

.pos-card__text {
    text-align: left;
}

.pos-card--reverse .pos-card__text {
    text-align: right;
}

.pos-card__text h4 {
    font-size: 26px;
}

.pos-card__text p {
    font-size: 14.5px;
    color: #64748b;
    line-height: 1.6;
}


/* ================= HERO GRID ================= */
.pos-hero__content {
    margin-top: 60px;
    display: grid;
    grid-template-columns: 1fr 420px 1fr;
    gap: 30px;
    align-items: center;
}


/* ================= CENTER POS ================= */
.pos-hero__center {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pos-device-bg {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, #c7f3ef 0%, transparent 70%);
}

.pos-device-img {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.2));
}


/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
    .pos-hero__content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Hiển thị hình máy POS đầu tiên */
    .pos-hero__center {
        order: -1;
        margin-bottom: 10px;
    }

    /* Sắp xếp tất cả cards thành 1 cột dọc */
    .pos-hero__col {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .pos-hero__col--left,
    .pos-hero__col--right {
        align-items: center;
    }

    /* Căn giữa từng card, icon ở trên, text ở dưới */
    .pos-card {
        flex-direction: column;
        max-width: 280px;
        width: 100%;
        padding: 20px 16px;
        text-align: center;
    }

    .pos-card--reverse {
        flex-direction: column;
        /* Giống nhau, icon trên text dưới */
    }

    .pos-card__text {
        text-align: center !important;
    }

    .pos-card--reverse .pos-card__text {
        text-align: center !important;
    }

    .pos-card__icon {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }
}

/* Mobile nhỏ (dưới 576px) - Tối ưu thêm */
@media (max-width: 576px) {
    .pos-hero {
        padding: 50px 0;
    }

    .pos-hero__title {
        font-size: 26px;
    }

    .pos-hero__subtitle {
        font-size: 15px;
        margin-top: 10px;
    }

    .pos-hero__content {
        margin-top: 35px;
        gap: 25px;
    }

    .pos-hero__col {
        gap: 10px;
    }

    .pos-card {
        padding: 16px 18px;
    }

    .pos-card__icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .pos-card__text h4 {
        font-size: 17px;
    }

    .pos-card__text p {
        font-size: 13px;
    }

    /* Thu nhỏ hình máy POS */
    .pos-device-bg {
        width: 220px;
        height: 220px;
    }

    .pos-device-img {
        width: 200px;
        height: 200px;
    }
}

/* Mobile cực nhỏ (dưới 380px) */
@media (max-width: 380px) {
    .pos-hero__title {
        font-size: 24px;
    }

    .pos-card {
        padding: 14px 16px;
    }

    .pos-card__text h4 {
        font-size: 16px;
    }

    .pos-device-bg {
        width: 200px;
        height: 200px;
    }

    .pos-device-img {
        width: 180px;
        height: 180px;
    }
}

/*Giải pháp toàn diện*/
.solution-section {
    padding: 80px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

/* LEFT CONTENT */
.content-side {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.content-side.visible {
    opacity: 1;
    transform: translateX(0);
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: #e0f2fe;
    color: #0369a1;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
}

.main-title {
    font-size: 40px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 24px;
}

.main-highlight {
    color: #258cfb;
}

.description {
    font-size: 18px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 32px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.benefit-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.benefit-item i {
    color: #258cfb;
    font-size: 20px;
    flex-shrink: 0;
}

.benefit-item span {
    color: #1e293b;
    font-size: 15px;
}

/* RIGHT STATS GRID */
.stats-side {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.stats-side.visible {
    opacity: 1;
    transform: translateX(0);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.stat-card {
    padding: 32px 24px;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
}

.stat-card.primary {
    background: linear-gradient(135deg, #258cfb 0%, #1d4ed8 100%);
    color: white;
}

.stat-card.white {
    background: white;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.stat-card.accent {
    background: #e0f2fe;
}

.stat-card i {
    font-size: 40px;
    margin-bottom: 16px;
}

.stat-card.primary i {
    color: white;
}

.stat-card.white i,
.stat-card.accent i {
    color: #258cfb;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
}

.stat-card.white .stat-number {
    color: #0f172a;
}

.stat-card.white .stat-label {
    color: #64748b;
}

.stat-card.accent .stat-number {
    color: #0f172a;
}

.stat-card.accent .stat-label {
    color: #475569;
}

.stars {
    display: flex;
    gap: 4px;
    margin-top: 8px;
}

.stars i {
    font-size: 18px;
    color: #fbbf24;
    margin: 0;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .grid-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .main-title {
        font-size: 32px;
    }
}

@media (max-width: 640px) {
    .solution-section {
        padding: 60px 0;
    }

    .main-title {
        font-size: 28px;
    }

    .description {
        font-size: 16px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stats-grid {
        gap: 16px;
    }

    .stat-card {
        padding: 24px 20px;
    }

    .stat-number {
        font-size: 36px;
    }
}

/*Chính sách*/


/*Đăng ký tư vấn*/
:root {
    --primary: #0066cc;
    --primary-foreground: #ffffff;
    --accent: #f0f4f8;
    --accent-foreground: #1a202c;
    --muted-foreground: #64748b;
    --foreground: #1e293b;
    --card: #ffffff;
    --border: #e2e8f0;
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-button: 0 4px 6px -1px rgba(0, 102, 204, 0.3), 0 2px 4px -1px rgba(0, 102, 204, 0.2);
}

* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f8fafc;
}

.contact-section {
    padding: 80px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info {
    opacity: 0;
    transform: translateX(-20px);
    animation: fadeInLeft 0.6s ease-out forwards;
}

.contact-form-wrapper {
    opacity: 0;
    transform: translateX(20px);
    animation: fadeInRight 0.6s ease-out 0.2s forwards;
}

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 24px;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
}

.text-primary {
    color: var(--primary);
}

.section-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 32px;
    line-height: 1.6;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background-color: rgba(0, 102, 204, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.info-content {
    flex: 1;
}

.info-label {
    font-size: 14px;
    color: var(--muted-foreground);
    margin-bottom: 2px;
}

.info-value {
    font-weight: 600;
    color: var(--foreground);
    font-size: 16px;
}

.contact-form {
    background-color: var(--card);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 8px;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    height: 40px;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background-color: #ffffff;
    font-size: 14px;
    transition: all 0.2s;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-textarea {
    height: auto;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.submit-button {
    width: 100%;
    height: 44px;
    padding: 0 32px;
    background-color: var(--primary);
    color: var(--primary-foreground);
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: var(--shadow-button);
    transition: all 0.2s;
}

.submit-button:hover {
    background-color: #0052a3;
    transform: translateY(-1px);
}

.submit-button:active {
    transform: translateY(0);
}

.submit-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.submit-button svg {
    width: 20px;
    height: 20px;
}

/* Toast Notification */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
}

.toast {
    background: white;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    margin-bottom: 12px;
    animation: slideIn 0.3s ease-out;
    border-left: 4px solid var(--primary);
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast-title {
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 4px;
}

.toast-description {
    font-size: 14px;
    color: var(--muted-foreground);
}

.toast-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--muted-foreground);
    font-size: 18px;
    line-height: 1;
    padding: 4px;
}


/* Simple Popup Overlay */
.simple-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.simple-popup-overlay.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.simple-popup {
    background: white;
    border-radius: 12px;
    padding: 40px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.popup-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-icon.success {
    background: #10b981;
}

.popup-icon.error {
    background: #ef4444;
}

.popup-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.popup-title {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
}

.popup-message {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 25px;
}

.popup-button {
    padding: 10px 30px;
    background: #0066cc;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.popup-button:hover {
    background: #0052a3;
    transform: translateY(-1px);
}

/* Form Styles */
.contact-section {
    padding: 80px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 24px;
    line-height: 1.2;
}

.text-primary {
    color: #0066cc;
}

.section-description {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 32px;
    line-height: 1.6;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background-color: rgba(0, 102, 204, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    width: 20px;
    height: 20px;
    color: #0066cc;
}

.info-content {
    flex: 1;
}

.info-label {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 2px;
}

.info-value {
    font-weight: 600;
    color: #1e293b;
    font-size: 16px;
}

.contact-form {
    background-color: white;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 8px;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    height: 40px;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background-color: #ffffff;
    font-size: 14px;
    transition: all 0.2s;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-textarea {
    height: auto;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.submit-button {
    width: 100%;
    height: 44px;
    padding: 0 32px;
    background-color: #0066cc;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.submit-button:hover {
    background-color: #0052a3;
    transform: translateY(-1px);
}

.submit-button:active {
    transform: translateY(0);
}

.submit-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.submit-button svg {
    width: 20px;
    height: 20px;
}

/*Footer*/