@media (max-width: 1023px) {
  :root {
    --m-bg-1: #f8fbff;
    --m-bg-2: #eef4fc;
    --m-bg-3: #e8f0fa;

    --m-surface-1: rgba(255,255,255,.98);
    --m-surface-2: rgba(246,250,255,.96);
    --m-surface-3: rgba(255,255,255,1);

    --m-border: rgba(205,223,246,.88);
    --m-border-strong: rgba(150,190,245,.90);
    --m-line: rgba(120,175,245,.30);

    --m-title: #153f7f;
    --m-text: #1a478a;
    --m-text-soft: #6f84a4;

    --m-accent-1: #2f80ff;
    --m-accent-2: #56a8ff;
    --m-accent-3: #90d2ff;

    --m-shadow-1: 0 16px 34px rgba(38,82,155,.07);
    --m-shadow-2: 0 8px 18px rgba(38,82,155,.05);

    --m-footer-blue-1: #4f8fe4;
    --m-footer-blue-2: #3f7fd7;
    --m-footer-blue-3: #3674cc;
    --m-footer-line: rgba(255,255,255,.22);
    --m-footer-shadow: 0 16px 28px rgba(21,58,118,.15);
  }

  .hero-stage {
    padding: 12px 0 10px !important;
    background:
      radial-gradient(circle at 50% -10%, rgba(110,170,255,.12) 0%, rgba(110,170,255,0) 34%),
      linear-gradient(180deg, var(--m-bg-1) 0%, var(--m-bg-2) 56%, var(--m-bg-3) 100%);
  }

  .hero-center {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .tech-hero,
  body.light-mode .tech-hero {
    width: 100%;
    min-height: auto;
    height: auto;
    position: relative;
    overflow: hidden;
    border-radius: 36px;
    background:
      radial-gradient(circle at 50% -8%, rgba(118,176,255,.10) 0%, rgba(118,176,255,0) 38%),
      linear-gradient(180deg, #fbfdff 0%, #f4f8ff 56%, #eaf1fa 100%);
    border: 1px solid rgba(255,255,255,.74);
    box-shadow:
      0 18px 40px rgba(19,46,92,.07),
      0 8px 18px rgba(45,96,170,.04),
      inset 0 1px 0 rgba(255,255,255,.92);
  }

  .tech-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      linear-gradient(rgba(98,130,184,.018) 1px, transparent 1px),
      linear-gradient(90deg, rgba(98,130,184,.018) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: 0.10;
  }

  .tech-hero::after {
    content: "";
    position: absolute;
    inset: 10px;
    pointer-events: none;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,.52);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.62);
  }

  .hero-bg,
  .hero-system-title,
  .center-glow,
  .center-pulse,
  .hero-energy-svg,
  .logo-core,
  .hero-menu-hint,
  .menu-layer-v2,
  .chat-widget,
  .chat-widget.compact {
    display: none !important;
    pointer-events: none !important;
  }

  .mobile-menu-v2 {
    position: relative;
    z-index: 12;
    display: block;
    padding: 24px 16px 22px;
    box-sizing: border-box;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,.66);
    background: rgba(255,255,255,.86);
    box-shadow:
      0 12px 24px rgba(19,46,92,.05),
      inset 0 1px 0 rgba(255,255,255,.84);
  }

  .mobile-hero {
    position: relative;
    text-align: center;
    margin-bottom: 22px;
    padding: 4px 10px 0;
  }

  .mobile-hero::before,
  .mobile-hero::after {
    display: none !important;
  }

  .mobile-hero-logo {
    position: relative;
    z-index: 2;
    width: 108px;
    height: auto;
    display: block;
    margin: 0 auto 14px;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(30,107,255,.12));
    transform: none;
    animation: none;
  }

  .mobile-hero-title {
    position: relative;
    z-index: 2;
    font-family: "Orbitron", sans-serif;
    font-size: 24px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: .16px;
    color: var(--m-title);
    text-align: center;
    margin-bottom: 6px;
    text-shadow: 0 1px 0 rgba(255,255,255,.84);
  }

  .mobile-hero-sub {
    position: relative;
    z-index: 2;
    font-size: 13px;
    font-weight: 600;
    color: #7a8fab;
    text-align: center;
    line-height: 1.45;
  }

  .mobile-menu-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .menu-item {
    width: min(78vw, 342px);
    margin: 0 auto;
    position: relative;
    z-index: 4;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid var(--m-border);
    background: linear-gradient(180deg, var(--m-surface-1) 0%, var(--m-surface-2) 100%);
    box-shadow:
      0 8px 18px rgba(23,55,108,.05),
      inset 0 1px 0 rgba(255,255,255,.96);
    transition:
      transform .18s ease,
      box-shadow .18s ease,
      border-color .18s ease,
      background .18s ease;
  }

  .menu-item::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none !important;
    background: linear-gradient(
      90deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,.14) 50%,
      rgba(255,255,255,0) 100%
    );
    opacity: .18;
  }

  .menu-item::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    top: 0;
    height: 1px;
    z-index: 0;
    pointer-events: none !important;
    background: linear-gradient(
      90deg,
      transparent 0%,
      var(--m-line) 50%,
      transparent 100%
    );
    opacity: .48;
  }

  .menu-item:active {
    transform: scale(.985);
  }

  .menu-item.open {
    border-color: var(--m-border-strong);
    box-shadow:
      0 10px 22px rgba(30,63,122,.07),
      inset 0 1px 0 rgba(255,255,255,.98);
    background: linear-gradient(180deg, var(--m-surface-3) 0%, var(--m-surface-2) 100%);
  }

  .menu-item > .menu-btn,
  .menu-item > a.menu-btn {
    width: 100% !important;
    height: 58px;
    min-height: 58px;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 50px 0 20px !important;
    position: relative;
    z-index: 6;
    border: none;
    border-radius: 24px;
    background: transparent;
    font-family: "Prompt", sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: var(--m-text);
    text-align: left;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    pointer-events: auto !important;
    white-space: nowrap;
  }

  .menu-item > a.menu-btn.no-arrow.no-submenu {
    padding-right: 20px !important;
  }

  .menu-item > .menu-btn::before,
  .menu-item > a.menu-btn::before {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    top: 6px;
    bottom: 6px;
    z-index: -1;
    border-radius: 18px;
    pointer-events: none !important;
    background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,0));
    opacity: .82;
  }

  .menu-item.menu-item-toggle > .menu-btn::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-right: 2px solid #4f88f7;
    border-bottom: 2px solid #4f88f7;
    transform: translateY(-60%) rotate(45deg);
    transition: transform .18s ease;
    pointer-events: none !important;
  }

  .menu-item.open > .menu-btn::after {
    transform: translateY(-30%) rotate(-135deg);
  }

  .menu-btn.no-arrow::after {
    display: none !important;
  }

  .menu-item.open > .menu-btn {
    color: #17478d;
    background: linear-gradient(
      180deg,
      rgba(246,250,255,.34),
      rgba(238,244,253,.16)
    );
  }

  .submenu {
    position: relative;
    z-index: 5;
    max-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(252,254,255,.99) 0%, rgba(245,249,255,.98) 100%);
    opacity: 0;
    transition:
      max-height .24s ease,
      opacity .18s ease;
  }

  .menu-item.open .submenu {
    max-height: 220px;
    opacity: 1;
  }

  .submenu button,
  .submenu-link {
    height: 46px;
    border: none;
    background: transparent;
    padding: 0 20px;
    font-size: 13px;
    font-weight: 600;
    color: #60789b;
    border-top: 1px solid rgba(202,218,239,.72);
    font-family: "Prompt", sans-serif;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    line-height: 1.2;
    text-decoration: none;
    transition: background .16s ease, color .16s ease, padding-left .16s ease;
    cursor: pointer;
    pointer-events: auto !important;
    white-space: nowrap;
  }

  .submenu button:hover,
  .submenu-link:hover {
    background: rgba(84,133,255,.05);
    color: #1b4d91;
    padding-left: 24px;
  }

  .submenu button:active,
  .submenu-link:active {
    background: rgba(84,133,255,.08);
  }

  .mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(82vw, 364px);
    margin: 22px auto 0;
    min-height: 56px;
    border-radius: 999px;
    text-align: center;
    font-size: 17px;
    font-weight: 900;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.24);
    background: linear-gradient(135deg, var(--m-accent-1) 0%, var(--m-accent-2) 52%, var(--m-accent-3) 100%);
    box-shadow:
      0 12px 24px rgba(63,131,255,.20),
      0 6px 14px rgba(63,131,255,.10),
      inset 0 1px 0 rgba(255,255,255,.26);
    transition: transform .18s ease, box-shadow .18s ease;
    white-space: nowrap;
    overflow: hidden;
  }

  .mobile-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
      110deg,
      transparent 0%,
      transparent 42%,
      rgba(255,255,255,.36) 50%,
      transparent 58%,
      transparent 100%
    );
    opacity: .65;
  }

  .mobile-cta::after {
    display: none;
  }

  .mobile-cta:active {
    transform: scale(.985);
  }

  .ssb-footer {
    position: relative;
    overflow: hidden;
    margin-top: -6px;
    padding: 0 12px 14px;
    background: transparent;
    border-top: 0;
    box-shadow: none;
  }

  .ssb-footer::before {
    display: none !important;
  }

  .footer-shell {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 18px 16px 14px;
    border-radius: 28px;
    background: linear-gradient(180deg, var(--m-footer-blue-1) 0%, var(--m-footer-blue-2) 52%, var(--m-footer-blue-3) 100%);
    border: 1px solid rgba(255,255,255,.18);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.16),
      var(--m-footer-shadow);
    box-sizing: border-box;
  }

  .footer-desktop-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0;
  }

  .footer-desktop-left,
  .footer-desktop-right,
  .footer-desktop-divider {
    display: none !important;
  }

  .footer-desktop-center {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
  }

  .footer-icons {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    flex-wrap: nowrap;
  }

  .footer-icons a {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    flex: 0 0 40px !important;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,.99) 0%, rgba(243,248,255,.95) 100%);
    border: 1px solid rgba(255,255,255,.24);
    box-shadow:
      0 8px 14px rgba(14,43,92,.14),
      inset 0 1px 0 rgba(255,255,255,.96);
    text-decoration: none;
  }

  .footer-icons img {
    width: 16px !important;
    height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    object-fit: contain !important;
    display: block;
    flex: 0 0 16px;
  }

  .footer-copy {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    margin-top: 0;
  }

  .footer-bottom-line {
    display: block !important;
    width: 82%;
    height: 1px;
    margin: 0 auto 12px;
    background: linear-gradient(
      90deg,
      transparent 0%,
      var(--m-footer-line) 14%,
      var(--m-footer-line) 86%,
      transparent 100%
    );
  }

  .footer-copy div:first-child {
    font-size: 10px;
    line-height: 1.5;
    font-weight: 700;
    color: rgba(255,255,255,.94);
    text-align: center;
    letter-spacing: .1px;
    margin-bottom: 2px;
  }

  .footer-copy div:last-child {
    font-size: 9px;
    line-height: 1.45;
    font-weight: 600;
    color: rgba(255,255,255,.82);
    text-align: center;
    letter-spacing: .1px;
  }
}

