/* 

1. Add your custom Css styles below
2. Place the this code in your template: 

 <link href="css/custom.css" rel="stylesheet">

*/

/* =========================================================
   index.html
========================================================= */

table td {
      vertical-align: top;
    }

    #products th {
      vertical-align: bottom;
    }

    #products .table-responsive img {
      max-width: 120px;
      height: auto;
    }

    #products .lns-table-card {
      background: #fff;
      border-radius: 18px;
      box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
      overflow: hidden;
    }

    #products .lns-compare-table {
      width: 100%;
      table-layout: fixed;
      margin-bottom: 0;
    }

    #products .lns-compare-table col.product-col-label {
      width: 19%;
    }

    #products .lns-compare-table col.product-col-docker,
    #products .lns-compare-table col.product-col-mobile,
    #products .lns-compare-table col.product-col-outdoor {
      width: 27%;
    }

    #products .lns-compare-table thead th {
      background: #efcb33;
      color: #251e1c;
      border: 1px solid #e4c12f;
      font-weight: 700;
      text-align: center;
      vertical-align: middle;
    }

    #products .lns-compare-table thead th:not(.lns-compare-label-col) {
      background:
        radial-gradient(circle at 110% 110%,
          #efcb33 0%,
          #efcb33 74%,
          #f2d653 74%,
          #f2d653 82%,
          #f6e27a 82%,
          #f6e27a 89%,
          #faedaa 89%,
          #faedaa 100%);
    }

    #products .lns-compare-table thead th.lns-compare-label-col {
      border-color: #e7ecec;
    }

    #products .lns-compare-table tbody td {
      vertical-align: middle;
      border: 1px solid #e7ecec;
      padding: 16px 18px;
    }

    #products .lns-compare-table tbody td:first-child {
      font-weight: 700;
      color: #333;
      background: #fff;
    }

    #products .lns-compare-table tbody tr:hover {
      background: rgba(239, 203, 51, 0.06);
    }


    #products .lns-compare-table thead th.lns-compare-label-col {
      background: #fff;
      border-top-color: #fff;
      border-left-color: #fff;
    }

    #products .lns-compare-table thead th:not(.lns-compare-label-col) {
      height: 220px;
      vertical-align: bottom;
      padding: 18px 14px 22px;
    }

    #products .lns-compare-table thead th .row {
      margin-left: 0;
      margin-right: 0;
    }

    #products .lns-compare-table thead th .col-lg-12 {
      padding-left: 0;
      padding-right: 0;
    }

    #products .product-head-title {
      margin-top: 10px;
      line-height: 1.3;
      font-weight: 700;
    }


    /* Remove only the outside frame while keeping inner grid lines */
    #products .lns-compare-table thead th {
      border-top: 0;
    }

    #products .lns-compare-table thead th:first-child,
    #products .lns-compare-table tbody td:first-child {
      border-left: 0;
    }

    #products .lns-compare-table thead th:last-child,
    #products .lns-compare-table tbody td:last-child {
      border-right: 0;
    }

    #products .lns-compare-table tbody tr:last-child td {
      border-bottom: 0;
    }

    #products .product-table-responsive {
      width: 100%;
    }

    @media (max-width: 767px) {
      #products .product-table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
      }

      #products .product-table-responsive .lns-table-card {
        min-width: 860px;
      }

      #products .lns-compare-table {
        min-width: 860px;
      }
    }


    .news-ticker {
      position: relative;
      display: flex !important;
      align-items: center;
      min-height: 44px;
      margin: 0;
      padding: 5px 22px;
      background:
        linear-gradient(135deg, #151515 0%, #222 54%, #121212 100%);
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      border-bottom: 3px solid #efcb33;
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.10);
      overflow: hidden;
      z-index: 2;
    }

    .news-ticker::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(circle at 16% 50%, rgba(239, 203, 51, 0.20), transparent 28%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06), transparent 34%, rgba(255, 255, 255, 0.04));
      pointer-events: none;
    }

    .news-ticker-content {
      position: relative;
      z-index: 1;
      flex: 1 1 auto;
      min-width: 0;
    }

    .news-ticker-content a {
      display: inline-flex !important;
      align-items: center;
      color: #fff;
      font-weight: 700;
      letter-spacing: 0.02em;
      text-decoration: none;
      padding: 6px 14px;
      font-size: 13px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.14);
      transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
    }

    .news-ticker-content a::before {
      content: "";
      width: 6px;
      height: 6px;
      margin-right: 8px;
      border-radius: 50%;
      background: #efcb33;
      box-shadow: 0 0 0 4px rgba(239, 203, 51, 0.16);
      flex: 0 0 auto;
    }

    .news-ticker-content a:hover {
      color: #fff !important;
      background: rgba(255, 255, 255, 0.08) !important;
      border-color: rgba(255, 255, 255, 0.14) !important;
      transform: none;
      box-shadow: none;
    }

    .news-ticker-content a:hover::before {
      background: #2250fc;
      box-shadow: 0 0 0 4px rgba(34, 80, 252, 0.16);
    }

    .news-ticker-content a:focus,
    .news-ticker-content a:active {
      color: #fff !important;
      background: rgba(255, 255, 255, 0.08) !important;
      border-color: rgba(255, 255, 255, 0.14) !important;
      outline: none;
      box-shadow: none;
    }

    .news-ticker-content a:focus::before,
    .news-ticker-content a:active::before {
      background: #2250fc;
      box-shadow: 0 0 0 4px rgba(34, 80, 252, 0.16);
    }

    @media (max-width: 767px) {
      .news-ticker {
        min-height: 40px;
        padding: 5px 12px 5px 16px;
        border-bottom-width: 3px;
      }

      .news-ticker::after {
        content: "";
        position: absolute;
        left: 0;
        top: 8px;
        bottom: 8px;
        width: 4px;
        border-radius: 0 4px 4px 0;
        background: #efcb33;
      }

      .news-ticker-content a {
        padding: 6px 12px;
        font-size: 12px;
      }
    }


    #deploy .wiffy-deploy-grid {
      align-items: stretch;
    }

    #deploy .wiffy-deploy-card {
      height: 100%;
      background: #fff;
      border-radius: 18px;
      padding: 30px 28px;
      box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
      position: relative;
      overflow: hidden;
      border: 0;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    #deploy .wiffy-deploy-card::after {
      content: "";
      position: absolute;
      right: -36px;
      top: -36px;
      width: 120px;
      height: 120px;
      border-radius: 50%;
      background: rgba(239, 203, 51, 0.14);
      pointer-events: none;
    }

    #deploy .wiffy-deploy-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 14px 34px rgba(0, 0, 0, 0.10);
    }

    #deploy .wiffy-deploy-icon {
      width: 64px;
      height: 64px;
      border-radius: 18px;
      background: #efcb33;
      color: #251e1c;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 26px;
      margin-bottom: 22px;
      position: relative;
      z-index: 1;
    }

    #deploy .wiffy-deploy-icon img {
      max-width: 54px;
      max-height: 54px;
      width: auto;
      height: auto;
      display: block;
      object-fit: contain;
      position: relative;
      z-index: 1;
    }

    #deploy .wiffy-deploy-card h3 {
      font-size: 21px;
      font-weight: 700;
      margin-bottom: 14px;
      position: relative;
      z-index: 1;
    }

    #deploy .wiffy-deploy-card p {
      margin-bottom: 0;
      line-height: 1.8;
      position: relative;
      z-index: 1;
    }

    #deploy .wiffy-deploy-tag {
      display: inline-block;
      margin-bottom: 16px;
      padding: 4px 12px;
      border-radius: 999px;
      background: rgba(239, 203, 51, 0.18);
      color: #6f5c00;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.04em;
      position: relative;
      z-index: 1;
    }


