/* Thiet ke goc cua 12 block cu (chep tu giao dien truoc Dot 1), chi ap dung trong .classic.
   Bien --accent di theo mau chu dao cua trang; chu nam truc tiep tren nen dung --on-bg (doi mau theo nen sang / toi). */
.classic {--font-main: var(--font-heading); --bg: #f4efe7; --bg-soft: #fffaf2; --surface: rgba(255, 255, 255, 0.82); --surface-strong: #ffffff; --line: rgba(15, 23, 42, 0.08); --text: #0f172a; --muted: #5b6474; --accent: var(--primary); --accent-strong: var(--primary-strong); --accent-soft: var(--primary-soft); --success: #166534; --danger: #b91c1c; --shadow: 0 24px 60px rgba(15, 23, 42, 0.12); --radius-xl: 30px; --radius-lg: 22px; --radius-md: 16px; --container: 1180px; font-family: var(--font-body); line-height: 1.65; color: var(--text); }
.classic .section-card {padding: 24px 0; overflow: hidden; }
.classic .section-title {margin: 0; font-family: var(--font-main); font-weight: 700; letter-spacing: -0.05em; line-height: 1.05; }
.classic .btn-primary {min-height: 54px; padding: 0 24px; border-radius: 999px; font-weight: 800; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease; }
.classic .btn-primary {color: #fff; background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%); box-shadow: 0 18px 34px rgba(194, 65, 12, 0.24); }
.classic .btn-primary:hover {transform: translateY(-2px); }
.classic .section-heading {display: grid; gap: 10px; margin-bottom: 24px; }
.classic .section-title {font-size: clamp(2rem, 3.8vw, 3.2rem); }
.classic .section-description {color: var(--muted); max-width: 62ch; font-size: 1rem; }
.classic .video-frame {position: relative; overflow: hidden; border-radius: 28px; background: #0f172a; box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24); aspect-ratio: 16 / 9; }
.classic .video-frame iframe, .classic .video-frame a {width: 100%; height: 100%; border: 0; }
.classic .video-fallback {display: grid; place-items: center; text-decoration: none; color: #fff; font-weight: 700; background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(194, 65, 12, 0.82)); }
.classic .countdown-timer {display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.classic .countdown-unit {padding: 18px 14px; border-radius: 20px; background: rgba(255, 255, 255, 0.95); border: 1px solid rgba(15, 23, 42, 0.08); text-align: center; box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08); }
.classic .countdown-unit strong {display: block; font-size: clamp(1.5rem, 3vw, 2.4rem); font-family: var(--font-main); line-height: 1; }
.classic .countdown-unit span {display: block; margin-top: 6px; color: var(--muted); font-size: 0.84rem; text-transform: uppercase; letter-spacing: 0.08em; }
.classic .pricing-shell .section-heading {text-align: center; }
.classic .pricing-shell .section-description {max-width: 860px; margin-left: auto; margin-right: auto; }
.classic .pricing-shell {margin-left: auto; margin-right: auto; }
.classic .pricing-grid {display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.classic .pricing-card {position: relative; display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: 26px; background: transparent; border: 1px solid rgba(15, 23, 42, 0.18); box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05); }
.classic .pricing-card .pricing-features {flex: 0 0 auto; }
.classic .pricing-card .btn-pricing {margin-top: auto; align-self: stretch; flex: 0 0 auto; }
.classic .pricing-card.featured {border-color: rgba(15, 23, 42, 0.32); border-width: 2px; box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1); transform: translateY(-6px); }
.classic .pricing-badge {position: absolute; top: 18px; right: 18px; padding: 7px 12px; border-radius: 999px; background: rgba(194, 65, 12, 0.12); color: var(--accent-strong); font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
.classic .pricing-name {margin: 0; font-family: var(--font-main); font-size: 1.36rem; }
.classic .price-old {color: #94a3b8; text-decoration: line-through; font-weight: 700; }
.classic .price-sale {font-size: clamp(1.9rem, 3vw, 2.8rem); font-family: var(--font-main); line-height: 1; color: #dc2626; }
.classic .pricing-features {display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.classic .pricing-features li {display: flex; gap: 10px; color: var(--muted); }
.classic .pricing-features li::before {content: "\2022"; color: var(--accent); font-weight: 900; }
.classic .product-list {display: grid; gap: 28px; max-width: 920px; margin: 0 auto; overflow: visible; }
.classic .product-item {display: grid; gap: 18px; justify-items: center; overflow: visible; }
.classic .product-main {position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr) 14px; column-gap: 8px; justify-self: center; align-items: center; width: min(calc(100% - 18px), 680px); min-height: 66px; padding: 8px 18px; border-radius: 999px; background: #eef6ff; border: 2px solid #0b3a6f; box-shadow: 14px 14px 0 #062b4f, 0 18px 34px rgba(6, 43, 79, 0.2); }
.classic .product-icon {width: 50px; height: 50px; border-radius: 12px; overflow: hidden; background: #dbeafe; border: 2px solid #1d67ad; display: grid; place-items: center; color: #1d67ad; font-weight: 900; flex-shrink: 0; }
.classic .product-icon img {width: 100%; height: 100%; object-fit: cover; }
.classic .product-name {margin: 0; font-family: var(--font-main); font-size: clamp(1rem, 2vw, 1.18rem); font-weight: 800; line-height: 1.3; color: #1d67ad; text-align: center; text-transform: none; }
.classic .product-actions {display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; width: min(calc(100% - 18px), 520px); }
.classic .product-btn {min-width: 136px; min-height: 48px; padding: 0 24px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; color: #fff; font-weight: 800; line-height: 1.2; border: 2px solid rgba(6, 43, 79, 0.18); transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; }
.classic .product-btn:hover {transform: translateY(-2px); filter: brightness(1.04); }
.classic .product-btn-buy {background: linear-gradient(135deg, #16a34a 0%, #15803d 100%); box-shadow: 7px 7px 0 rgba(6, 43, 79, 0.18), 0 14px 26px rgba(22, 163, 74, 0.22); }
.classic .product-btn-trial {background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); box-shadow: 7px 7px 0 rgba(6, 43, 79, 0.18), 0 14px 26px rgba(220, 38, 38, 0.2); }
.classic .field {margin-bottom: 14px; }
.classic .field label {display: block; margin-bottom: 8px; font-size: 0.92rem; font-weight: 700; }
.classic .field input {width: 100%; min-height: 54px; padding: 0 16px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.92); color: var(--text); font: inherit; outline: none; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.classic .field input:focus {border-color: rgba(251, 191, 36, 0.8); box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.16); }
@media (max-width: 1100px) {
  .classic .pricing-grid {grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .classic .section-card {padding: 12px 0; }
  .classic .countdown-timer {grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .classic .product-item {gap: 16px; }
  .classic .product-main {grid-template-columns: 48px minmax(0, 1fr) 6px; column-gap: 6px; width: calc(100% - 18px); min-height: 58px; padding: 7px 12px; box-shadow: 8px 8px 0 #062b4f, 0 14px 28px rgba(6, 43, 79, 0.16); }
  .classic .product-icon {width: 42px; height: 42px; border-radius: 10px; }
  .classic .product-btn {flex: 0 1 150px; min-width: 128px; min-height: 44px; padding: 0 14px; }
}
@media (min-width: 1101px) {
  .classic .pricing-shell.pricing-count-1 {max-width: 760px; }
  .classic .pricing-shell.pricing-count-2 {max-width: 960px; }
  .classic .pricing-shell.pricing-count-1 .pricing-grid {grid-template-columns: minmax(0, 360px); justify-content: center; }
  .classic .pricing-shell.pricing-count-2 .pricing-grid {grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; }
}

/* ---- Bo sung khi ghep vao giao dien moi ---- */
/* Ban cu khong xoa le mac dinh cua trinh duyet: tra lai cho tieu de / doan van (landing.css dat margin 0). */
.classic h1 { margin: 0.67em 0; }
.classic h2 { margin: 0.83em 0; }
.classic h3 { margin: 1em 0; }
.classic p { margin: 1em 0; }
.classic h1, .classic h2, .classic h3, .classic h4 { line-height: inherit; }
/* Khoang cach giua cac block nhu ban cu. */
.section.classic-block:not(.has-block-bg) { padding: 5px 0; }
/* Tieu de nam truc tiep tren nen: doi mau theo nen sang / toi. Trong khung trang (bang gia) giu chu toi. */
.classic .section-title { color: var(--on-bg, var(--text)); text-wrap: wrap; }
/* Doan mo ta duoi tieu de: chia deu cac dong, khong de dong cuoi chi con 1-2 chu. */
.classic .section-description { color: var(--on-bg-muted, var(--muted)); text-wrap: balance; }
.classic .pricing-shell .section-title { color: var(--text); }
.classic .pricing-shell .section-description { color: var(--muted); }
/* Form dang ky: kieu o nhap cua ban cu. */
.classic .cl-form-card { background: rgba(255, 255, 255, 0.96); padding: clamp(24px, 4vw, 36px); border-radius: 24px; border: 1px solid rgba(15, 23, 42, 0.08); box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08), 0 2px 10px rgba(15, 23, 42, 0.04); }
.classic .cl-field { margin-bottom: 24px; }
.classic .cl-field:last-of-type { margin-bottom: 32px; }
.classic .cl-field label { display: block; margin-bottom: 8px; font-size: 0.84rem; font-weight: 800; color: #334155; text-transform: uppercase; letter-spacing: 0.06em; }
.classic .cl-input { width: 100%; min-height: 56px; padding: 0 16px; border-radius: 14px; border: 1px solid rgba(15, 23, 42, 0.14); background: #ffffff; color: #0f172a; font: inherit; font-size: 16px; outline: none; box-shadow: inset 0 1px 0 rgba(15, 23, 42, 0.03); transition: border-color 0.2s, box-shadow 0.2s; }
.classic textarea.cl-input { min-height: 132px; padding: 14px 16px; line-height: 1.55; resize: vertical; }
.classic .cl-input:focus { border-color: #94a3b8; box-shadow: 0 0 0 4px rgba(148, 163, 184, 0.16), inset 0 1px 0 rgba(15, 23, 42, 0.03); }
.classic .cl-submit { width: 100%; min-height: 58px; border-radius: 16px; border: 1px solid rgba(15, 23, 42, 0.12); background: #111827; color: #fff; font: inherit; font-size: 1.05rem; font-weight: 850; cursor: pointer; box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16); letter-spacing: 0.02em; transition: transform 0.2s, box-shadow 0.2s, background 0.2s; }
.classic .cl-submit:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(15, 23, 42, 0.2); background: #0f172a; }
.classic .cl-submit[disabled] { opacity: 0.7; cursor: progress; }
.classic .cl-form-note { margin-top: 16px; font-size: 0.86rem; color: #64748b; text-align: center; }
.classic .cl-form-note svg { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; margin-right: 4px; color: #475569; }
/* Su kien: luoi o can doi theo so o (4 o: 1 -> 2 -> 4 cot, 3 o: 1 -> 3 cot), khong de o le loi ra. */
.classic .cl-event-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-bottom: 56px; }
@media (min-width: 480px) {
  .classic .cl-event-grid.count-2, .classic .cl-event-grid.count-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .classic .cl-event-grid.count-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .classic .cl-event-grid.count-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
