/**
 * Bảng Giá (Pricing) — Pure CSS
 */

/* ═══ Hero ═══ */
.sh-price-hero { background: var(--pi-bg, #111827); padding: 6rem 0 3rem; position: relative; overflow: hidden; }
@media (min-width: 768px) { .sh-price-hero { padding: 8rem 0 6rem; } }

.sh-price-hero__grid-bg { position: absolute; inset: 0; z-index: 0; opacity: 0.2; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,0.3) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.3) 1px, transparent 1px); background-size: 40px 40px; background-position: center top; }

.sh-price-hero__fade { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent, rgba(17,24,39,0.5), #111827); }

.sh-price-hero__container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; position: relative; z-index: 10; text-align: center; }

/* Badge */
.sh-price-hero__badge { display: inline-flex; align-items: center; gap: 0.5rem; border: 1px solid rgba(255,255,255,0.2); border-radius: 9999px; padding: 0.25rem 1rem; background: rgba(255,255,255,0.05); backdrop-filter: blur(4px); margin-bottom: 1rem; }
@media (min-width: 768px) { .sh-price-hero__badge { margin-bottom: 1.5rem; } }
.sh-price-hero__badge-dot { width: 0.375rem; height: 0.375rem; background: #22c55e; border-radius: 50%; animation: pulse 2s infinite; }
@media (min-width: 768px) { .sh-price-hero__badge-dot { width: 0.5rem; height: 0.5rem; } }
.sh-price-hero__badge-text { font-size: 0.625rem; font-family: monospace; color: #00a84d; letter-spacing: 0.1em; text-transform: uppercase; }
@media (min-width: 768px) { .sh-price-hero__badge-text { font-size: 0.75rem; } }

/* Title */
.sh-price-hero__title { font-size: 2.25rem; font-weight: 900; color: #fff; margin: 0 0 1.5rem; letter-spacing: -0.05em; line-height: 1.3; overflow: visible; }
@media (min-width: 768px) { .sh-price-hero__title { font-size: 4.5rem; margin-bottom: 2rem; } }
.sh-price-hero__title span { display: block; padding: 0.25rem 0; }
.sh-price-hero__title-accent { color: #00a84d; margin-top: 0.5rem; }
@media (min-width: 768px) { .sh-price-hero__title-accent { margin-top: 0.75rem; } }

/* Description */
.sh-price-hero__desc { font-size: 1rem; color: var(--pi-text-muted, #d1d5db); max-width: 48rem; margin: 0 auto 2rem; font-weight: 300; line-height: 1.625; border-left: 2px solid rgba(34,197,94,0.3); padding-left: 1rem; text-align: left; }
@media (min-width: 768px) { .sh-price-hero__desc { font-size: 1.25rem; margin-bottom: 3rem; text-align: center; border-left: none; padding-left: 0; } }
.sh-price-hero__desc strong { color: #fff; }

/* Anchor Links */
.sh-price-hero__anchors { display: flex; flex-direction: column; flex-wrap: wrap; justify-content: center; gap: 1rem; }
@media (min-width: 768px) { .sh-price-hero__anchors { flex-direction: row; } }

.sh-price-hero__anchor { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.75rem 1.5rem; color: #fff; font-weight: 700; font-size: 0.875rem; text-decoration: none; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.05); transition: all 0.2s; position: relative; overflow: hidden; }
@media (min-width: 768px) { .sh-price-hero__anchor { padding: 1rem 2rem; font-size: 1rem; } }
.sh-price-hero__anchor:hover { background: rgba(255,255,255,0.1); }

.sh-price-hero__anchor--primary { background: var(--pi-primary, #007d3d); box-shadow: 0 4px 12px rgba(0,60,30,0.5); border-color: transparent; }
.sh-price-hero__anchor--primary:hover { background: #15803d; }

.sh-price-hero__anchor-icon { width: 1rem; height: 1rem; }

/* ═══ CTA ═══ */
.sh-price-cta { padding: 5rem 0; background: var(--pi-bg, #111827); position: relative; overflow: hidden; }
.sh-price-cta__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.1; mix-blend-mode: overlay; }
.sh-price-cta__fade { position: absolute; inset: 0; background: linear-gradient(to top, #111827, rgba(17,24,39,0.8), transparent); }

.sh-price-cta__container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; position: relative; z-index: 10; text-align: center; }

.sh-price-cta__title { font-size: 1.875rem; font-weight: 900; color: #fff; margin: 0 0 1.5rem; }
@media (min-width: 768px) { .sh-price-cta__title { font-size: 3rem; } }

.sh-price-cta__desc { font-size: 1.25rem; color: var(--pi-text-muted, #9ca3af); margin: 0 auto 2.5rem; max-width: 42rem; }

.sh-price-cta__buttons { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }
@media (min-width: 640px) { .sh-price-cta__buttons { flex-direction: row; } }

.sh-price-cta__btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; width: 100%; padding: 1rem 2rem; font-weight: 700; border-radius: var(--pi-radius, 0.75rem); text-decoration: none; font-size: 1rem; transition: all 0.2s; }
@media (min-width: 640px) { .sh-price-cta__btn { width: auto; } }

.sh-price-cta__btn--primary { background: var(--pi-primary, #007d3d); color: #fff; box-shadow: 0 4px 12px color-mix(in srgb, var(--pi-primary, #007d3d) 30%, transparent); }
.sh-price-cta__btn--primary:hover { background: #15803d; }

.sh-price-cta__btn--outline { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(4px); }
.sh-price-cta__btn--outline:hover { background: rgba(255,255,255,0.2); }

.sh-price-cta__btn-icon { width: 1.25rem; height: 1.25rem; }

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

/* ═══════════════════════════════════
   Pricing Content (Tables + Packages)
   ═══════════════════════════════════ */

.sh-pricing { padding: 2.5rem 0 5rem; background: var(--pi-bg, #f9fafb); }
@media (min-width: 768px) { .sh-pricing { padding: 5rem 0; } }
.sh-pricing__container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

/* Section */
.sh-pricing__section { scroll-margin-top: 6rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .sh-pricing__section { scroll-margin-top: 8rem; margin-bottom: 6rem; } }

.sh-pricing__section-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; justify-content: center; }
@media (min-width: 768px) { .sh-pricing__section-header { margin-bottom: 3rem; } }

.sh-pricing__section-header--left { justify-content: space-between; align-items: flex-end; border-bottom: 1px solid var(--pi-border, #e2e8f0); padding-bottom: 1rem; max-width: 64rem; margin-left: auto; margin-right: auto; }

.sh-pricing__section-line { height: 1px; width: 2rem; background: var(--pi-border, #e2e8f0); }
@media (min-width: 768px) { .sh-pricing__section-line { width: 3rem; } }
.sh-pricing__section-line--wide { width: 3rem; }
@media (min-width: 768px) { .sh-pricing__section-line--wide { width: 4rem; } }

.sh-pricing__section-title { font-size: 1.5rem; font-weight: 900; color: var(--pi-text, #1e293b); text-transform: uppercase; letter-spacing: -0.05em; margin: 0; }
@media (min-width: 768px) { .sh-pricing__section-title { font-size: 2.25rem; } }
.sh-pricing__section-title--lg { font-size: 1.875rem; }
@media (min-width: 768px) { .sh-pricing__section-title--lg { font-size: 3rem; } }

.sh-pricing__section-sub { display: block; font-size: 0.75rem; color: var(--pi-text-3, #94a3b8); margin-top: 0.5rem; }
@media (min-width: 768px) { .sh-pricing__section-sub { font-size: 0.875rem; } }

.sh-pricing__section-meta { display: none; text-align: right; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--pi-text-muted, #64748b); }
@media (min-width: 768px) { .sh-pricing__section-meta { display: block; } }
.sh-pricing__section-meta div { font-family: monospace; }

/* Cards Grid */
.sh-pricing__cards { display: grid; grid-template-columns: 1fr; gap: 1.5rem; max-width: 64rem; margin: 0 auto; }
.sh-pricing__cards--2col { }
@media (min-width: 768px) { .sh-pricing__cards--2col { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.sh-pricing__cards--3col { max-width: 80rem; align-items: flex-end; }
@media (min-width: 768px) { .sh-pricing__cards--3col { grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem; } }

/* Design Card */
.sh-pricing__card { background: var(--pi-bg-card, #ffffff); border: 1px solid var(--pi-border, #e2e8f0); padding: 1.5rem; box-shadow: 0 1px 3px rgba(0,0,0,0.05); position: relative; transition: box-shadow 0.5s; }
@media (min-width: 768px) { .sh-pricing__card { padding: 2rem; } }
.sh-pricing__card:hover { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.12); }

.sh-pricing__card-accent { position: absolute; top: 0; left: 0; width: 100%; height: 4px; transition: background 0.3s; }
.sh-pricing__card-accent--green { background: var(--pi-bg-alt, #f3f4f6); }
.sh-pricing__card:hover .sh-pricing__card-accent--green { background: var(--pi-primary, #007d3d); }
.sh-pricing__card-accent--amber { background: var(--pi-bg-alt, #f3f4f6); }
.sh-pricing__card:hover .sh-pricing__card-accent--amber { background: #d97706; }

.sh-pricing__card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.5rem; border-bottom: 1px dashed var(--pi-border, #e2e8f0); padding-bottom: 1.5rem; }

.sh-pricing__card-tag { display: block; font-size: 0.75rem; font-family: monospace; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.25rem; }
.sh-pricing__card-tag--green { color: var(--pi-primary, #007d3d); }
.sh-pricing__card-tag--amber { color: #d97706; }

.sh-pricing__card-name { font-size: 1.875rem; font-weight: 700; color: var(--pi-text, #1e293b); margin: 0; }

.sh-pricing__card-price { text-align: right; }
.sh-pricing__card-price-value { display: block; font-size: 1.5rem; font-weight: 900; color: var(--pi-text, #1e293b); }
@media (min-width: 768px) { .sh-pricing__card-price-value { font-size: 1.875rem; } }
.sh-pricing__card-price-sep { font-size: 1.125rem; font-weight: 300; color: var(--pi-text-muted, #64748b); }
.sh-pricing__card-price-unit { font-size: 0.625rem; font-family: monospace; color: var(--pi-text-muted, #64748b); text-transform: uppercase; }

.sh-pricing__card-body { margin-bottom: 2rem; }
.sh-pricing__card-note { font-size: 0.875rem; color: var(--pi-text-3, #94a3b8); font-style: italic; border-left: 2px solid var(--pi-border, #e2e8f0); padding-left: 1rem; padding-top: 0.25rem; padding-bottom: 0.25rem; margin: 0 0 1rem; }

.sh-pricing__card-features { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.sh-pricing__card-features li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; color: var(--pi-text-2, #475569); }

.sh-pricing__check { width: 1rem; height: 1rem; border-radius: 50%; border: 1px solid var(--pi-border, #e2e8f0); display: flex; align-items: center; justify-content: center; font-size: 0.5rem; color: transparent; flex-shrink: 0; transition: all 0.3s; }
.sh-pricing__card:hover .sh-pricing__check { color: var(--pi-primary, #007d3d); border-color: var(--pi-primary, #007d3d); }
.sh-pricing__check--amber { }
.sh-pricing__card:hover .sh-pricing__check--amber { color: #d97706; border-color: #d97706; }

.sh-pricing__card-cta { display: flex; align-items: center; justify-content: center; width: 100%; padding: 0.75rem; background: var(--pi-bg-alt, #f3f4f6); color: var(--pi-text, #1e293b); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; text-decoration: none; border: 1px solid var(--pi-border, #e2e8f0); border-radius: 0.25rem; transition: all 0.2s; }
.sh-pricing__card-cta:hover { background: var(--pi-primary, #007d3d); color: #fff; border-color: var(--pi-primary, #007d3d); }
.sh-pricing__card-cta--amber:hover { background: #d97706; border-color: #d97706; }

/* Table */
.sh-pricing__table-wrap { background: var(--pi-bg-card, #ffffff); border: 1px solid var(--pi-border, #e2e8f0); box-shadow: 0 4px 12px rgba(0,0,0,0.06); border-radius: var(--pi-radius, 0.75rem); overflow: hidden; max-width: 64rem; margin: 0 auto; }
.sh-pricing__table-scroll { overflow-x: auto; }
.sh-pricing__table { width: 100%; text-align: left; border-collapse: collapse; min-width: 600px; }
.sh-pricing__th { padding: 0.75rem 1rem; font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.1em; position: relative; overflow: hidden; }
@media (min-width: 768px) { .sh-pricing__th { padding: 1rem; font-size: 0.75rem; } }
.sh-pricing__th--info { width: 33%; border-right: 1px solid var(--pi-primary, #007d3d); }
.sh-pricing__th--basic { width: 33%; border-right: 1px solid var(--pi-primary, #007d3d); text-align: center; }
.sh-pricing__th--premium { text-align: center; }
.sh-pricing__th-watermark { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 2.25rem; font-weight: 900; color: rgba(0,0,0,0.05); pointer-events: none; user-select: none; letter-spacing: -0.05em; white-space: nowrap; }
@media (min-width: 768px) { .sh-pricing__th-watermark { font-size: 3.75rem; } }
.sh-pricing__th span { position: relative; z-index: 10; }
.sh-pricing__th small { opacity: 0.7; font-size: 0.5625rem; text-transform: none; }
@media (min-width: 768px) { .sh-pricing__th small { font-size: 0.625rem; } }

.sh-pricing__tr { transition: background 0.2s; }
.sh-pricing__tr:hover { background: var(--pi-bg-alt, #f3f4f6); }
.sh-pricing__tr--highlight { background: color-mix(in srgb, var(--pi-primary, #007d3d) 5%, transparent); }

.sh-pricing__td { padding: 0.75rem 1rem; border-right: 1px solid var(--pi-border, #e2e8f0); font-size: 0.75rem; color: var(--pi-text-2, #475569); text-align: center; }
@media (min-width: 768px) { .sh-pricing__td { padding: 1rem; font-size: 0.875rem; } }
.sh-pricing__td--label { text-align: left; font-weight: 500; color: var(--pi-text-2, #475569); }
.sh-pricing__td--bold { font-weight: 700; color: var(--pi-text, #1e293b); }
.sh-pricing__td--price { font-size: 1.25rem; font-weight: 900; color: #15803d; }
@media (min-width: 768px) { .sh-pricing__td--price { font-size: 1.5rem; } }
.sh-pricing__td-sub { display: block; font-size: 0.625rem; font-weight: 400; color: var(--pi-text-3, #94a3b8); margin-top: 0.25rem; }
@media (min-width: 768px) { .sh-pricing__td-sub { font-size: 0.75rem; } }

.sh-pricing__badge { display: inline-block; padding: 0.25rem 0.5rem; background: #dcfce7; color: #15803d; font-size: 0.625rem; font-weight: 700; border: 1px solid #bbf7d0; border-radius: 0.25rem; }
@media (min-width: 768px) { .sh-pricing__badge { font-size: 0.75rem; } }

.sh-pricing__table-note { padding: 0.75rem 1rem; background: var(--pi-bg-alt, #f3f4f6); border-top: 1px solid var(--pi-border, #e2e8f0); font-size: 0.625rem; color: var(--pi-text-3, #94a3b8); display: flex; align-items: center; gap: 0.5rem; }
@media (min-width: 768px) { .sh-pricing__table-note { padding: 0.75rem 1.5rem; font-size: 0.75rem; } }
.sh-pricing__table-note-dot { width: 0.5rem; height: 0.5rem; background: #facc15; border-radius: 50%; animation: pulse 2s infinite; flex-shrink: 0; }

/* Package Cards (Turnkey) */
.sh-pricing__pkg { background: var(--pi-bg-card, #ffffff); border: 1px solid var(--pi-border, #e2e8f0); padding: 1.5rem; display: flex; flex-direction: column; position: relative; height: 100%; border-radius: var(--pi-radius, 0.75rem); box-shadow: 0 1px 3px rgba(0,0,0,0.05); transition: transform 0.3s, box-shadow 0.3s; }
@media (min-width: 768px) { .sh-pricing__pkg { padding: 2rem; } }
.sh-pricing__pkg:hover { transform: translateY(-0.5rem); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }

.sh-pricing__pkg--featured { border-top: 4px solid #22c55e; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.12); z-index: 10; }
@media (min-width: 768px) { .sh-pricing__pkg--featured { transform: scale(1.05); } .sh-pricing__pkg--featured:hover { transform: scale(1.05) translateY(-0.5rem); } }

.sh-pricing__pkg-badge { position: absolute; top: 0.75rem; right: 0.75rem; background: var(--pi-primary, #22c55e); color: #fff; font-size: 0.625rem; text-transform: uppercase; font-weight: 700; padding: 0.25rem 0.75rem; letter-spacing: 0.1em; border-radius: 9999px; box-shadow: 0 2px 6px rgba(0,0,0,0.15); white-space: nowrap; z-index: 5; }

.sh-pricing__pkg-name { font-size: 1.25rem; font-weight: 700; color: var(--pi-text, #1e293b); border-bottom: 1px solid var(--pi-border, #e2e8f0); padding-bottom: 0.5rem; margin: 0 0 1rem; display: inline-block; }
.sh-pricing__pkg-name--lg { font-size: 1.5rem; }

.sh-pricing__pkg-price { font-size: 1.875rem; font-weight: 900; margin-bottom: 1.5rem; color: var(--pi-text-muted, #64748b); }
@media (min-width: 768px) { .sh-pricing__pkg-price { font-size: 2.25rem; } }
.sh-pricing__pkg-price--muted { color: var(--pi-text-muted, #64748b); }
.sh-pricing__pkg-price--accent { color: #16a34a; }
@media (min-width: 768px) { .sh-pricing__pkg-price--accent { font-size: 3rem; } }

.sh-pricing__pkg-list { list-style: none; margin: 0 0 1.5rem; padding: 0; flex: 1; display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.875rem; color: var(--pi-text-2, #475569); }
@media (min-width: 768px) { .sh-pricing__pkg-list { gap: 1rem; margin-bottom: 2rem; } }
.sh-pricing__pkg-list li { display: flex; gap: 0.5rem; }
.sh-pricing__pkg-list li span { color: var(--pi-text-muted, #64748b); }
.sh-pricing__pkg-list--accent li span { color: #22c55e; font-weight: 700; }

.sh-pricing__pkg-cta { display: block; width: 100%; padding: 0.75rem; border: 1px solid var(--pi-border, #e2e8f0); color: var(--pi-text, #1e293b); font-weight: 700; text-align: center; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.75rem; text-decoration: none; border-radius: 0.25rem; transition: all 0.2s; }
.sh-pricing__pkg-cta:hover { background: var(--pi-bg, #111827); color: #fff; }
.sh-pricing__pkg-cta--primary { background: var(--pi-primary, #007d3d); color: #fff; border-color: var(--pi-primary, #007d3d); padding: 1rem; }
.sh-pricing__pkg-cta--primary:hover { background: #15803d; }

/* Dark Mode */
.dark .sh-pricing { background: var(--pi-bg, #0f172a); }
.dark .sh-pricing__section-title { color: var(--pi-text, #f1f5f9); }
.dark .sh-pricing__card { background: var(--pi-bg-card, #1e293b); border-color: var(--pi-border, #334155); }
.dark .sh-pricing__card-name { color: var(--pi-text, #f1f5f9); }
.dark .sh-pricing__card-price-value { color: var(--pi-text, #f1f5f9); }
.dark .sh-pricing__card-header { border-bottom-color: var(--pi-border, #334155); }
.dark .sh-pricing__card-cta { background: var(--pi-bg-elevated, #334155); color: var(--pi-text, #f1f5f9); border-color: var(--pi-border, #334155); }
.dark .sh-pricing__table-wrap { background: var(--pi-bg-card, #1e293b); border-color: var(--pi-border, #334155); }
.dark .sh-pricing__tr:hover { background: var(--pi-bg-elevated, #334155); }
.dark .sh-pricing__td { border-right-color: var(--pi-border, #334155); }
.dark .sh-pricing__table-note { background: var(--pi-bg-elevated, #334155); border-top-color: var(--pi-border, #334155); }
.dark .sh-pricing__pkg { background: var(--pi-bg-card, #1e293b); border-color: var(--pi-border, #334155); }
.dark .sh-pricing__pkg-name { color: var(--pi-text, #f1f5f9); border-bottom-color: var(--pi-border, #334155); }
.dark .sh-pricing__pkg-price { color: var(--pi-text, #f1f5f9); }
.dark .sh-pricing__pkg-cta { border-color: var(--pi-border, #334155); color: var(--pi-text, #f1f5f9); }