/* =========================================================
   shelter.html
========================================================= */

td,
    th {
      vertical-align: top;
    }

    .hidden {
      display: none;
    }

    .shelter-sim-price sup {
      margin-left: 3px;
      font-size: 0.42em;
      font-weight: 700;
      line-height: 1;
      vertical-align: super;
      opacity: 0.82;
      letter-spacing: 0.02em;
    }


    .shelter-sim-grid {
      align-items: stretch;
      margin-top: 44px;
    }

    .shelter-sim-card {
      height: 100%;
      background: #fff;
      border-radius: 18px;
      padding: 26px 24px;
      box-shadow: 0 12px 34px rgba(0, 0, 0, 0.08);
      border: 1px solid rgba(0, 0, 0, 0.08);
      border-top: 4px solid #222;
      color: #222;
      position: relative;
      overflow: hidden;
      transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    }

    .shelter-sim-card::after {
      content: "";
      position: absolute;
      right: -42px;
      top: -42px;
      width: 132px;
      height: 132px;
      border-radius: 50%;
      background: rgba(0, 0, 0, 0.035);
      pointer-events: none;
    }

    .shelter-sim-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 18px 44px rgba(0, 0, 0, 0.12);
      border-color: rgba(0, 0, 0, 0.16);
    }

    .shelter-sim-icon {
      width: 56px;
      height: 56px;
      border-radius: 16px;
      background: linear-gradient(135deg, #2b2b2b 0%, #111 100%);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 23px;
      margin-bottom: 18px;
      position: relative;
      z-index: 1;
      box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
    }

    .shelter-sim-label {
      display: inline-block;
      margin-bottom: 12px;
      padding: 4px 12px;
      border-radius: 999px;
      background: rgba(0, 0, 0, 0.06);
      color: #222;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.04em;
      position: relative;
      z-index: 1;
    }

    .shelter-sim-card h5 {
      margin-bottom: 12px;
      color: #222;
      font-size: 18px;
      font-weight: 700;
      position: relative;
      z-index: 1;
    }

    .shelter-sim-price {
      margin-bottom: 10px;
      color: #111;
      font-size: 22px;
      font-weight: 800;
      line-height: 1.3;
      position: relative;
      z-index: 1;
    }

    .shelter-sim-card p {
      margin-bottom: 0;
      color: #666;
      line-height: 1.75;
      position: relative;
      z-index: 1;
    }

.phone-frame {
      width: min(390px, 100%);
      /* スマホ幅 */
      margin: 0 auto;
      border: 1px solid #e5e7eb;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    }

    .phone-frame iframe {
      display: block;
      width: 100%;
      height: 780px;
      max-height: 780px;
      /* 初期高さ（自動調整が効くまでのフォールバック） */
      border: 0;
    }

    @media (min-width: 768px) {
      .phone-frame {
        width: 390px;
      }

      /* タブレット/PCでもスマホ実寸をキープ */
    }


/* =========================================================
   lns.html
========================================================= */

.lns-router-icon {
      width: 42px;
      height: 34px;
      color: #fff;
      display: block;
    }

    .lns-wiffy-device-icon {
      max-width: 42px;
      max-height: 42px;
      display: block;
      filter: brightness(0) invert(1);
    }

    .lns-flow {
      display: flex;
      align-items: stretch;
      justify-content: center;
      gap: 18px;
      margin: 40px 0;
      flex-wrap: wrap;
    }

    .lns-flow-item {
      flex: 1 1 180px;
      max-width: 230px;
      padding: 28px 20px;
      background: #fff;
      border-radius: 14px;
      text-align: center;
      box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    }

    .lns-flow-icon {
      width: 64px;
      height: 64px;
      margin: 0 auto 18px;
      border-radius: 50%;
      background: #22C0B1;
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 26px;
    }

    .lns-flow-item h4 {
      margin-bottom: 10px;
      font-size: 18px;
      font-weight: 700;
    }

    .lns-flow-item p {
      margin-bottom: 0;
      font-size: 14px;
    }

    .lns-flow-arrow {
      display: flex;
      align-items: center;
      justify-content: center;
      color: #22C0B1;
      font-size: 24px;
    }


    .lns-stack {
      margin: 42px 0 20px;
      text-align: center;
    }

    .lns-stack-row {
      display: flex;
      justify-content: center;
      align-items: stretch;
      gap: 18px;
      flex-wrap: wrap;
    }

    .lns-stack-card {
      flex: 1 1 220px;
      max-width: 280px;
      padding: 26px 22px;
      background: #fff;
      border-radius: 16px;
      box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
      border-top: 4px solid #22C0B1;
    }

    .lns-stack-row-middle .lns-stack-card {
      border-top: none;
      border-bottom: 4px solid #22C0B1;
    }

    .lns-stack-card i {
      display: block;
      margin-bottom: 14px;
      color: #22C0B1;
      font-size: 30px;
    }

    .lns-stack-card h4 {
      margin-bottom: 10px;
      font-size: 18px;
      font-weight: 700;
    }

    .lns-stack-card p {
      margin-bottom: 0;
      font-size: 14px;
      line-height: 1.7;
    }

    .lns-stack-cloud-support {
      position: relative;
      width: min(640px, 92%);
      height: 42px;
      margin: 10px auto 18px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 18px;
      pointer-events: none;
      z-index: 0;
    }

    .lns-stack-cloud-support::before,
    .lns-stack-cloud-support::after {
      content: "";
      flex: 1 1 auto;
      max-width: 260px;
      height: 1px;
      background: linear-gradient(90deg, transparent 0%, rgba(34, 192, 177, 0.18) 18%, rgba(34, 192, 177, 0.55) 100%);
    }

    .lns-stack-cloud-support::after {
      background: linear-gradient(90deg, rgba(34, 192, 177, 0.55) 0%, rgba(34, 192, 177, 0.18) 82%, transparent 100%);
    }

    .lns-stack-cloud-arrow {
      flex: 0 0 auto;
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: rgba(34, 192, 177, 0.10);
      border: 1px solid rgba(34, 192, 177, 0.30);
      color: #22C0B1;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      line-height: 1;
    }



    .lns-stack-base {
      max-width: 980px;
      margin: 20px auto 0;
      padding: 0 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 22px;
      text-align: center;
    }

    .lns-stack-base::before,
    .lns-stack-base::after {
      content: none;
    }

    .lns-stack-base-card {
      flex: 0 1 660px;
      max-width: 660px;
      padding: 30px 78px 34px;
      background: linear-gradient(135deg, #22C0B1 0%, #158a81 100%);
      color: #fff;
      border: 0;
      position: relative;
      overflow: hidden;
      clip-path: polygon(0 0, 100% 0, 88% 100%, 12% 100%);
      filter: drop-shadow(0 18px 30px rgba(34, 192, 177, 0.22));
    }

    .lns-stack-base-card::after {
      content: "";
      position: absolute;
      right: -42px;
      top: -42px;
      width: 140px;
      height: 140px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.14);
      pointer-events: none;
    }

    .lns-stack-base-head {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 18px;
      margin-bottom: 14px;
    }

    .lns-stack-base-device-icon {
      max-width: 58px;
      max-height: 58px;
      display: block;
      filter: brightness(0) invert(1);
      position: relative;
      z-index: 1;
    }

    .lns-stack-base-card p {
      margin-bottom: 0;
      color: rgba(255, 255, 255, 0.92);
      font-size: 15px;
      line-height: 1.8;
      position: relative;
      z-index: 1;
    }

    .lns-stack-label {
      display: inline-block;
      margin-bottom: 14px;
      padding: 4px 12px;
      border-radius: 999px;
      background: rgba(34, 192, 177, 0.12);
      color: #158a81;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.04em;
    }

    .lns-stack-base-card .lns-stack-label {
      margin-bottom: 0;
      padding: 6px 14px;
      font-size: 16px;
      letter-spacing: 0;
      text-transform: none;
      color: #fff;
      background: rgba(255, 255, 255, 0.18);
      position: relative;
      z-index: 1;
    }


    /* LNS stack focus badge */
    .lns-stack-card-primary {
      position: relative;
    }

    .lns-stack-focus-badge {
      position: absolute;
      top: -12px;
      right: 18px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 22px;
      padding: 2px 12px;
      border-radius: 999px;
      background: #1f1f1f;
      color: #fff;
      font-size: 10px;
      font-weight: 700;
      line-height: 1;
      letter-spacing: 0.08em;
      box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
    }

    .lns-stack-focus-badge::before {
      content: "";
      display: inline-block;
      width: 5px;
      height: 5px;
      margin-right: 7px;
      border-radius: 50%;
      background: #fdd300;
      box-shadow: 0 0 0 2px rgba(253, 211, 0, 0.22), 0 0 8px rgba(253, 211, 0, 0.55);
      animation: lns-focus-dot-pulse 2.2s ease-in-out infinite;
    }

    @keyframes lns-focus-dot-pulse {
      0%, 100% {
        opacity: 0.72;
        box-shadow: 0 0 0 1px rgba(253, 211, 0, 0.14), 0 0 5px rgba(253, 211, 0, 0.35);
      }
      50% {
        opacity: 1;
        box-shadow: 0 0 0 3px rgba(253, 211, 0, 0.28), 0 0 11px rgba(253, 211, 0, 0.70);
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .lns-stack-focus-badge::before {
        animation: none;
      }
    }


    .lns-table-card {
      background: #fff;
      border-radius: 18px;
      box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
      overflow: hidden;
    }

    .lns-compare-table {
      margin-bottom: 0;
    }

    .lns-compare-table thead th {
      background: #22C0B1;
      color: #fff;
      border: none;
      font-weight: 700;
      text-align: center;
      vertical-align: middle;
    }

    .lns-compare-table tbody td {
      vertical-align: middle;
      border-color: #eef2f2;
      padding: 16px 18px;
    }

    .lns-compare-table tbody td:first-child {
      font-weight: 700;
      color: #333;
      background: #f8fbfb;
      width: 22%;
    }

    .lns-compare-table tbody tr:hover {
      background: rgba(34, 192, 177, 0.06);
    }

    /* Comparison tables: emphasize the third value column.
       Both lns.html and ai.html now place the preferred option in column 3. */
    #section2 .lns-compare-table tbody td:nth-child(2) {
      font-weight: 400;
    }

    #section2 .lns-compare-table tbody td:nth-child(3) {
      font-weight: 600;
    }


    .lns-compare-table thead th.lns-compare-label-col {
      width: 22%;
      background: #f8fbfb;
    }

    .lns-quote-card {
      display: flex;
      align-items: flex-start;
      gap: 18px;
      background: #fff;
      border-radius: 18px;
      padding: 28px 30px;
      box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
      border-left: 6px solid #22C0B1;
    }

    .lns-quote-icon {
      flex: 0 0 52px;
      width: 52px;
      height: 52px;
      border-radius: 50%;
      background: rgba(34, 192, 177, 0.12);
      color: #22C0B1;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
    }

    .lns-quote-body p {
      margin-bottom: 12px;
      font-size: 16px;
      line-height: 1.8;
    }

    .lns-quote-body small {
      color: #666;
      font-weight: 700;
    }



    .lns-usecase-grid {
      align-items: stretch;
    }

    .lns-usecase-card {
      height: 100%;
      background: #fff;
      border-radius: 18px;
      padding: 30px 28px;
      box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
      position: relative;
      overflow: hidden;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .lns-usecase-card::after {
      content: "";
      position: absolute;
      right: -36px;
      top: -36px;
      width: 120px;
      height: 120px;
      border-radius: 50%;
      background: rgba(34, 192, 177, 0.10);
    }

    .lns-usecase-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
    }

    .lns-usecase-icon {
      width: 64px;
      height: 64px;
      border-radius: 18px;
      background: #22C0B1;
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 26px;
      margin-bottom: 22px;
      position: relative;
      z-index: 1;
    }

    .lns-usecase-card h3 {
      font-size: 21px;
      font-weight: 700;
      margin-bottom: 14px;
      position: relative;
      z-index: 1;
    }

    .lns-usecase-card p {
      margin-bottom: 0;
      line-height: 1.8;
      position: relative;
      z-index: 1;
    }

    .lns-usecase-tag {
      display: inline-block;
      margin-bottom: 16px;
      padding: 4px 12px;
      border-radius: 999px;
      background: rgba(34, 192, 177, 0.12);
      color: #158a81;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.04em;
      position: relative;
      z-index: 1;
    }



    #section4 .post-item.border {
      height: 100%;
      background: #fff;
      border: 0 !important;
      border-radius: 18px;
      box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
      overflow: hidden;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    #section4 .post-item.border:hover {
      transform: translateY(-4px);
      box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
    }

    #section4 .post-item.border .post-item-wrap {
      height: 100%;
      border: 0 !important;
      border-radius: 18px;
      overflow: hidden;
      background: #fff;
    }

    #section4 .post-item.border .post-image,
    #section4 .post-item.border .post-video {
      border: 0 !important;
      margin: 0;
      overflow: hidden;
    }

    #section4 .post-item.border .post-image img,
    #section4 .post-item.border .post-video video {
      display: block;
      width: 100%;
      border: 0 !important;
      border-radius: 0;
    }

    #section4 .post-item.border .post-item-description {
      padding: 26px 28px;
      border: 0 !important;
      background: #fff;
    }


    @media (max-width: 767px) {
      .lns-flow {
        flex-direction: column;
        align-items: center;
      }

      .lns-flow-item {
        max-width: 100%;
        width: 100%;
      }

      .lns-flow-arrow {
        transform: rotate(90deg);
      }

      .lns-stack-card {
        max-width: 100%;
      }

      .lns-stack-cloud-support {
        width: min(420px, 94%);
        height: 38px;
        margin: 8px auto 18px;
        gap: 12px;
      }

      .lns-stack-cloud-arrow {
        width: 30px;
        height: 30px;
        font-size: 16px;
      }

      .lns-stack-base {
        gap: 12px;
        padding: 0;
      }

      .lns-stack-base-card {
        flex: 0 1 auto;
        max-width: 100%;
        padding: 26px 34px 30px;
        clip-path: polygon(0 0, 100% 0, 92% 100%, 8% 100%);
      }

      .lns-stack-base-head {
        flex-direction: column;
        gap: 10px;
      }
    }

