/* Scoped Keyframes & Animations */
        @keyframes hero-fade-up {
          0% {
            opacity: 0;
            transform: translateY(24px);
          }

          100% {
            opacity: 1;
            transform: translateY(0);
          }
        }

        @keyframes float-card-1 {
          0% {
            transform: translateY(0px) rotate(-1deg);
          }

          50% {
            transform: translateY(-8px) rotate(1.5deg);
          }

          100% {
            transform: translateY(0px) rotate(-1deg);
          }
        }

        @keyframes float-card-2 {
          0% {
            transform: translateY(0px) rotate(1deg);
          }

          50% {
            transform: translateY(-11px) rotate(-1.5deg);
          }

          100% {
            transform: translateY(0px) rotate(1deg);
          }
        }

        @keyframes float-card-3 {
          0% {
            transform: translateY(0px) rotate(-1.5deg);
          }

          50% {
            transform: translateY(-7px) rotate(0.5deg);
          }

          100% {
            transform: translateY(0px) rotate(-1.5deg);
          }
        }

        @keyframes pulse-soft {

          0%,
          100% {
            transform: scale(1);
            opacity: 1;
          }

          50% {
            transform: scale(1.05);
            opacity: 0.95;
          }
        }

        @keyframes btn-shine-glow {
          0% {
            left: -100%;
          }

          50% {
            left: 150%;
          }

          100% {
            left: 150%;
          }
        }

        .animate-hero-fade {
          animation: hero-fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        }

        .float-1 {
          animation: float-card-1 6s ease-in-out infinite;
        }

        .float-2 {
          animation: float-card-2 5s ease-in-out infinite 0.5s;
        }

        .float-3 {
          animation: float-card-3 7s ease-in-out infinite 1s;
        }

        .float-4 {
          animation: float-card-1 5.5s ease-in-out infinite 1.5s;
        }

        .float-5 {
          animation: float-card-2 6.5s ease-in-out infinite 2s;
        }

        .btn-shine {
          position: relative;
          overflow: hidden;
        }

        .btn-shine::after {
          content: '';
          position: absolute;
          top: 0;
          left: -100%;
          width: 50%;
          height: 100%;
          background: linear-gradient(to right,
              rgba(255, 255, 255, 0) 0%,
              rgba(255, 255, 255, 0.4) 50%,
              rgba(255, 255, 255, 0) 100%);
          transform: skewX(-25deg);
          animation: btn-shine-glow 4s infinite ease-in-out;
        }

        /* Phone mockup styling */
        .phone-mockup {
          position: relative;
          width: 190px;
          height: 390px;
          border-radius: 36px;
          background: #0d1b2a;
          border: 7px solid #102A43;
          box-shadow: 0 20px 40px rgba(16, 42, 67, 0.25), inset 0 0 2px rgba(255, 255, 255, 0.4);
          overflow: hidden;
          display: flex;
          flex-direction: column;
          font-family: 'Open Sans', sans-serif;
          transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .phone-screen {
          position: relative;
          flex: 1;
          background: #f8fafc;
          overflow: hidden;
          display: flex;
          flex-direction: column;
          user-select: none;
        }

        .phone-notch {
          position: absolute;
          top: 0;
          left: 50%;
          transform: translateX(-50%);
          width: 80px;
          height: 16px;
          background: #102A43;
          border-bottom-left-radius: 10px;
          border-bottom-right-radius: 10px;
          z-index: 50;
        }

        .phone-status-bar {
          height: 22px;
          padding: 0 10px;
          padding-top: 3px;
          display: flex;
          justify-content: space-between;
          align-items: center;
          font-size: 8px;
          font-weight: 700;
          color: #627D98;
          z-index: 40;
        }

        .phone-content {
          flex: 1;
          display: flex;
          flex-direction: column;
          padding: 6px 8px;
          font-size: 9px;
        }

        .phone-header {
          display: flex;
          align-items: center;
          gap: 4px;
          margin-bottom: 6px;
          border-bottom: 1px solid #E6EFF8;
          padding-bottom: 4px;
        }

        .phone-title {
          font-family: 'Montserrat', sans-serif;
          font-weight: 800;
          font-size: 9px;
          color: #102A43;
        }

        .phone-pill {
          padding: 2px 5px;
          border-radius: 20px;
          font-size: 7px;
          font-weight: 700;
        }

        .phone-card {
          background: white;
          border-radius: 8px;
          border: 1px solid #E6EFF8;
          padding: 6px;
          margin-bottom: 6px;
          box-shadow: 0 2px 4px rgba(16, 42, 67, 0.02);
        }

        .phone-card-title {
          font-family: 'Montserrat', sans-serif;
          font-weight: 700;
          font-size: 8px;
          color: #102A43;
          margin-bottom: 3px;
          display: flex;
          align-items: center;
          justify-content: space-between;
        }

        .phone-btn {
          width: 100%;
          padding: 5px;
          border-radius: 6px;
          text-align: center;
          font-weight: 700;
          font-size: 8px;
          font-family: 'Montserrat', sans-serif;
          border: none;
          cursor: pointer;
        }

        /* Overlapping positions */
        .phone-left {
          transform: rotate(-7deg) translateX(-45px) translateY(15px) scale(0.92);
          z-index: 10;
          opacity: 0.9;
        }

        .phone-right {
          transform: rotate(7deg) translateX(45px) translateY(15px) scale(0.92);
          z-index: 20;
          opacity: 0.9;
        }

        .phone-center {
          transform: translateY(0px) scale(1);
          z-index: 30;
          box-shadow: 0 30px 60px rgba(16, 42, 67, 0.22);
        }

        .showcase-container:hover .phone-left {
          transform: rotate(-4deg) translateX(-60px) translateY(5px) scale(0.95);
          opacity: 1;
          z-index: 35;
        }

        .showcase-container:hover .phone-right {
          transform: rotate(4deg) translateX(60px) translateY(5px) scale(0.95);
          opacity: 1;
          z-index: 35;
        }

        .showcase-container:hover .phone-center {
          transform: translateY(-8px) scale(1.03);
          box-shadow: 0 35px 70px rgba(16, 42, 67, 0.28);
        }
      

        @keyframes bento-reveal {
          0% {
            opacity: 0;
            transform: translateY(20px);
          }

          100% {
            opacity: 1;
            transform: translateY(0);
          }
        }

        .bento-animate-1 {
          animation: bento-reveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.1s;
          opacity: 0;
        }

        .bento-animate-2 {
          animation: bento-reveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.2s;
          opacity: 0;
        }

        .bento-animate-3 {
          animation: bento-reveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.3s;
          opacity: 0;
        }

        .bento-animate-4 {
          animation: bento-reveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.4s;
          opacity: 0;
        }

        .bento-animate-5 {
          animation: bento-reveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.5s;
          opacity: 0;
        }

        .bento-animate-6 {
          animation: bento-reveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.6s;
          opacity: 0;
        }

        /* Icon Pulse Animation on hover */
        .bento-hover-group:hover .icon-bounce {
          transform: scale(1.1) translateY(-2px);
        }

        /* Mini phone styling */
        .mini-phone-body {
          position: relative;
          width: 120px;
          height: 230px;
          background: #09131C;
          border: 4px solid #1F3A52;
          border-radius: 20px;
          box-shadow: 0 10px 25px rgba(16, 42, 67, 0.35);
          overflow: hidden;
          display: flex;
          flex-direction: column;
        }

        .mini-phone-screen {
          flex: 1;
          background: #F8FAFC;
          display: flex;
          flex-direction: column;
          padding: 4px;
        }

        .mini-notch {
          width: 50px;
          height: 8px;
          background: #1F3A52;
          border-bottom-left-radius: 6px;
          border-bottom-right-radius: 6px;
          margin: 0 auto 3px auto;
        }

        .mini-screen-header {
          display: flex;
          align-items: center;
          justify-content: space-between;
          padding: 2px 4px;
          background: white;
          border-bottom: 1px solid #E6EFF8;
          font-size: 5px;
          font-weight: 800;
          color: #102A43;
        }

        .mini-screen-card {
          background: white;
          border-radius: 4px;
          border: 1px solid #E6EFF8;
          padding: 3px;
          margin-top: 3px;
          box-shadow: 0 1px 3px rgba(16, 42, 67, 0.01);
        }
      

      #master-key-section {
        background: linear-gradient(135deg, #102A43 0%, #071421 100%);
        position: relative;
        overflow: hidden;
      }

      /* Glow Effects */
      .master-glow-1 {
        position: absolute;
        width: 450px;
        height: 450px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(255, 214, 10, 0.05) 0%, transparent 70%);
        top: -10%;
        right: 5%;
        pointer-events: none;
        z-index: 0;
      }

      .master-glow-2 {
        position: absolute;
        width: 350px;
        height: 350px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(214, 40, 40, 0.06) 0%, transparent 70%);
        bottom: -10%;
        left: 30%;
        pointer-events: none;
        z-index: 0;
      }

      /* SVG Arc Flow Animation */
      #master-key-section.tv-authorized #connection-arc {
        stroke: rgba(46, 125, 50, 0.4);
      }

      #master-key-section.tv-authorized #connection-pulse {
        opacity: 1;
        animation: pulse-flow-arc 1.5s linear infinite;
      }

      @keyframes pulse-flow-arc {
        0% {
          stroke-dashoffset: 240;
        }
        100% {
          stroke-dashoffset: 0;
        }
      }

      /* Phone State Transitions */
      #master-key-section.tv-authorized #btn-tv-approve {
        background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
        box-shadow: 0 4px 15px rgba(46, 125, 50, 0.4);
      }

      #master-key-section.tv-authorized #phone-screen-bg {
        background-color: #051b11;
        transition: background-color 0.5s ease;
      }

      /* TV State Transitions */
      #master-key-section.tv-authorized #tv-screen-standby {
        opacity: 0;
        transform: scale(0.95);
        pointer-events: none;
      }

      #master-key-section.tv-authorized #tv-screen-active {
        opacity: 1;
        transform: scale(1);
        pointer-events: auto;
      }