/** Home CSS - Styles riêng cho trang chủ và pricing section. Logic: Domain Checker, Hero Cards, Pricing Grid Dynamic, Logo Marquee, Keyframe Animations. */
.hero-domain-checker { background: transparent; padding: 2px 0; border-radius: 0; box-shadow: none; border: 0; border-bottom: 2px solid var(--mv-control-border, rgba(13,62,154,.55)); margin-bottom: 12px; max-width: 550px; position: relative; transition: border-color 0.3s ease; }
.hero-domain-checker:hover { border-color: rgba(13,62,154,.75); }
.hero-domain-checker:focus-within { border-color: var(--primary, #0d3e9a); }
.hero-domain-checker.success { border-color: #22c55e; box-shadow: none; }
.hero-domain-checker.error { border-color: #ef4444; box-shadow: none; }
.checker-input-group { display: flex; align-items: center; gap: 2px; width: 100%; }
/* Icon qua cau trinh duyet dung truoc prefix myvibe.id.vn/ — hoc dung chuan icon kinh lup (16px, navy, dark #8ab4ff); align-self center de thang hang voi prefix/input. */
.checker-input-group .domain-globe-icon { flex-shrink: 0; align-self: center; width: 16px; height: 16px; margin: 0 8px 0 2px; color: var(--primary, #0d3e9a); pointer-events: none; }
.cta-domain-checker .domain-globe-icon { color: #ffffff; }
html[data-theme="dark"] .checker-input-group .domain-globe-icon { color: #8ab4ff; }
html[data-theme="dark"] .cta-domain-checker .domain-globe-icon { color: #ffffff; }
.domain-prefix { font-weight: 700; color: var(--primary, #0d3e9a); font-family: 'Inter', sans-serif; white-space: nowrap; font-size: 1rem; }
.domain-input { border: none; outline: none; font-size: 1rem; font-weight: 700; color: #0d3e9a; flex: 1; min-width: 0; background: transparent; padding: 10px 0; font-family: 'Inter', sans-serif; }
.btn-check-action { padding: 14px 32px; border-radius: 40px; white-space: nowrap; border: none; cursor: pointer; font-weight: 800; font-family: 'SVN-Gilroy Bold', sans-serif; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); display: inline-flex; align-items: center; justify-content: center; min-width: 140px; font-size: 1rem; }
.btn-check-action:hover { transform: translateY(-1px); box-shadow: 0 5px 14px rgba(108, 46, 231, 0.24); filter: brightness(1.04); }
/* Mui ten hero dung style .domain-go-btn chung (form-controls.css) — khong nen gradient rieng. */
#hero-btn-action.state-check { background: transparent; color: var(--primary, #0d3e9a); box-shadow: none; animation: none; }
.btn-check-action.state-create, .btn-check-action.success { background: #22c55e !important; color: white !important; animation: pulse-green 2s infinite !important; box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4); }

.spinner-icon { width: 20px; height: 20px; box-sizing: border-box; border: 3px solid rgba(255,255,255,0.3); border-top-color: #ffffff; border-radius: 50%; animation: spin 0.8s linear infinite; display: inline-block; margin-right: 8px; }
.btn-cta-action .spinner-icon { border-color: rgba(237, 9, 164, 0.2); border-top-color: #ed09a4; }
#hero-btn-action .spinner-icon { border-color: rgba(13, 62, 154, 0.25); border-top-color: var(--primary, #0d3e9a); }
.domain-feedback-msg { font-size: 1rem; font-weight: 700; margin-bottom: 24px; min-height: 28px; width: 100%; display: flex; align-items: center; justify-content: flex-start; gap: 8px; opacity: 0; transform: translateY(-5px); transition: all 0.3s ease; }
.domain-feedback-msg.visible { opacity: 1; transform: translateY(0); }
.text-success { color: #16a34a; }
.text-error { color: #ef4444; }

.cta-domain-wrapper { max-width: 600px; margin: 0 auto 24px; }
.cta-domain-checker { background: transparent; padding: 2px 0; border-radius: 0; border: 0; border-bottom: 2px solid rgba(255,255,255,0.55); margin-bottom: 12px; transition: border-color 0.3s ease; }
.cta-domain-checker:hover { border-color: rgba(255,255,255,0.8); }
.cta-domain-checker:focus-within { border-color: #ffffff; }
.cta-domain-checker .domain-prefix { color: #ffffff; font-size: 1rem; }
.cta-domain-checker .domain-input { color: #fff; font-size: 1rem; }
.cta-domain-checker .domain-input::placeholder { color: rgba(255,255,255,0.5); }
.cta-domain-checker.success { background: rgba(34, 197, 94, 0.2); border-color: #22c55e; }
.cta-domain-checker.error { background: rgba(239, 68, 68, 0.2); border-color: #ef4444; }
#cta-feedback { justify-content: center; color: white; text-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.hero-demo-link { border-radius: 40px; padding: 10px 24px; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); color: var(--text-main); background: white; border: 1px solid #e2e8f0; transition: 0.3s; }
.hero-demo-link:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); background: #f8fafc; }
.avatar-group span { background-size: cover; background-position: center; }
.avatar-1 { background-image: url('https://images.unsplash.com/photo-1534528741775-53994a69daeb?uto=format&fit=crop&w=64&h=64'); }
.avatar-2 { background-image: url('https://images.unsplash.com/photo-1506794778202-cad84cf45f1d?uto=format&fit=crop&w=64&h=64'); }
.avatar-3 { background-image: url('https://images.unsplash.com/photo-1494790108377-be9c29b29330?uto=format&fit=crop&w=64&h=64'); }
.card-icon-1 { background: #e0e7ff; color: #0d3e9a; }
.card-icon-2 { background: #fff; color: #EA4335; box-shadow: 0 4px 12px rgba(0,0,0,0.08); border: 1px solid #f1f5f9; }
.home-cta-section, .home-cta-box { padding-top: 60px !important; padding-bottom: 60px !important; }

.pricing-grid-dynamic { display: grid; align-items: start !important; margin-top: 40px; }
.pricing-card-dynamic { display: flex !important; flex-direction: column; padding: 32px 20px !important; height: fit-content !important; }
.pricing-header-dynamic { margin-bottom: 24px; min-height: 110px; }
.plan-price-dynamic { font-size: 2.2rem !important; letter-spacing: 0; line-height: 1.2; margin-bottom: 10px; display: flex; align-items: baseline; justify-content: center; }
.pricing-features-dynamic { margin-bottom: 30px !important; flex-grow: 1; display: flex; flex-direction: column; }
.pricing-features-dynamic li { display: flex; align-items: flex-start !important; line-height: 1.5; margin-bottom: 16px !important; font-size: 0.9rem !important; text-align: left; color: var(--text-body); }
.pricing-features-dynamic li span { flex-shrink: 0; margin-top: 3px; margin-right: 8px; font-size: 1.15rem; color: var(--accent); font-weight: bold; }
.pricing-features-dynamic li code { background: #f1f5f9; color: var(--primary); padding: 3px 6px; border-radius: 6px; font-size: 0.85rem; display: inline-block; margin-top: 2px; word-break: break-word; }

@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes pulse-purple { 0% { box-shadow: 0 0 0 0 rgba(167, 34, 204, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(167, 34, 204, 0); } 100% { box-shadow: 0 0 0 0 rgba(167, 34, 204, 0); } }
@keyframes pulse-green { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }

@media (prefers-reduced-motion: reduce) { .btn-pulse, .btn-check-action { animation: none !important; } }
@keyframes pulse-white-glow { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6); } 70% { box-shadow: 0 0 0 15px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }

.logo-marquee { overflow: hidden; white-space: nowrap; position: relative; margin-top: 30px; width: 100%; display: flex; align-items: center; mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); }
.logo-track { display: flex; align-items: center; white-space: nowrap; animation: marquee 25s linear infinite; }
.logo-item { display: inline-block; margin: 0 30px; font-size: 1.5rem; opacity: 0.5; transition: 0.3s; color: #000; filter: grayscale(100%); font-weight: 700; flex-shrink: 0; }
.logo-item:hover { opacity: 1; filter: none; color: var(--primary); }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.logo-cloud { display: flex; justify-content: center; gap: 40px; opacity: 0.4; filter: grayscale(100%); transition: 0.3s; font-weight: 800; font-size: 20px; color: #000; flex-wrap: wrap; }
.logo-cloud:hover { opacity: 1; filter: none; }

@media (min-width: 1200px) { .pricing-grid-dynamic { grid-template-columns: repeat(4, 1fr) !important; gap: 24px !important; } }
@media (min-width: 992px) and (max-width: 1199px) { .pricing-grid-dynamic { grid-template-columns: repeat(4, 1fr) !important; gap: 16px !important; } }
@media (min-width: 768px) and (max-width: 991px) { .pricing-grid-dynamic { grid-template-columns: repeat(2, 1fr) !important; gap: 24px !important; } }
@media (max-width: 768px) { .home-cta-box { padding: 40px 20px !important; } .checker-input-group { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; } .hero-domain-checker { padding: 12px 16px; margin: 0 auto 12px; } .domain-prefix { font-size: 15px; margin-bottom: 0; } .domain-input { font-size: 15px; padding: 8px 0; flex: 1; width: auto; text-align: left; } .btn-check-action { width: 100%; margin-top: 5px; } .domain-feedback-msg { justify-content: center; text-align: center; } .floating-card { display: none !important; } .cta-domain-checker { padding: 16px; } .cta-domain-checker .checker-input-group { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px; } .cta-domain-checker .domain-prefix { display: inline-block; text-align: left; margin-bottom: 0; } .cta-domain-checker .domain-input { flex: 1; width: auto; text-align: left; } .cta-domain-checker .btn-check-action { width: 100%; margin-top: 8px; } .logo-item { margin: 0 15px; font-size: 1.2rem; } }
@media (max-width: 767px) { .pricing-grid-dynamic { grid-template-columns: 1fr !important; gap: 20px !important; } .pricing-card-dynamic { padding: 30px 24px !important; } .pricing-header-dynamic { min-height: auto !important; margin-bottom: 20px !important; } .pricing-card-dynamic.popular { transform: none !important; margin-top: 15px; } .plan-price-dynamic { font-size: 2.5rem !important; } .pricing-features-dynamic li { font-size: 0.9rem !important; } }
@media (max-width: 480px) { .hero-domain-checker { flex-direction: column; border-radius: 20px; padding: 20px 16px; align-items: stretch; gap: 12px; } .checker-input-group { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px; width: 100%; } .domain-prefix { font-size: 16px; margin-right: 0; margin-bottom: 0; color: var(--primary, #0d3e9a); } .domain-input { width: auto; flex: 1; text-align: left; font-size: 16px; border-bottom: 1px solid #f1f5f9 !important; padding-bottom: 8px !important; margin-bottom: 0; } .btn-check-action { width: 100%; border-radius: 50px; margin-top: 8px; height: 44px; } .cta-domain-checker { flex-direction: column; border-radius: 24px; padding: 20px 16px; } .cta-domain-checker .checker-input-group { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px; } .cta-domain-checker .domain-prefix { color: #ffffff; display: block; margin-bottom: 0; } .cta-domain-checker .domain-input { width: auto; flex: 1; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,0.2) !important; text-align: left; padding-bottom: 8px; margin-bottom: 0; } .cta-domain-checker .btn-check-action { width: 100%; margin-top: 8px; } .logo-cloud { gap: 20px; row-gap: 30px; } .logo-item { font-size: 16px; } }

/* Mobile: vùng text kết quả check chỉ chiếm chỗ KHI hiện — trước đây min-height 28px +
   margin-bottom 24px luôn được chừa sẵn làm khoảng cách giữa ô check domain và các nút quá rộng. */
@media (max-width: 768px) {
    .domain-feedback-msg { min-height: 0; margin-bottom: 0; }
    .domain-feedback-msg.visible { min-height: 28px; margin: 6px 0 14px; }
    .hero-domain-checker { padding-bottom: 6px; }
}

/* Homepage refresh */
.home-page .hero-title,
.home-page .section-title,
.home-page .cta-content h2 { letter-spacing: 0; }

.home-page .section-desc { max-width: 720px; margin-left: auto; margin-right: auto; }

.home-section-kicker,
.home-eyebrow,
.home-cta-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-bottom: 14px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(13, 62, 154, 0.08);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.home-eyebrow { margin-bottom: 18px; }

.home-hero {
    padding: 62px 0 58px;
    min-height: calc(100vh - var(--header-height));
    background:
        linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(248,250,252,0.96) 72%, #ffffff 100%),
        linear-gradient(135deg, rgba(13,62,154,0.08), rgba(237,9,164,0.06));
}

.home-hero-grid {
    grid-template-columns: minmax(0, 1.18fr) minmax(380px, 0.82fr);
    gap: 48px;
}

.home-page .home-hero-title {
    width: min(880px, 100%);
    font-size: clamp(3.1rem, 3.35vw, 3.75rem);
    line-height: 1.16;
    margin-bottom: 22px;
    overflow: visible;
}

.home-title-line {
    display: block;
    white-space: nowrap;
    overflow: visible;
}

.home-page .home-title-line:not(.home-title-gradient) {
    background: none;
    -webkit-text-fill-color: currentColor;
    color: var(--text-main);
}

.home-title-gradient {
    display: block;
    width: max-content;
    padding-bottom: 0.12em;
    margin-bottom: -0.08em;
    background: var(--vibe-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.home-page .hero-subtitle {
    font-size: 1.08rem;
    line-height: 1.75;
    max-width: 620px;
    margin-bottom: 28px;
}

.home-hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin: 8px 0 24px;
}

.home-hero-actions .btn {
    min-height: 56px;
    padding: 0 28px;
    border-radius: 999px;
}

.home-compare-btn {
    background: #ffffff;
    border: 1px solid rgba(13, 62, 154, 0.18);
    color: var(--primary);
    box-shadow: 0 12px 28px rgba(13, 62, 154, 0.08);
    gap: 9px;
}

.home-compare-btn svg {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
}

.home-compare-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(13, 62, 154, 0.13);
}

.home-hero-trust { margin-top: 10px; }
.home-hero-trust p { margin: 0; }

.home-showcase {
    position: relative;
    overflow: visible;
    padding: 18px;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 28px 70px -30px rgba(13, 62, 154, 0.45);
}

.home-showcase::before {
    content: '';
    position: absolute;
    inset: 12px;
    border-radius: 22px;
    border: 1px solid rgba(13, 62, 154, 0.08);
    pointer-events: none;
}

.home-showcase-topbar {
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    border-radius: 16px;
    background: #f8fafc;
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 700;
}

.home-showcase-topbar span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #cbd5e1;
    flex: 0 0 auto;
}

.home-showcase-topbar span:nth-child(1) { background: #ef4444; }
.home-showcase-topbar span:nth-child(2) { background: #f59e0b; }
.home-showcase-topbar span:nth-child(3) { background: #22c55e; }
.home-showcase-topbar strong { margin-left: auto; color: var(--text-main); font-size: 0.82rem; }

.home-showcase-profile {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 18px;
    align-items: center;
    padding: 30px 14px 20px;
}

.home-showcase-profile img {
    width: 96px;
    height: 96px;
    border-radius: 24px;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
}

.home-showcase-profile span {
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.home-showcase-profile h2 {
    margin: 4px 0 6px;
    color: var(--text-main);
    font-size: 2rem;
    line-height: 1.15;
}

.home-showcase-profile p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.55;
    font-size: 0.95rem;
}

.home-showcase-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 6px 0 14px;
}

.home-showcase-links span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 14px;
    background: #f8fafc;
    color: var(--text-main);
    font-size: 0.86rem;
    font-weight: 800;
    border: 1px solid #eef2f7;
}

.home-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.home-showcase-grid div {
    padding: 16px 12px;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #eef2f7;
}

.home-showcase-grid strong {
    display: block;
    color: var(--primary);
    font-family: 'SVN-Gilroy Bold', sans-serif;
    font-size: 1.2rem;
    line-height: 1.2;
}

.home-showcase-grid span {
    color: var(--text-light);
    font-size: 0.78rem;
    font-weight: 700;
}

.home-showcase .floating-card {
    z-index: 5;
}

.home-showcase .card-1 {
    top: -18px;
    left: 34px;
}

.home-showcase .card-2 {
    right: -48px;
    bottom: 112px;
}

.home-audience-section { padding: 64px 0; }
.home-audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 30px;
}

.home-persona-card {
    text-align: left;
    padding: 26px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.home-persona-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.home-persona-card p { margin: 0; color: var(--text-light); line-height: 1.65; }

.home-steps-grid .step-item {
    border: 1px solid transparent;
    border-radius: 22px;
    transition: 0.3s ease;
}

.home-steps-grid .step-item:hover {
    background: var(--bg-subtle);
    border-color: var(--border);
    transform: translateY(-4px);
}

.home-feature-section { padding-top: 110px; }
.home-feature-grid .bento-card { min-height: 250px; }
.home-feature-grid .card-large { min-height: 524px; justify-content: space-between; }

.home-feature-preview {
    margin-top: 28px;
    overflow: hidden;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 18px 40px -24px rgba(13, 62, 154, 0.3);
}

.home-feature-preview-media {
    position: relative;
    aspect-ratio: 16 / 6;
    min-height: 142px;
}

.home-feature-preview-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.home-feature-preview-badge {
    position: absolute;
    left: 16px;
    bottom: 14px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1;
}

.home-feature-preview-content {
    padding: 18px;
}

.home-feature-preview-content > strong {
    display: block;
    color: var(--text-main);
    font-family: 'SVN-Gilroy Bold', sans-serif;
    font-size: 1.18rem;
    line-height: 1.3;
    margin-bottom: 7px;
}

.home-feature-preview-content > p {
    margin: 0;
    color: var(--text-body);
    font-size: 0.9rem;
    line-height: 1.55;
}

.home-feature-preview-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 14px 0;
}

.home-feature-preview-tags span {
    padding: 6px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.74rem;
    font-weight: 700;
}

.home-feature-preview-link {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 8px 10px 8px 12px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
}

.home-feature-preview-link code {
    min-width: 0;
    flex: 1;
    overflow: hidden;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-feature-preview-link span {
    flex: 0 0 auto;
    padding: 5px 9px;
    border-radius: 8px;
    background: rgba(13, 62, 154, 0.08);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 800;
}

.home-pricing-section .pricing-card-dynamic {
    border-radius: 24px;
    padding: 32px 20px !important;
    height: fit-content !important;
    min-height: 0;
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.home-pricing-section .pricing-card-dynamic.popular {
    background: #ffffff;
    border-color: var(--accent);
    box-shadow: 0 15px 35px rgba(237, 9, 164, 0.15);
}

.home-pricing-section .pricing-header-dynamic {
    min-height: 110px;
    margin-bottom: 24px;
}

.home-testimonial-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.home-testimonial-head .section-title {
    max-width: 780px;
    margin-bottom: 0;
}

.home-review-jump {
    min-height: 48px;
    padding: 0 24px;
    white-space: nowrap;
}

.home-testimonial-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 28px;
    align-items: start;
}

.home-testimonial-layout-single {
    grid-template-columns: 1fr;
}

.home-testimonial-layout-single .home-testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
}

.home-testimonial-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 0;
}

.home-testimonial-grid .testimonial-card {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding: 28px;
    border-radius: 22px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.home-testimonial-grid .testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(13, 62, 154, 0.16);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.home-testimonial-grid .testimonial-card p {
    flex: 1;
    margin-bottom: 22px;
    font-size: 1rem;
}

.home-review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #ffffff;
    background: var(--vibe-gradient);
    font-family: 'SVN-Gilroy Bold', sans-serif;
    font-size: 1.05rem;
}

.home-review-panel {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    padding: 30px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.home-review-panel h3 {
    margin: 0 0 10px;
    color: var(--text-main);
    font-size: 1.55rem;
    line-height: 1.25;
}

.home-review-panel p {
    margin: 0 0 22px;
    color: var(--text-light);
    line-height: 1.65;
}

.home-review-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    margin-bottom: 18px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid var(--border);
}

.home-review-user img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto;
}

.home-review-user strong,
.home-review-user span {
    display: block;
    line-height: 1.35;
}

.home-review-user strong {
    color: var(--text-main);
}

.home-review-user span {
    color: var(--text-light);
    font-size: 0.84rem;
}

.home-review-form {
    display: grid;
    gap: 16px;
}

.home-review-form .form-group {
    margin-bottom: 0;
}

.home-review-form label {
    display: block;
    margin-bottom: 7px;
    color: var(--text-main);
    font-size: 0.88rem;
    font-weight: 800;
}

.home-review-form input,
.home-review-form select,
.home-review-form textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #f8fafc;
    color: var(--text-main);
    font: inherit;
    padding: 13px 14px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.home-review-form textarea {
    resize: vertical;
    min-height: 124px;
}

.home-review-form input:focus,
.home-review-form select:focus,
.home-review-form textarea:focus {
    background: #ffffff;
    border-color: rgba(13, 62, 154, 0.42);
    box-shadow: 0 0 0 4px rgba(13, 62, 154, 0.08);
}

.home-rating-select {
    position: relative;
}

.home-review-hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.home-news-section { padding-top: 92px; }
.home-news-grid { grid-template-rows: auto; }

.home-news-card {
    padding: 0;
    min-height: 100%;
}

.home-news-thumb {
    display: block;
    height: 190px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    background: #e2e8f0;
}

.home-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 0;
    opacity: 1;
    transition: transform 0.4s ease;
}

.home-news-card:hover .home-news-thumb img { transform: scale(1.04); }

.home-news-card .post-meta-wrapper,
.home-news-card .post-title-md,
.home-news-card .post-excerpt-sm { margin-left: 26px; margin-right: 26px; }

.home-news-card .post-meta-wrapper { margin-top: 24px; display: flex; align-items: center; flex-wrap: wrap; }
.home-news-card .post-title-md { font-size: 1.12rem; line-height: 1.45; margin-bottom: 10px; }
.home-news-card .post-title-md a { color: inherit; }
.home-news-card .post-title-md a:hover { color: var(--primary); }
.home-news-card .post-excerpt-sm { margin-bottom: 26px; color: var(--text-light); }
.home-post-date { font-size: 13px; color: var(--text-light); }
.home-empty-news { grid-column: 1 / -1; color: var(--text-light); padding: 32px 0; }

.home-cta-section { padding: 112px 0; }

.home-page .home-cta-box {
    padding: 72px 44px !important;
    border-radius: 34px;
    background:
        linear-gradient(135deg, rgba(13, 62, 154, 0.94) 0%, rgba(76, 29, 149, 0.96) 55%, rgba(237, 9, 164, 0.92) 100%);
}

.home-cta-kicker {
    background: rgba(255,255,255,0.14);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.18);
}

.home-page .cta-content h2 {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.home-page .cta-note {
    flex-wrap: wrap;
    gap: 12px;
}

.home-page .cta-note-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.home-page .cta-note-item svg {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
}

.home-contact-section .contact-details { list-style: none; padding: 0; }

html[data-theme="dark"] .home-section-kicker,
html[data-theme="dark"] .home-eyebrow {
    background: rgba(139, 181, 255, 0.12);
    color: var(--primary);
}

html[data-theme="dark"] .home-showcase,
html[data-theme="dark"] .home-persona-card,
html[data-theme="dark"] .home-feature-preview,
html[data-theme="dark"] .home-review-panel {
    background: #121a2b;
    border-color: var(--border);
    box-shadow: var(--shadow-xl);
}

html[data-theme="dark"] .home-compare-btn {
    background: #121a2b;
    border-color: var(--border);
    color: var(--primary);
}

html[data-theme="dark"] .home-compare-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: #121a2b;
}

html[data-theme="dark"] .home-showcase::before { border-color: rgba(148, 163, 184, 0.14); }
html[data-theme="dark"] .home-showcase-topbar,
html[data-theme="dark"] .home-showcase-links span,
html[data-theme="dark"] .home-showcase-grid div {
    background: #0f172a;
    border-color: var(--border);
}

html[data-theme="dark"] .home-showcase-topbar strong,
html[data-theme="dark"] .home-showcase-links span,
html[data-theme="dark"] .home-feature-preview-content > strong { color: var(--text-main); }

html[data-theme="dark"] .home-feature-preview-badge {
    background: rgba(15, 23, 42, 0.9);
    color: var(--primary);
}

html[data-theme="dark"] .home-feature-preview-tags span,
html[data-theme="dark"] .home-feature-preview-link {
    background: #0f172a;
    border-color: var(--border);
    color: var(--text-light);
}

html[data-theme="dark"] .home-showcase-profile img { border-color: #121a2b; }

html[data-theme="dark"] .home-pricing-section .pricing-card-dynamic.popular {
    background: linear-gradient(180deg, #121a2b 0%, #1b1630 100%);
}

html[data-theme="dark"] .home-news-thumb { background: #182235; }

html[data-theme="dark"] .home-review-form input,
html[data-theme="dark"] .home-review-form select,
html[data-theme="dark"] .home-review-form textarea {
    background: #0f172a;
    border-color: var(--border);
    color: var(--text-main);
}

html[data-theme="dark"] .home-review-form input:focus,
html[data-theme="dark"] .home-review-form select:focus,
html[data-theme="dark"] .home-review-form textarea:focus {
    background: #121a2b;
}

html[data-theme="dark"] .home-review-user {
    background: #0f172a;
    border-color: var(--border);
}

.pricing-card-sale {
    border-color: rgba(167, 34, 204, 0.35) !important;
    background: linear-gradient(180deg, #ffffff 0%, #fffafc 100%);
    box-shadow: 0 18px 42px rgba(167, 34, 204, 0.1) !important;
}

.pricing-card-dynamic {
    position: relative;
    overflow: visible;
}

.pricing-card-sale .plan-price.is-sale {
    color: #a722cc;
}

.plan-sale-line {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 4px auto 12px;
}

.plan-original-price {
    color: #94a3b8;
    font-size: 0.9rem;
    text-decoration: line-through;
    font-family: Inter, sans-serif;
    font-weight: 700;
}

.plan-sale-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    margin: 0;
    padding: 6px 10px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #15803d;
    border: 1px solid #bbf7d0;
    font: 800 0.78rem/1.25 Inter, sans-serif;
}

html[data-theme="dark"] .pricing-card-sale {
    background: linear-gradient(180deg, #121a2b 0%, rgba(167, 34, 204, 0.1) 100%);
    border-color: rgba(167, 34, 204, 0.4) !important;
}

html[data-theme="dark"] .pricing-card-sale .plan-price.is-sale {
    color: #e879f9;
}

html[data-theme="dark"] .plan-sale-badge {
    color: #86efac;
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.3);
}

.package-effect-glow {
    box-shadow: 0 20px 46px rgba(13, 62, 154, 0.14), 0 0 0 1px rgba(13, 62, 154, 0.08) !important;
}

.package-effect-shine {
    overflow: hidden;
}

.package-effect-shine::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.42) 42%, transparent 62%);
    transform: translateX(-120%);
    animation: package-shine 4.5s ease-in-out infinite;
}

.package-effect-ribbon::before {
    content: "Ưu đãi";
    position: absolute;
    top: 14px;
    right: -34px;
    width: 120px;
    padding: 5px 0;
    transform: rotate(35deg);
    background: #16a34a;
    color: #fff;
    font: 800 0.72rem/1 Inter, sans-serif;
    text-align: center;
    z-index: 2;
}

.package-effect-subtle {
    border-color: rgba(13, 62, 154, 0.18) !important;
}

@keyframes package-shine {
    0%, 55% { transform: translateX(-120%); }
    75%, 100% { transform: translateX(120%); }
}

@media (max-width: 1100px) {
    .home-hero-grid { grid-template-columns: 1fr; gap: 44px; }
    .home-hero-visual { max-width: 640px; margin: 0 auto; }
    .home-testimonial-grid { grid-template-columns: 1fr; }
    .home-testimonial-layout-single .home-testimonial-grid { grid-template-columns: repeat(2, 1fr); }
    .home-testimonial-layout { grid-template-columns: 1fr; }
    .home-review-panel { position: relative; top: auto; }
    .home-page .home-hero-title { margin-left: auto; margin-right: auto; }
}

@media (max-width: 992px) {
    .home-audience-grid { grid-template-columns: 1fr; }
    .home-feature-grid .card-large { min-height: auto; }
    .home-hero-actions,
    .home-hero-trust { justify-content: center; }
    .home-page .hero-subtitle { margin-left: auto; margin-right: auto; }
}

@media (max-width: 768px) {
    .home-hero { padding: 54px 0 42px; }
    .home-page .hero-title { font-size: 2.55rem; }
    .home-title-line { white-space: normal; }
    .home-title-gradient { width: auto; }
    .home-page .section-title { font-size: 2rem; }
    .home-showcase { padding: 14px; border-radius: 24px; }
    .home-showcase-profile { grid-template-columns: 72px 1fr; gap: 14px; padding: 24px 8px 16px; text-align: left; }
    .home-showcase-profile img { width: 72px; height: 72px; border-radius: 18px; }
    .home-showcase-profile h2 { font-size: 1.45rem; }
    .home-showcase-links,
    .home-showcase-grid { grid-template-columns: 1fr; }
    .home-feature-preview-media { min-height: 0; aspect-ratio: 16 / 8; }
    .home-feature-preview-content { padding: 16px; }
    .home-audience-section,
    .home-feature-section,
    .home-news-section { padding-top: 64px; padding-bottom: 64px; }
    .home-cta-section { padding: 72px 0; }
    .home-page .home-cta-box { padding: 48px 20px !important; border-radius: 26px; }
    .home-news-card .post-meta-wrapper,
    .home-news-card .post-title-md,
    .home-news-card .post-excerpt-sm { margin-left: 22px; margin-right: 22px; }
    .home-testimonial-head { flex-direction: column; align-items: stretch; }
    .home-review-jump { width: 100%; justify-content: center; }
    .home-testimonial-layout-single .home-testimonial-grid { grid-template-columns: 1fr; }
    .home-review-panel { padding: 24px 20px; border-radius: 22px; }
}

@media (max-width: 480px) {
    .home-eyebrow,
    .home-section-kicker,
    .home-cta-kicker { font-size: 0.72rem; padding: 7px 12px; }
    .home-page .hero-title { font-size: 2.18rem; }
    .home-hero-actions { align-items: stretch; flex-direction: column; gap: 12px; }
    .home-hero-actions .btn { width: 100%; }
    .home-text-link { justify-content: center; }
    .home-persona-card { padding: 22px; }
    .home-showcase-topbar strong { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* === HOME MARKETPLACE SECTION (extracted from template-parts/home-marketplace.php) === */
/* Phase 7.2: Homepage marketplace sections */
.home-marketplace-section{padding:64px 0;}
.section-title-mb{margin-bottom:40px;}
.home-section-kicker{display:inline-block;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:1.5px;color:var(--primary);background:rgba(13,62,154,.08);padding:6px 14px;border-radius:999px;margin-bottom:12px;}
.section-title{font-size:32px;color:var(--text-main);font-family:'SVN-Gilroy Bold',sans-serif;margin-bottom:8px;line-height:1.2;}
.section-desc{font-size:15px;color:var(--text-light);max-width:560px;margin:0 auto;line-height:1.6;}

/* Category grid */
.home-cat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:16px;}
.home-cat-card{display:flex;flex-direction:column;align-items:center;padding:24px 16px;background:#fff;border:1px solid var(--border);border-radius:16px;text-align:center;transition:all .25s;text-decoration:none;color:var(--text-main);}
.home-cat-card:hover{border-color:var(--primary);transform:translateY(-4px);box-shadow:0 12px 32px rgba(13,62,154,.1);}
html[data-theme="dark"] .home-cat-card{background:#111827;border-color:rgba(255,255,255,.08);}
.home-cat-card img{width:64px;height:64px;object-fit:cover;border-radius:14px;margin-bottom:12px;}
.home-cat-icon{width:64px;height:64px;display:flex;align-items:center;justify-content:center;background:var(--vibe-gradient);border-radius:14px;color:#fff;margin-bottom:12px;}
.home-cat-name{font-weight:700;font-size:14px;margin-bottom:4px;}
.home-cat-count{font-size:12px;color:var(--text-light);}

/* Flash sale */
.flash-sale-header{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;margin-bottom:32px;}
.flash-sale-countdown{display:flex;align-items:center;gap:12px;}
.countdown-label{font-size:13px;color:var(--text-light);font-weight:600;}
.countdown-timer{display:flex;align-items:center;gap:4px;}
.cd-block{display:flex;flex-direction:column;align-items:center;background:#ef4444;color:#fff;border-radius:8px;padding:6px 10px;min-width:44px;}
.cd-num{font-size:20px;font-weight:900;font-family:'SVN-Gilroy Bold',sans-serif;line-height:1;}
.cd-lbl{font-size:9px;text-transform:uppercase;letter-spacing:.5px;margin-top:2px;opacity:.9;}
.cd-sep{color:#ef4444;font-weight:900;font-size:20px;}
.flash-sale-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:20px;}
.flash-sale-card{position:relative;background:#fff;border:1px solid var(--border);border-radius:16px;overflow:hidden;text-decoration:none;color:var(--text-main);transition:all .25s;}
.flash-sale-card:hover{transform:translateY(-4px);box-shadow:0 12px 32px rgba(239,68,68,.15);}
html[data-theme="dark"] .flash-sale-card{background:#111827;border-color:rgba(255,255,255,.08);}
.fs-discount-badge{position:absolute;top:8px;left:8px;background:#ef4444;color:#fff;font-weight:800;font-size:12px;padding:4px 8px;border-radius:8px;z-index:2;}
.fs-img-wrap{aspect-ratio:1;background:#f8fafc;}
html[data-theme="dark"] .fs-img-wrap{background:rgba(255,255,255,.03);}
.fs-img-wrap img{width:100%;height:100%;object-fit:cover;}
.fs-img-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:var(--vibe-gradient);}
.fs-body{padding:14px;}
.fs-title{font-size:14px;font-weight:700;margin-bottom:8px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.fs-price-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.fs-price-now{color:#ef4444;font-weight:800;font-size:16px;font-family:'SVN-Gilroy Bold',sans-serif;}
.fs-price-old{color:var(--text-light);text-decoration:line-through;font-size:13px;}
.fs-sold{font-size:11px;color:var(--text-light);margin-top:6px;}

/* Best seller */
.best-seller-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:20px;}
.best-seller-card{position:relative;display:flex;background:#fff;border:1px solid var(--border);border-radius:16px;overflow:hidden;text-decoration:none;color:var(--text-main);transition:all .25s;}
.best-seller-card:hover{transform:translateY(-4px);box-shadow:0 12px 32px rgba(245,158,11,.15);}
html[data-theme="dark"] .best-seller-card{background:#111827;border-color:rgba(255,255,255,.08);}
.bs-rank{position:absolute;top:8px;left:8px;background:linear-gradient(135deg,#f59e0b,#ef4444);color:#fff;font-weight:900;font-size:14px;padding:4px 10px;border-radius:8px;z-index:2;font-family:'SVN-Gilroy Bold',sans-serif;}
.bs-img-wrap{width:100px;flex-shrink:0;background:#f8fafc;}
html[data-theme="dark"] .bs-img-wrap{background:rgba(255,255,255,.03);}
.bs-img-wrap img{width:100%;height:100%;object-fit:cover;}
.bs-img-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:var(--vibe-gradient);}
.bs-body{padding:14px;flex:1;min-width:0;}
.bs-title{font-size:14px;font-weight:700;margin-bottom:6px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.bs-price{color:var(--primary);font-weight:800;font-size:15px;font-family:'SVN-Gilroy Bold',sans-serif;margin-bottom:4px;}
.bs-sold{font-size:11px;color:var(--text-light);}

@media (max-width:768px){
    .home-marketplace-section{padding:48px 0;}
    .section-title{font-size:24px;}
    .flash-sale-header{flex-direction:column;align-items:flex-start;}
    .home-cat-grid{grid-template-columns:repeat(2,1fr);}
    .flash-sale-grid,.best-seller-grid{grid-template-columns:repeat(2,1fr);}
    .best-seller-card{flex-direction:column;}
    .bs-img-wrap{width:100%;aspect-ratio:1;}
}