/* =========================================================
   lns.html - Edge AI dot link
========================================================= */

.lns-stack-base-head .lns-stack-base-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.lns-stack-base-head .lns-stack-base-link a {
  display: inline-flex !important;
  align-items: center;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 6px 14px;
  font-size: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.lns-stack-base-head .lns-stack-base-link a::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: #2250fc;
  box-shadow: 0 0 0 4px rgba(34, 80, 252, 0.16);
  flex: 0 0 auto;
}

.lns-stack-base-head .lns-stack-base-link a:hover,
.lns-stack-base-head .lns-stack-base-link a:focus,
.lns-stack-base-head .lns-stack-base-link a:active {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.22) !important;
  border-color: rgba(255, 255, 255, 0.24) !important;
  outline: none;
  box-shadow: none;
}

.lns-stack-base-head .lns-stack-base-link a:hover::before,
.lns-stack-base-head .lns-stack-base-link a:focus::before,
.lns-stack-base-head .lns-stack-base-link a:active::before {
  background: #fdd300;
  box-shadow: 0 0 0 4px rgba(253, 211, 0, 0.20);
}

/* =========================================================
   ai.html hero
========================================================= */

.wiffy-ai-page-title {
  position: relative;
  overflow: hidden;
  padding: 110px 0 90px;
  background-image:
    linear-gradient(rgba(34, 192, 177, 0.70), rgba(21, 138, 129, 0.78)),
    url("../images/ai/gpu-board.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.wiffy-ai-page-title::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 49, 47, 0.12) 0%, rgba(12, 49, 47, 0.34) 100%);
  pointer-events: none;
}

.wiffy-ai-page-title .container,
.wiffy-ai-page-title .center,
.wiffy-ai-page-title .heading-text {
  position: relative;
  z-index: 1;
}

.wiffy-ai-page-title .heading-text h2,
.wiffy-ai-page-title .heading-text .lead {
  color: #fff;
}

.wiffy-ai-page-title .heading-text h2 {
  margin-bottom: 12px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}

.wiffy-ai-page-title .heading-text .lead {
  margin-bottom: 0;
  font-size: 20px;
  line-height: 1.6;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}

.wiffy-ai-hero-kicker {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  backdrop-filter: blur(2px);
}

@media (max-width: 767px) {
  .wiffy-ai-page-title {
    padding: 92px 0 72px;
    background-position: center center;
  }

  .wiffy-ai-page-title .heading-text .lead {
    font-size: 18px;
  }
}

/* =========================================================
   ai.html - inline badge link
========================================================= */

.wiffy-ai-badge-link {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(34, 192, 177, 0.12);
  color: #158a81;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  line-height: 1.2;
}

.wiffy-ai-badge-link::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: #22C0B1;
  box-shadow: 0 0 0 4px rgba(34, 192, 177, 0.16);
  flex: 0 0 auto;
}

