:root {
      --orange: #f97316;
      --orange-dark: #ea580c;
      --navy: #172033;
      --muted: #5b6473;
    }

    * { box-sizing: border-box; }

    html {
      scroll-behavior: smooth;
      scroll-padding-top: 90px;
    }

    body {
      margin: 0;
      font-family: "Be Vietnam Pro", sans-serif;
      color: var(--navy);
      font-size: 17px;
      line-height: 1.8;
      -webkit-font-smoothing: antialiased;
    }

    img {
      display: block;
      max-width: 100%;
    }

    .container-main {
      width: min(1180px, calc(100% - 40px));
      margin-inline: auto;
    }

    .section-space {
      padding-block: 88px;
    }

    .section-title {
      font-size: clamp(30px, 3.4vw, 43px);
      line-height: 1.35;
      letter-spacing: -1px;
      font-weight: 800;
    }

    .section-desc {
      max-width: 760px;
      margin: 18px auto 0;
      color: var(--muted);
      font-size: 18px;
      line-height: 1.85;
    }

    .eyebrow {
      display: inline-block;
      padding: 7px 14px;
      border-radius: 999px;
      background: #fff0e5;
      color: #c2410c;
      font-size: 14px;
      font-weight: 800;
      letter-spacing: .4px;
    }

    .btn-primary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      min-height: 54px;
      padding: 13px 24px;
      border: 0;
      border-radius: 12px;
      background: var(--orange);
      color: #fff;
      font-size: 16px;
      font-weight: 800;
      text-align: center;
      text-decoration: none;
      transition: .2s ease;
      cursor: pointer;
    }

    .btn-primary:hover {
      background: var(--orange-dark);
      transform: translateY(-1px);
    }

    .btn-secondary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 54px;
      padding: 12px 23px;
      border: 1px solid #d9dee7;
      border-radius: 12px;
      background: #fff;
      color: var(--navy);
      font-weight: 700;
      text-decoration: none;
    }

    .btn-secondary:hover { background: #f8fafc; }

    .hero {
      position: relative;
      overflow: hidden;
      background:
        radial-gradient(circle at 85% 12%, rgba(251,146,60,.17), transparent 28%),
        linear-gradient(135deg, #fffaf5 0%, #fff 55%, #fff7ed 100%);
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.05fr .95fr;
      gap: 56px;
      align-items: center;
    }

    .hero-title {
      margin: 24px 0 20px;
      font-size: clamp(36px, 2.25vw, 58px);
      font-weight: 800;
      line-height: 1.3;
      letter-spacing: -1.7px;
      overflow-wrap: normal;
      word-break: normal;
    }

    .hero-title span {
      display: block;
      margin-bottom: 3px;
    }

    .hero-title .highlight { color: var(--orange-dark); }

    .hero-desc {
      max-width: 610px;
      color: #4b5563;
      font-size: 19px;
      line-height: 1.9;
    }

    .hero-image-wrap {
      position: relative;
      padding: 10px;
      border: 1px solid rgba(255,255,255,.9);
      border-radius: 28px;
      background: rgba(255,255,255,.7);
      box-shadow: 0 25px 70px rgba(124,45,18,.12);
    }

    .hero-image {
      width: 100%;
      height: 480px;
      object-fit: cover;
      border-radius: 21px;
    }

    .floating-card {
      position: absolute;
      bottom: 28px;
      left: -24px;
      max-width: 245px;
      padding: 18px;
      border: 1px solid #f3f4f6;
      border-radius: 17px;
      background: white;
      box-shadow: 0 15px 45px rgba(15,23,42,.13);
    }

    .floating-card strong {
      display: block;
      font-size: 17px;
    }

    .floating-card p {
      margin: 4px 0 0;
      color: #64748b;
      font-size: 14px;
      line-height: 1.6;
    }

    .trust-strip {
      border-top: 1px solid #f1e7dd;
      background: #fff;
    }

    .trust-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      padding-block: 24px;
    }

    .trust-item {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      color: #475569;
      font-size: 15px;
      font-weight: 700;
    }

    .trust-icon {
      display: grid;
      width: 42px;
      height: 42px;
      flex-shrink: 0;
      place-items: center;
      border-radius: 12px;
      background: #fff0e5;
      color: #c2410c;
      font-size: 21px;
    }

    .pain-card, .solution-card, .audience-card, .process-card {
      overflow: hidden;
      border: 1px solid #e9edf2;
      border-radius: 20px;
      background: #fff;
      box-shadow: 0 8px 28px rgba(15,23,42,.045);
    }

    .pain-card {
      padding: 28px;
    }

    .pain-card h3 {
      margin: 14px 0 8px;
      font-size: 20px;
      font-weight: 800;
      line-height: 1.5;
    }

    .pain-card p {
      margin: 0;
      color: var(--muted);
      font-size: 16px;
      line-height: 1.8;
    }

    .solution-card {
      transition: transform .2s ease, box-shadow .2s ease;
    }

    .solution-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 18px 45px rgba(15,23,42,.09);
    }

    .solution-card img {
      width: 100%;
      height: 210px;
      object-fit: cover;
    }

    .solution-body { padding: 25px; }

    .solution-body h3 {
      margin: 0 0 10px;
      font-size: 21px;
      line-height: 1.5;
      font-weight: 800;
    }

    .solution-body p {
      margin: 0 0 15px;
      color: var(--muted);
      font-size: 16px;
      line-height: 1.8;
    }

    .benefit-list {
      display: grid;
      gap: 9px;
      padding: 0;
      margin: 0;
      list-style: none;
    }

    .benefit-list li {
      display: flex;
      gap: 9px;
      align-items: flex-start;
      font-size: 15px;
      line-height: 1.7;
    }

    .check {
      flex-shrink: 0;
      color: #16a34a;
      font-weight: 800;
    }

    .soft-section { background: #f8fafc; }

    .audience-card img {
      width: 100%;
      height: 200px;
      object-fit: cover;
    }

    .audience-body { padding: 22px; }

    .audience-body h3 {
      margin: 0 0 8px;
      font-size: 20px;
      font-weight: 800;
      line-height: 1.5;
    }

    .audience-body p {
      margin: 0;
      color: var(--muted);
      font-size: 16px;
      line-height: 1.8;
    }

    .pricing-section {
      background: linear-gradient(180deg, #fff7ed 0%, #fff 80%);
    }

    .pricing-card {
      position: relative;
      display: flex;
      flex-direction: column;
      padding: 30px;
      border: 1px solid #e5e7eb;
      border-radius: 23px;
      background: white;
      box-shadow: 0 10px 35px rgba(15,23,42,.05);
    }

    .pricing-card.featured {
      border: 2px solid var(--orange);
      box-shadow: 0 18px 55px rgba(249,115,22,.14);
      transform: translateY(-8px);
    }

    .featured-label {
      position: absolute;
      top: -16px;
      left: 50%;
      width: max-content;
      max-width: calc(100% - 20px);
      transform: translateX(-50%);
      padding: 6px 14px;
      border-radius: 999px;
      background: var(--orange);
      color: white;
      font-size: 13px;
      font-weight: 800;
    }

    .pricing-name {
      margin: 0;
      font-size: 23px;
      font-weight: 800;
      line-height: 1.5;
    }

    .pricing-intro {
      min-height: 58px;
      margin: 10px 0 16px;
      color: var(--muted);
      font-size: 15px;
      line-height: 1.75;
    }

    .pricing-price {
      margin: 0;
      font-size: clamp(27px, 2.5vw, 35px);
      font-weight: 800;
      line-height: 1.35;
      letter-spacing: -.8px;
      color: #c2410c;
      overflow-wrap: anywhere;
    }

    .price-note {
      margin: 6px 0 20px;
      color: #64748b;
      font-size: 14px;
    }

    .pricing-card hr {
      width: 100%;
      margin: 0 0 20px;
      border: 0;
      border-top: 1px solid #e5e7eb;
    }

    .pricing-card h4 {
      margin: 0 0 12px;
      font-size: 16px;
      font-weight: 800;
    }

    .pricing-card .benefit-list { margin-bottom: 25px; }

    .pricing-card .btn-primary,
    .pricing-card .btn-secondary {
      width: 100%;
      margin-top: auto;
    }

    .comparison-wrap {
      overflow-x: auto;
      border: 1px solid #e5e7eb;
      border-radius: 17px;
      background: white;
      -webkit-overflow-scrolling: touch;
    }

    .comparison-table {
      width: 100%;
      min-width: 750px;
      border-collapse: collapse;
      font-size: 15px;
      line-height: 1.65;
    }

    .comparison-table th,
    .comparison-table td {
      padding: 16px 18px;
      border-bottom: 1px solid #edf0f4;
      text-align: center;
    }

    .comparison-table th {
      background: #fff7ed;
      font-weight: 800;
    }

    .comparison-table th:first-child,
    .comparison-table td:first-child {
      text-align: left;
      font-weight: 700;
    }

    .comparison-table tr:last-child td { border-bottom: 0; }

    .process-card {
      padding: 27px;
    }

    .process-number {
      display: grid;
      width: 46px;
      height: 46px;
      place-items: center;
      margin-bottom: 18px;
      border-radius: 14px;
      background: #fff0e5;
      color: #c2410c;
      font-size: 21px;
      font-weight: 800;
    }

    .process-card h3 {
      margin: 0 0 9px;
      font-size: 19px;
      font-weight: 800;
      line-height: 1.5;
    }

    .process-card p {
      margin: 0;
      color: var(--muted);
      font-size: 16px;
      line-height: 1.8;
    }

    .faq-item {
      border-bottom: 1px solid #e5e7eb;
    }

    .faq-question {
      display: flex;
      width: 100%;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      padding: 22px 0;
      border: 0;
      background: transparent;
      text-align: left;
      color: var(--navy);
      font-size: 18px;
      font-weight: 700;
      cursor: pointer;
    }

    .faq-answer {
      padding: 0 0 22px;
      color: var(--muted);
      font-size: 16px;
      line-height: 1.85;
    }

    .faq-answer[hidden] { display: none; }

    .form-panel {
      padding: 38px;
      border: 1px solid #f3e4d8;
      border-radius: 24px;
      background: white;
      box-shadow: 0 12px 45px rgba(15,23,42,.06);
    }

    .form-label {
      display: block;
      margin-bottom: 7px;
      font-size: 15px;
      font-weight: 700;
    }

    .form-input {
      width: 100%;
      min-height: 51px;
      padding: 12px 14px;
      border: 1px solid #d8dee8;
      border-radius: 10px;
      outline: none;
      background: white;
      color: var(--navy);
      font: inherit;
      font-size: 16px;
    }

    .form-input:focus {
      border-color: var(--orange);
      box-shadow: 0 0 0 3px rgba(249,115,22,.13);
    }

    .form-message {
      margin-top: 14px;
      font-size: 15px;
      line-height: 1.7;
    }

    .footer {
      background: #172033;
      color: #e2e8f0;
    }

    .footer a {
      color: #fed7aa;
      text-decoration: none;
    }

    .mobile-bottom-cta { display: none; }

    @media (max-width: 900px) {
      .hero-grid {
        grid-template-columns: 1fr;
        gap: 38px;
      }

      .hero-copy { max-width: 760px; }

      .hero-image-wrap {
        width: min(100%, 680px);
        margin-inline: auto;
      }

      .hero-image { height: 380px; }

      .floating-card { left: 12px; }

      .pricing-card { padding: 24px; }

      .pricing-card.featured { transform: none; }
    }

    @media (max-width: 640px) {
      body {
        font-size: 16px;
        line-height: 1.75;
      }

      .container-main {
        width: min(100% - 32px, 1180px);
      }

      .section-space { padding-block: 58px; }

      .section-title {
        font-size: 30px;
        line-height: 1.4;
        letter-spacing: -.6px;
      }

      .section-desc {
        margin-top: 12px;
        font-size: 16px;
        line-height: 1.8;
      }

      /* Ép khoảng cách hero sát lên trên mobile để không bị khoảng trắng lớn */
      .hero { 
        padding-top: 8px !important; 
        padding-bottom: 24px !important;
      }

      .hero-grid {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
      }

      .hero-title {
        margin: 10px 0 15px !important;
        font-size: clamp(23px, 6.4vw, 42px);
        line-height: 1.42;
        letter-spacing: -.8px;
      }

      .hero-title span { margin-bottom: 5px; }

      .hero-desc {
        font-size: 17px;
        line-height: 1.85;
      }

      .hero-image { height: 290px; }

      .floating-card {
        position: relative;
        left: auto;
        bottom: auto;
        max-width: none;
        margin: -25px 12px 8px;
      }

      .trust-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding-block: 22px;
      }

      .trust-item { justify-content: flex-start; }

      .pain-card { padding: 22px; }

      .solution-card img,
      .audience-card img { height: 210px; }

      .solution-body { padding: 22px; }

      .pricing-card {
        padding: 25px 22px;
      }

      .pricing-name { font-size: 22px; }

      .pricing-intro { min-height: auto; }

      .pricing-price { font-size: 32px; }

      .form-panel { padding: 24px 19px; }

      .faq-question { font-size: 16px; }

      .mobile-bottom-cta {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 30;
        display: block;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        border-top: 1px solid #e5e7eb;
        background: rgba(255,255,255,.96);
        backdrop-filter: blur(12px);
      }

      .mobile-bottom-cta .btn-primary {
        width: 100%;
        min-height: 49px;
      }

      body { padding-bottom: 75px; }

      #mobile-menu {
        width: min(340px, 88vw);
      }
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
      }
    }
  
  /* =========================================================
     TOOLTIP / TIP ICON
     Hiển thị nổi trên các thẻ giá, không bị thẻ bên cạnh che.
     ========================================================= */

  .pricing-card {
    overflow: visible;
    isolation: auto;
    z-index: 1;
  }

  .pricing-card:hover,
  .pricing-card:focus-within {
    z-index: 50;
  }

  .pricing-card.featured {
    z-index: 2;
  }

  .pricing-card.featured:hover,
  .pricing-card.featured:focus-within {
    z-index: 50;
  }

  .tip-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    margin-left: 5px;
    overflow: visible;
    z-index: 1;
  }

  .tip-wrap:hover,
  .tip-wrap:focus-within,
  .tip-wrap.is-open {
    z-index: 1000;
  }

  .tip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    padding: 0;
    border: 1px solid #94a3b8;
    border-radius: 50%;
    background: #f8fafc;
    color: #64748b;
    font: 700 11px/1 "Be Vietnam Pro", sans-serif;
    cursor: help;
    transition: border-color .2s ease, background .2s ease, color .2s ease;
  }

  .tip-icon:hover,
  .tip-icon:focus-visible {
    border-color: var(--orange-dark);
    background: #fff7ed;
    color: var(--orange-dark);
    outline: 2px solid rgba(234, 88, 12, .15);
    outline-offset: 2px;
  }

  .tip-content {
    position: absolute;
    z-index: 10000;
    left: 0;
    right: auto;
    bottom: calc(100% + 10px);
    width: 280px;
    max-width: min(280px, 76vw);
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 9px;
    background: #0f172a;
    color: #fff;
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.65;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .22);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(5px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  }

  .tip-content::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 10px;
    border: 6px solid transparent;
    border-top-color: #0f172a;
  }

  .tip-wrap:hover .tip-content,
  .tip-wrap:focus-within .tip-content,
  .tip-wrap.is-open .tip-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  /* Tooltip gần mép phải của thẻ: căn về bên phải icon */
  .pricing-card .benefit-list li .tip-wrap:last-child .tip-content {
    left: auto;
    right: 0;
  }

  .pricing-card .benefit-list li .tip-wrap:last-child .tip-content::after {
    left: auto;
    right: 6px;
  }

  @media (max-width: 640px) {
    .tip-content {
      width: 250px;
      max-width: min(250px, 76vw);
    }

    .pricing-card,
    .pricing-card.featured {
      overflow: visible;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .tip-content,
    .tip-icon {
      transition: none;
    }
  }


/* =========================================================
   FIX: Bảng giá không được đè lên header/menu điều hướng
   Giữ tooltip nổi trên các thẻ giá lân cận nhưng nằm dưới menu.
   ========================================================= */

/* Header/menu luôn nằm trên nội dung trang khi cuộn (Giữ nguyên position sticky) */
header,
.site-header,
.main-header,
.header,
.navbar,
.site-navbar,
.main-nav,
.navigation,
nav[aria-label],
#header,
#navbar {
  position: sticky;
  top: 0;
  z-index: 2000;
}