@media (max-width: 760px) {
  .mobile-menu-v2 {
    padding: 18px 12px 20px;
  }

  .mobile-hero {
    margin-bottom: 18px;
    padding-top: 2px;
  }

  .mobile-hero-logo {
    width: 98px;
    margin: 0 auto 10px;
  }

  .mobile-hero-title {
    font-size: 21px;
  }

  .mobile-hero-sub {
    font-size: 12px;
  }

  .menu-item {
    width: min(84vw, 328px) !important;
    border-radius: 22px;
  }

  .menu-item > .menu-btn,
  .menu-item > a.menu-btn {
    height: 54px;
    min-height: 54px;
    font-size: 13.5px;
    padding: 0 46px 0 18px !important;
    border-radius: 22px;
  }

  .menu-item > a.menu-btn.no-arrow.no-submenu {
    padding-right: 18px !important;
  }

  .submenu button,
  .submenu-link {
    height: 44px;
    font-size: 12.8px;
    padding: 0 18px;
  }

  .mobile-cta {
    min-height: 54px;
    font-size: 16px;
    width: min(86vw, 350px) !important;
  }

  .ssb-footer {
    margin-top: -4px;
    padding: 0 10px 12px;
  }

  .footer-shell {
    padding: 16px 14px 14px;
    border-radius: 24px;
  }

  .footer-icons {
    gap: 8px;
    margin-bottom: 10px;
  }

  .footer-icons a {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    flex: 0 0 36px !important;
  }

  .footer-icons img {
    width: 14px !important;
    height: 14px !important;
    max-width: 14px !important;
    max-height: 14px !important;
  }

  .footer-bottom-line {
    width: 88%;
    margin-bottom: 10px;
  }

  .footer-copy div:first-child {
    font-size: 9.6px;
  }

  .footer-copy div:last-child {
    font-size: 8.8px;
  }
}
