/* ===== PREMIUM LUXURY SAAS THEME (ELEGANT & CLEAN) ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

body.page-template-page-seo-tphcm {
    background-color: #f8fafc !important;
}

.seo-tphcm-creative {
    font-family: 'Inter', sans-serif;
    color: #475569;
    background-color: #f8fafc;
    line-height: 1.7;
}

.seo-tphcm-creative p {
    font-size: 17px;
    margin-bottom: 1rem;
    color: #475569;
}

/* Utilities */
.text-primary {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}
.text-accent {
    background: linear-gradient(135deg, #d97706 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-center { text-align: center; }
.mb-4 { margin-bottom: 1rem; }
.w-100 { width: 100%; }

/* Buttons */
.cr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.cr-btn--primary {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    box-shadow: 0 10px 20px -5px rgba(15, 23, 42, 0.3);
    border: none;
}
.cr-btn--primary:hover {
    background: linear-gradient(135deg, #020617 0%, #0f172a 100%);
    box-shadow: 0 15px 30px -5px rgba(15, 23, 42, 0.5);
    transform: translateY(-2px);
    color: #ffffff;
}
.cr-btn--outline {
    background: transparent;
    color: #0f172a;
    border: 1px solid #cbd5e1;
}
.cr-btn--outline:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #0f172a;
    transform: translateY(-2px);
}
.cr-btn--glass {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}
.cr-btn--glass:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: translateY(-2px);
}

/* General Sections */
.cr-section {
    padding: 100px 0;
    position: relative;
}
.cr-section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}
.cr-section-header h2 {
    font-size: 44px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

/* ===== HERO (Premium Creative Light) ===== */
.cr-hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 50px;
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    overflow: hidden;
}

/* Dot Matrix Pattern */
.cr-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#cbd5e1 1.5px, transparent 1.5px);
    background-size: 32px 32px;
    opacity: 0.6;
    z-index: 0;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

/* Glowing Background Orbs */
.cr-hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.6;
    animation: floatOrb 10s infinite alternate ease-in-out;
    pointer-events: none;
}
.cr-hero-shape.shape-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #93c5fd, #bfdbfe);
    top: -100px;
    left: -150px;
}
.cr-hero-shape.shape-2 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #ddd6fe, #e9d5ff);
    bottom: -200px;
    right: -150px;
    animation-delay: -5s;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* Floating Glass Cards */
.cr-floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    z-index: 3;
    animation: floatCard 6s infinite alternate ease-in-out;
}
.cr-floating-card .icon-wrap {
    width: 48px;
    height: 48px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #3b82f6;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.15);
}
.cr-floating-card .card-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}
.cr-floating-card .card-text .highlight {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}
.cr-floating-card .card-text .label {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
}
.cr-floating-card.card-left {
    top: 25%;
    left: 8%;
    animation-delay: 0s;
}
.cr-floating-card.card-right {
    bottom: 25%;
    right: 8%;
    animation-delay: -3s;
}

@keyframes floatCard {
    0% { transform: translateY(0); }
    100% { transform: translateY(-20px); }
}

@media (max-width: 1200px) {
    .cr-floating-card.card-left { left: 2%; top: 15%; }
    .cr-floating-card.card-right { right: 2%; bottom: 15%; }
}
@media (max-width: 992px) {
    .cr-floating-card { display: none; }
}

.cr-hero__inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.cr-hero h1 {
    font-size: 56px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.15;
    margin-bottom: 30px;
    letter-spacing: -1.5px;
    text-shadow: none;
}
.cr-hero p {
    font-size: 20px;
    color: #475569;
    margin-bottom: 50px;
    font-weight: 400;
}
.cr-hero__actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.hero-badge {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 24px;
    backdrop-filter: none;
}

/* ===== CARDS (Premium Light Design) ===== */
.cr-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}
.cr-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 50px 40px;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}
.cr-card:hover {
    transform: translateY(-8px);
    border-color: #cbd5e1;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}
.cr-card__num {
    position: absolute;
    top: -15px;
    right: 15px;
    font-size: 160px;
    font-weight: 900;
    color: #f1f5f9;
    line-height: 1;
    z-index: 0;
    pointer-events: none;
    transition: color 0.4s ease;
}
.cr-card:hover .cr-card__num {
    color: #e2e8f0;
}
.cr-card__content {
    position: relative;
    z-index: 1;
}
.cr-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
}
.cr-card p {
    color: #475569;
}
.floating-badge {
    display: inline-block;
    margin-bottom: 20px;
    background: #f1f5f9;
    color: #475569;
    font-weight: 700;
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 3;
    border: 1px solid #e2e8f0;
}
.floating-badge.dark {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.2);
}
.floating-badge.gold {
    background: linear-gradient(135deg, #d4af37 0%, #fef08a 100%);
    color: #713f12;
    border-color: #fde047;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.2);
}

/* ===== TABLES (Clean SaaS) ===== */
.cr-table-wrapper {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow-x: auto;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
}
.cr-table {
    width: 100%;
    border-collapse: collapse;
}
.cr-table th, .cr-table td {
    padding: 24px 30px;
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
}
.cr-table th {
    background: #f8fafc;
    color: #475569;
    font-weight: 600;
    font-size: 15px;
}
.cr-table tbody tr {
    transition: background 0.2s ease;
}
.cr-table tbody tr:hover {
    background: #f8fafc;
}
.cr-table td strong {
    color: #0f172a;
    font-weight: 600;
}
.cr-table .highlight-col {
    background: #f8fafc;
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
}

/* ===== ZIG ZAG LAYOUT ===== */
.cr-zigzag {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 100px;
}
.cr-zigzag:nth-child(even) {
    flex-direction: row-reverse;
}
.cr-zigzag__content {
    flex: 1;
}
.cr-zigzag__content h3 {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}
.cr-zigzag__visual {
    flex: 1;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 50px;
    position: relative;
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.05);
}
.cr-zigzag__visual::after {
    content: '';
    position: absolute;
    top: -15px; right: -15px; bottom: 15px; left: 15px;
    border: 2px dashed #cbd5e1;
    border-radius: 24px;
    z-index: -1;
}
.cr-zigzag__visual i {
    font-size: 48px;
    margin-bottom: 24px;
    color: #0f172a;
}