.wiffy-ai-badge-link:hover,
.wiffy-ai-badge-link:focus,
.wiffy-ai-badge-link:active {
  color: #158a81 !important;
  background: rgba(34, 192, 177, 0.16);
  text-decoration: none;
  outline: none;
}

/* =========================================================
   lns.html - Edge AI router + GPU overlay
========================================================= */

.lns-stack-base {
  max-width: 980px;
  margin: 20px auto 0;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  text-align: center;
}

.lns-stack-base::before,
.lns-stack-base::after {
  content: none;
}

.lns-stack-base-card {
  flex: 0 1 660px;
  max-width: 660px;
  padding: 0;
  background: transparent;
  color: #222;
  border: 0;
  position: relative;
  overflow: visible;
  clip-path: none;
  filter: none;
  box-shadow: none;
}

.lns-stack-base-card::after {
  content: none;
}

.lns-stack-base-visual {
  position: relative;
  width: 180px;
  height: 112px;
  margin: 0 auto 18px;
}

.lns-stack-base-device-icon {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 126px;
  max-width: none;
  max-height: none;
  height: auto;
  display: block;
  transform: translateX(-50%);
  z-index: 1;
  filter: brightness(0) saturate(100%) invert(68%) sepia(48%) saturate(814%) hue-rotate(126deg) brightness(90%) contrast(90%);
}

