/* =========================================================
   Responsive styles
   Wide (≤1839) → Large desktop (≤1759) → Desktop (≤1599) → Laptop (≤1399)
   → Small laptop (≤1199) → Tablet (≤991) → Mobile (≤767) → Small mobile (≤479 / ≤399)
   ========================================================= */

/* ---------- Wide (≤ 1839px) ---------- */
@media (max-width: 1839.98px) {
  .news-grid { margin-left: calc(-.5 * var(--bs-gutter-x)); margin-right: calc(-.5 * var(--bs-gutter-x)); }
}

/* ---------- Large desktop (≤ 1759px) ---------- */
@media (max-width: 1759.98px) {
  .agc-wrap { grid-template-columns: 1fr 420px; gap: 30px; max-width: 1340px; }
  .agc-pill-2 { left: 548px; }
  .agc-pill-4 { left: 544px; }
  .agc-pill-3 { left: 70px; }
  .agc-stack { left: 322px; }
  .agc-circle { position: relative; left: auto; top: auto; grid-column: 1; margin: -60px 0 0 40px; }
}

/* ---------- Desktop (≤ 1599px) ---------- */
@media (max-width: 1599.98px) {
  .mfl-header-inner { padding: 34px 90px 0; }
  .hero-section { height: 780px; }
  .hero-inner { padding: 190px 90px 0; }
  .hero-title { font-size: 66px; }
  .hero-text { font-size: 26px; }
  .hero-pixels { width: 2.4em; }
  .hero-role-card { top: 460px; left: 46%; }
  .hero-star { width: 230px; }
  .hero-tag { font-size: 19px; }
  .mfl-container-wide { padding: 0 60px; }
  .uses-grid { margin: 46px -30px 0; }
  .abt-link { font-size: 64px; }
  .abt-inner { max-width: none; padding: 0 60px 0 80px; }
  .red-item h3 { font-size: 24px; }
}

/* ---------- Laptop (≤ 1399px) ---------- */
@media (max-width: 1399.98px) {
  .mfl-header-inner { padding: 28px 60px 0; }
  .mfl-header-logo img { width: 64px; }
  .mfl-header-toggle span { width: 44px; height: 4px; }
  .hero-section { height: 720px; }
  .hero-inner { padding: 170px 60px 0; }
  .hero-title { font-size: 58px; }
  .hero-text { font-size: 23px; }
  .hero-role-card { top: 420px; left: 44%; }
  .hero-star { width: 200px; }
  .sys-title, .ach-title, .agc-title { font-size: 44px; }
  .ins-title, .uses-title, .why-title { font-size: 43px; }
  .sys-item h3 { font-size: 19px; }
  .sys-icon { width: 64px; height: 64px; }
  .sys-icon img, .sys-icon-svg { width: 56px; }
  .sys-icon-svg { height: 56px; }
  .rib-track span { font-size: 44px; }
  .uses-grid { margin: 40px 0 0; }
  .uses-item img { width: 62px; height: 62px; }
  .uses-item span { font-size: 14px; }
  .why-cards { grid-template-columns: 330px 330px; }
  .why-phone { width: 310px; }
  .why-shape { width: 560px; }
  .agc-wrap { grid-template-columns: 1fr; max-width: 940px; gap: 30px; }
  .agc-diagram { width: 900px; margin: 0 auto; }
  .agc-pill-2 { left: 588px; }
  .agc-pill-4 { left: 584px; }
  .agc-pill-3 { left: 90px; }
  .agc-stack { left: 344px; }
  .agc-card { width: 100%; max-width: 600px; margin: 0 0 0 auto; }
  .agc-circle { position: absolute; left: 60px; top: 390px; margin: 0; }
  .fut-title { font-size: 54px; }
  .fut-shape-right { width: 210px; top: 180px; right: 20px; }
  .ben-title { font-size: 40px; }
  .prc-title { font-size: 42px; }
  .prc-card { padding: 34px 26px 24px; }
  .prc-amount { font-size: 52px; }
  .red-title { font-size: 44px; }
  .red-text { font-size: 16.5px; }
  .red-item { padding: 36px 28px 32px 24px; }
  .red-item h3 { font-size: 22px; }
  .red-icon { font-size: 48px; }
  .red-icon-ghost { font-size: 120px; }
  .news-title { font-size: 44px; }
  .news-tags a { height: 40px; padding: 0 18px; font-size: 16px; }
  .news-card h3 { font-size: 23px; }
  .news-meta { font-size: 18px; }
  .ig-title { font-size: 40px; }
  .ig-profile { gap: 60px; }
  .abt-section { height: 180px; }
  .abt-link { font-size: 54px; gap: 30px; }
  .abt-arrow { width: 100px; }
  .abt-circle { width: 190px; height: 190px; margin-top: -32px; font-size: 20px; }
  .abt-circle svg { width: 70px; height: 70px; }
  .ftr-grid { grid-template-columns: 1.15fr .5fr 1fr 1fr; column-gap: 20px; }
  .ftr-logo-word { font-size: 40px; }
  .ftr-logo img { width: 72px; }
  .ftr-about { font-size: 16px; }
  .ftr-heading { font-size: 20px; }
  .ftr-dmca img { width: 300px; }
}