/* ===== FAQ SECTION (With dynamic images) ===== */
.cr-faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}
.cr-faq-visual {
    position: sticky;
    top: 100px;
    align-self: start;
    margin-top: -15px;
}
.cr-faq-visual h2 {
    font-size: 36px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 16px 0;
    letter-spacing: -1px;
}
.cr-faq-visual p {
    color: #475569;
    margin-bottom: 30px;
    font-size: 18px;
}
.cr-faq-images {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 24px;
    overflow: hidden;
    background-color: #f8fafc;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1);
}
.cr-faq-images img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transform: scale(1.05);
    transition: all 0.5s ease;
}
.cr-faq-images img.active {
    opacity: 1;
    transform: scale(1);
}
.cr-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
}
.faq-item.active {
    border-color: #3b82f6;
    box-shadow: 0 10px 20px -5px rgba(59,130,246,0.1);
}
.faq-btn {
    width: 100%;
    text-align: left;
    padding: 24px;
    background: transparent;
    border: none;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
    line-height: 1.4;
}
.faq-btn i {
    color: #94a3b8;
    transition: transform 0.3s ease;
    width: 32px;
    height: 32px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    margin-left: 16px;
}
.faq-item.active .faq-btn i {
    transform: rotate(180deg);
    background: #eff6ff;
    color: #3b82f6;
}
.faq-content {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.active .faq-content {
    padding: 0 24px 24px;
    max-height: 500px;
}

/* ===== FORMS (Elegant Light) ===== */
.cr-form-container {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 32px;
    padding: 60px;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.1);
}
.cr-input {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    padding: 18px 24px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 16px;
    transition: all 0.3s ease;
}
.cr-input:focus {
    outline: none;
    border-color: #3b82f6;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.cr-msg {
    margin-top: 16px;
    padding: 16px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
}
.cr-msg.success { background: #ecfdf5; color: #059669; border: 1px solid #a7f3d0; }
.cr-msg.error { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }

/* Loading Animation */
.loading-3-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 24px;
}
.loading-3-dots span {
    width: 6px;
    height: 6px;
    background-color: currentColor;
    border-radius: 50%;
    animation: dots-bounce 1.4s infinite ease-in-out both;
}
.loading-3-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-3-dots span:nth-child(2) { animation-delay: -0.16s; }
@keyframes dots-bounce { 0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1); } }

/* Responsive */
@media (max-width: 992px) {
    .cr-faq-grid {
        grid-template-columns: 1fr;
    }
    .cr-faq-visual {
        position: relative;
        top: 0;
    }
}
@media (max-width: 768px) {
    .cr-hero h1 { font-size: 36px; }
    .cr-section-header h2 { font-size: 32px; }
    .cr-zigzag { flex-direction: column !important; gap: 40px; }
    .cr-form-container { padding: 40px 20px; }
    .cr-zigzag__visual::after { display: none; }
}

/* Responsive Table to Cards for Mobile */
@media (max-width: 992px) {
    .cr-table-responsive-cards {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
    }
    .cr-table-responsive-cards table,
    .cr-table-responsive-cards thead,
    .cr-table-responsive-cards tbody,
    .cr-table-responsive-cards th,
    .cr-table-responsive-cards td,
    .cr-table-responsive-cards tr {
        display: block;
        width: 100%;
    }
    .cr-table-responsive-cards thead tr {
        display: none;
    }
    .cr-table-responsive-cards tr {
        margin-bottom: 24px;
        border: 1px solid #cbd5e1;
        border-radius: 16px;
        padding: 20px;
        background: #ffffff;
        box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    }
    .cr-table-responsive-cards td {
        border-bottom: 1px solid #f1f5f9;
        padding: 12px 0;
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 6px;
        text-align: left;
    }
    .cr-table-responsive-cards td:last-child {
        border-bottom: none;
    }
    .cr-table-responsive-cards td::before {
        content: attr(data-label);
        font-weight: 700;
        color: #0f172a;
        font-size: 14px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
}

/* CTA Responsive Grid */
.cr-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 10;
}
@media (max-width: 992px) {
    .cr-cta-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