/* Thẻ giá không tạo lớp phủ cao hơn menu */
.pricing-card {
  position: relative;
  z-index: 1;
  isolation: isolate;
}

.pricing-card:hover,
.pricing-card:focus-within {
  z-index: 2;
}

.pricing-card.featured,
.pricing-card.featured:hover,
.pricing-card.featured:focus-within {
  z-index: 2;
}

/* Tooltip vẫn nổi trong phạm vi thẻ giá đang tương tác */
.pricing-card .tip-wrap:hover,
.pricing-card .tip-wrap:focus-within,
.pricing-card .tip-wrap.is-open {
  z-index: 20;
}

.pricing-card .tip-content {
  z-index: 30;
}

/* Trên màn hình nhỏ, tránh lớp giá che menu cố định/dính */
@media (max-width: 900px) {
  .pricing-card,
  .pricing-card.featured,
  .pricing-card:hover,
  .pricing-card:focus-within,
  .pricing-card.featured:hover,
  .pricing-card.featured:focus-within {
    z-index: 1;
  }
}

/* =========================================================
   FIX TRIỆT ĐỂ: Menu mobile độc lập & Kéo Hero lên sát header
   ========================================================= */

/* Ép menu mobile cố định hoàn toàn, không chiếm layout gây khoảng trống */
#mobile-menu {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  height: 100vh !important;
  z-index: 99999 !important;
  transform: translateX(100%) !important;
  visibility: hidden !important;
  transition: transform 0.3s ease-in-out, visibility 0.3s ease-in-out !important;
}

/* Khi menu mở, ép hiển thị lại và dịch chuyển về vị trí 0 */
#mobile-menu:not(.translate-x-full),
#mobile-menu[aria-hidden="false"] {
  transform: translateX(0) !important;
  visibility: visible !important;
}

/* Kéo phần Hero lên sát ngay dưới header trên mobile */
@media (max-width: 640px) {
  section#trang-chu {
    margin-top: 0 !important;
    padding-top: 10px !important;
  }
}