.lns-stack-base-gpu {
  position: absolute;
  left: 50%;
  top: 0;
  width: 68px;
  height: 68px;
  object-fit: cover;
  transform: translateX(-50%);
  z-index: 2;
  border-radius: 7px;
  border: 2px solid #fff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.lns-stack-base-text {
  text-align: center;
}

.lns-stack-base-link {
  display: inline-block;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.lns-stack-base-link a {
  display: inline-block !important;
  padding: 0;
  background: none !important;
  border: 0 !important;
  color: #22C0B1;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  line-height: 1.4;
}

.lns-stack-base-link a::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: #22C0B1;
  box-shadow: 0 0 0 4px rgba(34, 192, 177, 0.14);
  vertical-align: middle;
}

.lns-stack-base-link a:hover,
.lns-stack-base-link a:focus,
.lns-stack-base-link a:active {
  color: #158a81 !important;
  background: none !important;
  border: 0 !important;
  outline: none;
  box-shadow: none;
  text-decoration: none;
}

.lns-stack-base-link a:hover::before,
.lns-stack-base-link a:focus::before,
.lns-stack-base-link a:active::before {
  background: #158a81;
  box-shadow: 0 0 0 4px rgba(21, 138, 129, 0.14);
}

.lns-stack-base-card p {
  margin: 0 auto;
  max-width: 520px;
  color: #222;
  font-size: 15px;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

@media (max-width: 767px) {
  .lns-stack-base {
    gap: 12px;
    padding: 0;
  }

  .lns-stack-base-card {
    max-width: 100%;
    padding: 0 12px;
  }

  .lns-stack-base-visual {
    width: 150px;
    height: 98px;
    margin-bottom: 16px;
  }

  .lns-stack-base-device-icon {
    width: 108px;
  }

  .lns-stack-base-gpu {
    width: 58px;
    height: 58px;
    top: 0;
  }

  .lns-stack-base-link a {
    font-size: 14px;
  }

  .lns-stack-base-card p {
    font-size: 14px;
  }
}


/* =========================================================
   lns.html - Edge AI router + SVG GPU overlay
========================================================= */

.lns-stack-base {
  max-width: 980px;
  margin: 20px auto 0;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  text-align: center;
}

.lns-stack-base::before,
.lns-stack-base::after {
  content: none;
}

.lns-stack-base-card {
  flex: 0 1 660px;
  max-width: 660px;
  padding: 0;
  background: transparent;
  color: #222;
  border: 0;
  position: relative;
  overflow: visible;
  clip-path: none;
  filter: none;
  box-shadow: none;
}

.lns-stack-base-card::after {
  content: none;
}

.lns-stack-base-visual {
  position: relative;
  width: 230px;
  height: 150px;
  margin: 0 auto 18px;
  overflow: visible;
}

.lns-stack-base-device-icon {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 132px;
  max-width: none;
  max-height: none;
  height: auto;
  display: block;
  transform: translateX(-50%);
  z-index: 1;
  filter: none;
}

.lns-stack-base-gpu {
  position: absolute;
  left: 50%;
  top: 0;
  width: 148px;
  height: auto;
  display: block;
  transform: translateX(-50%);
  transform-origin: center top;
  z-index: 2;
  pointer-events: none;
}

.lns-stack-base-text {
  text-align: center;
}

.lns-stack-base-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.lns-stack-base-link a {
  display: inline-flex !important;
  align-items: center;
  color: #222;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 6px 14px;
  font-size: 15px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(34, 192, 177, 0.34);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.lns-stack-base-link a::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: #22C0B1;
  box-shadow: 0 0 0 4px rgba(34, 192, 177, 0.14);
  flex: 0 0 auto;
}

.lns-stack-base-link a:hover,
.lns-stack-base-link a:focus,
.lns-stack-base-link a:active {
  color: #158a81 !important;
  background: #fff !important;
  border-color: rgba(34, 192, 177, 0.55) !important;
  outline: none;
  text-decoration: none;
}

.lns-stack-base-link a:hover::before,
.lns-stack-base-link a:focus::before,
.lns-stack-base-link a:active::before {
  background: #158a81;
  box-shadow: 0 0 0 4px rgba(21, 138, 129, 0.16);
}

.lns-stack-base-card p {
  margin: 0 auto;
  max-width: 520px;
  color: #222;
  font-size: 15px;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

@media (max-width: 767px) {
  .lns-stack-base {
    gap: 12px;
    padding: 0;
  }

  .lns-stack-base-card {
    max-width: 100%;
  }

  .lns-stack-base-visual {
    width: 190px;
    height: 126px;
    margin-bottom: 16px;
  }

  .lns-stack-base-device-icon {
    width: 112px;
  }

  .lns-stack-base-gpu {
    width: 120px;
    top: 2px;
    transform: translateX(-50%);
  }

  .lns-stack-base-link a {
    font-size: 14px;
  }

  .lns-stack-base-card p {
    font-size: 14px;
  }
}


/* =========================================================
   ai.html - Edge AI router + trimmed GPU PNG overlay
   Non-anchor badge variant
========================================================= */

.lns-stack-base-link .lns-stack-base-badge {
  display: inline-flex !important;
  align-items: center;
  color: #222;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 6px 14px;
  font-size: 15px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(34, 192, 177, 0.34);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  line-height: 1.4;
}

.lns-stack-base-link .lns-stack-base-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: #22C0B1;
  box-shadow: 0 0 0 4px rgba(34, 192, 177, 0.14);
  flex: 0 0 auto;
}

@media (max-width: 767px) {
  .lns-stack-base-link .lns-stack-base-badge {
    font-size: 14px;
  }
}

/* =========================================================
   lns.html - section5 wiffy AI column emphasis
========================================================= */

#section5.wiffy-ai-compare .lns-compare-table tbody td:nth-child(2) {
  font-weight: 400;
}

#section5.wiffy-ai-compare .lns-compare-table tbody td:nth-child(3) {
  font-weight: 600;
}

/* =========================================================
   lns.html - AI Agent sections are revealed by menu click
========================================================= */
.ai-agent-hidden {
  display: none !important;
}


/* =========================================================
   lns.html - section4 coming soon badge
========================================================= */
#section4 .ai-coming-soon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  padding: 5px 14px;
  border-radius: 999px;
  background: #1f1f1f;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.12em;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

#section4 .ai-coming-soon-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: #fdd300;
  box-shadow: 0 0 0 3px rgba(253, 211, 0, 0.18);
}


/* =========================================================
   lns.html - section4 heading alignment
========================================================= */
#section4 .heading-text {
  text-align: left;
}

#section4 .ai-coming-soon-badge {
  justify-content: flex-start;
}