/* ---------- Small laptop (≤ 1199px) ---------- */
@media (max-width: 1199.98px) {
  .hero-section { height: 660px; }
  .hero-inner { padding-top: 160px; }
  .hero-title { font-size: 50px; }
  .hero-text { font-size: 21px; }
  .hero-role-card { left: auto; right: 40px; top: auto; bottom: 120px; width: 240px; }
  .hero-tag { font-size: 15px; padding: 12px 24px; bottom: 30px; }
  .mfl-assess { width: 160px; height: 160px; font-size: 15px; }
  .mfl-assess svg { width: 38px; height: 38px; }
  .sys-title, .ach-title, .agc-title { font-size: 40px; }
  .ins-title, .uses-title, .why-title { font-size: 39px; }
  .sys-item { padding-right: 24px; }
  .sys-item h3 { font-size: 16px; }
  .sys-icon { width: 54px; height: 54px; }
  .sys-icon img, .sys-icon-svg { width: 46px; }
  .sys-icon-svg { height: 46px; }
  .rib-section { height: 260px; }
  .rib-band { height: 72px; }
  .rib-band-dark { top: 80px; }
  .rib-band-gradient { top: 140px; }
  .rib-track span { font-size: 36px; }
  .ins-section { padding-top: 60px; }
  .uses-item img { width: 54px; height: 54px; }
  .why-cards { grid-template-columns: 290px 290px; }
  .why-card { padding: 22px 18px; }
  .why-card h3 { font-size: 16px; }
  .why-card p { font-size: 14.5px; }
  .why-phone { width: 280px; top: 0; }
  .why-shape { width: 480px; }
  .agc-circle { display: none; }
  .fut-title { font-size: 46px; }
  .fut-shape-left { width: 200px; }
  .fut-shape-right { width: 180px; top: auto; bottom: -70px; }
  .ach-section .col-lg-8 { width: 100%; margin-left: 0; }
  .ach-section { background-position: -260px 0; }
  .ach-card { background: rgba(255, 255, 255, .95); backdrop-filter: blur(4px); }
  .ach-grid { margin-top: 10px; }
  .ben-title { font-size: 36px; }
  .ben-axis { height: 345px; }
  .ben-plot { height: 331px; background: repeating-linear-gradient(to top, #ececf0 0 1px, transparent 1px 36.78px); }
  .ben-label { font-size: 15px; }
  .prc-card { min-height: 0; padding: 30px 20px 22px; }
  .prc-head h3 { font-size: 17px; }
  .prc-amount { font-size: 44px; }
  .prc-list li { font-size: 14px; }
  .red-title { font-size: 40px; max-width: none; }
  .red-text { margin-top: 20px; max-width: none; }
  .red-grid { margin-top: 40px; }
  .red-item { padding: 30px 20px 28px 20px; min-height: 160px; }
  .red-item h3 { font-size: 18px; }
  .red-icon { font-size: 40px; margin-top: -20px; }
  .red-icon-ghost { font-size: 96px; }
  .news-section { padding-top: 80px; }
  .news-title { font-size: 40px; }
  .news-card h3 { font-size: 20px; }
  .news-tags { margin-top: 20px; }
  .news-tags a { height: 36px; padding: 0 14px; font-size: 14px; }
  .news-meta { margin-top: 16px; font-size: 16px; }
  .ig-section { padding-top: 80px; }
  .ig-title { font-size: 36px; }
  .ig-profile { flex-wrap: wrap; gap: 26px 50px; }
  .abt-section { margin-top: 80px; height: 160px; }
  .abt-link { font-size: 44px; }
  .abt-arrow { width: 80px; height: 3px; }
  .abt-arrow::after { width: 14px; height: 14px; border-width: 3px; }
  .abt-circle { width: 160px; height: 160px; margin-top: -28px; font-size: 18px; gap: 8px; }
  .abt-circle svg { width: 56px; height: 56px; }
  .ftr-grid {
    grid-template-columns: 1.3fr .6fr 1fr;
    grid-template-areas:
      "brand company contact"
      "brand dmca dmca"
      "map map map";
    row-gap: 10px;
  }
  .ftr-map-col { padding-top: 30px; }
  .ftr-map { height: 300px; }
}

/* ---------- Tablet (≤ 991px) ---------- */
@media (max-width: 991.98px) {
  .mfl-header-inner { padding: 22px 40px 0; }
  .mfl-header-logo img { width: 56px; }
  .mfl-header-toggle { width: 42px; }
  .mfl-header-toggle span { width: 40px; }
  .hero-section { height: auto; min-height: 620px; }
  .hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(5, 20, 25, .7), rgba(5, 20, 25, .15));
    pointer-events: none;
  }
  .hero-inner { padding: 140px 40px 250px; }
  .hero-title { font-size: 44px; }
  .hero-role-card { bottom: 104px; right: 24px; }
  .hero-star { width: 150px; }
  .sys-section { padding-top: 80px; }
  .sys-title, .ach-title, .agc-title { font-size: 36px; }
  .ins-title, .uses-title, .why-title { font-size: 34px; }
  .sys-grid { margin-top: 40px; }
  .sys-grid > div .sys-item { border-left: 1px solid #ececf0; padding-left: 28px; padding-top: 0; }
  .sys-grid > div:nth-child(odd) .sys-item { border-left: 0; padding-left: 0; }
  .sys-grid > div:nth-child(n+3) .sys-item { padding-top: 44px; }
  .sys-grid > div .sys-item::after { left: -5px; }
  .sys-grid > div:nth-child(odd) .sys-item::after { left: 0; }
  .sys-item h3 { font-size: 18px; }
  .ins-text { margin: 18px 0 0; max-width: none; }
  .ins-grid { margin-top: 10px; }
  .uses-section { padding: 70px 0; }
  .uses-item img { width: 46px; height: 46px; }
  .uses-item span { font-size: 12px; }
  .why-section { padding: 80px 0; }
  .why-text { margin: 16px 0 0; max-width: none; }
  .why-body { margin-top: 40px; }
  .why-phone { position: relative; left: auto; top: auto; margin: 0 auto 50px; transform: none; width: 280px; }
  .why-shape { width: 460px; }
  .why-cards { grid-template-columns: 1fr 1fr; grid-auto-flow: row; gap: 24px; }
  .why-card { min-height: 0; }
  .agc-section { padding: 80px 0; }
  .agc-text { margin: 16px 0 0; }
  .agc-diagram { width: 100%; max-width: 640px; height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 270px; }
  .agc-stack { left: 50%; transform: translateX(-50%); }
  .agc-pill { position: relative; left: auto !important; top: auto !important; height: auto; min-height: 54px; padding: 10px 16px; white-space: normal; text-align: center; }
  .agc-pill::after { display: none; }
  .agc-card { min-height: 0; max-width: none; }
  .fut-section { padding: 60px 0; }
  .fut-title { font-size: 38px; }
  .fut-shape-left { width: 160px; top: -60px; left: -20px; }
  .fut-shape-right { width: 150px; bottom: -60px; right: -30px; }
  .ach-section { padding: 30px 0 70px; background-position: -340px 0; }
  .ach-head > div { padding-top: 40px; }
  .ach-grid { margin-top: 40px; }
  .ben-section { padding: 80px 0; }
  .ben-chart { margin-top: 50px; }
  .ben-label { font-size: 12px; }
  .prc-section { padding: 90px 0; }
  .prc-row { margin-top: 50px; row-gap: 40px; }
  .red-section { padding-top: 80px; }
  .mfl-container-wide { padding: 0 30px; }
  .red-grid > div .red-item { border-left: 1px solid #e8e8ee; padding-left: 24px; }
  .red-grid > div:nth-child(odd) .red-item { border-left: 0; padding-left: 0; }
  .red-grid > div .red-item::after { left: -5px; }
  .red-grid > div:nth-child(odd) .red-item::after { left: 0; }
  .red-item h3 { font-size: 20px; }
  .news-section { padding-top: 70px; }
  .news-title, .ig-title { font-size: 34px; }
  .news-grid { row-gap: 40px; }
  .ig-profile { justify-content: space-between; padding: 26px 30px; }
  .ig-grid { margin-top: 8px; }
  .abt-section { margin-top: 70px; height: 140px; }
  .abt-inner { padding: 0 40px; }
  .abt-link { font-size: 34px; gap: 20px; }
  .abt-arrow { width: 60px; }
  .abt-circle { width: 140px; height: 140px; margin-top: -24px; font-size: 16px; }
  .abt-circle svg { width: 46px; height: 46px; }
  .ftr-section { padding-top: 70px; }
  .ftr-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "brand brand"
      "company contact"
      "dmca dmca"
      "map map";
    row-gap: 0;
  }
  .ftr-brand { padding-right: 0; }
  .ftr-company, .ftr-contact-col { padding-top: 40px; }
}

/* ---------- Mobile (≤ 767px) : sliders active ---------- */
@media (max-width: 767.98px) {
  .mfl-header-inner { padding: 16px 20px 0; }
  .mfl-header-logo img { width: 48px; }
  .mfl-header.is-scrolled .mfl-header-logo img { width: 42px; }
  .mfl-header.is-scrolled .mfl-header-inner { padding-top: 10px; padding-bottom: 10px; }
  .mfl-header-toggle span { width: 34px; height: 3px; }
  .mfl-header-toggle { gap: 6px; }
  .mfl-menu.offcanvas { width: 100%; max-width: 420px; }
  .mfl-menu-head { padding: 22px 24px 6px; }
  .mfl-menu-nav { padding: 20px 24px; }
  .mfl-menu-nav a { font-size: 24px; padding: 10px 0; }
  .mfl-menu-foot { padding: 0 24px 30px; }
  .mfl-badge { height: 32px; padding: 0 16px; font-size: 13px; margin-bottom: 16px; }
  .mfl-assess { width: 130px; height: 130px; font-size: 13px; gap: 6px; }
  .mfl-assess svg { width: 30px; height: 30px; }
  .hero-section { min-height: 0; }
  .hero-inner { padding: 110px 22px 230px; }
  .hero-title { font-size: 36px; }
  .hero-text { font-size: 17px; margin-top: 12px; }
  .hero-role-card { width: 206px; bottom: 92px; right: 14px; padding: 10px 10px 4px; }
  .hero-role-card h6 { font-size: 11px; padding-bottom: 6px; }
  .hero-role-card li { font-size: 11.5px; padding: 7px 0; }
  .hero-star { width: 120px; left: -24px; }
  .hero-tag { font-size: 12px; padding: 10px 16px; bottom: 26px; }
  .strip-section { height: 76px; }
  .strip-item img { width: 34px; }
  .sys-section { padding: 60px 0 10px; }
  .sys-watermark { top: 14px; }
  .sys-head { flex-direction: column; gap: 24px; }
  .sys-title, .ach-title, .agc-title { font-size: 30px; }
  .ins-title, .uses-title, .why-title { font-size: 29px; }
  .sys-text, .ins-text, .why-text, .agc-text, .ach-text { font-size: 14.5px; }
  .sys-grid { margin: 24px -12px 0; }
  .mobile-slider .slick-list { padding-top: 22px !important; padding-bottom: 10px !important; }
  .sys-grid .slick-slide,
  .ins-grid .slick-slide,
  .prc-row .slick-slide,
  .ach-grid .slick-slide,
  .news-grid .slick-slide,
  .red-grid .slick-slide,
  .why-cards .slick-slide { padding: 0 8px; }
  .sys-grid > div .sys-item,
  .sys-grid .sys-item {
    min-height: 160px;
    padding: 20px 20px 30px !important;
    border: 1px solid #ececf0 !important;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(30, 30, 60, .05);
  }
  .sys-grid .sys-item::after { left: 20px !important; bottom: 14px; }
  .sys-icon { margin-top: -6px; }
  .rib-section { height: 170px; }
  .rib-band { height: 48px; }
  .rib-band-dark { top: 46px; }
  .rib-band-gradient { top: 88px; }
  .rib-track span { font-size: 22px; }
  .ins-section { padding-top: 30px; }
  .ins-grid { margin: 10px -12px 0; }
  .ins-card, .ins-cta { min-height: 300px; }
  .ins-cta h3 { font-size: 23px; }
  .ins-cta p { font-size: 17px; }
  .uses-section { padding: 60px 0; }
  .uses-grid { grid-template-columns: repeat(3, 1fr); margin-top: 30px; }
  .uses-item { padding: 6px 4px 22px; }
  .uses-item::before { display: block !important; }
  .uses-item:nth-child(3n+1)::before { display: none !important; }
  .uses-item:nth-child(n+15) { padding-bottom: 22px; }
  .uses-item:nth-child(n+19) { padding-bottom: 4px; }
  .uses-item img { width: 44px; height: 44px; }
  .uses-item span { font-size: 11.5px; }
  .why-section { padding: 60px 0; }
  .why-section::before { display: none; }
  .why-phone { width: 230px; margin-bottom: 30px; }
  .why-shape { width: 380px; }
  .why-cards.slick-initialized { display: block; margin: 0 -12px; }
  .why-card { min-height: 200px; }
  .agc-section { padding: 60px 0; }
  .agc-wrap { margin-top: 24px; }
  .agc-diagram { padding-top: 240px; gap: 10px; }
  .agc-stack { transform: translateX(-50%) scale(.9); transform-origin: top center; }
  .agc-pill { min-height: 58px; padding: 10px 12px; font-size: 12.5px; -webkit-tap-highlight-color: transparent; }
  .agc-card { padding: 24px 22px; }
  .agc-card h3 { font-size: 24px; max-width: none; }
  .fut-section { padding: 50px 0; }
  .fut-title { font-size: 28px; }
  .fut-title br { display: none; }
  .fut-btn { height: 46px; padding: 0 22px; font-size: 14px; }
  .fut-shape-left { width: 120px; top: -40px; }
  .fut-shape-right { width: 110px; bottom: -44px; right: -30px; }
  .ach-section { padding: 20px 0 60px; background-image: none; background-color: #f0f4f7; }
  .ach-head { flex-direction: column; gap: 24px; }
  .ach-grid { margin: 20px -12px 0; }
  .ach-card { min-height: 168px; }
  .ben-section { padding: 60px 0; }
  .ben-title { font-size: 28px; }
  .ben-chart { margin-top: 36px; padding-bottom: 50px; }
  .ben-axis { width: 28px; height: 265px; padding-right: 8px; font-size: 11px; }
  .ben-plot { height: 251px; background: repeating-linear-gradient(to top, #ececf0 0 1px, transparent 1px 27.89px); }
  .ben-bar { width: 66%; }
  .ben-label { width: 110%; font-size: 10px; white-space: normal; }
  .prc-section { padding: 70px 0; }
  .prc-title { font-size: 30px; }
  .prc-sub { font-size: 14px; }
  .prc-row { margin: 30px -12px 0; }
  .prc-amount { font-size: 44px; }
  .red-section { padding-top: 60px; }
  .mfl-container-wide { padding: 0 12px; }
  .red-title { font-size: 30px; }
  .red-text { font-size: 15px; }
  .red-grid { margin: 24px 0 0; }
  .red-grid .red-item {
    min-height: 170px;
    padding: 22px 22px 34px !important;
    border: 1px solid #e8e8ee !important;
    border-radius: 10px;
    overflow: hidden;
  }
  .red-grid .red-item::after { left: 22px !important; bottom: 14px; }
  .red-icon { margin-top: 0; }
  .news-section { padding-top: 60px; }
  .news-title, .ig-title { font-size: 28px; padding-left: 0; }
  .news-grid { margin: 16px -12px 0; }
  .news-card h3 { margin-top: 16px; font-size: 19px; }
  .news-meta { font-size: 15px; margin-top: 12px; }
  .ig-section { padding-top: 60px; }
  .ig-profile { flex-direction: column; gap: 20px; padding: 26px 20px 28px; text-align: center; }
  .ig-profile-id { flex-direction: column; gap: 12px; }
  .ig-avatar { width: 84px; height: 84px; }
  .ig-avatar img { width: 48px; }
  .ig-profile-id h3 { font-size: 24px; }
  .ig-profile-id p { font-size: 16px; }
  .ig-stats { gap: 32px; }
  .ig-stats strong { font-size: 22px; }
  .ig-follow-wrap { gap: 24px; }
  .ig-follow { font-size: 18px; height: 40px; }
  .ig-grid { grid-template-columns: repeat(2, 1fr); }
  .abt-section { margin-top: 90px; height: auto; padding: 0 20px 34px; }
  .abt-inner { flex-direction: column; align-items: center; gap: 18px; padding: 0; }
  .abt-circle { order: -1; align-self: center; width: 120px; height: 120px; margin-top: -60px; font-size: 15px; gap: 4px; }
  .abt-circle svg { width: 40px; height: 40px; }
  .abt-link { margin-top: 0; font-size: 28px; gap: 16px; }
  .abt-arrow { width: 44px; height: 3px; }
  .abt-arrow::after { width: 11px; height: 11px; }
  .ftr-section { padding: 56px 0 90px; background-size: 1100px auto; }
  .ftr-logo-word { font-size: 34px; }
  .ftr-logo-word small { font-size: 17px; }
  .ftr-logo img { width: 60px; }
  .ftr-about { font-size: 15px; }
  .ftr-social { gap: 20px; }
  .ftr-social a { font-size: 26px; }
  .ftr-heading { margin-bottom: 18px; font-size: 18px; }
  .ftr-partners img { width: 130px; }
  .ftr-partners img + img { width: 160px; }
  .ftr-links a, .ftr-contact a, .ftr-contact span, .ftr-privacy { font-size: 15px; }
  .ftr-dmca img { width: 260px; }
  .ftr-map { height: 240px; }
  .ftr-copy { font-size: 14px; }
  .mfl-social-bar { right: 50%; bottom: 14px; flex-direction: row; gap: 8px; padding: 6px 8px; border-radius: 30px; background: rgba(15, 16, 32, .55); backdrop-filter: blur(6px); transform: translateX(50%); }
  .mfl-social-bar a { width: 30px; height: 30px; font-size: 11px; box-shadow: none; }
}

/* ---------- Small mobile (≤ 479px) ---------- */
@media (max-width: 479.98px) {
  .ftr-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "company"
      "contact"
      "dmca"
      "map";
  }
  .ftr-contact-col { padding-top: 30px; }
  .ftr-partners { flex-wrap: wrap; }
  .ig-follow-wrap { flex-direction: column; gap: 10px; }
  .ig-note svg { display: none; }
}

/* ---------- Small mobile (≤ 399px) ---------- */
@media (max-width: 399.98px) {
  .hero-inner { padding: 100px 18px 140px; }
  .hero-title { font-size: 29px; }
  .hero-text { font-size: 15px; }
  .hero-role-card { display: none; }
  .hero-star { width: 96px; }
  .sys-title, .ach-title, .agc-title { font-size: 27px; }
  .ins-title, .uses-title, .why-title { font-size: 26px; }
  .fut-title { font-size: 24px; }
  .red-title { font-size: 26px; }
  .abt-link { font-size: 23px; }
  .ben-label { font-size: 8.5px; }
  .ig-stats { gap: 22px; }
}
